Bug 197976 - Amarok crashes when starting when the package phonon-backend-xine is installed
Summary: Amarok crashes when starting when the package phonon-backend-xine is installed
Status: RESOLVED NOT A BUG
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.1.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-26 17:18 UTC by Aurelien Grosdidier
Modified: 2009-06-27 23:54 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aurelien Grosdidier 2009-06-26 17:18:18 UTC
Version:           2.1.1 (using KDE 4.2.4)
OS:                Linux
Installed from:    Ubuntu Packages

Amarok crashes when starting when the package phonon-backend-xine is installed, with backtrace below. If I remove phonon-backend-xine and use phonon-backend-gstreamer instead, it starts, but does not play anything.

Any idea ?

Application: Amarok (amarok), signal SIGSEGV
pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
Current language:  auto; currently asm
[Current thread is 0 (LWP 6458)]

Thread 6 (Thread 0x2b03be578950 (LWP 6459)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00002b03b58c0f91 in ?? () from /usr/lib/libxine.so.1
#2  0x00002b03a4ece3ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x00002b03a76f4fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x2b03bf22a950 (LWP 6460)):
[KCrash Handler]
#5  0x00002b03b58db9b0 in xine_post_input () from /usr/lib/libxine.so.1
#6  0x00002b03b5667139 in Phonon::Xine::VolumeFaderEffectXT::createInstance (this=0x27bbbc0) at /build/buildd/phonon-4.3.1/xine/volumefadereffect.cpp:123
#7  0x00002b03b564be5a in Phonon::Xine::EffectXT::ensureInstance (this=0x27bbbc0) at /build/buildd/phonon-4.3.1/xine/effect.cpp:70
#8  0x00002b03b564c009 in Phonon::Xine::EffectXT::audioOutputPort (this=0x0) at /build/buildd/phonon-4.3.1/xine/effect.cpp:45
#9  0x00002b03b564eb32 in Phonon::Xine::AudioOutputXT::rewireTo (this=0x2832eb0, source=0x2b03b5677b47) at /build/buildd/phonon-4.3.1/xine/audiooutput.cpp:332
#10 0x00002b03b563cbb1 in Phonon::Xine::XineThread::event (this=<value optimized out>, e=0x27ddf60) at /build/buildd/phonon-4.3.1/xine/xinethread.cpp:130
#11 0x00002b03a58ecb9d in QApplicationPrivate::notify_helper (this=0x2755f40, receiver=0x27eb330, e=0x27ddf60) at kernel/qapplication.cpp:4057
#12 0x00002b03a58f4dea in QApplication::notify (this=0x7fff06d464b0, receiver=0x27eb330, e=0x27ddf60) at kernel/qapplication.cpp:4022
#13 0x00002b03a418884b in KApplication::notify (this=0x7fff06d464b0, receiver=0x27eb330, event=0x27ddf60) at /build/buildd/kde4libs-4.2.4/kdeui/kernel/kapplication.cpp:307
#14 0x00002b03a6b6ee8c in QCoreApplication::notifyInternal (this=0x7fff06d464b0, receiver=0x27eb330, event=0x27ddf60) at kernel/qcoreapplication.cpp:610
#15 0x00002b03a6b6fafa in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x2790370) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#16 0x00002b03a6b98933 in postEventSourceDispatch (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#17 0x00002b03ae9e020a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#18 0x00002b03ae9e38e0 in ?? () from /usr/lib/libglib-2.0.so.0
#19 0x00002b03ae9e3a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#20 0x00002b03a6b985bf in QEventDispatcherGlib::processEvents (this=0x2790ac0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:324
#21 0x00002b03a6b6d732 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -1088249968}) at kernel/qeventloop.cpp:149
#22 0x00002b03a6b6dafd in QEventLoop::exec (this=0x2b03bf229fd0, flags={i = -1088249888}) at kernel/qeventloop.cpp:200
#23 0x00002b03a6a82df8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#24 0x00002b03b563b62c in Phonon::Xine::XineThread::run (this=0x27eb330) at /build/buildd/phonon-4.3.1/xine/xinethread.cpp:143
#25 0x00002b03a6a85d92 in QThreadPrivate::start (arg=0x27eb330) at thread/qthread_unix.cpp:189
#26 0x00002b03a4ece3ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#27 0x00002b03a76f4fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#28 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x2b03c383d950 (LWP 6466)):
#0  0x00002b03a4ed4edb in read () from /lib/libpthread.so.0
#1  0x00002b03b51dfa55 in ?? () from /usr/lib/libasound.so.2
#2  0x00002b03b51da808 in snd_hctl_handle_events () from /usr/lib/libasound.so.2
#3  0x00002b03b51e43e5 in snd_mixer_handle_events () from /usr/lib/libasound.so.2
#4  0x00002b03bf22f9a8 in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#5  0x00002b03a4ece3ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00002b03a76f4fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()
Current language:  auto; currently c

Thread 3 (Thread 0x2b03c7a3f950 (LWP 6467)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00002b03b58d2353 in ?? () from /usr/lib/libxine.so.1
#2  0x00002b03a4ece3ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x00002b03a76f4fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()
Current language:  auto; currently asm

Thread 2 (Thread 0x2b03c7c40950 (LWP 6468)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00002b03b58d2353 in ?? () from /usr/lib/libxine.so.1
#2  0x00002b03a4ece3ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x00002b03a76f4fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x2b03b3152f60 (LWP 6458)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00002b03a6a857d5 in thread_sleep (ti=0x7fff06d45820) at thread/qthread_unix.cpp:298
#2  0x00002b03a6a8593e in QThread::msleep (msecs=200) at thread/qthread_unix.cpp:324
#3  0x00002b03b565f24a in ~Backend (this=0x2891590) at /build/buildd/phonon-4.3.1/xine/backend.cpp:108
#4  0x00002b03aa82e297 in ~FactoryPrivate (this=0x28309c0) at ../3rdparty/phonon/phonon/factory.cpp:199
#5  0x00002b03a76456ed in *__GI_exit (status=1) at exit.c:75
#6  0x00002b03a594a308 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:707
#7  0x00002b03a4188268 in KApplication::xioErrhandler (this=0x7fff06d464b0, dpy=0x276faf0) at /build/buildd/kde4libs-4.2.4/kdeui/kernel/kapplication.cpp:413
#8  0x00002b03a80016e4 in _XIOError () from /usr/lib/libX11.so.6
#9  0x00002b03a8008a1f in ?? () from /usr/lib/libX11.so.6
#10 0x00002b03a8009345 in _XEventsQueued () from /usr/lib/libX11.so.6
#11 0x00002b03a7fe0f0a in XFlush () from /usr/lib/libX11.so.6
#12 0x00002b03a593d341 in QWidget::setCursor (this=0x2a7ccc0, cursor=@0x7fff06d45a60) at kernel/qwidget.cpp:4604
#13 0x00002b03a5d33725 in QSizeGripPrivate::init (this=0x2a912c0) at widgets/qsizegrip.cpp:241
#14 0x00002b03a5d33b03 in QSizeGrip (this=0x2a7ccc0, parent=0x2b03c8003cb0) at widgets/qsizegrip.cpp:212
#15 0x00002b03a5d42308 in QStatusBar::setSizeGripEnabled (this=0x2b03c8003cb0, enabled=<value optimized out>) at widgets/qstatusbar.cpp:496
#16 0x00002b03a5d42758 in QStatusBar (this=0x2b03c8003cb0, parent=0x27de660) at widgets/qstatusbar.cpp:285
#17 0x00002b03a4273cb6 in KStatusBar (this=0x7fff06d457a4, parent=0x0) at /build/buildd/kde4libs-4.2.4/kdeui/widgets/kstatusbar.cpp:74
#18 0x00002b03a485f001 in StatusBar::StatusBar () from /usr/lib/libamaroklib.so.1
#19 0x00002b03a48b842e in MainWindow::MainWindow () from /usr/lib/libamaroklib.so.1
#20 0x00002b03a489abf7 in App::continueInit () from /usr/lib/libamaroklib.so.1
#21 0x00002b03a489bb2b in App::App () from /usr/lib/libamaroklib.so.1
#22 0x000000000053305b in _start ()
217	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
Comment 1 Dario Andres 2009-06-26 22:18:28 UTC
A XIOError related to Phonon. Related to bug 194893.

The reporter of bug 188602 (similar/same crash) said that reinstalling xine
solved this issue (it was an installation problem). Could you check this ?

Thanks
Comment 2 Aurelien Grosdidier 2009-06-27 00:24:47 UTC
I tried several times with apt-get, without success. Then I did it again with aptitude, and now it works. Weird, but solved. Thanks a lot !
Comment 3 Dario Andres 2009-06-27 23:54:58 UTC
Thanks. Marking as RESOLVED