Bug 233814 - amarok crashes on start
Summary: amarok crashes on start
Status: RESOLVED FIXED
Alias: None
Product: Phonon
Classification: Frameworks and Libraries
Component: Xine backend (show other bugs)
Version: 4.4.0 (KDE 4.4.2)
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Matthias Kretz
URL:
Keywords:
: 242118 256420 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-04-09 11:35 UTC by Marco Pizzichemi
Modified: 2010-12-05 21:45 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.4.3


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Pizzichemi 2010-04-09 11:35: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-19-generic x86_64
Distribution: Ubuntu lucid (development branch)

-- Information about the crash:
Amarok won't start, application crashes (segmentation fault). I tried to reinstall phonon-backend-xine, I tried to remove it and use gstreamer, I tried to remove gstreamer and use only xine but nothing worked. I also tried to remove .kde/share/apps/amarok but it didn't help.

The crash can be reproduced every time.

 -- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
[Current thread is 1 (Thread 0x7f5141d0e7a0 (LWP 9501))]

Thread 6 (Thread 0x7f5114eb6710 (LWP 9502)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f512eede081 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f513d16c9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f513ed226dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f51146b5710 (LWP 9503)):
[KCrash Handler]
#5  0x00007f512eef8a20 in xine_post_input () from /usr/lib/libxine.so.1
#6  0x00007f512f1699ae in Phonon::Xine::VolumeFaderEffectXT::createInstance (this=0x1a49550) at ../../xine/volumefadereffect.cpp:129
#7  0x00007f512f14e3a2 in Phonon::Xine::EffectXT::ensureInstance (this=0x1a49550) at ../../xine/effect.cpp:70
#8  0x00007f512f14e53d in Phonon::Xine::EffectXT::audioOutputPort (this=0x0) at ../../xine/effect.cpp:45
#9  0x00007f512f1513c2 in Phonon::Xine::AudioOutputXT::rewireTo (this=0x192d240, source=0x7f512f17b6a4) at ../../xine/audiooutput.cpp:355
#10 0x00007f512f13b461 in Phonon::Xine::XineThread::event (this=<value optimized out>, e=<value optimized out>) at ../../xine/xinethread.cpp:130
#11 0x00007f513ffcb22c in QApplicationPrivate::notify_helper (this=0x1818810, receiver=0x1a07f90, e=0x1817f20) at kernel/qapplication.cpp:4300
#12 0x00007f513ffd16fb in QApplication::notify (this=0x7fff2b0fa000, receiver=0x1a07f90, e=0x1817f20) at kernel/qapplication.cpp:4183
#13 0x00007f514103112a in App::notify (this=0x0, receiver=0x7f512f17b6a4, event=0x1943180) at ../../src/App.cpp:927
#14 0x00007f513f65706c in QCoreApplication::notifyInternal (this=0x7fff2b0fa000, receiver=0x1a07f90, event=0x1817f20) at kernel/qcoreapplication.cpp:704
#15 0x00007f513f6597e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x192dd50) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#16 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x192dd50) at kernel/qcoreapplication.cpp:1345
#17 0x00007f513f6809d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#18 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#19 0x00007f51381f18c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#20 0x00007f51381f5748 in ?? () from /lib/libglib-2.0.so.0
#21 0x00007f51381f58fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#22 0x00007f513f680513 in QEventDispatcherGlib::processEvents (this=0x1a08110, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#23 0x00007f513f655992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#24 0x00007f513f655d6c in QEventLoop::exec (this=0x7f51146b4d50, flags=) at kernel/qeventloop.cpp:201
#25 0x00007f513f55fd59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#26 0x00007f512f13a440 in Phonon::Xine::XineThread::run (this=0x1a07f90) at ../../xine/xinethread.cpp:143
#27 0x00007f513f562775 in QThreadPrivate::start (arg=0x1a07f90) at thread/qthread_unix.cpp:248
#28 0x00007f513d16c9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#29 0x00007f513ed226dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#30 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f510fcad710 (LWP 9512)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f510fcacbc0 in ?? ()
#2  0x00007fff2b1ff852 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 0x7f5113aa8710 (LWP 9513)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:140
#1  0x00007f511c2a1d00 in pa_threaded_mainloop_wait () from /usr/lib/libpulse.so.0
#2  0x00007f5113aac97a in pulse_wait_operation () from /usr/lib/alsa-lib/libasound_module_ctl_pulse.so
#3  0x00007f5113aab0dc in ?? () from /usr/lib/alsa-lib/libasound_module_ctl_pulse.so
#4  0x00007f5113aab5a8 in ?? () from /usr/lib/alsa-lib/libasound_module_ctl_pulse.so
#5  0x00007f512f5737c3 in ?? () from /usr/lib/libasound.so.2
#6  0x00007f512f57926e in ?? () from /usr/lib/libasound.so.2
#7  0x00007f512f5796fd in ?? () from /usr/lib/libasound.so.2
#8  0x00007f512f57a460 in ?? () from /usr/lib/libasound.so.2
#9  0x00007f512f57533a in ?? () from /usr/lib/libasound.so.2
#10 0x00007f512f56ad5b in snd_hctl_handle_events () from /usr/lib/libasound.so.2
#11 0x00007f512f574a99 in snd_mixer_handle_events () from /usr/lib/libasound.so.2
#12 0x00007f51217c0956 in ?? () from /usr/lib/xine/plugins/1.27/xineplug_ao_out_alsa.so
#13 0x00007f513d16c9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#14 0x00007f513ed226dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f51132a7710 (LWP 9514)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f512eeeee23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f513d16c9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f513ed226dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f5141d0e7a0 (LWP 9501)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f513f5620e5 in thread_sleep (ti=0x7fff2b0f9340) at thread/qthread_unix.cpp:398
#2  0x00007f513f562250 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:424
#3  0x00007f512f161b8a in ~Backend (this=0x192c870, __in_chrg=<value optimized out>) at ../../xine/backend.cpp:111
#4  0x00007f513c542846 in ~FactoryPrivate (this=0x18b68a0, __in_chrg=<value optimized out>) at ../3rdparty/phonon/phonon/factory.cpp:218
#5  0x00007f513ec75262 in __run_exit_handlers (status=1) at exit.c:78
#6  *__GI_exit (status=1) at exit.c:100
#7  0x00007f5140041558 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:734
#8  0x00007f514181e288 in KApplication::xioErrhandler (this=0x7fff2b0fa000, dpy=0x1830bd0) at ../../kdeui/kernel/kapplication.cpp:408
#9  0x00007f513e2c97fe in _XIOError () from /usr/lib/libX11.so.6
#10 0x00007f513e2d1355 in ?? () from /usr/lib/libX11.so.6
#11 0x00007f513e2d1c07 in _XEventsQueued () from /usr/lib/libX11.so.6
#12 0x00007f513e2a92da in XFlush () from /usr/lib/libX11.so.6
#13 0x00007f514002091f in QWidget::setCursor (this=0x1815590, cursor=...) at kernel/qwidget.cpp:4799
#14 0x00007f514041e3f7 in QSizeGripPrivate::init (this=0x1816810) at widgets/qsizegrip.cpp:255
#15 0x00007f514041e573 in QSizeGrip (this=0x1815590, parent=0x180f7f0) at widgets/qsizegrip.cpp:225
#16 0x00007f514042aea8 in QStatusBar::setSizeGripEnabled (this=0x180f7f0, enabled=<value optimized out>) at widgets/qstatusbar.cpp:496
#17 0x00007f514042b0c8 in QStatusBar (this=0x180f7f0, parent=0x1a4ffe0) at widgets/qstatusbar.cpp:285
#18 0x00007f5141915154 in KStatusBar (this=0x7fff2b0f92c4, parent=0x189) at ../../kdeui/widgets/kstatusbar.cpp:74
#19 0x00007f5140fb7d12 in StatusBar (this=0x7fff2b0f92c4, parent=0x189) at ../../src/statusbar/StatusBar.cpp:48
#20 0x00007f5141066a63 in MainWindow (this=0x1a4ffe0) at ../../src/MainWindow.cpp:158
#21 0x00007f51410339ef in App::continueInit (this=0x7fff2b0fa000) at ../../src/App.cpp:681
#22 0x00007f514103815b in App (this=0x7fff2b0fa000) at ../../src/App.cpp:212
#23 0x0000000000408778 in main (argc=1, argv=0x7fff2b0fbf78) at ../../src/main.cpp:235

Possible duplicates by query: bug 230716, bug 227106, bug 227026, bug 226268, bug 223683.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2010-04-09 19:09:18 UTC
I can't reproduce this here at all, using Amarok 2.3-git on Kubuntu 10.04 beta 2 aka Lucid. The crash report shows definitely a problem with the xine backend, please try removing and then reinstalling it.

You say that it also crashes with gstreamer? That would be quite astonishing, since the backtrace would be totally different then and matter for a different bug report.

Removing $HOME/.kde/sahre/apps/amarok/ only removes your database, so if you have a configuration problem, I suggest you move the configuration files $HOME/.kde/share/config/amarok* instead.

Please also try with a new local user to check if it is a configuration issue.
Comment 2 Marco Pizzichemi 2010-04-11 13:34:17 UTC
Trying with a new user solves the crash. Strangely, rm $HOME/.kde/share/config/amarok* doesn't solve the problem in my old user, which means there is some configuration issue in my normal user that is not directly related to amarok configuration. Any idea of how to find it?
Comment 3 Myriam Schweingruber 2010-04-12 00:44:48 UTC
You should check the phonon settings in $HOME/.config/kde.org/ and eventually remove those, this might solve your problem.

Since this is a configuration issue and not a bug, I close this as solved. Please address further support questions to either #amarok or #phonon on irc.freenode.net or in the forum at http://forum.kde.org
Comment 4 Myriam Schweingruber 2010-11-09 13:12:22 UTC
*** Bug 256420 has been marked as a duplicate of this bug. ***
Comment 5 Myriam Schweingruber 2010-11-09 13:13:50 UTC
*** Bug 242118 has been marked as a duplicate of this bug. ***
Comment 6 Christoph Feck 2010-11-09 15:00:12 UTC
*** Bug 256420 has been marked as a duplicate of this bug. ***