Bug 113567

Summary: artsd SIGSEGV
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Jon Nelson <jnelson-suse>
Component: KDEAssignee: E-mail List <kde-maintainers>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Beta 3   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Jon Nelson 2005-08-27 17:36:14 UTC
Not sure what other information I can give you.

What's weirder is that when I log in I get the 'welcome' sound but then nothing
else works.

I found this in .xsession-errors:

CrashHandler: can't stop running as realtime process (Operation not permitted)

and this is the 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)
(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 1082297792 (LWP 6576)]
(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)
[KCrash handler]
#14 0x4009fae6 in Arts::PlayObject_base::_create ()
   from /opt/kde3/lib/libkmedia2_idl.so.1
#15 0x08057776 in ?? ()
#16 0xbfe1d2cc in ?? ()
#17 0xbfe1d2b8 in ?? ()
#18 0x080cf114 in ?? ()
#19 0x00000001 in ?? ()
#20 0x0000006f in ?? ()
#21 0x00000000 in ?? ()
#22 0x01e1d2bb in ?? ()
#23 0x00000000 in ?? ()
#24 0xbfe1d2bb in ?? ()
#25 0x00000028 in ?? ()
#26 0x080cf108 in ?? ()
#27 0x080cc690 in ?? ()
#28 0x080c7e78 in ?? ()
#29 0x080cd6cc in ?? ()
#30 0x080a676c in ?? ()
#31 0x080cff6c in ?? ()
#32 0x080a6a3c in ?? ()
#33 0x080c92fc in ?? ()
#34 0x080a676c in ?? ()
#35 0x080a676c in ?? ()
#36 0x080cf114 in ?? ()
#37 0x080cffc4 in ?? ()
#38 0x00000028 in ?? ()
#39 0x00000028 in ?? ()
#40 0x40824880 in mp_ () from /lib/tls/libc.so.6
#41 0x080cf3b0 in ?? ()
#42 0xbfe1d308 in ?? ()
#43 0x406cdcd0 in ?? () from /usr/lib/libstdc++.so.6
#44 0xbfe1d364 in ?? ()
#45 0x00000028 in ?? ()
#46 0xbfe1d328 in ?? ()
#47 0x40686957 in std::string::assign () from /usr/lib/libstdc++.so.6
#48 0x08053772 in ?? ()
#49 0xbfe1d32c in ?? ()
#50 0x08090c60 in ?? ()
#51 0xbfe1d364 in ?? ()
#52 0x403ae879 in Arts::Buffer::readString () from /opt/kde3/lib/libmcop.so.1
#53 0x4005463e in Arts::ByteSoundReceiver::_Creator ()
   from /opt/kde3/lib/libsoundserver_idl.so.1
#54 0x403c97a6 in Arts::Object_skel::_dispatch ()
   from /opt/kde3/lib/libmcop.so.1
#55 0x403c9e26 in Arts::Dispatcher::handle () from /opt/kde3/lib/libmcop.so.1
#56 0x403cac09 in Arts::Connection::receive () from /opt/kde3/lib/libmcop.so.1
#57 0x403caddb in Arts::Connection::receive () from /opt/kde3/lib/libmcop.so.1
#58 0x403b03fb in Arts::StdIOManager::processOneEvent ()
   from /opt/kde3/lib/libmcop.so.1
#59 0x403a8ab1 in Arts::StdIOManager::run () from /opt/kde3/lib/libmcop.so.1
#60 0x403a8937 in Arts::Dispatcher::run () from /opt/kde3/lib/libmcop.so.1
#61 0x08059c94 in ?? ()
#62 0xbfe1f7f8 in ?? ()
#63 0x00000005 in ?? ()
#64 0xbfe1f90e in ?? ()
#65 0x00000000 in ?? ()
#66 0xbfe1f87c in ?? ()
#67 0x40007fd7 in _dl_lookup_symbol_x () from /lib/ld-linux.so.2
#68 0x4071ce60 in __libc_start_main () from /lib/tls/libc.so.6
#69 0x080520d1 in ?? ()
Comment 1 Jon Nelson 2005-08-28 17:00:28 UTC
More information:

I started artsd with this:

/opt/kde3/bin/artsd -F 10 -S 4096 -a alsa -s 5 -m artsmessage -c drkonqi -l 3 -f

and test with this:

artsplay /usr/share/supertux/sounds/squish.wav

and artsd dies a SIGSEGV immediately.

If I bump up the debug level, I get:
artsd version is 1.4.2
gsl: using Unix98 pthreads directly for mutexes and conditions
[artsd:  6065] SoundServerStartup --> got lock
ALSA driver: default
buffering: 15 fragments with 940 bytes (audio latency is 79.9 ms)
Closing ALSA-driver
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/Arts,Arts)
addDirectory(/home/jon/.mcop/trader-cache,)
[artsd:  6065] SoundServerStartup <-- released lock


!!!!!! This is where I run artsplay !!!!!!

UnixManager: got notifyIO
socketconnection created, fd = 10
search playobject, extension = wav
creating Arts::GSLPlayObject to play file /usr/share/supertux/sounds/squish.wav
sh: artsmessage: command not found
sh: artsmessage: command not found
sh: artsmessage: command not found
AudioSubSystem::emergencyCleanup
Closing ALSA-driver

Comment 2 Jon Nelson 2005-08-28 17:08:14 UTC
I installed kdelibs3-arts and re-ran the test:

I get a bunch of dialogs when artsd is started:

"""
Sound server warning message:

unix_connect: can't connect to server
(unix:/tmp/ksocket-jon/linux.site-.....)
"""

and the same thing with "(The previous message was repeated 4 times.)"

If I try to play a sound:

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

and

"""
Sound server warning message:

MCOP ObjectManager: Could not load extension libartsgslplayobject.la
"""

and

"""
Sound server warning message:

MCOP ObjectManager: can't find
implementation for Arts::GSLPlayObject.
"""

Comment 3 Stephan Kulow 2005-08-28 18:14:38 UTC
there is a reason we bann artsd from our default KDE 
Comment 4 Jon Nelson 2005-08-28 20:25:29 UTC
Mr. Kulow - I would gladly give up artsd if I could - however, it's the only way
I know how to make games like RTCW and Quake, both of which require a mmap'able
/dev/dsp, to work.  I could use esd (esound) but that's even less desirable. Is
there another solution? If artsd is not installed, how do KDE sounds get played?
Comment 5 Stephan Kulow 2005-08-28 21:40:53 UTC
use the aoss wrapper. KDE applications use alsa directly 
Comment 6 Jon Nelson 2005-09-01 15:06:07 UTC
I got everything working.
aoss doesn't work for me (crashes), but I found another way to make the game
(RTCW) work.

However, if artsd crashes then it should either be fixed or made unavailable. :-(

Thanks for your help!
Comment 7 Dirk Mueller 2005-09-05 22:02:21 UTC
sorry, nobody got time to fix arts