Bug 216742

Summary: Amarok crashes while launching a mp3 file directly
Product: [Applications] amarok Reporter: felix <out.there>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description felix 2009-11-30 00:00:21 UTC
Application that crashed: amarok
Version of the application: 2.2.1
KDE Version: 4.3.3 (KDE 4.3.3)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-15-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
Amarok crashes while launching a mp3 file directly. it doesn't matter which one, therefore it is not related to a specific mp3.

First starting amarok, then adding the mp3 to the playlist works.

 -- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7ffb3805f7a0 (LWP 6514))]

Thread 12 (Thread 0x7ffb20446910 (LWP 6515)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007ffb258eec91 in ?? () from /usr/lib/libxine.so.1
#2  0x00007ffb2f81fa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007ffb352b87bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7ffb1eefd910 (LWP 6516)):
#0  0x00007ffb352ac373 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ffb2e15a36c in ?? () from /lib/libglib-2.0.so.0
#2  0x00007ffb2e15a6b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007ffb35bdc1fe in QEventDispatcherGlib::processEvents (this=0x1fbe360, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#4  0x00007ffb35bb2532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007ffb35bb2904 in QEventLoop::exec (this=0x7ffb1eefcfb0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007ffb35aca6cb in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007ffb25b7756e in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#8  0x00007ffb35acd445 in QThreadPrivate::start (arg=0x1fbde00) at thread/qthread_unix.cpp:188
#9  0x00007ffb2f81fa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007ffb352b87bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 10 (Thread 0x7ffb1e4f2910 (LWP 6519)):
#0  0x00007ffb352ac373 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ffb1e4f8cbe in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#2  0x00007ffb2f81fa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007ffb352b87bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 9 (Thread 0x7ffb1dcf1910 (LWP 6520)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007ffb258ff983 in ?? () from /usr/lib/libxine.so.1
#2  0x00007ffb2f81fa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007ffb352b87bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7ffb1d0e5910 (LWP 6521)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007ffb258ff983 in ?? () from /usr/lib/libxine.so.1
#2  0x00007ffb2f81fa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007ffb352b87bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 7 (Thread 0x7ffb1c8e4910 (LWP 6522)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007ffb258ff983 in ?? () from /usr/lib/libxine.so.1
#2  0x00007ffb2f81fa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007ffb352b87bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7ffb17103910 (LWP 6524)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007ffb35ace4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x23d29d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x23d29d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ffb3256b326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x223ccc0, th=0x23ca8a0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ffb3256d45b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2229e60, th=0x23ca8a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007ffb3256ba5f in ThreadWeaver::ThreadRunHelper::run (this=0x7ffb17103000, parent=0x223ccc0, th=0x23ca8a0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007ffb3256beb8 in ThreadWeaver::Thread::run (this=0x23ca8a0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007ffb35acd445 in QThreadPrivate::start (arg=0x23ca8a0) at thread/qthread_unix.cpp:188
#8  0x00007ffb2f81fa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007ffb352b87bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7ffb0c4e1910 (LWP 6528)):
#0  0x00007ffb352b13c2 in select () from /lib/libc.so.6
#1  0x00007ffb25917725 in xine_usec_sleep () from /usr/lib/libxine.so.1
#2  0x00007ffb258fc7e9 in ?? () from /usr/lib/libxine.so.1
#3  0x00007ffb2f81fa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007ffb352b87bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7ffb0b8f7910 (LWP 6529)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007ffb258f254b in ?? () from /usr/lib/libxine.so.1
#2  0x00007ffb258f851d in ?? () from /usr/lib/libxine.so.1
#3  0x00007ffb2f81fa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007ffb352b87bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 3 (Thread 0x7ffb0af29910 (LWP 6530)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007ffb258f254b in ?? () from /usr/lib/libxine.so.1
#2  0x00007ffb258f9555 in ?? () from /usr/lib/libxine.so.1
#3  0x00007ffb2f81fa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007ffb352b87bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 2 (Thread 0x7ffb0a728910 (LWP 6531)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007ffb25902a0b in xine_event_wait () from /usr/lib/libxine.so.1
#2  0x00007ffb25902a7e in ?? () from /usr/lib/libxine.so.1
#3  0x00007ffb2f81fa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007ffb352b87bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffb3805f7a0 (LWP 6514)):
[KCrash Handler]
#5  0x00007ffb370f3f89 in Playlist::Actions::engineNewTrackPlaying (this=<value optimized out>) at /build/buildd/amarok-2.2.1/src/playlist/PlaylistActions.cpp:402
#6  0x00007ffb37442949 in EngineSubject::newTrackPlaying (this=<value optimized out>) at /build/buildd/amarok-2.2.1/src/EngineObserver.cpp:195
#7  0x00007ffb3743a63b in EngineController::slotNewTrackPlaying (this=0x1fcfc50, source=<value optimized out>) at /build/buildd/amarok-2.2.1/src/EngineController.cpp:966
#8  0x00007ffb37441cd2 in EngineController::qt_metacall (this=0x1fcfc50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1fb46ce0)
    at /build/buildd/amarok-2.2.1/obj-x86_64-linux-gnu/src/EngineController.moc:144
#9  0x00007ffb35bc8ddc in QMetaObject::activate (sender=0x1fd0040, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x18) at kernel/qobject.cpp:3113
#10 0x00007ffb320c3ef5 in Phonon::MediaObject::currentSourceChanged (this=0x7fff1fb46a30, _t1=<value optimized out>) at .moc/release-shared/moc_mediaobject.cpp:228
#11 0x00007ffb320c4263 in Phonon::MediaObjectPrivate::_k_currentSourceChanged (this=0x1fd0200, source=...) at ../3rdparty/phonon/phonon/mediaobject.cpp:446
#12 0x00007ffb320c5c3c in Phonon::MediaObject::qt_metacall (this=0x1fd0040, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1fb46e60)
    at .moc/release-shared/moc_mediaobject.cpp:138
#13 0x00007ffb35bc8ddc in QMetaObject::activate (sender=0x1fbdd70, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x18) at kernel/qobject.cpp:3113
#14 0x00007ffb25b8ec65 in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#15 0x00007ffb25b9083b in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#16 0x00007ffb3743edf1 in EngineController::playUrl (this=0x1fcfc50, url=<value optimized out>, offset=<value optimized out>) at /build/buildd/amarok-2.2.1/src/EngineController.cpp:424
#17 0x00007ffb3743f67f in EngineController::play (this=0x1fcfc50, track=<value optimized out>, offset=0) at /build/buildd/amarok-2.2.1/src/EngineController.cpp:363
#18 0x00007ffb370f5525 in Playlist::Actions::play (this=0x26152f0, trackid=7360850614434317507, now=<value optimized out>) at /build/buildd/amarok-2.2.1/src/playlist/PlaylistActions.cpp:212
#19 0x00007ffb37105e15 in Playlist::Controller::insertOptioned (this=<value optimized out>, list=<value optimized out>, options=<value optimized out>)
    at /build/buildd/amarok-2.2.1/src/playlist/PlaylistController.cpp:141
#20 0x00007ffb371062a5 in Playlist::Controller::slotFinishDirectoryLoader (this=0x25853a0, tracks=<value optimized out>) at /build/buildd/amarok-2.2.1/src/playlist/PlaylistController.cpp:522
#21 0x00007ffb370325b3 in Playlist::Controller::qt_metacall (this=0x25853a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1fb47810)
    at /build/buildd/amarok-2.2.1/obj-x86_64-linux-gnu/src/moc_PlaylistController.cpp:145
#22 0x00007ffb35bc8ddc in QMetaObject::activate (sender=0x1f188a0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x18) at kernel/qobject.cpp:3113
#23 0x00007ffb3702dc02 in DirectoryLoader::finished (this=0x7fff1fb46a30, _t1=<value optimized out>) at /build/buildd/amarok-2.2.1/obj-x86_64-linux-gnu/src/moc_DirectoryLoader.cpp:88
#24 0x00007ffb374345ca in DirectoryLoader::finishUrlList (this=0x1f188a0) at /build/buildd/amarok-2.2.1/src/DirectoryLoader.cpp:146
#25 0x00007ffb37434b43 in DirectoryLoader::init (this=0x1f188a0, urls=...) at /build/buildd/amarok-2.2.1/src/DirectoryLoader.cpp:103
#26 0x00007ffb370fe7f7 in Playlist::Controller::insertOptioned (this=0x25853a0, urls=..., options=33) at /build/buildd/amarok-2.2.1/src/playlist/PlaylistController.cpp:185
#27 0x00007ffb3742b891 in App::handleCliArgs () at /build/buildd/amarok-2.2.1/src/App.cpp:360
#28 0x00007ffb3742ce71 in App::newInstance (this=0x7fff1fb4a920) at /build/buildd/amarok-2.2.1/src/App.cpp:1228
#29 0x00007ffb37b9ecb6 in KUniqueApplicationAdaptor::newInstance (this=0x1f81180, asn_id=<value optimized out>, args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:459
#30 0x00007ffb37b9f2a6 in KUniqueApplicationAdaptor::qt_metacall (this=0x1f81180, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff1fb48460) at ./kuniqueapplication_p.moc:75
#31 0x00007ffb33857ad4 in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>)
    at qdbusintegrator.cpp:891
#32 0x00007ffb33858c69 in QDBusConnectionPrivate::activateCall (this=<value optimized out>, object=0x1f81180, flags=337, msg=...) at qdbusintegrator.cpp:796
#33 0x00007ffb33859547 in QDBusConnectionPrivate::activateObject (this=<value optimized out>, node=..., msg=<value optimized out>, pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1347
#34 0x00007ffb338597c8 in QDBusActivateObjectEvent::placeMetaCall (this=0x2229c40) at qdbusintegrator.cpp:1464
#35 0x00007ffb35bc30f9 in QObject::event (this=0x7fff1fb4a920, e=0x2229c40) at kernel/qobject.cpp:1111
#36 0x00007ffb364ddb4d in QApplication::event (this=0x7fff1fb4a920, e=0x2229c40) at kernel/qapplication.cpp:2317
#37 0x00007ffb37421b3c in App::event (this=0x7fff1fb46a30, event=0x18) at /build/buildd/amarok-2.2.1/src/App.cpp:824
#38 0x00007ffb364d3efc in QApplicationPrivate::notify_helper (this=0x1edff70, receiver=0x7fff1fb4a920, e=0x2229c40) at kernel/qapplication.cpp:4056
#39 0x00007ffb364db1ce in QApplication::notify (this=0x7fff1fb4a920, receiver=0x7fff1fb4a920, e=0x2229c40) at kernel/qapplication.cpp:4021
#40 0x00007ffb37b97e56 in KApplication::notify (this=0x7fff1fb4a920, receiver=0x7fff1fb4a920, event=0x2229c40) at ../../kdeui/kernel/kapplication.cpp:302
#41 0x00007ffb35bb3c2c in QCoreApplication::notifyInternal (this=0x7fff1fb4a920, receiver=0x7fff1fb4a920, event=0x2229c40) at kernel/qcoreapplication.cpp:610
#42 0x00007ffb35bb480a in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1d9f810) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#43 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1d9f810) at kernel/qcoreapplication.cpp:1247
#44 0x00007ffb35bdc533 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#45 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:210
#46 0x00007ffb2e156bbe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#47 0x00007ffb2e15a588 in ?? () from /lib/libglib-2.0.so.0
#48 0x00007ffb2e15a6b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#49 0x00007ffb35bdc1a6 in QEventDispatcherGlib::processEvents (this=0x1d9f470, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#50 0x00007ffb365684be in QGuiEventDispatcherGlib::processEvents (this=0x7fff1fb46a30, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#51 0x00007ffb35bb2532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#52 0x00007ffb35bb2904 in QEventLoop::exec (this=0x7fff1fb49230, flags=) at kernel/qeventloop.cpp:201
#53 0x00007ffb37c20e50 in KWallet::Wallet::openWallet (name=<value optimized out>, w=<value optimized out>, ot=KWallet::Wallet::Synchronous) at ../../kdeui/util/kwallet.cpp:252
#54 0x00007ffb11c858d1 in LastFmServiceConfig (this=0x7fff1fb495c0) at /build/buildd/amarok-2.2.1/src/services/lastfm/LastFmServiceConfig.cpp:39
#55 0x00007ffb11c6abd9 in LastFmService::init (this=0x2577aa0) at /build/buildd/amarok-2.2.1/src/services/lastfm/LastFmService.cpp:220
#56 0x00007ffb11c71f70 in LastFmService (this=0x2577aa0, parent=<value optimized out>, name=<value optimized out>, username=..., password=<value optimized out>, sessionKey=<value optimized out>, 
    scrobble=true, fetchSimilar=true) at /build/buildd/amarok-2.2.1/src/services/lastfm/LastFmService.cpp:199
#57 0x00007ffb11c721b3 in LastFmServiceFactory::createLastFmService (this=<value optimized out>) at /build/buildd/amarok-2.2.1/src/services/lastfm/LastFmService.cpp:147
#58 0x00007ffb11c7235b in LastFmServiceFactory::init (this=0x7fff1fb46a30) at /build/buildd/amarok-2.2.1/src/services/lastfm/LastFmService.cpp:84
#59 0x00007ffb3722c975 in ServiceFactory::trackForUrl (this=<value optimized out>, url=...) at /build/buildd/amarok-2.2.1/src/services/ServiceBase.cpp:53
#60 0x00007ffb372e57cf in CollectionManager::trackForUrl (this=<value optimized out>, url=...) at /build/buildd/amarok-2.2.1/src/collection/CollectionManager.cpp:403
#61 0x00007ffb372b776a in Meta::XSPFPlaylist::tracks (this=0x23ce7b0) at /build/buildd/amarok-2.2.1/src/meta/XSPFPlaylist.cpp:206
#62 0x00007ffb37115d23 in Model (this=0x222cf50, parent=<value optimized out>) at /build/buildd/amarok-2.2.1/src/playlist/PlaylistModel.cpp:76
#63 0x00007ffb371180e4 in ModelStack (this=0x22315d0) at /build/buildd/amarok-2.2.1/src/playlist/PlaylistModelStack.cpp:58
#64 0x00007ffb37118228 in Playlist::ModelStack::instance () at /build/buildd/amarok-2.2.1/src/playlist/PlaylistModelStack.cpp:41
#65 0x00007ffb37118259 in The::playlist () at /build/buildd/amarok-2.2.1/src/playlist/PlaylistModelStack.cpp:28
#66 0x00007ffb373ade75 in StatusBar (this=0x20f74b0, parent=<value optimized out>) at /build/buildd/amarok-2.2.1/src/statusbar/StatusBar.cpp:88
#67 0x00007ffb374561dc in MainWindow (this=0x1ff16c0) at /build/buildd/amarok-2.2.1/src/MainWindow.cpp:157
#68 0x00007ffb37424bf9 in App::continueInit (this=0x7fff1fb4a920) at /build/buildd/amarok-2.2.1/src/App.cpp:675
#69 0x00007ffb374274b0 in App (this=0x7fff1fb4a920) at /build/buildd/amarok-2.2.1/src/App.cpp:222
#70 0x0000000000409dea in main (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/amarok-2.2.1/src/main.cpp:225
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2009-11-30 00:12:22 UTC

*** This bug has been marked as a duplicate of bug 215432 ***