Bug 116730 - soundserver (artsd) crashes on startup and whenever a sound is played
Summary: soundserver (artsd) crashes on startup and whenever a sound is played
Status: RESOLVED WORKSFORME
Alias: None
Product: arts
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Stefan Westerfeld
URL:
Keywords:
: 117002 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-11-20 00:34 UTC by Tristan Miller
Modified: 2005-11-24 17:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tristan Miller 2005-11-20 00:34:30 UTC
Version:            (using KDE KDE 3.5.0)
Installed from:    SuSE RPMs

I just upgraded from KDE 3.4 to KDE 3.5.  Upon restarting my computer, KDE 3.5 loads, and then I get a message that artsd has crashed with a SIGSEGV.  Whenever KDE tries to play a system notification sound (e.g., new mail in KMail), the crash occurs again.

Backtrace:
(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1216801088 (LWP 6433)]
[KCrash handler]
#11 0xb7f44976 in Arts::PlayObject_base::_create ()
   from /opt/kde3/lib/libkmedia2_idl.so.1
#12 0x080591a1 in ?? ()
#13 0xbffd06e0 in ?? ()
#14 0xbffd0710 in ?? ()
#15 0xbffd07b0 in ?? ()
#16 0xb7bad3b7 in Arts::Buffer::readLong () from /opt/kde3/lib/libmcop.so.1
#17 0xb7f40cb4 in Arts::PlayObject_private_skel::_isCompatibleWith ()
   from /opt/kde3/lib/libkmedia2_idl.so.1
#18 0xb7bd8fd6 in Arts::Object_skel::_dispatch ()
   from /opt/kde3/lib/libmcop.so.1
#19 0xb7bd9521 in Arts::Dispatcher::handle () from /opt/kde3/lib/libmcop.so.1
#20 0xb7be7295 in Arts::Connection::receive () from /opt/kde3/lib/libmcop.so.1
#21 0xb7be738f in Arts::SocketConnection::notifyIO ()
   from /opt/kde3/lib/libmcop.so.1
#22 0xb7bbe11b in Arts::StdIOManager::processOneEvent ()
   from /opt/kde3/lib/libmcop.so.1
#23 0xb7badc91 in Arts::StdIOManager::run () from /opt/kde3/lib/libmcop.so.1
#24 0xb7badb57 in Arts::Dispatcher::run () from /opt/kde3/lib/libmcop.so.1
#25 0x0805779a in ?? ()
#26 0xbffd2e00 in ?? ()
#27 0x0000000d in ?? ()
#28 0x00000000 in ?? ()
#29 0x00000000 in ?? ()
#30 0x00000000 in ?? ()
#31 0x00000000 in ?? ()
#32 0xb77a4b08 in ?? () from /lib/tls/libc.so.6
#33 0xb779f9f0 in ?? () from /lib/tls/libc.so.6
#34 0xb7797370 in ?? () from /lib/tls/libc.so.6
#35 0xb79b1cc8 in ?? ()
#36 0x0000001a in ?? ()
#37 0xb77935dc in ?? ()
#38 0xb77936b8 in ?? ()
#39 0x08049c28 in ?? ()
#40 0x03df6174 in ?? ()
#41 0x08050ef5 in ?? ()
#42 0xb7fd7ff4 in ?? () from /lib/ld-linux.so.2
#43 0xb7fd86c4 in ?? ()
#44 0x00000000 in ?? ()
#45 0xbffd2e40 in ?? ()
#46 0x08089ce8 in ?? ()
#47 0x0809c084 in ?? ()
#48 0xb7fd8670 in ?? ()
#49 0x08072e30 in ?? ()
#50 0x080871a0 in ?? ()
#51 0x00000000 in ?? ()
#52 0xbffd2de8 in ?? ()
#53 0xb795b3fa in std::__default_alloc_template<true, 0>::allocate ()
   from /usr/lib/libstdc++.so.5
#54 0xb77a8e80 in __libc_start_main () from /lib/tls/libc.so.6
#55 0x08053c41 in ?? ()
Comment 1 Tristan Miller 2005-11-20 00:42:29 UTC
I tried running artsd manually from the command line.  Here's the output.  Note that it goes into an infinite loop after a crash:

[root@port-3108:~]# artsd -l0
artsd version is 1.5.0
gsl: using Unix98 pthreads directly for mutexes and conditions
[artsd:  9190] SoundServerStartup --> got lock
autodetecting driver:
 - oss: 10
 - alsa: 15
 - null: -1
 - jack: -1
 - toss: 4
... which means we'll default to alsa
ALSA driver: default
buffering: 15 fragments with 940 bytes (audio latency is 79.9 ms)
Closing ALSA-driver
virtualize StereoVolumeControl
ALSA driver: default
buffering: 15 fragments with 940 bytes (audio latency is 79.9 ms)
audio format is 44100 Hz, 16 bits, 2 channels
addDirectory(/opt/kde3/lib/mcop,)
addDirectory(/opt/kde3/lib/mcop/Amarok,Amarok)
addDirectory(/opt/kde3/lib/mcop/Arts,Arts)
addDirectory(/opt/kde3/lib/mcop/Arts/Environment,Arts::Environment)
addDirectory(/root/.mcop/trader-cache,)
starting artsd!
kbuildsycoca running...
kio (KSycoca): WARNING: Found version 79, expecting version 93 or higher.
kio (KSycoca): WARNING: Found version 79, expecting version 93 or higher.
kio (KSycoca): ERROR: No database available!
>> running as realtime process now (priority 50)
Arts::MidiManager registered successfully.
addDirectory(/opt/kde3/lib/mcop,)
addDirectory(/opt/kde3/lib/mcop/Amarok,Amarok)
addDirectory(/opt/kde3/lib/mcop/Arts,Arts)
addDirectory(/opt/kde3/lib/mcop/Arts/Environment,Arts::Environment)
addDirectory(/root/.mcop/trader-cache,)
[artsd:  9190] SoundServerStartup <-- released lock
starting artsd!
>> running as realtime process now (priority 50)
UnixManager: got notifyIO
socketconnection created, fd = 10
_useRemote without prior _copyRemote() - this might fail sometimes
There are already artsd objects registered, looking if they are active...
KWrited - Listening on Device /dev/pts/5
libhal.c 911 : Error sending msg: No property info.category on device with id /org/freedesktop/Hal/devices/ide_0_0
libhal.c 1205 : Error sending msg: No property volume.disc.has_audio on device with id /org/freedesktop/Hal/devices/block_3_2
libhal.c 1205 : Error sending msg: No property volume.disc.is_blank on device with id /org/freedesktop/Hal/devices/block_3_2
libhal.c 911 : Error sending msg: No property info.category on device with id /org/freedesktop/Hal/devices/ide_0_0
libhal.c 911 : Error sending msg: No property info.category on device with id /org/freedesktop/Hal/devices/ide_0_0

Error: Can't add object reference (probably artsd is already running).
       If you are sure it is not already running, remove the relevant files:

       /tmp/ksocket-root/Arts_SoundServerV2
       /tmp/ksocket-root/Arts_SoundServer
       /tmp/ksocket-root/Arts_SimpleSoundServer
       /tmp/ksocket-root/Arts_PlayObjectFactory
       /tmp/ksocket-root/Arts_AudioManager

starting artsd!
>> running as realtime process now (priority 50)
_useRemote without prior _copyRemote() - this might fail sometimes
(The previous message was repeated 5 times.)
UnixManager: got notifyIO
socketconnection created, fd = 10
_useRemote without prior _copyRemote() - this might fail sometimes
There are already artsd objects registered, looking if they are active...

Error: Can't add object reference (probably artsd is already running).
       If you are sure it is not already running, remove the relevant files:

       /tmp/ksocket-root/Arts_SoundServerV2
       /tmp/ksocket-root/Arts_SoundServer
       /tmp/ksocket-root/Arts_SimpleSoundServer
       /tmp/ksocket-root/Arts_PlayObjectFactory
       /tmp/ksocket-root/Arts_AudioManager

starting artsd!
>> running as realtime process now (priority 50)
_useRemote without prior _copyRemote() - this might fail sometimes
(The previous message was repeated 5 times.)
UnixManager: got notifyIO
socketconnection created, fd = 10
_useRemote without prior _copyRemote() - this might fail sometimes
There are already artsd objects registered, looking if they are active...

Error: Can't add object reference (probably artsd is already running).
       If you are sure it is not already running, remove the relevant files:

       /tmp/ksocket-root/Arts_SoundServerV2
       /tmp/ksocket-root/Arts_SoundServer
       /tmp/ksocket-root/Arts_SimpleSoundServer
       /tmp/ksocket-root/Arts_PlayObjectFactory
       /tmp/ksocket-root/Arts_AudioManager

starting artsd!                                                                 
Comment 2 Tristan Miller 2005-11-20 00:51:45 UTC
Downgrading from arts 1.5.0 to arts 1.4.0 doesn't help.
Comment 3 Tristan Miller 2005-11-20 01:02:05 UTC
Running arts from the command line as a user (not root) turns up the following error:

loading extension from '/opt/kde3/lib/libarts_mpeglib.la' failed: file not found

It seems SuSE has decided to remove MP3 support from the default KDE packages due to patent concerns.  This is all well and fine, but they should have made it more obvious that MP3 support has been moved to another package.  Installing the kdemultimedia3-arts-mad and kdemultimedia3-mad RPMs has fixed this problem, and artsd no longer crashes.
Comment 4 Tommi Tervo 2005-11-24 17:24:54 UTC
*** Bug 117002 has been marked as a duplicate of this bug. ***