linux(i686) 2.6.4
gcc version 3.3.3
sdl 1.2.7
kde 3.2.1 compiled from source
glibc-2.3.1
SDL is using arts output under kde if artsd is running (and when apps such as
xmms are running using arts also).
When calling SDL_CloseAudio() , there is a SIGSEGV (the bug) and a deadlock
pthread_getconcurrency() <<<< deadlock here…??
pthread_getconcurrency()
sem_timedwait()
pthread_mutex_lock()
free()
SDL_WaitThread()
SDL_AudioQuit()
SDL_QuitSubSystem()
SDL_Quit()
SDL_Parachute()
mallopt() (libc.so.6) <<<<< SIGSEGV here
__pthread_clock_settime()
__libc_sigaction()
free()
delete
delete[]
Arts::ByteDataPacket::~ByteDataPacket()
Arts::AsyncStream::freePacket(Arts::GenericDataPacket*)
(libmcop.so.1)
Arts::AsyncPort::processedPacket(Arts::GenericDataPacket*)
Arts::AsyncNetSend::processed() (libartsflow.so.1)
_dispatch_Arts_FlowSystem_Sender_00()
[…]
Arts::SimpleSoundServer_stub::detach(Arts::ByteSoundProducer)
Sender::close()
arts_backend_close_stream()
arts_close_stream()
ARTSC_CloseAudio()
It’s looks like a bug into arts (the SIGSEGV part) but I’m not sure since
there is a Deadlock Part in SDL
Perhaps SDL is using arts in a wrong way? (or why xmms won’t crash when
stoping/playing or reloading multiple times?)
I don’t know why arts make a sigsegv on closing one of its stream. xmms seems
to be ok with open/close multiple time…
if anyone as comment/answers
William.