Bug 238357

Summary: Amarok crashes on startup of application
Product: [Applications] amarok Reporter: takotheoktopus
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED UPSTREAM    
Severity: crash CC: takotheoktopus
Priority: NOR    
Version: 2.3.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description takotheoktopus 2010-05-21 04:58:15 UTC
Application: amarok (2.3.0)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Amorak crashes the moment I click on it under Gnome using Ubuntu 10.04 Lucid Lynx

The crash can be reproduced every time.

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

Thread 2 (Thread 0xb026ab70 (LWP 3392)):
#0  0x042fef25 in pa_mutex_lock () from /usr/lib/libpulsecommon-0.9.21.so
#1  0x033d950c in ?? () from /usr/lib/libpulse.so.0
#2  0x033c5a59 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#3  0x033c7a13 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#4  0x033c7ae4 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#5  0x033d92a3 in ?? () from /usr/lib/libpulse.so.0
#6  0x042ffe02 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#7  0x006c396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x00cbea0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb610d720 (LWP 3369)):
[KCrash Handler]
#6  0x07cbbe5c in ?? () from /usr/lib/libasound.so.2
#7  0x07c78e9e in snd_pcm_close () from /usr/lib/libasound.so.2
#8  0x04891662 in ?? () from /usr/lib/gstreamer-0.10/libgstalsa.so
#9  0x05d37512 in ?? () from /usr/lib/libgstaudio-0.10.so.0
#10 0x05d276f0 in gst_ring_buffer_close_device () from /usr/lib/libgstaudio-0.10.so.0
#11 0x05d31e42 in ?? () from /usr/lib/libgstaudio-0.10.so.0
#12 0x032aa435 in gst_element_change_state (element=0x96e6518, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstelement.c:2548
#13 0x032ad928 in gst_element_set_state_func (element=0x96e6518, state=GST_STATE_NULL) at gstelement.c:2504
#14 0x032a97f0 in gst_element_set_state (element=0x96e6518, state=GST_STATE_NULL) at gstelement.c:2405
#15 0x03299827 in gst_bin_element_set_state (element=0x96de198, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstbin.c:2118
#16 gst_bin_change_state_func (element=0x96de198, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstbin.c:2417
#17 0x032aa435 in gst_element_change_state (element=0x96de198, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstelement.c:2548
#18 0x032ad928 in gst_element_set_state_func (element=0x96de198, state=GST_STATE_NULL) at gstelement.c:2504
#19 0x032a97f0 in gst_element_set_state (element=0x96de198, state=GST_STATE_NULL) at gstelement.c:2405
#20 0x03299827 in gst_bin_element_set_state (element=0x96da160, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstbin.c:2118
#21 gst_bin_change_state_func (element=0x96da160, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstbin.c:2417
#22 0x0435711e in gst_switch_sink_change_state (element=0x96da160, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstswitchsink.c:255
#23 0x04353f56 in gst_gconf_audio_sink_change_state (element=0x96da160, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstgconfaudiosink.c:298
#24 0x032aa435 in gst_element_change_state (element=0x96da160, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstelement.c:2548
#25 0x032ad928 in gst_element_set_state_func (element=0x96da160, state=GST_STATE_NULL) at gstelement.c:2504
#26 0x032a97f0 in gst_element_set_state (element=0x96da160, state=GST_STATE_NULL) at gstelement.c:2405
#27 0x0324be1c in Phonon::Gstreamer::AudioOutput::setOutputDevice (this=0x96f2578, newDevice=...) at ../../gstreamer/audiooutput.cpp:217
#28 0x07b99621 in callSetOutputDevice (this=0x952b788) at ../3rdparty/phonon/phonon/audiooutput.cpp:67
#29 Phonon::AudioOutputPrivate::setupBackendObject (this=0x952b788) at ../3rdparty/phonon/phonon/audiooutput.cpp:281
#30 0x07b99d22 in Phonon::AudioOutputPrivate::createBackendObject (this=0x952b788) at ../3rdparty/phonon/phonon/audiooutput.cpp:124
#31 0x07b96284 in Phonon::AudioOutputPrivate::init (this=0x952b788, c=Phonon::MusicCategory) at ../3rdparty/phonon/phonon/audiooutput.cpp:106
#32 0x07b96929 in AudioOutput (this=0x9545210, category=Phonon::MusicCategory, parent=0x9544e60) at ../3rdparty/phonon/phonon/audiooutput.cpp:76
#33 0x0143688e in EngineController::initializePhonon (this=0x9544e60) at ../../src/EngineController.cpp:122
#34 0x01438ac2 in EngineController::qt_metacall (this=0x9544e60, _c=QMetaObject::InvokeMetaMethod, _id=21, _a=0xbf90295c) at ./EngineController.moc:147
#35 0x00ae0c9a in QMetaObject::metacall (object=0x9544e60, cl=13927360, idx=26, argv=0xbf90295c) at kernel/qmetaobject.cpp:237
#36 0x00ae4ac5 in QMetaMethod::invoke (this=0xbf902aec, object=0x9544e60, connectionType=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., 
    val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1533
#37 0x00ae50cf in QMetaObject::invokeMethod (obj=0x9544e60, member=0x16570c4 "initializePhonon", type=Qt::DirectConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., 
    val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1113
#38 0x01539adb in QMetaObject::invokeMethod (this=0x9543da8) at /usr/include/qt4/QtCore/qobjectdefs.h:398
#39 Amarok::DefaultApplicationController::initEngineController (this=0x9543da8) at ../../src/statemanagement/DefaultApplicationController.cpp:90
#40 0x01539b12 in Amarok::DefaultApplicationController::start (this=0x9543da8) at ../../src/statemanagement/DefaultApplicationController.cpp:47
#41 0x01419ad0 in App::continueInit (this=0xbf903098) at ../../src/App.cpp:670
#42 0x0141e4e9 in App (this=0xbf903098) at ../../src/App.cpp:212
#43 0x0804fffc in main (argc=1, argv=0xbf903914) at ../../src/main.cpp:235

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

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

Reported using DrKonqi
Comment 1 Sven Krohlas 2010-05-21 09:07:11 UTC
That crash happens in ALSA/GStreamer. Please install the appropriate -debuginfo packages and report it with a fresh backtrace there.
Comment 2 takotheoktopus 2010-05-21 19:25:55 UTC
(In reply to comment #1)
> That crash happens in ALSA/GStreamer. Please install the appropriate -debuginfo
> packages and report it with a fresh backtrace there.

What are the appropriate -debuginfo packages and where do I report it with a fresh backtrace?
Comment 3 takotheoktopus 2010-05-21 22:08:30 UTC
Created attachment 43788 [details]
New crash information added by DrKonqi

I'm going to keep reporting this bug until I get an acceptable answer. This is the only KDE program I have under Gnome on Ubuntu Lucid Lynx and it's only Amarok that crashes on my system so I fail to see how this has anything to do with ALSA/GStreamer as claimed. If it is then how do I report this bug to the ALSA/GStreamer developers when this bug reporting tool directs me to the Amarok developers?
Comment 4 Sven Krohlas 2010-05-22 01:08:15 UTC
> I'm going to keep reporting this bug until I get an acceptable answer.

So you 1.) don't have a few hours of patience and 2.) announce you will misuse our development tools? Usually this would be a case for the admins of bko....

As i'm in a good mood I won't report this but tell you three things:
1. the backtrace clearly shows a crash in Alsa, as I said before. the function calls before are from GStreamer, so the problem might be caused there.
2. this is not a support forum, if you don't know what packages to install ask whatever support mechanism your distribution provides. this is a development tool.
3. have a nice day and come back once you learned not to threaten people that do work IN THEIR FREE TIME FOR YOU. to clearify: if i was not in such a good mood this would read as "stfu".
Comment 5 takotheoktopus 2010-05-22 03:48:38 UTC
(In reply to comment #4)
 Sven, I apologize if my frustration with Amarok comes across as threatening or abusive. My persistence should not be mistaken as abuse. Signing up to report this bug and waiting for a positive reply shows that I have more then just a few hours of patience. I wasn't intending on misusing your development tools, I only wanted to get a satisfactory answer to this bug with instructions on how to go about resolving the problem I'm having with Amarok. 

Telling me that it's some other programs fault without giving me info on who/where to get help isn't going to resolve this bug with Amarok. Trust me, had the bug report tool pointed me in any other direction other then here, I would never have bothered you. I'm just a user, not a programmer so how am I supposed to know that it's GStreamer causing Amarok to crash?