Bug 188602 - Amarok crashes when started [Phonon::Xine::VolumeFaderEffectXT::createInstance]
Summary: Amarok crashes when started [Phonon::Xine::VolumeFaderEffectXT::createInstance]
Status: RESOLVED FIXED
Alias: None
Product: Phonon
Classification: Frameworks and Libraries
Component: Xine backend (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Matthias Kretz
URL:
Keywords:
: 194893 199879 209638 214069 214608 215834 218949 220094 223357 223683 223950 226268 227026 227106 229613 230716 238509 241173 246856 247362 248301 264731 265180 273375 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-01 16:13 UTC by Dan
Modified: 2011-05-24 18:35 UTC (History)
26 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan 2009-04-01 16:13:27 UTC
Version:           svn (using Devel)
Compiler:          gcc 4.3.3 -O3 -march=native
OS:                Linux
Installed from:    Compiled sources

amarok(4210) Phonon::Xine::Backend::Backend: setting xine verbosity to 0
amarok(4210) Phonon::Xine::Backend::Backend: Using Xine version  1.1.17hg
amarok(4210) Phonon::KdePlatformPlugin::createBackend: using backend:  "Xine"
amarok(4210) Phonon::Xine::XineEngine::checkAudioOutputs: isEmpty
amarok(4210) Phonon::Xine::XineEngine::checkAudioOutputs: outputPlugin:  alsa
amarok(4210) Phonon::Xine::XineEngine::checkAudioOutputs: outputPlugin:  none
amarok(4210) Phonon::Xine::XineEngine::checkAudioOutputs: outputPlugin:  file
amarok(4210) Phonon::Xine::AudioPort::AudioPort: use ALSA device:  "dmix0"
amarok(4210) Phonon::Xine::AudioPort::AudioPort: ----------------------------------------------- audio_port created
amarok(4210) Phonon::Xine::XineStream::event: ################################ Event:  TransitionTypeChanged
amarok(4210) Phonon::Xine::XineStream::event: ################################ Event:  SetTickInterval
amarok(4210) Phonon::Xine::XineStream::event: ################################ Event:  SetPrefinishMark
amarok(4210) Phonon::Xine::Backend::connectNodes:
amarok(4210) Phonon::Xine::AudioOutput::graphChanged:
amarok(4210) Phonon::Xine::XineStream::event: ################################ Event:  UpdateVolume
amarok(4210) Phonon::Xine::XineThread::event: XineThread Rewire event:
amarok(4210) Phonon::Xine::XineThread::event:       true  ->  true
amarok(4210) Phonon::Xine::Backend::disconnectNodes:
amarok(4210) Phonon::Xine::Backend::connectNodes:
amarok(4210) Phonon::Xine::Backend::connectNodes:
amarok(4210) Phonon::Xine::AudioOutput::graphChanged:
amarok(4210) Phonon::Xine::XineStream::event: ################################ Event:  UpdateVolume
amarok(4210) Phonon::Xine::XineThread::event: XineThread Rewire event:
amarok(4210) Phonon::Xine::XineThread::event:       true  ->  true
amarok(4210) Phonon::Xine::VolumeFaderEffectXT::createInstance: 0x1924620  fadeTime =  0
KCrash: Application 'amarok' crashing...
sock_file=/home/fraga/.kde/socket-tux.abusar.org.br/kdeinit4_127.0.0.1_0
<unknown program name>(4208)/: Communication problem with  "amarok" , it probably crashed. 
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" " 

amarok: Fatal IO error: client killed

kDebugStream called after destruction (from  unknown file line -1)
Xine Thread took longer than 10s to quit. Assuming a deadlock. Please report a useful backtrace (including all threads) to bugs.kde.org 
Unable to start Dr. Konqi

Application: Amarok (amarok), signal SIGSEGV
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 139965891237792 (LWP 4210)]
[New Thread 1127344464 (LWP 4221)]
[New Thread 1093732688 (LWP 4220)]
[New Thread 1118951760 (LWP 4219)]
[New Thread 1110559056 (LWP 4215)]
   from /lib64/libpthread.so.0
[Current thread is 0 (LWP 4210)]

Thread 5 (Thread 1110559056 (LWP 4215)):
#0  0x00007f4c56aaa8ea in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f4c4824e1a1 in metronom_sync_loop () from /usr/local/lib/libxine.so.1
#2  0x00007f4c56aa5f9b in start_thread () from /lib64/libpthread.so.0
#3  0x00007f4c56082aad in clone () from /lib64/libc.so.6

Thread 4 (Thread 1118951760 (LWP 4219)):
#0  0x00007f4c56aaa676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f4c4825ff9b in ao_loop () from /usr/local/lib/libxine.so.1
#2  0x00007f4c56aa5f9b in start_thread () from /lib64/libpthread.so.0
#3  0x00007f4c56082aad in clone () from /lib64/libc.so.6

Thread 3 (Thread 1093732688 (LWP 4220)):
[KCrash Handler]
#5  0x00007f4c48269680 in xine_post_input () from /usr/local/lib/libxine.so.1
#6  0x00007f4c484df359 in Phonon::Xine::VolumeFaderEffectXT::createInstance (this=0x1922380) at /home/fraga/src/kdebase-runtime-4.1.3/phonon/xine/volumefadereffect.cpp:120
#7  0x00007f4c484cc783 in Phonon::Xine::EffectXT::ensureInstance (this=0x1922380) at /home/fraga/src/kdebase-runtime-4.1.3/phonon/xine/effect.cpp:74
#8  0x00007f4c484ccb89 in Phonon::Xine::EffectXT::audioOutputPort (this=0x0) at /home/fraga/src/kdebase-runtime-4.1.3/phonon/xine/effect.cpp:49
#9  0x00007f4c484cfa02 in Phonon::Xine::AudioOutputXT::rewireTo (this=0x16d19b0, source=0x7f4c484ec5ab) at /home/fraga/src/kdebase-runtime-4.1.3/phonon/xine/audiooutput.cpp:118
#10 0x00007f4c484b8af1 in Phonon::Xine::XineThread::event (this=<value optimized out>, e=<value optimized out>) at /home/fraga/src/kdebase-runtime-4.1.3/phonon/xine/xinethread.cpp:98
#11 0x00007f4c579b4f8d in QApplicationPrivate::notify_helper (this=0x15ffbf0, receiver=0x162a070, e=0x1922260) at kernel/qapplication.cpp:4084
#12 0x00007f4c579bcfea in QApplication::notify (this=0x7fff6150d4a0, receiver=0x162a070, e=0x1922260) at kernel/qapplication.cpp:4049
#13 0x00007f4c58f02ffb in KApplication::notify (this=0x7fff6150d4a0, receiver=0x162a070, event=0x1922260) at /home/fraga/svn/kdelibs/kdeui/kernel/kapplication.cpp:307
#14 0x00007f4c56e088c3 in QCoreApplication::notifyInternal (this=0x7fff6150d4a0, receiver=0x162a070, event=0x1922260) at kernel/qcoreapplication.cpp:602
#15 0x00007f4c56e09501 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x162b540) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#16 0x00007f4c56e319f3 in postEventSourceDispatch (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#17 0x00007f4c4eceb6d4 in g_main_dispatch () from /usr/local/lib/libglib-2.0.so.0
#18 0x00007f4c4eced455 in g_main_context_iterate () from /usr/local/lib/libglib-2.0.so.0
#19 0x00007f4c4eced62b in g_main_context_iteration () from /usr/local/lib/libglib-2.0.so.0
#20 0x00007f4c56e3168f in QEventDispatcherGlib::processEvents (this=) at kernel/qeventdispatcher_glib.cpp:323
#21 0x00007f4c56e071c2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1093730224}) at kernel/qeventloop.cpp:149
#22 0x00007f4c56e0758d in QEventLoop::exec (this=0x4130fff0, flags={i = 1093730304}) at kernel/qeventloop.cpp:200
#23 0x00007f4c56d1fcb8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:481
#24 0x00007f4c484b8533 in Phonon::Xine::XineThread::run (this=0x162a070) at /home/fraga/src/kdebase-runtime-4.1.3/phonon/xine/xinethread.cpp:111
#25 0x00007f4c56d22ba2 in QThreadPrivate::start (arg=0x162a070) at thread/qthread_unix.cpp:189
#26 0x00007f4c56aa5f9b in start_thread () from /lib64/libpthread.so.0
#27 0x00007f4c56082aad in clone () from /lib64/libc.so.6

Thread 2 (Thread 1127344464 (LWP 4221)):
#0  0x00007f4c56aaa676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f4c4825ff9b in ao_loop () from /usr/local/lib/libxine.so.1
#2  0x00007f4c56aa5f9b in start_thread () from /lib64/libpthread.so.0
#3  0x00007f4c56082aad in clone () from /lib64/libc.so.6

Thread 1 (Thread 139965891237792 (LWP 4210)):
#0  0x00007f4c56aaa8ea in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f4c56d23b47 in QWaitCondition::wait (this=0x162a470, mutex=0x162a450, time=10000) at thread/qwaitcondition_unix.cpp:85
#2  0x00007f4c56d22d44 in QThread::wait (this=<value optimized out>, time=10000) at thread/qthread_unix.cpp:485
#3  0x00007f4c484bbb54 in ~XineEngine (this=0x17349c0) at /home/fraga/src/kdebase-runtime-4.1.3/phonon/xine/xineengine.cpp:83
#4  0x00007f4c484d7553 in ~Backend (this=0x1731060) at /home/fraga/src/kdebase-runtime-4.1.3/phonon/xine/backend.cpp:94
#5  0x00007f4c52f202a7 in Phonon::FactoryPrivate::~FactoryPrivate () from /usr/local/kde4/lib/libphonon.so.4
#6  0x00007f4c55ff36df in exit () from /lib64/libc.so.6
#7  0x00007f4c57a11a38 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:707
#8  0x00007f4c58f02a28 in KApplication::xioErrhandler (this=0x7fff6150d4a0, dpy=0x1603ac0) at /home/fraga/svn/kdelibs/kdeui/kernel/kapplication.cpp:413
#9  0x00007f4c558cae44 in _XIOError () from /usr/X11R6/lib/libX11.so.6
#10 0x00007f4c558d3d80 in _XGetXCBBuffer () from /usr/X11R6/lib/libX11.so.6
#11 0x00007f4c558d54ba in _XReply () from /usr/X11R6/lib/libX11.so.6
#12 0x00007f4c558a93a4 in XListFonts () from /usr/X11R6/lib/libX11.so.6
#13 0x00007f4c57bcac8f in loadXlfds (reqFamily=0x1924088 "Verdana", encoding_id=-1) at text/qfontdatabase_x11.cpp:626
#14 0x00007f4c57bcb52c in load (family=@0x7fff6150c890, script=0) at text/qfontdatabase_x11.cpp:1237
#15 0x00007f4c57bcd378 in QFontDatabase::loadXlfd (screen=0, script=0, request=@0x19293d8, force_encoding_id=0) at text/qfontdatabase.cpp:1188
#16 0x00007f4c57c73b8c in QFontEngineMultiXLFD::loadEngine (this=0x1929320, at=<value optimized out>) at text/qfontengine_x11.cpp:123
#17 0x00007f4c57c73e29 in QFontEngineMultiXLFD (this=0x1929320, r=@0x7fff6150ce40, l=@0x7fff6150cbe0, s=0) at text/qfontengine_x11.cpp:111
#18 0x00007f4c57bcde89 in QFontDatabase::loadXlfd (screen=0, script=0, request=@0x7fff6150ce40, force_encoding_id=-1) at text/qfontdatabase_x11.cpp:1877
#19 0x00007f4c57bced5b in QFontDatabase::load (d=0x1923c20, script=0) at text/qfontdatabase_x11.cpp:1930
#20 0x00007f4c57bac186 in QFontPrivate::engineForScript (this=0x1923c20, script=0) at text/qfont.cpp:264
#21 0x00007f4c57bc4958 in QFontMetrics::height (this=<value optimized out>) at text/qfontmetrics.cpp:333
#22 0x00007f4c5895e071 in MainWindow (this=0x15f5730) at /home/fraga/svn/amarok/src/MainWindow.cpp:131
#23 0x00007f4c58948143 in App::continueInit (this=0x7fff6150d4a0) at /home/fraga/svn/amarok/src/App.cpp:589
#24 0x00007f4c5894a6b4 in App (this=0x7fff6150d4a0) at /home/fraga/svn/amarok/src/App.cpp:198
#25 0x0000000000403193 in main (argc=1, argv=0x7fff6150e698) at /home/fraga/svn/amarok/src/main.cpp:126
Comment 1 Dario Andres 2009-04-01 17:17:35 UTC
Reassigning to Phonon
Comment 2 Dan 2009-04-05 00:13:30 UTC
Ok, no phonon developers want to answer that? With gstreamer backend I can start Amarok perfectly, although I head no sound. So I prefer to use xine which seems to be less buggy than gstreamer.

If phonon developers could help me with this, thanks!
Comment 3 Dan 2009-04-06 20:04:37 UTC
Could you at least confirm that it's a phonon issue? If it's a problem with Xine, I'll mail the xine developers instead of waiting for the reply here. Thanks.
Comment 4 Dan 2009-04-06 23:28:51 UTC
Do you really think it's a phonon issue? Because Dragon player works perfectly!

Are you sure it isn't a Amarok issue?
Comment 5 Dario Andres 2009-04-06 23:32:37 UTC
@Dâniel: sorry, I'm not a Phonon/Amarok developer so I can't confirm this. I just looked at the backtrace to put the report in the appropiate category.

"
#5  0x00007f4c48269680 in xine_post_input () from /usr/local/lib/libxine.so.1
#6  0x00007f4c484df359 in Phonon::Xine::VolumeFaderEffectXT::createInstance
(this=0x1922380) at
/home/fraga/src/kdebase-runtime-4.1.3/phonon/xine/volumefadereffect.cpp:120
#7  0x00007f4c484cc783 in Phonon::Xine::EffectXT::ensureInstance
(this=0x1922380) at
/home/fraga/src/kdebase-runtime-4.1.3/phonon/xine/effect.cpp:74
#8  0x00007f4c484ccb89 in Phonon::Xine::EffectXT::audioOutputPort (this=0x0) at
/home/fraga/src/kdebase-runtime-4.1.3/phonon/xine/effect.cpp:49
"

Thanks.
Comment 6 Dan 2009-04-06 23:40:01 UTC
(In reply to comment #5)
> @Dâniel: sorry, I'm not a Phonon/Amarok developer so I can't confirm this. I
> just looked at the backtrace to put the report in the appropiate category.

Ok, the problem is that the Phonon developer didn't reply. Phonon development seems to be extremely slow and it's a pitty that all kde apps depend on it.

I really want to collaborate to solve this, but I need at least the developer feedback.

But, as Dragon player works and Amarok not, I'm afraid Amarok has a bug too. Or not... I don't know. I just need instructions on how to debug this.
Comment 7 Dario Andres 2009-04-06 23:42:28 UTC
I added the Amarok people to the CC list of this bug, so they will get noticed about this too.
Comment 8 Dan 2009-04-07 00:13:53 UTC
(In reply to comment #7)
> I added the Amarok people to the CC list of this bug, so they will get noticed
> about this too.

Thank you. I hope they figure it out soon, because life without music isn't life :D.
Comment 9 Dan 2009-04-08 08:41:50 UTC
I'm closing it because the problem was with the xine library installation. I reinstalled it from scratch and the problem has gone. Thank you.
Comment 10 Dario Andres 2009-06-01 19:27:03 UTC
*** Bug 194893 has been marked as a duplicate of this bug. ***
Comment 11 Myriam Schweingruber 2009-07-15 19:50:15 UTC
*** Bug 199879 has been marked as a duplicate of this bug. ***
Comment 12 Mikko C. 2009-11-15 08:39:16 UTC
*** Bug 214608 has been marked as a duplicate of this bug. ***
Comment 13 Myriam Schweingruber 2009-11-15 22:01:34 UTC
Closing this as fixed, there was a bug with a previous version of the library.
Comment 14 Myriam Schweingruber 2009-11-23 19:57:17 UTC
*** Bug 215834 has been marked as a duplicate of this bug. ***
Comment 15 Myriam Schweingruber 2009-12-16 21:09:02 UTC
*** Bug 218949 has been marked as a duplicate of this bug. ***
Comment 16 Myriam Schweingruber 2009-12-26 00:45:15 UTC
*** Bug 220094 has been marked as a duplicate of this bug. ***
Comment 17 Myriam Schweingruber 2010-01-19 10:00:37 UTC
*** Bug 223357 has been marked as a duplicate of this bug. ***
Comment 18 Myriam Schweingruber 2010-01-21 21:06:33 UTC
*** Bug 223683 has been marked as a duplicate of this bug. ***
Comment 19 Myriam Schweingruber 2010-01-23 19:15:53 UTC
*** Bug 223950 has been marked as a duplicate of this bug. ***
Comment 20 Myriam Schweingruber 2010-02-11 13:34:15 UTC
*** Bug 226268 has been marked as a duplicate of this bug. ***
Comment 21 Myriam Schweingruber 2010-02-15 18:00:03 UTC
*** Bug 227026 has been marked as a duplicate of this bug. ***
Comment 22 Myriam Schweingruber 2010-02-16 10:08:39 UTC
*** Bug 227106 has been marked as a duplicate of this bug. ***
Comment 23 Myriam Schweingruber 2010-03-05 21:40:39 UTC
*** Bug 229613 has been marked as a duplicate of this bug. ***
Comment 24 Mikko C. 2010-03-14 14:52:16 UTC
*** Bug 230716 has been marked as a duplicate of this bug. ***
Comment 25 Myriam Schweingruber 2010-04-05 09:02:06 UTC
*** Bug 209638 has been marked as a duplicate of this bug. ***
Comment 26 Mikko C. 2010-05-22 20:24:40 UTC
*** Bug 238509 has been marked as a duplicate of this bug. ***
Comment 27 Mikko C. 2010-06-09 09:14:43 UTC
*** Bug 241173 has been marked as a duplicate of this bug. ***
Comment 28 Myriam Schweingruber 2010-06-19 04:06:44 UTC
*** Bug 242118 has been marked as a duplicate of this bug. ***
Comment 29 Myriam Schweingruber 2010-08-06 09:51:14 UTC
*** Bug 246856 has been marked as a duplicate of this bug. ***
Comment 30 Myriam Schweingruber 2010-08-14 10:13:52 UTC
*** Bug 247362 has been marked as a duplicate of this bug. ***
Comment 31 Myriam Schweingruber 2010-08-19 00:56:59 UTC
*** Bug 214069 has been marked as a duplicate of this bug. ***
Comment 32 Myriam Schweingruber 2010-08-19 00:59:09 UTC
*** Bug 248301 has been marked as a duplicate of this bug. ***
Comment 33 Myriam Schweingruber 2011-01-29 16:34:02 UTC
*** Bug 264731 has been marked as a duplicate of this bug. ***
Comment 34 Myriam Schweingruber 2011-02-02 21:20:16 UTC
*** Bug 265180 has been marked as a duplicate of this bug. ***
Comment 35 Myriam Schweingruber 2011-05-16 09:01:07 UTC
*** Bug 273375 has been marked as a duplicate of this bug. ***
Comment 36 bhendry 2011-05-21 19:53:39 UTC
Are you saying that the 'xine library installation' will fix this issue for all of us?
Comment 37 Myriam Schweingruber 2011-05-24 18:35:59 UTC
I rather suggest you don't use the xine backend in Phonon but the gstremer or vlc one, xine is deprecated.