Red Hat Bugzilla – Bug 16428
SDL crashes, maybe new glibc fault?
Last modified: 2008-05-01 11:37:57 EDT
Hi, I encountered a strange problem.
Every program which uses SDL_mixer segfaults (I think its also maybe every
program which uses SDL and sound). I debugged one with the
SDL_Init works, but after calling
if (Mix_OpenAudio(22050, AUDIO_S16, 2, 256) < 0)
it immediately segfaults.
[New Thread 2049 (LWP 31136)]
[New Thread 1026 (LWP 31137)]
Program received signal SIGSEGV, Segmentation fault.
But there was now problem with Redhat 6.2. I think it seems to be a problem
with the new glibc? Any workaround available (like using the old glibc?)
My suspicion is that SDL tries to unlock an already unlocked mutex.
Can you tell me which exact program you can reproduce that behaviour with
(I cannot find Mix_OpenAudio in SDL).
Created attachment 2586 [details]
simple test case which segfaults
I can't reproduce this here on a test system; it
you're right after changing back to sdl-1.1.3 from the pinstripe distro it works
flawlessly (i tried with sdl-1.1.4). But my problem with pinstripe isn't solved
yet. XMPS with avi plugin does work under redhat 6.2, but not with pinstripe and
somehow the sdl sound is related to the problem. (this sound problem also occurs
with sdl-1.1.3). Maybe I can build a new test case.