Bug 75205

Summary: artsd crashes when closing windows
Product: [Unmaintained] arts Reporter: Jens Zurheide <jens.zurheide>
Component: artsdAssignee: Stefan Westerfeld <stefan>
Status: RESOLVED DUPLICATE    
Severity: crash CC: hyatte
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jens Zurheide 2004-02-14 08:37:53 UTC
Version:           CVS-Head (1.2?) (using KDE KDE 3.2.0)
Installed from:    Compiled From Sources
Compiler:          gcc-3.3 20030226 (prerelease) 
OS:          Linux

Hi!
Just working on KDE for 7 hours I was able to collect 5 backtraces of artsd. Artsd crashed in all instances directly after closing a window. I have enabled a sound notification/theme on window close events. Sometimes it directly crashes again when closing the crash notification window.

This behaviour is not new but rather one year old when it started occuring. Now is the time it just nerves me enough and I report it. I would really appreciate if this could be fixed for KDE 3.3.

Information about my system (maybe it helps understanding the problem): rather slow dual processor machine (2xPIII-550 MHz), ES1371 - Alsa device

Thanks,
Jens

And now the backtraces:
1)
[New Thread 16384 (LWP 14992)]
[KCrash handler]
#4  0x406d5691 in kill () from /lib/libc.so.6
#5  0x40581511 in pthread_kill () from /lib/libpthread.so.0
#6  0x4058183b in raise () from /lib/libpthread.so.0
#7  0x406d5424 in raise () from /lib/libc.so.6
#8  0x406d6a50 in abort () from /lib/libc.so.6
#9  0x406ce9b2 in __assert_fail () from /lib/libc.so.6
#10 0x4012aaed in Arts::AudioPort::disconnect(Arts::Port*) ()
   from /opt/kde3/lib/libartsflow.so.1
#11 0x4014c018 in Arts::VPortConnection::~VPortConnection() ()
   from /opt/kde3/lib/libartsflow.so.1
#12 0x4014a92f in Arts::VPortConnection::VPortConnection(Arts::VPort*, Arts::VPort*, Arts::VPortConnection::Style) () from /opt/kde3/lib/libartsflow.so.1
#13 0x4014c67c in Arts::VPort::virtualize(Arts::VPort*) ()
   from /opt/kde3/lib/libartsflow.so.1
#14 0x4012dbdb in Arts::StdScheduleNode::virtualize(std::string const&, Arts::ScheduleNode*, std::string const&) () from /opt/kde3/lib/libartsflow.so.1
#15 0x4014ded7 in Arts::BusManager::addClient(std::string const&, Arts::BusClient*) () from /opt/kde3/lib/libartsflow.so.1
#16 0x4014ef9a in Arts::Synth_BUS_UPLINK_impl::connect() ()
   from /opt/kde3/lib/libartsflow.so.1
#17 0x4014ee9f in Arts::Synth_BUS_UPLINK_impl::streamInit() ()
   from /opt/kde3/lib/libartsflow.so.1
#18 0x4012d667 in Arts::StdScheduleNode::start() ()
   from /opt/kde3/lib/libartsflow.so.1
#19 0x4013bb0c in Arts::StdSynthModule::start() ()
   from /opt/kde3/lib/libartsflow.so.1
#20 0x40155292 in Arts::Synth_AMAN_PLAY_impl::streamInit() ()
   from /opt/kde3/lib/libartsflow.so.1
#21 0x4012d667 in Arts::StdScheduleNode::start() ()
   from /opt/kde3/lib/libartsflow.so.1
#22 0x4013bb0c in Arts::StdSynthModule::start() ()
   from /opt/kde3/lib/libartsflow.so.1
#23 0x40271e99 in _dispatch_Arts_SynthModule_00(void*, Arts::Buffer*, Arts::Buffer*) () from /opt/kde3/lib/libartsflow_idl.so.1
#24 0x4046d87b in Arts::Object_skel::_dispatch(Arts::Buffer*, Arts::Buffer*, long) (this=0x809dd30, request=0x809dc00, result=0x80f4208, methodID=20)
    at /usr/local/kde/source-cvs/arts/mcop/object.cc:850
#25 0x40464b1b in Arts::Dispatcher::handle(Arts::Connection*, Arts::Buffer*, long) () from /opt/kde3/lib/libmcop.so.1
#26 0x4043235b in Arts::Connection::receive(unsigned char*, long) (
    this=0x80da738, newdata=0xbfffd050 "MCOP", newlen=24)
    at /usr/local/kde/source-cvs/arts/mcop/connection.cc:168
#27 0x40474cf2 in Arts::SocketConnection::notifyIO(int, int) (this=0x80da738, 
    _fd=17, types=1)
    at /usr/local/kde/source-cvs/arts/mcop/socketconnection.cc:139
#28 0x4046966d in Arts::StdIOManager::processOneEvent(bool) ()
   from /opt/kde3/lib/libmcop.so.1
#29 0x40469c60 in Arts::StdIOManager::run() () from /opt/kde3/lib/libmcop.so.1
#30 0x40466a53 in Arts::Dispatcher::run() () from /opt/kde3/lib/libmcop.so.1
#31 0x08063d2f in main ()
#32 0x406c18ae in __libc_start_main () from /lib/libc.so.6

2)
[New Thread 16384 (LWP 17220)]
[New Thread 32769 (LWP 23831)]
[New Thread 81922 (LWP 8478)]
[KCrash handler]
#4  0x406d5691 in kill () from /lib/libc.so.6
#5  0x40581511 in pthread_kill () from /lib/libpthread.so.0
#6  0x4058183b in raise () from /lib/libpthread.so.0
#7  0x406d5424 in raise () from /lib/libc.so.6
#8  0x406d6a50 in abort () from /lib/libc.so.6
#9  0x406ce9b2 in __assert_fail () from /lib/libc.so.6
#10 0x4012aaed in Arts::AudioPort::disconnect(Arts::Port*) ()
   from /opt/kde3/lib/libartsflow.so.1
#11 0x4014c018 in Arts::VPortConnection::~VPortConnection() ()
   from /opt/kde3/lib/libartsflow.so.1
#12 0x4014a92f in Arts::VPortConnection::VPortConnection(Arts::VPort*, Arts::VPort*, Arts::VPortConnection::Style) () from /opt/kde3/lib/libartsflow.so.1
#13 0x4014c67c in Arts::VPort::virtualize(Arts::VPort*) ()
   from /opt/kde3/lib/libartsflow.so.1
#14 0x4012dbdb in Arts::StdScheduleNode::virtualize(std::string const&, Arts::ScheduleNode*, std::string const&) () from /opt/kde3/lib/libartsflow.so.1
#15 0x4014ded7 in Arts::BusManager::addClient(std::string const&, Arts::BusClient*) () from /opt/kde3/lib/libartsflow.so.1
#16 0x4014ef9a in Arts::Synth_BUS_UPLINK_impl::connect() ()
   from /opt/kde3/lib/libartsflow.so.1
#17 0x4014ee9f in Arts::Synth_BUS_UPLINK_impl::streamInit() ()
   from /opt/kde3/lib/libartsflow.so.1
#18 0x4012d667 in Arts::StdScheduleNode::start() ()
   from /opt/kde3/lib/libartsflow.so.1
#19 0x4013bb0c in Arts::StdSynthModule::start() ()
   from /opt/kde3/lib/libartsflow.so.1
#20 0x40155292 in Arts::Synth_AMAN_PLAY_impl::streamInit() ()
   from /opt/kde3/lib/libartsflow.so.1
#21 0x4012d667 in Arts::StdScheduleNode::start() ()
   from /opt/kde3/lib/libartsflow.so.1
#22 0x4013bb0c in Arts::StdSynthModule::start() ()
   from /opt/kde3/lib/libartsflow.so.1
#23 0x40271e99 in _dispatch_Arts_SynthModule_00(void*, Arts::Buffer*, Arts::Buffer*) () from /opt/kde3/lib/libartsflow_idl.so.1
#24 0x4046d87b in Arts::Object_skel::_dispatch(Arts::Buffer*, Arts::Buffer*, long) (this=0x80bf9b8, request=0x40d0fe40, result=0x40de6458, methodID=20)
    at /usr/local/kde/source-cvs/arts/mcop/object.cc:850
#25 0x40464b1b in Arts::Dispatcher::handle(Arts::Connection*, Arts::Buffer*, long) () from /opt/kde3/lib/libmcop.so.1
#26 0x4043235b in Arts::Connection::receive(unsigned char*, long) (
    this=0x80d8418, newdata=0xbfffd050 "MCOP", newlen=24)
    at /usr/local/kde/source-cvs/arts/mcop/connection.cc:168
#27 0x40474cf2 in Arts::SocketConnection::notifyIO(int, int) (this=0x80d8418, 
    _fd=10, types=1)
    at /usr/local/kde/source-cvs/arts/mcop/socketconnection.cc:139
#28 0x4046966d in Arts::StdIOManager::processOneEvent(bool) ()
   from /opt/kde3/lib/libmcop.so.1
#29 0x40469c60 in Arts::StdIOManager::run() () from /opt/kde3/lib/libmcop.so.1
#30 0x40466a53 in Arts::Dispatcher::run() () from /opt/kde3/lib/libmcop.so.1
#31 0x08063d2f in main ()
#32 0x406c18ae in __libc_start_main () from /lib/libc.so.6

3)
[New Thread 16384 (LWP 8486)]
[New Thread 32769 (LWP 8487)]
[KCrash handler]
#4  0x406d5691 in kill () from /lib/libc.so.6
#5  0x40581511 in pthread_kill () from /lib/libpthread.so.0
#6  0x4058183b in raise () from /lib/libpthread.so.0
#7  0x406d5424 in raise () from /lib/libc.so.6
#8  0x406d6a50 in abort () from /lib/libc.so.6
#9  0x406ce9b2 in __assert_fail () from /lib/libc.so.6
#10 0x4012aaed in IDLFileReg_kmedia2 () from /opt/kde3/lib/libartsflow.so.1
#11 0x4014c018 in Arts::convert_stereo_2float_i16le(unsigned long, float*, float*, unsigned char*) () from /opt/kde3/lib/libartsflow.so.1
#12 0x4014a92f in Arts::PipeSegment::skip(long) (this=0x40db97d8, 
    count=136001416) at /usr/local/kde/source-cvs/arts/flow/pipebuffer.cc:57
#13 0x4014c67c in _GLOBAL__I__ZN4Arts31The_Synth_WAVE_SIN_impl_FactoryE ()
   from /opt/kde3/lib/libartsflow.so.1
#14 0x4012dbdb in IDLFileReg_kmedia2 () from /opt/kde3/lib/libartsflow.so.1
#15 0x4014ded7 in Arts::Synth_MULTI_ADD_skel::~Synth_MULTI_ADD_skel() ()
   from /opt/kde3/lib/libartsflow.so.1
#16 0x4014ef9a in Arts::Synth_MUL_impl_Factory::Synth_MUL_impl_Factory() ()
   from /opt/kde3/lib/libartsflow.so.1
#17 0x4014ee9f in Arts::Synth_ADD_impl::calculateBlock(unsigned long) ()
   from /opt/kde3/lib/libartsflow.so.1
#18 0x4012d667 in IDLFileReg_kmedia2 () from /opt/kde3/lib/libartsflow.so.1
#19 0x4013bb0c in _init () from /opt/kde3/lib/libartsflow.so.1
#20 0x40155292 in ASyncNetReceive (this=0x81b3528, __vtt_parm=0xbfffcdfc, 
    port=0xbfffce08, sender=
      {<Object> = {_pool = 0x401f33e8}, _cache = 0x80de634})
    at /usr/local/kde/source-cvs/arts/flow/asyncschedule.cc:451
#21 0x4012d667 in IDLFileReg_kmedia2 () from /opt/kde3/lib/libartsflow.so.1
#22 0x4013bb0c in _init () from /opt/kde3/lib/libartsflow.so.1
#23 0x40271e99 in _dispatch_Arts_SynthModule_00(void*, Arts::Buffer*, Arts::Buffer*) () from /opt/kde3/lib/libartsflow_idl.so.1
#24 0x4046d87b in Arts::Object_skel::_dispatch(Arts::Buffer*, Arts::Buffer*, long) (this=0x81b3570, request=0x40d78b78, result=0x40d78b98, methodID=20)
    at /usr/local/kde/source-cvs/arts/mcop/object.cc:850
#25 0x40464b1b in Arts::Dispatcher::handle(Arts::Connection*, Arts::Buffer*, long) () from /opt/kde3/lib/libmcop.so.1
#26 0x4043235b in Arts::Connection::receive(unsigned char*, long) (
    this=0x808c550, newdata=0xbfffd050 "MCOP", newlen=24)
    at /usr/local/kde/source-cvs/arts/mcop/connection.cc:168
#27 0x40474cf2 in Arts::SocketConnection::notifyIO(int, int) (this=0x808c550, 
    _fd=16, types=1)
    at /usr/local/kde/source-cvs/arts/mcop/socketconnection.cc:139
#28 0x4046966d in Arts::StdIOManager::processOneEvent(bool) ()
   from /opt/kde3/lib/libmcop.so.1
#29 0x40469c60 in Arts::StdIOManager::run() () from /opt/kde3/lib/libmcop.so.1
#30 0x40466a53 in Arts::Dispatcher::run() () from /opt/kde3/lib/libmcop.so.1
#31 0x08063d2f in main ()
#32 0x406c18ae in __libc_start_main () from /lib/libc.so.6

4)
[New Thread 16384 (LWP 16578)]
[KCrash handler]
#4  0x40710691 in kill () from /lib/libc.so.6
#5  0x405bc511 in pthread_kill () from /lib/libpthread.so.0
#6  0x405bc83b in raise () from /lib/libpthread.so.0
#7  0x40710424 in raise () from /lib/libc.so.6
#8  0x40711a50 in abort () from /lib/libc.so.6
#9  0x407099b2 in __assert_fail () from /lib/libc.so.6
#10 0x4013e91a in Arts::AudioPort::disconnect(Arts::Port*) (this=0x80d4f30, 
    psource=0x8099008)
    at /usr/local/kde/source-cvs/arts/flow/gslschedule.cc:256
#11 0x4016306d in ~VPortConnection (this=0x8090fa8)
    at /usr/local/kde/source-cvs/arts/flow/virtualports.cc:193
#12 0x40162806 in VPortConnection (this=0x80f5270, source=0x80a36d0, 
    dest=0x8098628, style=vcMasquerade)
    at /usr/local/kde/source-cvs/arts/flow/virtualports.cc:127
#13 0x40163732 in Arts::VPort::virtualize(Arts::VPort*) (this=0x80a36d0, 
    forward=0x8098628)
    at /usr/local/kde/source-cvs/arts/flow/virtualports.cc:297
#14 0x40140aa8 in Arts::StdScheduleNode::virtualize(std::string const&, Arts::ScheduleNode*, std::string const&) (this=0x80d4ef0, port=@0xbfffccb0, 
    implNode=0x80985b8, implPort=@0xbfffccd0)
    at /usr/local/kde/source-cvs/arts/flow/gslschedule.cc:698
#15 0x401666b7 in Arts::BusManager::addClient(std::string const&, Arts::BusClient*) () from /opt/kde3/lib/libartsflow.so.1
#16 0x4016777a in Arts::Synth_BUS_UPLINK_impl::connect() ()
   from /opt/kde3/lib/libartsflow.so.1
#17 0x4016767f in Arts::Synth_BUS_UPLINK_impl::streamInit() ()
   from /opt/kde3/lib/libartsflow.so.1
#18 0x40140593 in Arts::StdScheduleNode::start() (this=0x80d4ef0)
    at /usr/local/kde/source-cvs/arts/flow/gslschedule.cc:614
#19 0x40151de1 in Arts::StdSynthModule::start() (this=0x80d4e5c)
    at /usr/local/kde/source-cvs/arts/flow/stdsynthmodule.cc:54
#20 0x4016da72 in Arts::Synth_AMAN_PLAY_impl::streamInit() ()
   from /opt/kde3/lib/libartsflow.so.1
#21 0x40140593 in Arts::StdScheduleNode::start() (this=0x80d5048)
    at /usr/local/kde/source-cvs/arts/flow/gslschedule.cc:614
#22 0x40151de1 in Arts::StdSynthModule::start() (this=0x80beb00)
    at /usr/local/kde/source-cvs/arts/flow/stdsynthmodule.cc:54
#23 0x402ace99 in _dispatch_Arts_SynthModule_00(void*, Arts::Buffer*, Arts::Buffer*) () from /opt/kde3/lib/libartsflow_idl.so.1
#24 0x404a887b in Arts::Object_skel::_dispatch(Arts::Buffer*, Arts::Buffer*, long) (this=0x80beae8, request=0x8099db8, result=0x80bf928, methodID=20)
    at /usr/local/kde/source-cvs/arts/mcop/object.cc:850
#25 0x4049fb1b in Arts::Dispatcher::handle(Arts::Connection*, Arts::Buffer*, long) () from /opt/kde3/lib/libmcop.so.1
#26 0x4046d35b in Arts::Connection::receive(unsigned char*, long) (
    this=0x80d46f8, newdata=0xbfffd050 "MCOP", newlen=24)
    at /usr/local/kde/source-cvs/arts/mcop/connection.cc:168
#27 0x404afcf2 in Arts::SocketConnection::notifyIO(int, int) (this=0x80d46f8, 
    _fd=9, types=1)
    at /usr/local/kde/source-cvs/arts/mcop/socketconnection.cc:139
#28 0x404a466d in Arts::StdIOManager::processOneEvent(bool) ()
   from /opt/kde3/lib/libmcop.so.1
#29 0x404a4c60 in Arts::StdIOManager::run() () from /opt/kde3/lib/libmcop.so.1
#30 0x404a1a53 in Arts::Dispatcher::run() () from /opt/kde3/lib/libmcop.so.1
#31 0x08063d2f in main ()
#32 0x406fc8ae in __libc_start_main () from /lib/libc.so.6

5)
[New Thread 16384 (LWP 13897)]
[KCrash handler]
#4  0x40710691 in kill () from /lib/libc.so.6
#5  0x405bc511 in pthread_kill () from /lib/libpthread.so.0
#6  0x405bc83b in raise () from /lib/libpthread.so.0
#7  0x40710424 in raise () from /lib/libc.so.6
#8  0x40711a50 in abort () from /lib/libc.so.6
#9  0x407099b2 in __assert_fail () from /lib/libc.so.6
#10 0x4013e91a in Arts::AudioPort::disconnect(Arts::Port*) (this=0x809da68, 
    psource=0x8093450)
    at /usr/local/kde/source-cvs/arts/flow/gslschedule.cc:256
#11 0x4016306d in ~VPortConnection (this=0x80ec3d8)
    at /usr/local/kde/source-cvs/arts/flow/virtualports.cc:193
#12 0x40162806 in VPortConnection (this=0x80da540, source=0x809daa8, 
    dest=0x8098628, style=vcMasquerade)
    at /usr/local/kde/source-cvs/arts/flow/virtualports.cc:127
#13 0x40163732 in Arts::VPort::virtualize(Arts::VPort*) (this=0x809daa8, 
    forward=0x8098628)
    at /usr/local/kde/source-cvs/arts/flow/virtualports.cc:297
#14 0x40140aa8 in Arts::StdScheduleNode::virtualize(std::string const&, Arts::ScheduleNode*, std::string const&) (this=0x809a7a0, port=@0xbfffcc80, 
    implNode=0x80985b8, implPort=@0xbfffcca0)
    at /usr/local/kde/source-cvs/arts/flow/gslschedule.cc:698
#15 0x401666b7 in Arts::BusManager::addClient(std::string const&, Arts::BusClient*) () from /opt/kde3/lib/libartsflow.so.1
#16 0x4016777a in Arts::Synth_BUS_UPLINK_impl::connect() ()
   from /opt/kde3/lib/libartsflow.so.1
#17 0x4016767f in Arts::Synth_BUS_UPLINK_impl::streamInit() ()
   from /opt/kde3/lib/libartsflow.so.1
#18 0x40140593 in Arts::StdScheduleNode::start() (this=0x809a7a0)
    at /usr/local/kde/source-cvs/arts/flow/gslschedule.cc:614
#19 0x40151de1 in Arts::StdSynthModule::start() (this=0x809d9d4)
    at /usr/local/kde/source-cvs/arts/flow/stdsynthmodule.cc:54
#20 0x4016da72 in Arts::Synth_AMAN_PLAY_impl::streamInit() ()
   from /opt/kde3/lib/libartsflow.so.1
#21 0x40140593 in Arts::StdScheduleNode::start() (this=0x809db38)
    at /usr/local/kde/source-cvs/arts/flow/gslschedule.cc:614
#22 0x40151de1 in Arts::StdSynthModule::start() (this=0x809a6c0)
    at /usr/local/kde/source-cvs/arts/flow/stdsynthmodule.cc:54
#23 0x402ace99 in _dispatch_Arts_SynthModule_00(void*, Arts::Buffer*, Arts::Buffer*) () from /opt/kde3/lib/libartsflow_idl.so.1
#24 0x404a887b in Arts::Object_skel::_dispatch(Arts::Buffer*, Arts::Buffer*, long) (this=0x809a6a8, request=0x812c420, result=0x814d378, methodID=20)
    at /usr/local/kde/source-cvs/arts/mcop/object.cc:850
#25 0x4049fb1b in Arts::Dispatcher::handle(Arts::Connection*, Arts::Buffer*, long) () from /opt/kde3/lib/libmcop.so.1
#26 0x4046d35b in Arts::Connection::receive(unsigned char*, long) (
    this=0x80bf988, newdata=0xbfffd020 "MCOP", newlen=24)
    at /usr/local/kde/source-cvs/arts/mcop/connection.cc:168
#27 0x404afcf2 in Arts::SocketConnection::notifyIO(int, int) (this=0x80bf988, 
    _fd=11, types=1)
    at /usr/local/kde/source-cvs/arts/mcop/socketconnection.cc:139
#28 0x404a466d in Arts::StdIOManager::processOneEvent(bool) ()
   from /opt/kde3/lib/libmcop.so.1
#29 0x404a4c60 in Arts::StdIOManager::run() () from /opt/kde3/lib/libmcop.so.1
#30 0x404a1a53 in Arts::Dispatcher::run() () from /opt/kde3/lib/libmcop.so.1
#31 0x08063d2f in main ()
#32 0x406fc8ae in __libc_start_main () from /lib/libc.so.6

6) This one occured during preparation time of this report after closing a Konqueror window:
[New Thread 16384 (LWP 14396)]
[KCrash handler]
#4  0x40710691 in kill () from /lib/libc.so.6
#5  0x405bc511 in pthread_kill () from /lib/libpthread.so.0
#6  0x405bc83b in raise () from /lib/libpthread.so.0
#7  0x40710424 in raise () from /lib/libc.so.6
#8  0x40711a50 in abort () from /lib/libc.so.6
#9  0x407099b2 in __assert_fail () from /lib/libc.so.6
#10 0x4013e91a in Arts::AudioPort::disconnect(Arts::Port*) (this=0x80d5bf0, 
    psource=0x809a620)
    at /usr/local/kde/source-cvs/arts/flow/gslschedule.cc:256
#11 0x4016306d in ~VPortConnection (this=0x810e6f8)
    at /usr/local/kde/source-cvs/arts/flow/virtualports.cc:193
#12 0x40162806 in VPortConnection (this=0x8098650, source=0x80be060, 
    dest=0x8098628, style=vcMasquerade)
    at /usr/local/kde/source-cvs/arts/flow/virtualports.cc:127
#13 0x40163732 in Arts::VPort::virtualize(Arts::VPort*) (this=0x80be060, 
    forward=0x8098628)
    at /usr/local/kde/source-cvs/arts/flow/virtualports.cc:297
#14 0x40140aa8 in Arts::StdScheduleNode::virtualize(std::string const&, Arts::ScheduleNode*, std::string const&) (this=0x80d5bb0, port=@0xbfffcc80, 
    implNode=0x80985b8, implPort=@0xbfffcca0)
    at /usr/local/kde/source-cvs/arts/flow/gslschedule.cc:698
#15 0x401666b7 in Arts::BusManager::addClient(std::string const&, Arts::BusClient*) () from /opt/kde3/lib/libartsflow.so.1
#16 0x4016777a in Arts::Synth_BUS_UPLINK_impl::connect() ()
   from /opt/kde3/lib/libartsflow.so.1
#17 0x4016767f in Arts::Synth_BUS_UPLINK_impl::streamInit() ()
   from /opt/kde3/lib/libartsflow.so.1
#18 0x40140593 in Arts::StdScheduleNode::start() (this=0x80d5bb0)
    at /usr/local/kde/source-cvs/arts/flow/gslschedule.cc:614
#19 0x40151de1 in Arts::StdSynthModule::start() (this=0x80d5b0c)
    at /usr/local/kde/source-cvs/arts/flow/stdsynthmodule.cc:54
#20 0x4016da72 in Arts::Synth_AMAN_PLAY_impl::streamInit() ()
   from /opt/kde3/lib/libartsflow.so.1
#21 0x40140593 in Arts::StdScheduleNode::start() (this=0x8099fc8)
    at /usr/local/kde/source-cvs/arts/flow/gslschedule.cc:614
#22 0x40151de1 in Arts::StdSynthModule::start() (this=0x80d4a00)
    at /usr/local/kde/source-cvs/arts/flow/stdsynthmodule.cc:54
#23 0x402ace99 in _dispatch_Arts_SynthModule_00(void*, Arts::Buffer*, Arts::Buffer*) () from /opt/kde3/lib/libartsflow_idl.so.1
#24 0x404a887b in Arts::Object_skel::_dispatch(Arts::Buffer*, Arts::Buffer*, long) (this=0x80d49e8, request=0x8145510, result=0x80da530, methodID=20)
    at /usr/local/kde/source-cvs/arts/mcop/object.cc:850
#25 0x4049fb1b in Arts::Dispatcher::handle(Arts::Connection*, Arts::Buffer*, long) () from /opt/kde3/lib/libmcop.so.1
#26 0x4046d35b in Arts::Connection::receive(unsigned char*, long) (
    this=0x80bebc0, newdata=0xbfffd020 "MCOP", newlen=24)
    at /usr/local/kde/source-cvs/arts/mcop/connection.cc:168
#27 0x404afcf2 in Arts::SocketConnection::notifyIO(int, int) (this=0x80bebc0, 
    _fd=10, types=1)
    at /usr/local/kde/source-cvs/arts/mcop/socketconnection.cc:139
#28 0x404a466d in Arts::StdIOManager::processOneEvent(bool) ()
   from /opt/kde3/lib/libmcop.so.1
#29 0x404a4c60 in Arts::StdIOManager::run() () from /opt/kde3/lib/libmcop.so.1
#30 0x404a1a53 in Arts::Dispatcher::run() () from /opt/kde3/lib/libmcop.so.1
#31 0x08063d2f in main ()
#32 0x406fc8ae in __libc_start_main () from /lib/libc.so.6
Comment 1 Frerich Raabe 2004-02-15 15:20:09 UTC
*** Bug 75249 has been marked as a duplicate of this bug. ***
Comment 2 phrensy 2004-03-11 06:26:53 UTC
On my system, artsd is so unreliable I rarely hear two sounds in a row.  I can disable the sound system altogether (go to the control center->Sound & Multimedia->Sound System, and uncheck "Enable the sound system") and it still crashes!

I have my system set up to play a sound when a window maximizes, and play another sound when a window minimizes.  To reproduce the problem, repeatedly click on a window in the task bar.  Artsd will crash repeatedly even though I've killed the only running artsd process and the sound system isn't even enabled!
Comment 3 Jens Zurheide 2004-03-12 22:01:16 UTC
Looking at the code in file
	arts/flow/gslschedule.cc
I saw some interesting things I do not fully understand. Sorry for some 
(dumb?) questions following now:

Function void AudioPort::connect(Port *psource) has lines:
    source->destcount++;
    sourcemodule = source->parent;

Function void AudioPort::disconnect(Port *psource) has lines:
    sourcemodule = 0;
    source->destcount--;
    source = 0;

Are these source->destcount++/-- lines are tracking the numbers of 
connections? If yes, shouldn't sourcemodule be a std::list<...> to keep 
track of the various connections? Then the line
	assert(sourcemodule == source->parent);
should be more like:
	like std::list<...>::iterator it = sourcemodule.find(source->parent());
    assert( it == sourcemodule.end() );
	sourcemodule.erase( it );
Shouldn't source be set to 0 in ::disconnect() only if source->destcount == 
0?

Comment 4 Waldo Bastian 2004-03-19 00:01:24 UTC

*** This bug has been marked as a duplicate of 70028 ***