Digikam crashes under Gnome but not under KDE (Phonon::AudioOutputAdaptor::outputDeviceIndexChanged)

Bug #324071 reported by tzara on 2009-02-01
26
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Phonon
Fix Released
High
phonon (Ubuntu)
Undecided
Unassigned

Bug Description

On startup Digikam (and 2 days ago Amarok 2) crashes under Gnome, while it works just fine under KDE.

$ lsb_release -rd
Description: Ubuntu jaunty (development branch)
Release: 9.04

$ apt-cache policy digikam
digikam:
  Installed: 2:0.10.0~rc1-0ubuntu1
  Candidate: 2:0.10.0~rc1-0ubuntu1
  Version table:
 *** 2:0.10.0~rc1-0ubuntu1 0
        500 http://ftp.kfki.hu jaunty/universe Packages
        100 /var/lib/dpkg/status

I have a stack trace, (KDE states that it's probably useless):
This backtrace appears to be of no use.
This is probably because your packages are built in a way which prevents creation of proper backtraces, or the stack frame was seriously corrupted in the crash.

(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)
(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 0xb477f700 (LWP 20458)]
[New Thread 0xb19ffb90 (LWP 20476)]
[New Thread 0xb2610b90 (LWP 20475)]
[New Thread 0xb3162b90 (LWP 20459)]
(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)
0xb7f7b424 in __kernel_vsyscall ()
[Current thread is 0 (LWP 20458)]

Thread 4 (Thread 0xb3162b90 (LWP 20459)):
#0 0xb7f7b424 in __kernel_vsyscall ()
#1 0xb54960e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb559827d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3 0xb5783792 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4 0x08292d61 in ?? ()
#5 0xb578274e in ?? () from /usr/lib/libQtCore.so.4
#6 0xb54924ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7 0xb55893fe in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xb2610b90 (LWP 20475)):
#0 0xb7f7b424 in __kernel_vsyscall ()
#1 0xb54960e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb559827d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3 0xb5783792 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4 0xb7195232 in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#5 0xb578274e in ?? () from /usr/lib/libQtCore.so.4
#6 0xb54924ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7 0xb55893fe in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb19ffb90 (LWP 20476)):
#0 0xb7f7b424 in __kernel_vsyscall ()
#1 0xb54960e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb559827d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3 0xb5783792 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4 0xb7195232 in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#5 0xb578274e in ?? () from /usr/lib/libQtCore.so.4
#6 0xb54924ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7 0xb55893fe in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb477f700 (LWP 20458)):
#0 0xb7f7b424 in __kernel_vsyscall ()
#1 0xb5544746 in nanosleep () from /lib/tls/i686/cmov/libc.so.6
#2 0xb554455e in sleep () from /lib/tls/i686/cmov/libc.so.6
#3 0xb68d1c02 in ?? () from /usr/lib/libkdeui.so.5
#4 0xb68d2604 in KCrash::defaultCrashHandler () from /usr/lib/libkdeui.so.5
#5 <signal handler called>
#6 0xb58889a7 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#7 0xb7f0dfd3 in ?? () from /usr/lib/libphonon.so.4
#8 0xb7ef7216 in ?? () from /usr/lib/libphonon.so.4
#9 0xb7ef84aa in ?? () from /usr/lib/libphonon.so.4
#10 0xb7ef6b85 in ?? () from /usr/lib/libphonon.so.4
#11 0xb7f074b5 in ?? () from /usr/lib/libphonon.so.4
#12 0xb7f077a0 in Phonon::VideoPlayer::VideoPlayer () from /usr/lib/libphonon.so.4
#13 0x08285557 in ?? ()
#14 0x08235a93 in ?? ()
#15 0x0826037a in ?? ()
#16 0x08252aa3 in ?? ()
#17 0x082548bb in ?? ()
#18 0x082b62ef in ?? ()
#19 0xb54bb775 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#20 0x0808d6b1 in _start ()
#0 0xb7f7b424 in __kernel_vsyscall ()

Some hints: Width Amarok 2 I had the same symptom but after removing "MusicExplorer" script, it works now. The stack trace were similar. In both cases i saw a libphonon.so.4, libQtCore.so.4, libkdeui.so.5 but with different addresses. -- I hope this helps.

p.s.: If I can help with some testing, let me know.

Jonathan Thomas (echidnaman) wrote :

Could you install digikam-dbg, phonon-dbg and paste a new crash log please? Thanks in advance.

Changed in digikam:
status: New → Incomplete
tzara (lorand-somogyi) wrote :
Download full text (3.8 KiB)

Installed.

The stack trace is:

Application: digiKam (digikam), signal SIGSEGV
[Current thread is 0 (LWP 28924)]

Thread 4 (Thread 0xb3150b90 (LWP 28943)):
#0 0xb7f69424 in __kernel_vsyscall ()
#1 0xb54840e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb558627d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3 0xb5771792 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4 0x08292d61 in Digikam::ScanController::run (this=0xa215d10) at /build/buildd/digikam-0.10.0~rc1/digikam/scancontroller.cpp:412
#5 0xb577074e in ?? () from /usr/lib/libQtCore.so.4
#6 0xb54804ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7 0xb55773fe in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xb25f2b90 (LWP 29184)):
#0 0xb7f69424 in __kernel_vsyscall ()
#1 0xb54840e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb558627d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3 0xb5771792 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4 0xb7183232 in Digikam::LoadSaveThread::run (this=0xa53b9d8) at /build/buildd/digikam-0.10.0~rc1/libs/threadimageio/loadsavethread.cpp:129
#5 0xb577074e in ?? () from /usr/lib/libQtCore.so.4
#6 0xb54804ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7 0xb55773fe in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb19ffb90 (LWP 29185)):
#0 0xb7f69424 in __kernel_vsyscall ()
#1 0xb54840e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb558627d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3 0xb5771792 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4 0xb7183232 in Digikam::LoadSaveThread::run (this=0xa4899f0) at /build/buildd/digikam-0.10.0~rc1/libs/threadimageio/loadsavethread.cpp:129
#5 0xb577074e in ?? () from /usr/lib/libQtCore.so.4
#6 0xb54804ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7 0xb55773fe in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb476d700 (LWP 28924)):
[KCrash Handler]
#6 0xb58769a7 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#7 0xb7efbfd3 in Phonon::AudioOutputAdaptor::outputDeviceIndexChanged (this=0x0, _t1=0) at /build/buildd/phonon-4.3.0/obj-i486-linux-gnu/phonon/moc_audiooutputadaptor_p.cpp:185
#8 0xb7ee5216 in Phonon::AudioOutputPrivate::handleAutomaticDeviceChange (this=0xa5b6520, device2=@0xbfd86814, type=Phonon::AudioOutputPrivate::FallbackChange)
    at /build/buildd/phonon-4.3.0/phonon/audiooutput.cpp:366
#9 0xb7ee64aa in Phonon::AudioOutputPrivate::setupBackendObject (this=0xa5b6520) at /build/buildd/phonon-4.3.0/phonon/audiooutput.cpp:269
#10 0xb7ee4b85 in Phonon::AudioOutputPrivate::init (this=0xa5b6520, c=Phonon::VideoCategory) at /build/buildd/phonon-4.3.0/phonon/audiooutput.cpp:85
#11 0xb7ef54b5 in Phonon::VideoPlayerPrivate::init (this=0xa5b62d0, q=0xa5b6180, category=Phonon::VideoCategory) at /build/buildd/phonon-4.3.0/phonon/videoplayer.cpp:59
#12 0xb7ef57a0 in VideoPlayer (this=0xa5b6180, category=Phonon::VideoCategory, parent=0xa5b5e60) at /build/buildd/phonon-4.3.0/phonon/videoplayer.cpp:75
#13 0x0828...

Read more...

tzara (lorand-somogyi) wrote :

Maybe in conjunction with this:
1. Gwenview work normally but there is no window decoration at all.
2. I had a case when digikam started, but I could only see the main window part, the thumbnail list. No window decoration, and nothing else. As there were no way to quit the app, I had to kill it with xkill. After it the error from above occurred.
3. checked k3b (as another kde app): everything is fine, window decoration, etc...

Changed in digikam:
status: Incomplete → New
tzara (lorand-somogyi) wrote :

After an update today, everything works as expected on first start. After closing and restarting Digikam crashes, just as before.

tzara (lorand-somogyi) wrote :

I found out that pulse is the source of the trouble.

When pulse killed digikam, amarok, etc. starts and restarts normally each time. I don't know if this is a pulse or a "kde-pulse bridge" bug.

Roger (r-wiberg) wrote :

Confirmed. With 2:0.10.0-rc2-0ubuntu1, Digikam still produces a SIGSEV whenever I open it again after closing it down.

Roger

Changed in phonon:
status: New → Confirmed
Jonathan Thomas (echidnaman) wrote :

This should be fixed now in K/Ubuntu 9.10.

Changed in phonon (Ubuntu):
status: Confirmed → Fix Released
summary: - [jaunty] Digikam crashes under Gnome but not under KDE
+ Digikam crashes under Gnome but not under KDE
+ (Phonon::AudioOutputAdaptor::outputDeviceIndexChanged)
tzara (lorand-somogyi) wrote :

Confirmed. Works with Karmic (9.10).
Thank you!

Changed in phonon:
status: Unknown → Fix Released
Changed in phonon:
importance: Unknown → High
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.