-
-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Random segmentation faults with samples #23
Comments
For reference, I'm on commit SHA: 8584e74 (HEAD -> master, tag: 1.11.5, origin/master, origin/HEAD) Prepare 1.11.5 release.
|
Heightmaps are not used in the samples so this isn't related to issue #13. I'm unable to reproduce the crash. Are you able to use |
I gathered some of debugging info here
Whenever navigate to "Name generator" (note all others are fine), it will crash
Note: Tested on Ubuntu 18.04 (0ea514f) |
I was able to reproduce and the fix the problem, there was a bad use of variable argument handling affecting the formatted print functions. |
Thanks all for your help 👍! Next time I'll try to be more helpful with my initial post. On a side note, I did notice some segfaults due to running the samples from the wrong directory. The result (after running with debug CLI switch) was that the fonts weren't being loaded properly. This could perhaps be handled a little more clean, I'll try to open a PR to do some error checking when I get a chance. |
The font loading code is a mess. I can answer questions about it if you have any. |
I got everything compiled and working, but am getting random segmentation faults with the samples. Sometimes it runs successfully, other times, not:
Is this related to #13? If so, any guidance on how to avoid?
The text was updated successfully, but these errors were encountered: