Bug 238225

Summary: amarok crash (and also qt designer, knotifier) after upgrade to ubuntu 10.04 (but works with new guest user account)
Product: [Applications] amarok Reporter: rh71
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: CLOSED FIXED    
Severity: crash CC: vibdata
Priority: NOR    
Version: 2.3.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description rh71 2010-05-19 20:21:08 UTC
Application: amarok (2.3.0)
KDE Platform Version: 4.4.2 (KDE 4.4.2) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
amarok , qt designer and knotifier (maybe more) dont work with my "old" account after upgrade to 10.04. 
If I login with guest account , the applications run. I already removed .kde/share/apps/amarok.
Error message on console:
 <unknown program name>(2574)/: Communication problem with  "amarok" , it probably crashed.
Error message was:  "org.freedesktop.DBus.Error.ServiceUnknown" : " "The name org.kde.amarok was not provided by any .service files" .

It looks for me that some old (hidden) configuration files disturbed the transfer from 9.10 to 10.04 on the qt level.
I should generate two bug reports or send the report as qt related, but I believe the symptoms are connected.

The strange thing is , that this seems related to my old user account.

dd~$ /usr/share/qt4/bin/designer
Error while reparenting!
QMetaProperty::read: Unable to handle unregistered datatype 'QList<QChar>' for property 'KCharSelect::displayedChars'
QMetaProperty::read: Unable to handle unregistered datatype 'KUrl' for property 'KUrlRequester::url'
QMetaProperty::read: Unable to handle unregistered datatype 'ShortcutTypes' for property 'KKeySequenceWidget::checkForConflictsAgainst'Enchant dict for "en_US" 0xa182460 
QMetaProperty::read: Unable to handle unregistered datatype 'KUrl' for property 'KUrlRequester::url'
QMetaProperty::read: Unable to handle unregistered datatype 'QList<QColor>' for property 'KColorCombo::colors'
Segmentation fault

thank you
dirk

The crash can be reproduced every time.

 -- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
[Current thread is 1 (Thread 0xb77a7720 (LWP 2575))]

Thread 2 (Thread 0xb1df0b70 (LWP 2578)):
#0  0x003a1422 in __kernel_vsyscall ()
#1  0x00886b86 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x044f9502 in ?? () from /usr/lib/libpulse.so.0
#3  0x044e5a59 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4  0x044e7a13 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5  0x044e7ae4 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#6  0x044f92a3 in ?? () from /usr/lib/libpulse.so.0
#7  0x046d2e02 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#8  0x0092696e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0x00894a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb77a7720 (LWP 2575)):
[KCrash Handler]
#6  0x02c16e5c in ?? () from /usr/lib/libasound.so.2
#7  0x02bd3e9e in snd_pcm_close () from /usr/lib/libasound.so.2
#8  0x02dc1662 in ?? () from /usr/lib/gstreamer-0.10/libgstalsa.so
#9  0x08870512 in ?? () from /usr/lib/libgstaudio-0.10.so.0
#10 0x088606f0 in gst_ring_buffer_close_device () from /usr/lib/libgstaudio-0.10.so.0
#11 0x0886ae42 in ?? () from /usr/lib/libgstaudio-0.10.so.0
#12 0x045ca435 in gst_element_change_state (element=0x9b62440, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstelement.c:2548
#13 0x045cd928 in gst_element_set_state_func (element=0x9b62440, state=GST_STATE_NULL) at gstelement.c:2504
#14 0x045c97f0 in gst_element_set_state (element=0x9b62440, state=GST_STATE_NULL) at gstelement.c:2405
#15 0x045b9827 in gst_bin_element_set_state (element=0x9b28198, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstbin.c:2118
#16 gst_bin_change_state_func (element=0x9b28198, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstbin.c:2417
#17 0x045ca435 in gst_element_change_state (element=0x9b28198, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstelement.c:2548
#18 0x045cd928 in gst_element_set_state_func (element=0x9b28198, state=GST_STATE_NULL) at gstelement.c:2504
#19 0x045c97f0 in gst_element_set_state (element=0x9b28198, state=GST_STATE_NULL) at gstelement.c:2405
#20 0x045b9827 in gst_bin_element_set_state (element=0x9b27170, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstbin.c:2118
#21 gst_bin_change_state_func (element=0x9b27170, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstbin.c:2417
#22 0x02db311e in gst_switch_sink_change_state (element=0x9b27170, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstswitchsink.c:255
#23 0x02daff56 in gst_gconf_audio_sink_change_state (element=0x9b27170, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstgconfaudiosink.c:298
#24 0x045ca435 in gst_element_change_state (element=0x9b27170, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstelement.c:2548
#25 0x045cd928 in gst_element_set_state_func (element=0x9b27170, state=GST_STATE_NULL) at gstelement.c:2504
#26 0x045c97f0 in gst_element_set_state (element=0x9b27170, state=GST_STATE_NULL) at gstelement.c:2405
#27 0x02d3fe1c in Phonon::Gstreamer::AudioOutput::setOutputDevice (this=0x99885b8, newDevice=...) at ../../gstreamer/audiooutput.cpp:217
#28 0x05d5d621 in callSetOutputDevice (this=0x984ba78) at ../3rdparty/phonon/phonon/audiooutput.cpp:67
#29 Phonon::AudioOutputPrivate::setupBackendObject (this=0x984ba78) at ../3rdparty/phonon/phonon/audiooutput.cpp:281
#30 0x05d5dd22 in Phonon::AudioOutputPrivate::createBackendObject (this=0x984ba78) at ../3rdparty/phonon/phonon/audiooutput.cpp:124
#31 0x05d5a284 in Phonon::AudioOutputPrivate::init (this=0x984ba78, c=Phonon::MusicCategory) at ../3rdparty/phonon/phonon/audiooutput.cpp:106
#32 0x05d5a929 in AudioOutput (this=0x996bed8, category=Phonon::MusicCategory, parent=0x9845160) at ../3rdparty/phonon/phonon/audiooutput.cpp:76
#33 0x0126b88e in EngineController::initializePhonon (this=0x9845160) at ../../src/EngineController.cpp:122
#34 0x0126dac2 in EngineController::qt_metacall (this=0x9845160, _c=QMetaObject::InvokeMetaMethod, _id=21, _a=0xbfa4e3ac) at ./EngineController.moc:147
#35 0x0050fc9a in QMetaObject::metacall (object=0x9845160, cl=9561024, idx=26, argv=0xbfa4e3ac) at kernel/qmetaobject.cpp:237
#36 0x00513ac5 in QMetaMethod::invoke (this=0xbfa4e53c, object=0x9845160, connectionType=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., 
    val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1533
#37 0x005140cf in QMetaObject::invokeMethod (obj=0x9845160, member=0x148c0c4 "initializePhonon", type=Qt::DirectConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., 
    val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1113
#38 0x0136eadb in QMetaObject::invokeMethod (this=0x9845d70) at /usr/include/qt4/QtCore/qobjectdefs.h:398
#39 Amarok::DefaultApplicationController::initEngineController (this=0x9845d70) at ../../src/statemanagement/DefaultApplicationController.cpp:90
#40 0x0136eb12 in Amarok::DefaultApplicationController::start (this=0x9845d70) at ../../src/statemanagement/DefaultApplicationController.cpp:47
#41 0x0124ead0 in App::continueInit (this=0xbfa4eae8) at ../../src/App.cpp:670
#42 0x012534e9 in App (this=0xbfa4eae8) at ../../src/App.cpp:212
#43 0x0804fffc in main (argc=1, argv=0xbfa4f364) at ../../src/main.cpp:235

This bug may be a duplicate of or related to bug 232068.

Possible duplicates by query: bug 238188, bug 237950, bug 237862, bug 237744, bug 237538.

Reported using DrKonqi
Comment 1 Sven Krohlas 2010-05-20 18:03:03 UTC
That crash is located in GStreamer. Install the appropriate debuginfo packages and report it with a useful backtrace there.
Comment 2 rh71 2010-05-23 09:55:56 UTC
Hello,
thanks for that hint, Sven!
I removed 
gstreamer0.10-gnonlin
gstreamer0.10-plugins-bad
gstreamer0.10-plugins-base
gstreamer0.10-plugins-good
gstreamer0.10-plugins-good-dbg

from my system, now amarok and qt designer work. But how did you know that it is located in gstreamer? 
And still strange for me is that this crashing was depending on user level... Since I cannot reproduce any crash now I close this report. thanks again!dirk
Comment 3 Sven Krohlas 2010-05-23 10:43:23 UTC
Thread 1 is the one that crashes:

Thread 1 (Thread 0xb77a7720 (LWP 2575)):
[KCrash Handler]
#6  0x02c16e5c in ?? () from /usr/lib/libasound.so.2
#7  0x02bd3e9e in snd_pcm_close () from /usr/lib/libasound.so.2
#8  0x02dc1662 in ?? () from /usr/lib/gstreamer-0.10/libgstalsa.so
#9  0x08870512 in ?? () from /usr/lib/libgstaudio-0.10.so.0


The last calls are in libasound, which is Alsa (#6, 7). Alsa gets called by GStreamer (#8, 9). So it's very likely the problem is somewhere in the area Alsa/GStreamer.

That's how you read thos backtraces. :)
Comment 4 vibdata 2010-06-21 12:07:41 UTC
Created attachment 48182 [details]
New crash information added by DrKonqi

Plugged in Sansa e250.  Tried to play audio stream with Amarok.  Crashes quickly and always.   UBU 10.4