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 following result. SDL_Init works, but after calling if (Mix_OpenAudio(22050, AUDIO_S16, 2, 256) < 0) it immediately segfaults. following message: [New Thread 2049 (LWP 31136)] [New Thread 1026 (LWP 31137)] Program received signal SIGSEGV, Segmentation fault. __pthread_unlock (lock=0x8052f78) 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?) Thanks, Marcus
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 runs OK.
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.