Bug 204357

Summary: amarok crashed when adding playlist
Product: [Applications] amarok Reporter: Patrick Shanahan <patrick.shanahan>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash CC: patrick.shanahan, romain.diss
Priority: NOR    
Version: 2.1.1   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Patrick Shanahan 2009-08-19 05:23:15 UTC
Application that crashed: amarok
Version of the application: 2.1.1
KDE Version: 4.3.00 (KDE 4.3.0) "release 155"
Qt Version: 4.5.2
Operating System: Linux 2.6.31-rc5-git3-2-default x86_64
Distribution: "openSUSE 11.2 Milestone 5 (x86_64)"

What I was doing when the application crashed:
amarok crashed when I tried to add a playlist in /tmp
I added the directory /tmp
selected /tmp
told amarok to add to playlist
same thing happens when told to load playlist

see bug 204296

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

Thread 14 (Thread 0x7f12595d2910 (LWP 9307)):
#0  0x00007f126918129d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f125acb0511 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007f126917c63d in start_thread () from /lib64/libpthread.so.0
#3  0x00007f12696baced in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7f1258337910 (LWP 9308)):
#0  0x00007fffacdff82c in clock_gettime ()
#1  0x00007f12619442e8 in clock_gettime () from /lib64/librt.so.1
#2  0x00007f1269ab280d in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f1269ab2a01 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f1269ab3123 in ?? () from /usr/lib64/libQtCore.so.4
#5  0x00007f1269ab0ebd in ?? () from /usr/lib64/libQtCore.so.4
#6  0x00007f1262f41f5a in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#7  0x00007f1262f42331 in ?? () from /usr/lib64/libglib-2.0.so.0
#8  0x00007f1262f42860 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#9  0x00007f1269ab0d3e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#10 0x00007f1269a87072 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#11 0x00007f1269a87444 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#12 0x00007f126999f6cb in QThread::exec() () from /usr/lib64/libQtCore.so.4
#13 0x00007f125af0a3f4 in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#14 0x00007f12699a2435 in ?? () from /usr/lib64/libQtCore.so.4
#15 0x00007f126917c63d in start_thread () from /lib64/libpthread.so.0
#16 0x00007f12696baced in clone () from /lib64/libc.so.6
#17 0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f1257726910 (LWP 9310)):
#0  0x00007f1269181019 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f125acc1523 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007f126917c63d in start_thread () from /lib64/libpthread.so.0
#3  0x00007f12696baced in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f1256ce0910 (LWP 9311)):
#0  0x00007f1269181019 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f125acc1523 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007f126917c63d in start_thread () from /lib64/libpthread.so.0
#3  0x00007f12696baced in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f1245ed5910 (LWP 9350)):
#0  0x00007f126918129d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f125acbbd99 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007f125acbe501 in ?? () from /usr/lib64/libxine.so.1
#3  0x00007f126917c63d in start_thread () from /lib64/libpthread.so.0
#4  0x00007f12696baced in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f12452eb910 (LWP 9351)):
#0  0x00007f1269181019 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f125acb3ddb in ?? () from /usr/lib64/libxine.so.1
#2  0x00007f125acb9efd in ?? () from /usr/lib64/libxine.so.1
#3  0x00007f126917c63d in start_thread () from /lib64/libpthread.so.0
#4  0x00007f12696baced in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f124491d910 (LWP 9352)):
#0  0x00007f1269181019 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f125acb3ddb in ?? () from /usr/lib64/libxine.so.1
#2  0x00007f125acbaf95 in ?? () from /usr/lib64/libxine.so.1
#3  0x00007f126917c63d in start_thread () from /lib64/libpthread.so.0
#4  0x00007f12696baced in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f124411c910 (LWP 9353)):
#0  0x00007f1269181019 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f125acc455b in xine_event_wait () from /usr/lib64/libxine.so.1
#2  0x00007f125acc45ce in ?? () from /usr/lib64/libxine.so.1
#3  0x00007f126917c63d in start_thread () from /lib64/libpthread.so.0
#4  0x00007f12696baced in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f12545c9910 (LWP 9545)):
#0  0x00007f1269181019 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f12699a34eb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f12667a7ab6 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007f12667a9beb in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007f12667a81ef in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007f12667a8648 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#6  0x00007f12699a2435 in ?? () from /usr/lib64/libQtCore.so.4
#7  0x00007f126917c63d in start_thread () from /lib64/libpthread.so.0
#8  0x00007f12696baced in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f123f613910 (LWP 9546)):
#0  0x00007f1269181019 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f12699a34eb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f12667a7ab6 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007f12667a9beb in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007f12667a9c04 in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007f12667a9c04 in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007f12667a81ef in ?? () from /usr/lib64/libthreadweaver.so.4
#7  0x00007f12667a8648 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#8  0x00007f12699a2435 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f126917c63d in start_thread () from /lib64/libpthread.so.0
#10 0x00007f12696baced in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f123e611910 (LWP 9549)):
#0  0x00007f1269181019 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f12699a34eb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f12667a7ab6 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007f12667a9beb in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007f12667a9c04 in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007f12667a81ef in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007f12667a8648 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#7  0x00007f12699a2435 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007f126917c63d in start_thread () from /lib64/libpthread.so.0
#9  0x00007f12696baced in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f123de10910 (LWP 9560)):
#0  0x00007f1269181019 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f12699a34eb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f12667a7ab6 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007f12667a9beb in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007f12667a81ef in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007f12667a8648 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#6  0x00007f12699a2435 in ?? () from /usr/lib64/libQtCore.so.4
#7  0x00007f126917c63d in start_thread () from /lib64/libpthread.so.0
#8  0x00007f12696baced in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f123ee12910 (LWP 9731)):
#0  0x00007f126918129d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f12699a3452 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f1269999592 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f12699a2435 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f126917c63d in start_thread () from /lib64/libpthread.so.0
#5  0x00007f12696baced in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f126bafd7a0 (LWP 9306)):
[KCrash Handler]
#5  PlaylistBrowserNS::UserModel::slotAppend (this=0xe88a50) at /usr/src/debug/amarok-2.1.1/src/browsers/playlistbrowser/UserPlaylistModel.cpp:497
#6  0x00007f126b01a784 in PlaylistBrowserNS::UserModel::qt_metacall (this=0xe88a50, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffacdeeee0)
    at /usr/src/debug/amarok-2.1.1/build/src/UserPlaylistModel.moc:80
#7  0x00007f1269a9d91c in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#8  0x00007f126a38e4b7 in QAction::triggered(bool) () from /usr/lib64/libQtGui.so.4
#9  0x00007f126a38f8ff in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQtGui.so.4
#10 0x00007f126a75f85d in ?? () from /usr/lib64/libQtGui.so.4
#11 0x00007f126a76576a in ?? () from /usr/lib64/libQtGui.so.4
#12 0x00007f126b7204ae in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libkdeui.so.5
#13 0x00007f126a3e2d50 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#14 0x00007f126a767f2b in QMenu::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#15 0x00007f126a39430c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#16 0x00007f126a39b421 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#17 0x00007f126b64e5d6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#18 0x00007f1269a8876c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#19 0x00007f126a39acf0 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from /usr/lib64/libQtGui.so.4
#20 0x00007f126a40116e in ?? () from /usr/lib64/libQtGui.so.4
#21 0x00007f126a3ffdea in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#22 0x00007f126a427b4c in ?? () from /usr/lib64/libQtGui.so.4
#23 0x00007f1262f3ed6e in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#24 0x00007f1262f42738 in ?? () from /usr/lib64/libglib-2.0.so.0
#25 0x00007f1262f42860 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#26 0x00007f1269ab0ce6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#27 0x00007f126a4272fe in ?? () from /usr/lib64/libQtGui.so.4
#28 0x00007f1269a87072 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#29 0x00007f1269a87444 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#30 0x00007f126a767da5 in QMenu::exec(QPoint const&, QAction*) () from /usr/lib64/libQtGui.so.4
#31 0x00007f126b01b501 in PlaylistBrowserNS::UserPlaylistTreeView::contextMenuEvent (this=0xe08680, event=0x7fffacdf2340)
    at /usr/src/debug/amarok-2.1.1/src/browsers/playlistbrowser/UserPlaylistTreeView.cpp:187
#32 0x00007f126a3e31e5 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#33 0x00007f126a721be6 in QFrame::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#34 0x00007f126a854b6b in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib64/libQtGui.so.4
#35 0x00007f126a88bd80 in QTreeView::viewportEvent(QEvent*) () from /usr/lib64/libQtGui.so.4
#36 0x00007f1269a87a87 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#37 0x00007f126a3942dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#38 0x00007f126a39b937 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#39 0x00007f126b64e5d6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#40 0x00007f1269a8876c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#41 0x00007f126a4012ee in ?? () from /usr/lib64/libQtGui.so.4
#42 0x00007f126a3ffdea in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#43 0x00007f126a427b4c in ?? () from /usr/lib64/libQtGui.so.4
#44 0x00007f1262f3ed6e in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#45 0x00007f1262f42738 in ?? () from /usr/lib64/libglib-2.0.so.0
#46 0x00007f1262f42860 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#47 0x00007f1269ab0ce6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#48 0x00007f126a4272fe in ?? () from /usr/lib64/libQtGui.so.4
#49 0x00007f1269a87072 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#50 0x00007f1269a87444 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#51 0x00007f1269a895f9 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#52 0x0000000000404066 in main (argc=2, argv=0x7fffacdf5408) at /usr/src/debug/amarok-2.1.1/src/main.cpp:128

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2009-08-19 08:39:59 UTC
Which is exactly the same crash as bug 204296.

I wonder if it is a permission problem as /tmp is a system folder.

Does the same happen when you use a local folder, e.g a temporary one on your /home?

*** This bug has been marked as a duplicate of bug 204296 ***
Comment 2 Patrick Shanahan 2009-08-19 19:29:52 UTC
yes, added /home/pat/Documents
told to add to playlist
crash

ps: no sound output
    unable to add local mp3 files to playlist
    no pulse-audio
    vlc & banshee-1 & xmms work fine

amarok-2.1.1-23.3
x86_64
openSUSE/Factory 11.2 M6
Comment 3 Romain Diss 2009-09-14 14:13:53 UTC
*** Bug 207345 has been marked as a duplicate of this bug. ***