-
Notifications
You must be signed in to change notification settings - Fork 335
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
draw_text() errors out with invalid pointer. #643
Comments
Does this happen the first time you attempt to draw text? Or after the game runs for a while? |
It happens every time I try and run the game. Sometimes right after I make a step, sometimes right after it loads. If I try and use normal text like "Hello" sometimes it works, sometimes it doesn't. |
I added a lot of print debug statements. Can you try running with this? |
A |
That narrows it down. It fails on just the second attempt? I've added more debug messages to this upload, if you've got time to try it. |
Doesn't work, still. Sometimes it runs, I can collect a few coins and then it dies. Sometimes it doesn't start at all, some other times it crashes only after I move |
Did the second wheel print out additional debug messages? |
When it crashes right after I launch the game: A or: A or: A Crashes right after I move: A Hope this is useful :) |
python-pillow/Pillow#4225 looks relevant EDIT: Try python-pillow/Pillow#4225 (comment) |
Dumps with the new wheel I linked should look different than what you printed. It will still crash, but should give more debug info. |
And yes, that seems to be the same bug perhaps. |
Tried following that. This is the result of trying to install Pillow 6.2.0:
|
Missing the python dev/devel package I guess. Not sure what that is called on fedora. |
It works now! Thanks :D very helpful! |
Great! The jam is saved I guess? 😄 |
Install |
Bug Report
Following the tutorial. I'm doing the score section, I copy-pasted the code and it errors out with an invalid pointers and dumps the core.
I thought I had problems with a variable, but even with normal text it sometimes errors out.
Stack trace as per journalctl:
Actual behavior:
Expected behavior:
Print the score to the screen
Steps to reproduce/example code:
The text was updated successfully, but these errors were encountered: