Bug 163841 - Crash caused by communication problem with DBUS
Summary: Crash caused by communication problem with DBUS
Status: RESOLVED FIXED
Alias: None
Product: Phonon
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Matthias Kretz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-12 00:15 UTC by charly ghislain
Modified: 2009-05-15 22:33 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
amarok's bt (8.07 KB, text/plain)
2008-06-12 00:20 UTC, charly ghislain
Details
bugzilla report (5.24 KB, application/octet-stream)
2009-01-10 02:46 UTC, Soren Tarp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description charly ghislain 2008-06-12 00:15:14 UTC
Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          gcc 4.3.1 
OS:                Linux

Hi,

Applications like juk and amarok (so far, it seems they are  the only 2 affected here) crash at startup.


Error message:
juk(19872): Communication problem with  "juk" , it probably crashed.
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" "

KCrash: Application 'juk' crashing...
sock_file=/home/kde4/.kdemod/socket-cghislai/kdeinit4__0



backtrace: 
Application: JuK (juk), signal SIGILL
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb56166d0 (LWP 20109)]
[New Thread 0xb211ab90 (LWP 20115)]
[New Thread 0xb291bb90 (LWP 20114)]
[New Thread 0xb313db90 (LWP 20113)]
[New Thread 0xb399fb90 (LWP 20110)]
[KCrash handler]
#6  0xb7efba76 in Phonon::VolumeSlider::setAudioOutput ()
   from /opt/kdemod/lib/libphonon.so.4
#7  0x080b95a6 in ?? ()
#8  0x080b98d4 in ?? ()
#9  0x080a8a3f in ?? ()
#10 0x080ac066 in ?? ()
#11 0x080b022e in ?? ()
#12 0xb5c015c5 in __libc_start_main () from /lib/libc.so.6
#13 0x0806bc51 in _start ()
#0  0xb7fd2424 in __kernel_vsyscall ()



It seems related to Phonon, somehow; but since ive found this error message used to happen on startup of several kde4 applications, id like to think its a more general thing.

Anyway, i contacted the guys providing the binaries (kdemod.ath.cx/) and they updated it to recent SVN :

$ kded4 -v
Qt: 4.4.0
KDE: 4.00.82 (KDE 4.0.82 >= 20080610)
KDE Daemon: $Id: kded.cpp 813532 2008-05-27 23:21:49Z dfaure $

The first binaries i tried used the qt phonon; the second one use kde phonon. I tried both phonon backends but the same error come back.

I tried compiling DBUS from git as there was a somewhat recent fix about timer (http://gitweb.freedesktop.org/?p=dbus/dbus.git;a=commit;h=cdca6dbce88fd1e1195e2a81eb6619c782df2fac), it didnt work.

Restarting DBUS, rebooting, cleaning .kde & co don't work.

I'd be glad to help further, but i still have some exams to pass :D

Thanks,

Charly
Comment 1 charly ghislain 2008-06-12 00:20:10 UTC
Created attachment 25279 [details]
amarok's bt

console output from amarok, with a better backtrace.
Comment 2 George Goldberg 2008-06-15 06:42:02 UTC
reassigning to Phonon, as it looks like that is where the problem is.
Comment 3 Fabrizio Di Marco 2008-10-11 13:44:23 UTC
I can confirm this problem with kde compiled from svn trunk. I get this error with amarok, juk and dragonplayer.

$dragon
setting xine verbosity to 0
KCrash: Application 'dragon' crashing...
sock_file=/home/fabrizio/.kde4/socket-fabrizio-desktop/kdeinit4__0
Comment 4 simon 2008-10-28 15:24:35 UTC
check the dupe for this https://bugs.kde.org/show_bug.cgi?id=167116
Comment 5 Matthias Kretz 2008-12-29 17:06:04 UTC
The information provided doesn't point to any place in Phonon's code where the bug could be. Also I can't reproduce the crash so I need a better backtrace or valgrind trace.
Comment 6 Soren Tarp 2009-01-10 02:46:39 UTC
Created attachment 30083 [details]
bugzilla report
Comment 7 Dario Andres 2009-05-15 15:32:58 UTC
@Soren Tarp: your crash is unrelated to this.
To the original reporter: have you experienced this crash again with a recent KDE version?
Thanks
Comment 8 Jeremy Cribb 2009-05-15 15:47:59 UTC
not that I'm the original reporter, but this may be helpful... i COMPLETELY removed amarok from my system (previously had purged with apt-get but wasn't enough), all files and directories that had "amarok" in them at all.  I then reinstalled the newer ubuntu,jaunty version 2.0.2 as well as a database-related package it recommended (don't remember what its name was).  upon startup it rescanned my music folders and everything has been fine since (1-2 weeks)!

- jeremy
Comment 9 Dario Andres 2009-05-15 17:16:43 UTC
@Jeremy: did you experienced the *Same* crash before? (with the same backtrace) ? Thanks
Comment 10 charly ghislain 2009-05-15 22:33:02 UTC
Hi,

I'm the original reporter and didn't experience any more of those crashes.
The phonon build provided by my distro (arch linux) only provides the xine backend now, by that time i used gstreamer.

Sorry for forgetting those old bugs and thank you for the great work!

Charly