-
Notifications
You must be signed in to change notification settings - Fork 20
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
Segmentation faults when playing #14
Comments
I was able to repeat the segmentation fault with the full game.
|
I think I found a work around for this, don't compile with Edit: |
Seems that was too hasty, changing the C(XX)FLAGS might of made it better, but with only `-O0'...
However I did find out how to reliably reproduce it, hold down the fire button while dying. The turret near the train track on the first shareware level works well to test it. Stand in front of the turret with an uzi and hold down the fire button until you die. It should produce a segmentation fault. |
Another clue, this will only happen after loading a saved game, it will not happen with a fresh game. |
Thanks. I'll see if it brings me any closer to a solution next time I return to JFSW. |
This is still occurring so here is an updated backtrace.
|
Thanks to the SlackBuild maintainer for jfsw a workaround for this issue was found.
The problem appears to be that when loading a saved game and then dying, jfsw opens a dialog window asking if the player will like to |
@jonof Ping. This issue is still current and the above patch still helps, any thoughts? |
It may be a workaround but it's not a solution, and it creates a new problem: you can't acknowledge the prompt from a game controller. The real cause I certain to be more subtle, and when I finish the engine OpenGL modernisation exercise I'll look into it further. |
Thanks, I really appreciate it and hope this can be properly fixed eventually. :) |
Good news: I believe I've finally solved this problem. I'll merge it once I've done more testing. |
Thank you! The fix seems to also work here. :) |
I have been receiving regular segmentation faults when playing the shareware levels found in the full release. They always or most often seem to occur with receiving damage or dying. Here is a backtrace.
os: Slackware64-current
jfsw-54912c4_2016.02.20_master-x86_64-1_git
The text was updated successfully, but these errors were encountered: