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
custom crashes when exiting the music import screen #400
Comments
Comment author: @ziggythehamster I'm getting something similar (latest SVN) with music_sdl. I added some music, and it was one of the "unsupported" ones (i.e. 16000Hz). Exited the menu, CUSTOM still works. Attempted to go immediately back in, CUSTOM crashes. |
Comment author: @ziggythehamster Okay, it ALWAYS crashes, even if good files are used. |
Comment author: @rversteegen I just got a crash when exiting the import music menu after importing something from the import folder (after a bit of browsing, I think). gfx_fb and music_native, win xp, I was running under gdb: Program received signal SIGSEGV, Segmentation fault. I can't reproduce it, though |
Comment author: @bob-the-hamster Kieth, can you reproduce this bug with current music_sdl nightlies? I am still not sure if this is a non-backend-specific crash, or two separate crashes with separate causes in each backend that just happen to occur at the same place. |
Comment author: @ziggythehamster I need to update the ohrrpgce-custom-wip ebuild for the latest changes (browse.bas, madplay, oggenc). I will test for you probably Sunday and get back to you. The last nightly I used still exhibited this bug. |
Comment author: @rversteegen So, Keith, are you saying that (with music_sdl) it crashes when entering, or exiting, the music screen? |
Comment author: @rversteegen I'm now seeing a crash with music_native 100% of the time. I open a new musicless RPG, go to import some music, and it crashes instead of showing the browser. Cancel8-Bit.ogg is in my wip folder, and the browser would try to play it. Eventually, I found that it's happening in the same place as I reported above. Actually, before, it was crashing elsewhere: |
Comment author: @rversteegen Opps, it's crashing on loading, not unloading the sound. Specifically, in this block in LoadSound(): with SoundPool[i] i = 0, SoundPool is a supposedly valid pointer from Reallocate, and .used = -1 does not segfault. How odd. |
Comment author: @rversteegen Of course, SoundPool wasn't allocated correctly. It's hard to notice such things when you can barely focus on the screen in the small hours of the morning. Now this is just a music_sdl bug. However, I notice that this didn't fix bug bz#222. We can ask everyone to retest all the music bugs after that one's crushed too. |
Comment author: @bob-the-hamster Marking fixed. If there are still remaining music_sdl problems as described by Keith Gable, they can't share the same cause as this bug, so they either belong in bug bz#372 or in a new bug. |
[bz#400]
When you exit the music import screen with a music_native build of custom, custom crashes.
It does not crash when exiting the sound effects import screen.
This might be dependant on what types of files you have previewed before exiting the music import screen. I am not sure yet.
From: @bob-the-hamster
Reported version: 20070921 Ubersetzung
Blocker for: bz#255
The text was updated successfully, but these errors were encountered: