amd Report post Posted April 18, 2007 I have been using CVS client for a while and when closing the client, it deadlocks with a black screen.. gdb> bt #0 0xffffe410 in __kernel_vsyscall () #1 0xb7ea5f7e in __lll_mutex_lock_wait () from /lib/libpthread.so.0 #2 0xb7ea1dc7 in _L_mutex_lock_88 () from /lib/libpthread.so.0 #3 0xb7ea17bd in __pthread_mutex_lock (mutex=0xb2bff88) at pthread_mutex_lock.c:81 #4 0xb7d1a1eb in _alLockMutex (mutex=0xb2bff88) at al_mutexlib.c:37 #5 0xb7d18dbd in FL_alLockMixBuf (fn=0xb7d3c4b8 "al_source.c", ln=0x9c6) at al_mixer.c:1049 #6 0xb7d1db3f in alSourceStopv (ns=0x1, sids=0xbff929c0) at al_source.c:2502 #7 0xb7d1dc03 in alSourceStop (sid=0x4001) at al_source.c:2358 #8 0x080c8026 in destroy_sound () at sound.c:1649 #9 0x080a14d6 in start_rendering () at main.c:172 #10 0x080a164c in main (argc=0x1, argv=0xbff92be4) at main.c:235 gdb> #8 0x080c8026 in destroy_sound () at sound.c:1649 1649 alSourceStop(music_source); gdb> list 1644 1645 #ifndef NO_MUSIC 1646 music_on = playing_music = have_music = 0; 1647 if(music_thread != NULL){ 1648 int queued = 0; 1649 alSourceStop(music_source); 1650 alGetSourcei(music_source, AL_BUFFERS_QUEUED, &queued); 1651 while(queued-- > 0){ 1652 ALuint buffer; 1653 alSourceUnqueueBuffers(music_source, 1, &buffer); gdb> info locals queued = 0x0 i = 0xbff92af8 error = 0x80e84e9 context = (ALCcontext *) 0xb8bf048 device = (ALCdevice *) 0xb7f4aca0 I hope this information helps, but I have no idea how to fix this locking problem Share this post Link to post Share on other sites