-
Notifications
You must be signed in to change notification settings - Fork 257
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
Segfault from: #446 "Add support for 64 Disk Drive" #577
Comments
thanks for reporting (and bissecting) your issue here. We will need some more information in order to assist in the debugging. See below:
then inside the gdb console type "r" (for run), and when the program crashes, you can type "bt" (backtrace) to get the backtrace at the moment of the crash. |
Thought it might be something like that! Thanks for getting back to me. |
When building did you started from a "fresh" compilation or not (eg. make clean && make all) ? |
That's clean. |
Instead of building debug, simply add -g to the GCC flags. It will make the output binary much bigger because it will contain debug symbols, but it will not mess with the optimizations settings. It does mean that you may lose some of the backtrace information due to the optimizations, but it's better than nothing. |
I've tried adding
So at this point running under gdb yields:
And the backtrace:
|
Try these things:
|
I can confirm this is still an issue and that the correct commit was bisected. I am compiling on an ARM platform with rk3399 and encountered this segfault. I created a patch that reverses just this commit, compiled against the master branch, and no more segfault. |
@fzurita Apologies. Didn't realise this had seen any further attention. Email updates going to spam... I shall try your suggestions. @mrfixit2001 Would you be so kind as to try the suggestions above as well? |
Can I assist any further? |
This goes beyond my area of expertise, but it sounds like there may be a bug in the dynarec causing your issue. @Gillou68310 may have more ideas. |
@bsmiles32 @fzurita @richard42 This issue has stalled Mupen64Plus on the Vero4k for a year now. I understand this has proven to be a complicated issue and I'm just trying to find a robust workaround:
|
Further intel that may help narrow the source of the suspected dynarec issue here. I have found an additional factor. Presently I build for S905x (armv8-a Cortex-A53) with the following CFLAGS: But if I build as for the armv7 RPi2 then there is no runtime error: |
Hi, it's the first time this year I've rebuilt from master and I'm getting a segfault, which I've bisected back to commit e302bc2 "Add support for 64 Disk Drive".
Mario Kart shows the spinning logo at the start but segfaults just before the start screen.
Super Smash Bros segfaults during the intro animation.
I'm on armv8, Amlogic S905x (Mali 450 GPU). GLES2. And I was using the mupen64plus-video-n64 plugin.
Anything I can provide to assist debugging?
The text was updated successfully, but these errors were encountered: