Bug 238974 - Amarok2 Crashes at application startup
Summary: Amarok2 Crashes at application startup
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.3.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-27 08:11 UTC by Spencer Barrus
Modified: 2010-05-27 14:50 UTC (History)
0 users

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 Spencer Barrus 2010-05-27 08:11:40 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 x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Every time Amarok2 is started, it crashes with a segmentation fault

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7fe184481710 (LWP 7535)):
#0  0x00007fe1997f8f53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fe1897cc41f in ?? () from /usr/lib/libpulse.so.0
#2  0x00007fe1897bbd86 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#3  0x00007fe1897bd809 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#4  0x00007fe1897bd8c0 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#5  0x00007fe1897cc21b in ?? () from /usr/lib/libpulse.so.0
#6  0x00007fe18958b0e8 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#7  0x00007fe197c4f9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#8  0x00007fe1998056cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe19c8f1780 (LWP 7532)):
[KCrash Handler]
#5  0x00007fe18b7e0e49 in ?? () from /usr/lib/libasound.so.2
#6  0x00007fe18b7a3b15 in snd_pcm_close () from /usr/lib/libasound.so.2
#7  0x00007fe189bee6ff in gst_alsasink_close (asink=<value optimized out>) at gstalsasink.c:804
#8  0x00007fe18a8523c6 in gst_audioringbuffer_close_device (buf=<value optimized out>) at gstaudiosink.c:365
#9  0x00007fe18a845ecb in gst_ring_buffer_close_device (buf=0x21c42f0) at gstringbuffer.c:714
#10 0x00007fe18a84dca6 in gst_base_audio_sink_change_state (element=<value optimized out>, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstbaseaudiosink.c:1879
#11 0x00007fe18b0f118c in gst_element_change_state (element=0x21ede20, transition=0) at gstelement.c:2548
#12 0x00007fe18b0f41bb in gst_element_set_state_func (element=0x2007410, state=GST_STATE_NULL) at gstelement.c:2504
#13 0x00007fe18b39a9aa in Phonon::Gstreamer::AudioOutput::setOutputDevice (this=0x2003810, newDevice=<value optimized out>) at ../../gstreamer/audiooutput.cpp:217
#14 0x00007fe19701f010 in callSetOutputDevice (this=0x1fceb40) at ../3rdparty/phonon/phonon/audiooutput.cpp:67
#15 Phonon::AudioOutputPrivate::setupBackendObject (this=0x1fceb40) at ../3rdparty/phonon/phonon/audiooutput.cpp:281
#16 0x00007fe19701f6f0 in Phonon::AudioOutputPrivate::createBackendObject (this=0x1fceb40) at ../3rdparty/phonon/phonon/audiooutput.cpp:124
#17 0x00007fe19701beea in Phonon::AudioOutputPrivate::init (this=0x1fceb40, c=<value optimized out>) at ../3rdparty/phonon/phonon/audiooutput.cpp:106
#18 0x00007fe19701c59d in AudioOutput (this=0x1fd35c0, category=Phonon::MusicCategory, parent=0x1fd3ad0) at ../3rdparty/phonon/phonon/audiooutput.cpp:76
#19 0x00007fe19bb31bd4 in EngineController::initializePhonon (this=0x1fd3ad0) at ../../src/EngineController.cpp:122
#20 0x00007fe19bb33a8d in EngineController::qt_metacall (this=0x1fd3ad0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff529b5fa0) at ./EngineController.moc:147
#21 0x00007fe19a14280e in QMetaMethod::invoke (this=0x7fff529b6250, object=0x1fd3ad0, connectionType=<value optimized out>, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., 
    val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1533
#22 0x00007fe19a142ec6 in QMetaObject::invokeMethod (obj=0x1fd3ad0, member=<value optimized out>, type=<value optimized out>, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., 
    val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1113
#23 0x00007fe19bc20455 in QMetaObject::invokeMethod (this=<value optimized out>) at /usr/include/qt4/QtCore/qobjectdefs.h:398
#24 Amarok::DefaultApplicationController::initEngineController (this=<value optimized out>) at ../../src/statemanagement/DefaultApplicationController.cpp:90
#25 0x00007fe19bc20489 in Amarok::DefaultApplicationController::start (this=0x21ede20) at ../../src/statemanagement/DefaultApplicationController.cpp:47
#26 0x00007fe19bb16948 in App::continueInit (this=0x7fff529b6be0) at ../../src/App.cpp:670
#27 0x00007fe19bb1b15b in App (this=0x7fff529b6be0) at ../../src/App.cpp:212
#28 0x0000000000408778 in main (argc=1, argv=0x7fff529b8b58) at ../../src/main.cpp:235

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

Possible duplicates by query: bug 238918, bug 238552, bug 237862, bug 237744, bug 237442.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2010-05-27 12:01:35 UTC
You should use the phonon-backend-xine and install libxine1-ffmpeg. The backend can be changed in the Settings -> Configure Amarok -> Playback -> Configure Phonon button.

*** This bug has been marked as a duplicate of bug 232068 ***
Comment 2 Spencer Barrus 2010-05-27 13:23:11 UTC
I would love to use the configure amarok button, however, I can't get to it as amarok crashes immediately on application startup...
Comment 3 Myriam Schweingruber 2010-05-27 13:33:39 UTC
Right, silly me... If you use KDE as desktop you can change the backend in the System Settings -> Multimedia -> Backend tab.
Also please don't use the verified status tag, it makes it impossible to set back to needsinfo. Either set back to unconfirmed or let it as it is.
Comment 4 Spencer Barrus 2010-05-27 13:41:57 UTC
Thank you, that fixed it, and sorry about the misuse of the verified tag, I'm still new to this bug-reporting thing...
Comment 5 Myriam Schweingruber 2010-05-27 14:50:11 UTC
Thank you for the feedback.