Bug 310532

Summary: Crash when exiting Amarok after having created a new folder in the saved playlist view &dragged a playlist on it
Product: [Applications] amarok Reporter: shaddowy2
Component: Playlists/Saved PlaylistsAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bart.cerneels
Priority: NOR Keywords: regression, release_blocker
Version: 2.6.0   
Target Milestone: 2.7   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description shaddowy2 2012-11-22 22:35:47 UTC
Application: amarok (2.6.0)
KDE Platform Version: 4.9.3
Qt Version: 4.8.3
Operating System: Linux 3.5.0-19-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
While trying to reproduce Bug 308703 I found the following crash:

- What I was doing when the application crashed:
1. Start Amarok
2. Go to "Saved playlists", merged view and create a new playlist folder with a click on the icon
3. Drag on of your already created playlists (file, didn't try for database playlists) onto the newly created folder.
(4. Nothing happens, the playlist isn't moved / copied to the folder) --> should be solved with when bug 308703 gets fixed.
5. Exit Amarok and watch it crash

The crash can be reproduced every time.

-- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ffd7e52a780 (LWP 15517))]

Thread 9 (Thread 0x7ffd604cf700 (LWP 15521)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ffd61a5e66f in ?? () from /usr/lib/libvlccore.so.5
#2  0x00007ffd773e2e9a in start_thread (arg=0x7ffd604cf700) at pthread_create.c:308
#3  0x00007ffd7ae9dcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7ffd5ec1b700 (LWP 15523)):
#0  0x00007fff389ff827 in clock_gettime ()
#1  0x00007ffd7430b15d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007ffd7b7539c4 in do_gettime (frac=0x7ffd5ec1ab28, sec=0x7ffd5ec1ab20) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007ffd7b82941d in QTimerInfoList::updateCurrentTime (this=this@entry=0x7ffd54002860) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007ffd7b829763 in QTimerInfoList::timerWait (this=0x7ffd54002860, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007ffd7b8282cc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7ffd5ec1ac14) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007ffd7b828375 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007ffd758d5618 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007ffd758d5cab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007ffd758d5ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007ffd7b828c16 in QEventDispatcherGlib::processEvents (this=0x7ffd54000900, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007ffd7b7f92bf in QEventLoop::processEvents (this=this@entry=0x7ffd5ec1add0, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007ffd7b7f9548 in QEventLoop::exec (this=0x7ffd5ec1add0, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007ffd7b6fab10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x00007ffd7b7d99af in QInotifyFileSystemWatcherEngine::run (this=0x22d1dc0) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007ffd7b6fdaec in QThreadPrivate::start (arg=0x22d1dc0) at thread/qthread_unix.cpp:338
#17 0x00007ffd773e2e9a in start_thread (arg=0x7ffd5ec1b700) at pthread_create.c:308
#18 0x00007ffd7ae9dcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7ffd53fff700 (LWP 15524)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ffd7b6fe04b in wait (time=18446744073709551615, this=0x258cea0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x258e930, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007ffd789560e1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x258e780, th=0x258eca0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ffd7895892b in ThreadWeaver::WorkingHardState::applyForWork (this=0x258dcd0, th=0x258eca0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007ffd7895779f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7ffd53ffee00, parent=0x258e780, th=th@entry=0x258eca0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007ffd7895782b in ThreadWeaver::Thread::run (this=0x258eca0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007ffd7b6fdaec in QThreadPrivate::start (arg=0x258eca0) at thread/qthread_unix.cpp:338
#8  0x00007ffd773e2e9a in start_thread (arg=0x7ffd53fff700) at pthread_create.c:308
#9  0x00007ffd7ae9dcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7ffd537fe700 (LWP 15525)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ffd7b6fe04b in wait (time=18446744073709551615, this=0x258cea0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x258e930, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007ffd789560e1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x258e780, th=0x258f7b0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ffd7895892b in ThreadWeaver::WorkingHardState::applyForWork (this=0x258dcd0, th=0x258f7b0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007ffd7895779f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7ffd537fde00, parent=0x258e780, th=th@entry=0x258f7b0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007ffd7895782b in ThreadWeaver::Thread::run (this=0x258f7b0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007ffd7b6fdaec in QThreadPrivate::start (arg=0x258f7b0) at thread/qthread_unix.cpp:338
#8  0x00007ffd773e2e9a in start_thread (arg=0x7ffd537fe700) at pthread_create.c:308
#9  0x00007ffd7ae9dcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7ffd52ffd700 (LWP 15526)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ffd7b6fe04b in wait (time=18446744073709551615, this=0x258cea0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x258e930, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007ffd789560e1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x258e780, th=0x25901f0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ffd7895892b in ThreadWeaver::WorkingHardState::applyForWork (this=0x258dcd0, th=0x25901f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007ffd7895779f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7ffd52ffce00, parent=0x258e780, th=th@entry=0x25901f0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007ffd7895782b in ThreadWeaver::Thread::run (this=0x25901f0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007ffd7b6fdaec in QThreadPrivate::start (arg=0x25901f0) at thread/qthread_unix.cpp:338
#8  0x00007ffd773e2e9a in start_thread (arg=0x7ffd52ffd700) at pthread_create.c:308
#9  0x00007ffd7ae9dcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7ffd527fc700 (LWP 15527)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ffd7b6fe04b in wait (time=18446744073709551615, this=0x258cea0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x258e930, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007ffd789560e1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x258e780, th=0x2590c60) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ffd7895892b in ThreadWeaver::WorkingHardState::applyForWork (this=0x258dcd0, th=0x2590c60) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007ffd7895779f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7ffd527fbe00, parent=0x258e780, th=th@entry=0x2590c60) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007ffd7895782b in ThreadWeaver::Thread::run (this=0x2590c60) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007ffd7b6fdaec in QThreadPrivate::start (arg=0x2590c60) at thread/qthread_unix.cpp:338
#8  0x00007ffd773e2e9a in start_thread (arg=0x7ffd527fc700) at pthread_create.c:308
#9  0x00007ffd7ae9dcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ffd51654700 (LWP 15529)):
#0  0x00007ffd7ae92303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ffd758d5d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffd758d5ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffd7b828c16 in QEventDispatcherGlib::processEvents (this=0x7ffd400008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007ffd7b7f92bf in QEventLoop::processEvents (this=this@entry=0x7ffd51653dd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ffd7b7f9548 in QEventLoop::exec (this=0x7ffd51653dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007ffd7b6fab10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007ffd7b7d99af in QInotifyFileSystemWatcherEngine::run (this=0x27ad9b0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007ffd7b6fdaec in QThreadPrivate::start (arg=0x27ad9b0) at thread/qthread_unix.cpp:338
#9  0x00007ffd773e2e9a in start_thread (arg=0x7ffd51654700) at pthread_create.c:308
#10 0x00007ffd7ae9dcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ffd3b7fe700 (LWP 15532)):
#0  0x00007ffd7ae6983d in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007ffd7ae696dc in __sleep (seconds=0) at ../sysdeps/unix/sysv/linux/sleep.c:138
#2  0x00007ffd779bbc82 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007ffd779bbd09 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#4  0x00007ffd773e2e9a in start_thread (arg=0x7ffd3b7fe700) at pthread_create.c:308
#5  0x00007ffd7ae9dcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffd7e52a780 (LWP 15517)):
[KCrash Handler]
#6  count (this=0x98) at ../../include/QtCore/../../src/corelib/tools/qvector.h:259
#7  QAbstractItemModelPrivate::removePersistentIndexData (this=0x0, data=data@entry=0x3af7ac0) at kernel/qabstractitemmodel.cpp:550
#8  0x00007ffd7b7f5129 in QPersistentModelIndexData::destroy (data=0x3af7ac0) at kernel/qabstractitemmodel.cpp:83
#9  0x00007ffd7b7f525f in QPersistentModelIndex::~QPersistentModelIndex (this=0x4eeb8e0, __in_chrg=<optimized out>) at kernel/qabstractitemmodel.cpp:155
#10 0x00007ffd7c6b7f2c in node_destruct (to=0x4eeb8e0, from=0x4eeb8d8, this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qlist.h:433
#11 QList<QPersistentModelIndex>::free (data=0x4eeb8c0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qlist.h:757
#12 0x00007ffd7c6ff7f9 in ~QHeaderViewPrivate (this=0x2a89660, __in_chrg=<optimized out>) at ../../include/QtGui/private/../../../src/gui/itemviews/qheaderview_p.h:66
#13 QHeaderViewPrivate::~QHeaderViewPrivate (this=0x2a89660, __in_chrg=<optimized out>) at ../../include/QtGui/private/../../../src/gui/itemviews/qheaderview_p.h:66
#14 0x00007ffd7b810ffc in cleanup (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#15 ~QScopedPointer (this=0x2a89638, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#16 QObject::~QObject (this=0x2a89630, __in_chrg=<optimized out>) at kernel/qobject.cpp:817
#17 0x00007ffd7c225cc0 in QWidget::~QWidget (this=0x2a89630, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1552
#18 0x00007ffd7c6f2ce9 in QHeaderView::~QHeaderView (this=0x2a89630, __in_chrg=<optimized out>) at itemviews/qheaderview.cpp:339
#19 0x00007ffd7b80d182 in QObjectPrivate::deleteChildren (this=0x2a83190) at kernel/qobject.cpp:1908
#20 0x00007ffd7c225c24 in QWidget::~QWidget (this=0x2a83130, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#21 0x00007ffd7d477e09 in PlaylistBrowserNS::PlaylistBrowserView::~PlaylistBrowserView (this=0x2a83130, __in_chrg=<optimized out>) at ../../src/browsers/playlistbrowser/PlaylistBrowserView.cpp:69
#22 0x00007ffd7b80d182 in QObjectPrivate::deleteChildren (this=0x2a77bd0) at kernel/qobject.cpp:1908
#23 0x00007ffd7c225c24 in QWidget::~QWidget (this=0x2a0e530, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#24 0x00007ffd7d47c369 in PlaylistBrowserNS::UserPlaylistCategory::~UserPlaylistCategory (this=0x2a0e530, __in_chrg=<optimized out>) at ../../src/browsers/playlistbrowser/UserPlaylistCategory.cpp:71
#25 0x00007ffd7d1adfce in qDeleteAll<QList<BrowserCategory*>::const_iterator> (end=..., begin=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#26 qDeleteAll<QList<BrowserCategory*> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#27 BrowserCategoryListModel::~BrowserCategoryListModel (this=0x2991df0, __in_chrg=<optimized out>) at ../../src/browsers/BrowserCategoryListModel.cpp:28
#28 0x00007ffd7d1ae029 in BrowserCategoryListModel::~BrowserCategoryListModel (this=0x2991df0, __in_chrg=<optimized out>) at ../../src/browsers/BrowserCategoryListModel.cpp:29
#29 0x00007ffd7b80d182 in QObjectPrivate::deleteChildren (this=0x29919e0) at kernel/qobject.cpp:1908
#30 0x00007ffd7c225c24 in QWidget::~QWidget (this=0x29918f0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#31 0x00007ffd7d4777c9 in PlaylistBrowserNS::PlaylistBrowser::~PlaylistBrowser (this=0x29918f0, __in_chrg=<optimized out>) at ../../src/browsers/playlistbrowser/PlaylistBrowser.cpp:52
#32 0x00007ffd7d1adfce in qDeleteAll<QList<BrowserCategory*>::const_iterator> (end=..., begin=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#33 qDeleteAll<QList<BrowserCategory*> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#34 BrowserCategoryListModel::~BrowserCategoryListModel (this=0x2739670, __in_chrg=<optimized out>) at ../../src/browsers/BrowserCategoryListModel.cpp:28
#35 0x00007ffd7d1ae029 in BrowserCategoryListModel::~BrowserCategoryListModel (this=0x2739670, __in_chrg=<optimized out>) at ../../src/browsers/BrowserCategoryListModel.cpp:29
#36 0x00007ffd7b80d182 in QObjectPrivate::deleteChildren (this=0x27391d0) at kernel/qobject.cpp:1908
#37 0x00007ffd7c225c24 in QWidget::~QWidget (this=0x2739100, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#38 0x00007ffd7d1a7fb9 in BrowserCategoryList::~BrowserCategoryList (this=0x2739100, __in_chrg=<optimized out>) at ../../src/browsers/BrowserCategoryList.cpp:103
#39 0x00007ffd7b80d182 in QObjectPrivate::deleteChildren (this=0x2733500) at kernel/qobject.cpp:1908
#40 0x00007ffd7c225c24 in QWidget::~QWidget (this=0x2731c10, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#41 0x00007ffd7e036ba9 in KVBox::~KVBox (this=0x2731c10, __in_chrg=<optimized out>) at ../../kdeui/widgets/kvbox.cpp:29
#42 0x00007ffd7b80d182 in QObjectPrivate::deleteChildren (this=0x25f6ea0) at kernel/qobject.cpp:1908
#43 0x00007ffd7c225c24 in QWidget::~QWidget (this=0x272d970, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#44 0x00007ffd7d1ae619 in BrowserDock::~BrowserDock (this=0x272d970, __in_chrg=<optimized out>) at ../../src/browsers/BrowserDock.cpp:70
#45 0x00007ffd7b80d182 in QObjectPrivate::deleteChildren (this=0x221d6b0) at kernel/qobject.cpp:1908
#46 0x00007ffd7c225c24 in QWidget::~QWidget (this=0x221d5c0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#47 0x00007ffd7e000aa5 in KMainWindow::~KMainWindow (this=0x221d5c0, __in_chrg=<optimized out>) at ../../kdeui/widgets/kmainwindow.cpp:467
#48 0x00007ffd7d559362 in MainWindow::~MainWindow (this=0x221d5c0, __in_chrg=<optimized out>) at ../../src/MainWindow.cpp:173
#49 0x00007ffd7d5594f9 in MainWindow::~MainWindow (this=0x221d5c0, __in_chrg=<optimized out>) at ../../src/MainWindow.cpp:185
#50 0x00007ffd7d53e76b in App::~App (this=0x7fff389d7630, __in_chrg=<optimized out>) at ../../src/App.cpp:239
#51 0x0000000000408df9 in main (argc=1, argv=0x7fff389d7798) at ../../src/main.cpp:306

Possible duplicates by query: bug 290114, bug 230447.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2012-11-22 23:21:40 UTC
Hm, looks like a regression and reappearance of bug 250062

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