Bug 223357 - amarok crashes at startup with segfault
Summary: amarok crashes at startup with segfault
Status: RESOLVED DUPLICATE of bug 188602
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.2.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-19 01:11 UTC by Johannes M. Wagner
Modified: 2010-01-30 19:22 UTC (History)
2 users (show)

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 Johannes M. Wagner 2010-01-19 01:11:06 UTC
Application that crashed: amarok
Version of the application: 2.2.1
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-18-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
i tried everything i could think of - purging amarok, reinstalling phonon/xine, copying files from the test-user. but no matter what i do, amarok only starts with the test-user.

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

Thread 5 (Thread 0x7f3009f3c910 (LWP 3409)):
#0  0x00007f301b69682d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f300ecf1c91 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f301b691a04 in start_thread () from /lib/libpthread.so.0
#3  0x00007f302112b80d in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f300973b910 (LWP 3410)):
[KCrash Handler]
#5  0x00007f300ed0c220 in xine_post_input () from /usr/lib/libxine.so.1
#6  0x00007f300ef949e4 in Phonon::Xine::VolumeFaderEffectXT::createInstance (this=0x1191d60) at ../../xine/volumefadereffect.cpp:123
#7  0x00007f300ef79ed2 in Phonon::Xine::EffectXT::ensureInstance (this=0x1191d60) at ../../xine/effect.cpp:70
#8  0x00007f300ef7a06d in Phonon::Xine::EffectXT::audioOutputPort (this=0x0) at ../../xine/effect.cpp:45
#9  0x00007f300ef7caf2 in Phonon::Xine::AudioOutputXT::rewireTo (this=0x11dad30, source=0x7f300efa4db9) at ../../xine/audiooutput.cpp:332
#10 0x00007f300ef6a505 in Phonon::Xine::XineThread::event (this=<value optimized out>, e=<value optimized out>) at ../../xine/xinethread.cpp:130
#11 0x00007f302234aefc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#12 0x00007f30223521ce in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#13 0x00007f3023a0ee56 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#14 0x00007f3021a26c2c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#15 0x00007f3021a2780a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#16 0x00007f3021a4f533 in ?? () from /usr/lib/libQtCore.so.4
#17 0x00007f3019fc8bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#18 0x00007f3019fcc598 in ?? () from /lib/libglib-2.0.so.0
#19 0x00007f3019fcc6c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#20 0x00007f3021a4f1a6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#21 0x00007f3021a25532 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#22 0x00007f3021a25904 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#23 0x00007f302193d6cb in QThread::exec() () from /usr/lib/libQtCore.so.4
#24 0x00007f300ef6956e in Phonon::Xine::XineThread::run (this=0x1102730) at ../../xine/xinethread.cpp:143
#25 0x00007f3021940445 in ?? () from /usr/lib/libQtCore.so.4
#26 0x00007f301b691a04 in start_thread () from /lib/libpthread.so.0
#27 0x00007f302112b80d in clone () from /lib/libc.so.6
#28 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f3008d30910 (LWP 3413)):
#0  0x00007f302111f3c3 in poll () from /lib/libc.so.6
#1  0x00007f3008d36cbe in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#2  0x00007f301b691a04 in start_thread () from /lib/libpthread.so.0
#3  0x00007f302112b80d in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f3003fff910 (LWP 3414)):
#0  0x00007f301b6965a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f300ed02983 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f301b691a04 in start_thread () from /lib/libpthread.so.0
#3  0x00007f302112b80d in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3023ee77a0 (LWP 3408)):
#0  0x00007f302111f3c3 in poll () from /lib/libc.so.6
#1  0x00007f3018cee29a in ?? () from /usr/lib/libxcb.so.1
#2  0x00007f3018cee7d7 in ?? () from /usr/lib/libxcb.so.1
#3  0x00007f3018ceea85 in xcb_writev () from /usr/lib/libxcb.so.1
#4  0x00007f30206e3d4a in _XSend () from /usr/lib/libX11.so.6
#5  0x00007f30206e4295 in _XFlush () from /usr/lib/libX11.so.6
#6  0x00007f30206bc11a in XFlush () from /usr/lib/libX11.so.6
#7  0x00007f3022398e9a in QWidget::setCursor(QCursor const&) () from /usr/lib/libQtGui.so.4
#8  0x00007f302270400a in ?? () from /usr/lib/libQtGui.so.4
#9  0x00007f302270433a in QLineEdit::QLineEdit(QWidget*) () from /usr/lib/libQtGui.so.4
#10 0x00007f3023ada1c9 in KLineEdit::KLineEdit(QWidget*) () from /usr/lib/libkdeui.so.5
#11 0x00007f30233a01e9 in ?? () from /usr/lib/libamaroklib.so.1
#12 0x00007f30233acee0 in SearchWidget::init(QWidget*, bool) () from /usr/lib/libamaroklib.so.1
#13 0x00007f30233ad2ba in SearchWidget::SearchWidget(QWidget*, QWidget*, bool) () from /usr/lib/libamaroklib.so.1
#14 0x00007f3022edb432 in ?? () from /usr/lib/libamaroklib.so.1
#15 0x00007f30230d5b8b in ?? () from /usr/lib/libamaroklib.so.1
#16 0x00007f30230d5f37 in ?? () from /usr/lib/libamaroklib.so.1
#17 0x00007f30230bd297 in ?? () from /usr/lib/libamaroklib.so.1
#18 0x00007f30230bd348 in ?? () from /usr/lib/libamaroklib.so.1
#19 0x00007f3022f8cbfb in Playlist::Model::Model(QObject*) () from /usr/lib/libamaroklib.so.1
#20 0x00007f3022f8f0e4 in ?? () from /usr/lib/libamaroklib.so.1
#21 0x00007f3022f8f228 in ?? () from /usr/lib/libamaroklib.so.1
#22 0x00007f3022f8f259 in The::playlist() () from /usr/lib/libamaroklib.so.1
#23 0x00007f3023224e75 in StatusBar::StatusBar(QWidget*) () from /usr/lib/libamaroklib.so.1
#24 0x00007f30232cd1dc in MainWindow::MainWindow() () from /usr/lib/libamaroklib.so.1
#25 0x00007f302329bbf9 in App::continueInit() () from /usr/lib/libamaroklib.so.1
#26 0x00007f302329e4b0 in App::App() () from /usr/lib/libamaroklib.so.1
#27 0x0000000000409dea in _start ()

This bug may be a duplicate of or related to bug 197540

Reported using DrKonqi
Comment 1 Johannes M. Wagner 2010-01-19 01:51:03 UTC
looks like i found a workaround: 

- make sure to completely remove pulseaudio from your system, if present
- delete all phonon- and amarok-configuration-files (maybe you can skip this)
- delete the $HOME/.xine directory

after that, amarok should startup again quite fine.

i experienced that bug several times by now - some app depends on some sound-plugins i dont really want, the bug up my system, mostly pulseaudio involved, and amarok, dragonplayer and other apps depending on phonon stop to work properly.
only removing those packages und resetting the xine-cache solves that problem.

i found so many people experiencing the same problems as me, so i hope, this workaround will help some of you! for the amarok developers: it doesnt seems to me to be an amarok-bug, but maybe you could tell the xine-guys to fix that, because amarok is heavily inflicted?
Comment 2 Myriam Schweingruber 2010-01-19 10:00:37 UTC
Well, you are not supposed to use Pulseaudio when you use Kubuntu and KDE only, since Pulseaudio is only needed for Gnome. 
This is not an Amarok bug, but a distro specific one, not much we can do about, sorry.
FWIW, the bug is a duplicate of bug 188602

*** This bug has been marked as a duplicate of bug 188602 ***
Comment 3 Armin Widegreen 2010-01-30 19:22:58 UTC
removing ~/.xine/catalog.cache works for me, thanks!