Bug 118529 - artsd segvs during client connection.
Summary: artsd segvs during client connection.
Status: CLOSED UNMAINTAINED
Alias: None
Product: arts
Classification: Miscellaneous
Component: artsd (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Stefan Westerfeld
URL:
Keywords:
: 118226 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-17 19:06 UTC by Paweł Sikora
Modified: 2008-11-19 23:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paweł Sikora 2005-12-17 19:06:58 UTC
Version:           1.5.0 (using KDE KDE 3.5.0)
Installed from:    Unspecified Linux
Compiler:          gcc-3.3.6 
OS:                Linux

artsd segvs after amarok connected.

steps to reproduce crash:

[1] uninstall kdemultimedia-akode package
(
/usr/lib/libarts_akode.la
/usr/lib/libarts_akode.so
/usr/lib/mcop/akodeMPCPlayObject.mcopclass
/usr/lib/mcop/akodeMPEGPlayObject.mcopclass
/usr/lib/mcop/akodePlayObject.mcopclass
/usr/lib/mcop/akodeSpeexStreamPlayObject.mcopclass
/usr/lib/mcop/akodeVorbisStreamPlayObject.mcopclass
/usr/lib/mcop/akodeXiphPlayObject.mcopclass
/usr/lib/mcop/akodearts.mcopclass
/usr/lib/mcop/akodearts.mcoptype
)

[2] run artsd in terminal

# artsd
unix_connect: can't connect to server 
(unix:/tmp/ksocket-pluto/vmx-369b-43a44b1c)
There are already artsd objects registered, looking if they are active...
... cleaned 5 unused mcop global references.

(...)

[3] run amarokapp.
[4] on artsd terminal we'll see crash.

loading extension from '/usr/lib/libarts_akode.la' failed: file not found
MCOP ObjectManager: Could not load extension libarts_akode.la.
MCOP ObjectManager: can't find implementation for akodeMPEGPlayObject.
zsh: segmentation fault  artsd
       ^^^^^^^^^^^^^^^^^^^^^^
Comment 1 Thiago Macieira 2005-12-17 20:26:38 UTC
Please run artsd with the -c drkonqi option or run it in GDB. Then please paste the backtrace here.
Comment 2 Paweł Sikora 2005-12-17 21:19:19 UTC
# artsd -c konqi
loading extension from '/usr/lib/libarts_akode.la' failed: file not found
MCOP ObjectManager: Could not load extension libarts_akode.la.
MCOP ObjectManager: can't find implementation for akodeMPEGPlayObject.
AudioSubSystem::emergencyCleanup

# gdb
Program received signal SIGSEGV, Segmentation fault.
0xb7f2e978 in Arts::PlayObject_base::_create ()
from /usr/lib/libkmedia2_idl.so.1
Comment 3 Thiago Macieira 2005-12-17 22:06:43 UTC
"drkonqi", not "konqi"
Comment 4 Paweł Sikora 2005-12-17 22:43:28 UTC
after rebuild with -O2 -ggdb i can provide readable backtrace:

Program received signal SIGSEGV, Segmentation fault.

Arts::PlayObject_base::_create (subClass=@0x0) at kmedia2.cc:208
208             Arts::PlayObject_base *castedObject =
(Arts::PlayObject_base *)skel->_cast(Arts::PlayObject_base::_IID);

(gdb) bt
#0  Arts::PlayObject_base::_create (subClass=@0x0) at kmedia2.cc:208
#1  0x0805484d in Arts::SoundServerV2_impl::createPlayObjectForURL
    (this=0x809a3c0, url=@0xbfea4ed0, mimetype=@0xbfea4eb0, createBUS=false)
    at reference.h:90
#2  0xb7efee44 in _dispatch_Arts_PlayObjectFactoryV2_00 (object=0x809a458,
    request=0x80ce438, result=0x0) at kmedia2.cc:1949
#3  0xb7b71086 in Arts::Object_skel::_dispatch (this=0x809a444,
    request=0x80ce438, result=0x80f2cf0, methodID=47) at object.cc:850
#4  0xb7b68c3e in Arts::Dispatcher::handle (this=0xbfea74f0, conn=0x80eb570,
    buffer=0x80ce438, messageType=-1216176064) at dispatcher.cc:560
#5  0xb7b4c241 in Arts::Connection::receive (this=0x80eb570, newdata=0x80ce438
    "z", newlen=135256128) at connection.cc:168
#6  0xb7b75fee in Arts::SocketConnection::notifyIO (this=0x80eb570, _fd=13,
    types=1) at socketconnection.cc:139
#7  0xb7b6c64e in Arts::StdIOManager::processOneEvent (this=0x8076398,
    blocking=true) at iomanager.cc:308
#8  0xb7b6cac1 in Arts::StdIOManager::run (this=0x8076398) at iomanager.cc:357
#9  0xb7b6ac57 in Arts::Dispatcher::run (this=0x0) at dispatcher.cc:955
#10 0x0805f5c2 in main (argc=0, argv=0xbfea7674) at artsd.cc:360
Comment 5 Thiago Macieira 2005-12-18 05:03:15 UTC
*** Bug 118226 has been marked as a duplicate of this bug. ***
Comment 6 Alex Kiesl 2006-01-08 11:13:35 UTC
Additional diagnosis information / workaroud solution:

I got it working again as follow (don't know which step provided the solution though):

- installed kdemultimedia3-arts-mad
- removed directory ~/.mcop
- moved directory ~/.kde to ~/.kde.save
- restarted system
Comment 7 Piotr Kolaczkowski 2006-04-24 00:00:49 UTC
This workaround doesn't work for me.
KDE 3.5.2, Slackware Current. 

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1217481024 (LWP 16094)]
[KCrash handler]
#3  0xb7716847 in raise () from /lib/tls/libc.so.6
#4  0xb77180d9 in abort () from /lib/tls/libc.so.6
#5  0xb770fe46 in __assert_fail () from /lib/tls/libc.so.6
#6  0xb7edfcf6 in Arts::PlayObject_base::_create ()
   from /opt/kde/lib/libkmedia2_idl.so.1
#7  0x0805d507 in Arts::SimpleSoundServer_impl::createPlayObject ()
#8  0x0805f77a in Arts::SimpleSoundServer_impl::play ()
#9  0xb7f38413 in _dispatch_Arts_SimpleSoundServer_00 ()
   from /opt/kde/lib/libsoundserver_idl.so.1
#10 0xb7b7c3df in Arts::Object_skel::_dispatch ()
   from /opt/kde/lib/libmcop.so.1
#11 0xb7b6d091 in Arts::Dispatcher::handle () from /opt/kde/lib/libmcop.so.1
#12 0xb7b45e56 in Arts::Connection::receive () from /opt/kde/lib/libmcop.so.1
#13 0xb7b7e492 in Arts::SocketConnection::notifyIO ()
   from /opt/kde/lib/libmcop.so.1
#14 0xb7b73dc4 in Arts::StdIOManager::processOneEvent ()
   from /opt/kde/lib/libmcop.so.1
#15 0xb7b7270b in Arts::StdIOManager::run () from /opt/kde/lib/libmcop.so.1
#16 0xb7b6a0e8 in Arts::Dispatcher::run () from /opt/kde/lib/libmcop.so.1
#17 0x08061c4c in main ()
Comment 8 Matt Rogers 2008-11-19 23:39:10 UTC
Arts is no longer developed and has been unmaintained for quite some time - more than 2 years. With phonon as the replacement for arts in KDE4, we're closing out all the arts bugs in Bugzilla since there is no chance of them being fixed.

Thanks