Bug 243682

Summary: Amarok crashes on session restore (after reboot)
Product: [Applications] amarok Reporter: tom <tommot12>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 2.3.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description tom 2010-07-05 20:14:12 UTC
Application: amarok (2.3.0)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-23-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
The last thing I did before the crash is to enter my master password into kwallet.

 -- Backtrace:
Application: Amarok (amarok), signal: Aborted
[Current thread is 1 (Thread 0x7f3aa0e137a0 (LWP 1739))]

Thread 10 (Thread 0x7f3a84971710 (LWP 1870)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f3a8a692081 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f3a9c2729ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f3a9de286cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f3a84170710 (LWP 1899)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f3a8416fa60 in ?? ()
#2  0x00007fffbe9ff852 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 8 (Thread 0x7f3a83765710 (LWP 1926)):
#0  0x00007f3a9de1bf53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3a8376a915 in ?? () from /usr/lib/xine/plugins/1.27/xineplug_ao_out_alsa.so
#2  0x00007f3a9c2729ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f3a9de286cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f3a82f64710 (LWP 1927)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f3a8a6a2e23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f3a9c2729ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f3a9de286cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f3a82358710 (LWP 1928)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f3a8a6a2e23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f3a9c2729ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f3a9de286cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f3a81b57710 (LWP 1931)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f3a8a6a2e23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f3a9c2729ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f3a9de286cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f3a801c9710 (LWP 1989)):
#0  0x00007f3a972f4fc3 in g_main_context_query () from /lib/libglib-2.0.so.0
#1  0x00007f3a972fa39c in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f3a972fa8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f3a9e786566 in QEventDispatcherGlib::processEvents (this=0x1cf0840, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f3a9e75b992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f3a9e75bd6c in QEventLoop::exec (this=0x7f3a801c8d70, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f3a9e665d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f3a9e73c178 in QInotifyFileSystemWatcherEngine::run (this=0x1dfe9e0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f3a9e668775 in QThreadPrivate::start (arg=0x1dfe9e0) at thread/qthread_unix.cpp:248
#9  0x00007f3a9c2729ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f3a9de286cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f3a75d1f710 (LWP 1990)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f3a9e66972b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1e3bcf0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1e3bcf0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f3a9acbd026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1e3aeb0, th=0x1e3c120) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f3a9acbf6ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x1e3aa80, th=0x1e3c120) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f3a9acbdbff in ThreadWeaver::ThreadRunHelper::run (this=0x7f3a75d1edc0, parent=0x1e3aeb0, th=0x1e3c120) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f3a9acbe168 in ThreadWeaver::Thread::run (this=0x1e3c120) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f3a9e668775 in QThreadPrivate::start (arg=0x1e3c120) at thread/qthread_unix.cpp:248
#8  0x00007f3a9c2729ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f3a9de286cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f3a7551e710 (LWP 1991)):
[KCrash Handler]
#5  0x00007f3a9dd75a75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f3a9dd795c0 in *__GI_abort () at abort.c:92
#7  0x00007f3a9e3a78e5 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
#8  0x00007f3a9e3a5d16 in ?? () from /usr/lib/libstdc++.so.6
#9  0x00007f3a9e3a5d43 in std::terminate() () from /usr/lib/libstdc++.so.6
#10 0x00007f3a9e3a5e3e in __cxa_throw () from /usr/lib/libstdc++.so.6
#11 0x00007f3a9e660132 in qBadAlloc () at global/qglobal.cpp:2004
#12 0x00007f3a9e66b5cd in QByteArray::realloc (this=0x7f3a7551d920, alloc=<value optimized out>) at tools/qbytearray.cpp:1413
#13 0x00007f3a9e66c61a in QByteArray::detach (this=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:417
#14 QByteArray::data (this=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:411
#15 QByteArray::toLower (this=<value optimized out>) at tools/qbytearray.cpp:2607
#16 0x00007f3a9eb16603 in KConfigGroup::convertToQVariant (pKey=0x7f3a80bf9266 "Debug Enabled", value=..., aDefault=<value optimized out>) at ../../kdecore/config/kconfiggroup.cpp:229
#17 0x00007f3a9eb1b261 in KConfigGroup::readEntry (this=<value optimized out>, key=0x7f3a80bf9266 "Debug Enabled", aDefault=...) at ../../kdecore/config/kconfiggroup.cpp:793
#18 0x00007f3a8091d39e in KConfigGroup::readCheck<bool> () at /usr/include/KDE/../kconfiggroup.h:720
#19 KConfigGroup::readEntry<bool> () at /usr/include/KDE/../kconfiggroup.h:249
#20 debugEnabled () at ../../../../../src/Debug.h:106
#21 dbgstream () at ../../../../../src/Debug.h:113
#22 debug () at ../../../../../src/Debug.h:133
#23 0x00007f3a8091f0e6 in ThreadInitializer (this=<value optimized out>) at ../../../../../src/collection/sqlcollection/mysql-shared/MySqlStorage.cpp:53
#24 ThreadInitializer::init (this=<value optimized out>) at ../../../../../src/collection/sqlcollection/mysql-shared/MySqlStorage.cpp:77
#25 MySqlStorage::initThreadInitializer (this=<value optimized out>) at ../../../../../src/collection/sqlcollection/mysql-shared/MySqlStorage.cpp:276
#26 0x00007f3a8091f646 in MySqlStorage::query (this=0x7c7, statement=...) at ../../../../../src/collection/sqlcollection/mysql-shared/MySqlStorage.cpp:112
#27 0x00007f3a8047b257 in SqlQueryMakerInternal::run (this=0x1e3d050) at ../../../../src/collection/sqlcollection/SqlQueryMakerInternal.cpp:46
#28 0x00007f3a80477e9d in SqlWorkerThread::run (this=0x1e3d290) at ../../../../src/collection/sqlcollection/SqlQueryMaker.cpp:65
#29 0x00007f3a9acbe8dd in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f3a7551dd30, th=0x1e3ddc0, job=0x1e3d290) at ../../../threadweaver/Weaver/Job.cpp:106
#30 0x00007f3a9acbebde in ThreadWeaver::Job::execute (this=0x1e3d290, th=0x1e3ddc0) at ../../../threadweaver/Weaver/Job.cpp:135
#31 0x00007f3a9acbdbcf in ThreadWeaver::ThreadRunHelper::run (this=0x7f3a7551ddc0, parent=0x1e3aeb0, th=0x1e3ddc0) at ../../../threadweaver/Weaver/Thread.cpp:95
#32 0x00007f3a9acbe168 in ThreadWeaver::Thread::run (this=0x1e3ddc0) at ../../../threadweaver/Weaver/Thread.cpp:142
#33 0x00007f3a9e668775 in QThreadPrivate::start (arg=0x1e3ddc0) at thread/qthread_unix.cpp:248
#34 0x00007f3a9c2729ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#35 0x00007f3a9de286cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#36 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3aa0e137a0 (LWP 1739)):
#0  0x00007f3a9de249ca in mmap64 () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f3a9dda98dc in _IO_file_doallocate (fp=0x1f36460) at filedoalloc.c:120
#2  0x00007f3a9ddb6eac in _IO_doallocbuf (fp=0x1f36460) at genops.c:423
#3  0x00007f3a9ddb4d1c in _IO_file_xsgetn (fp=0x1f36460, data=0x7fffbe895150, n=44) at fileops.c:1406
#4  0x00007f3a9ddafbee in *__GI_fread_unlocked (buf=<value optimized out>, size=44, count=1, fp=0xffffffffffffffff) at iofread_u.c:45
#5  0x00007f3a9ddddd65 in __tzfile_read (file=<value optimized out>, extra=0, extrap=<value optimized out>) at tzfile.c:205
#6  0x00007f3a9dddd054 in tzset_internal (always=<value optimized out>, explicit=<value optimized out>) at tzset.c:439
#7  0x00007f3a9dddd310 in __tzset () at tzset.c:592
#8  0x00007f3a9eb56780 in KSystemTimeZoneBackend::offset (this=<value optimized out>, caller=<value optimized out>, t=<value optimized out>) at ../../kdecore/date/ksystemtimezone.cpp:642
#9  0x00007f3a9eb53482 in KTimeZone::toZoneTime (this=0x7fffbe8953c0, utcDateTime=..., secondOccurrence=0x7fffbe89533f) at ../../kdecore/date/ktimezone.cpp:768
#10 0x00007f3a9eb43f84 in KDateTimePrivate::toZone (this=0x1f363d0, zone=..., local=<value optimized out>) at ../../kdecore/date/kdatetime.cpp:726
#11 0x00007f3a9eb4405e in KDateTimePrivate::newToZone (this=0x1f363d0, newd=0x1f33e40, zone=..., local=...) at ../../kdecore/date/kdatetime.cpp:742
#12 0x00007f3a9eb4d744 in KDateTime::toLocalZone (this=0x1f2c260) at ../../kdecore/date/kdatetime.cpp:942
#13 0x00007f3a97e5478c in KFileItemPrivate::setTime (this=<value optimized out>, mappedWhich=<value optimized out>, time_t_val=<value optimized out>) at ../../kio/kio/kfileitem.cpp:306
#14 0x00007f3a97e55e06 in KFileItemPrivate::init (this=0x1f2c1e0) at ../../kio/kio/kfileitem.cpp:233
#15 0x00007f3a97e5bc82 in KFileItemPrivate (this=0x7fffbe895630, mode=32686592, permissions=3196671376, url=..., delayedMimeTypes=255) at ../../kio/kio/kfileitem.cpp:90
#16 KFileItem (this=0x7fffbe895630, mode=32686592, permissions=3196671376, url=..., delayedMimeTypes=255) at ../../kio/kio/kfileitem.cpp:479
#17 0x00007f3aa014e43a in EngineController::canDecode (url=...) at ../../src/EngineController.cpp:195
#18 0x00007f3a9ffd1420 in CollectionManager::trackForUrl (this=<value optimized out>, url=...) at ../../src/collection/CollectionManager.cpp:502
#19 0x00007f3a9ff6f1ba in Meta::M3UPlaylist::loadM3u (this=<value optimized out>, stream=...) at ../../src/meta/M3UPlaylist.cpp:135
#20 0x00007f3a9ff6f879 in Meta::M3UPlaylist::tracks (this=0x1e75180) at ../../src/meta/M3UPlaylist.cpp:89
#21 0x00007f3aa002b2ee in PlaylistBrowserNS::UserModel::rowCount (this=<value optimized out>, parent=<value optimized out>) at ../../src/browsers/playlistbrowser/UserPlaylistModel.cpp:321
#22 0x00007f3a9e74f73a in QAbstractItemModel::hasChildren (this=0x0, parent=...) at kernel/qabstractitemmodel.cpp:1627
#23 0x00007f3a9f630d92 in QTreeViewPrivate::hasVisibleChildren (this=0x1e8fbb0, parent=...) at itemviews/qtreeview.cpp:3703
#24 0x00007f3a9f63cbcd in QTreeViewPrivate::layout (this=0x1e8fbb0, i=<value optimized out>) at itemviews/qtreeview.cpp:3187
#25 0x00007f3a9f63ec29 in QTreeView::doItemsLayout (this=0x1e89440) at itemviews/qtreeview.cpp:1999
#26 0x00007f3a9f5f6556 in QAbstractItemView::event (this=0x0, event=0x7fffbe896330) at itemviews/qabstractitemview.cpp:1535
#27 0x00007f3a9f0d122c in QApplicationPrivate::notify_helper (this=0xa6af40, receiver=0x1e89440, e=0x7fffbe896330) at kernel/qapplication.cpp:4300
#28 0x00007f3a9f0d76fb in QApplication::notify (this=0x7fffbe8975d0, receiver=0x1e89440, e=0x7fffbe896330) at kernel/qapplication.cpp:4183
#29 0x00007f3aa013712a in App::notify (this=0x0, receiver=0x1000, event=0x3) at ../../src/App.cpp:927
#30 0x00007f3a9e75d06c in QCoreApplication::notifyInternal (this=0x7fffbe8975d0, receiver=0x1e89440, event=0x7fffbe896330) at kernel/qcoreapplication.cpp:704
#31 0x00007f3a9f120656 in QCoreApplication::sendEvent (this=0x1e8fbb0, newStyle=0x1eb2660, propagate=6) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QWidgetPrivate::setStyle_helper (this=0x1e8fbb0, newStyle=0x1eb2660, propagate=6) at kernel/qwidget.cpp:2524
#33 0x00007f3aa003c917 in UserPlaylistTreeView (this=0x1e89440, model=<value optimized out>, parent=<value optimized out>) at ../../src/browsers/playlistbrowser/UserPlaylistTreeView.cpp:67
#34 0x00007f3aa003f8aa in PlaylistCategory (this=0x1e83d50, parent=<value optimized out>) at ../../src/browsers/playlistbrowser/PlaylistCategory.cpp:67
#35 0x00007f3aa0029917 in PlaylistBrowser (this=0x1e3f7c0, name=<value optimized out>, parent=0x0) at ../../src/browsers/playlistbrowser/PlaylistBrowser.cpp:43
#36 0x00007f3aa016b10f in MainWindow::init (this=0x1115380) at ../../src/MainWindow.cpp:337
#37 0x00007f3aa016cdf2 in MainWindow (this=0x1115380) at ../../src/MainWindow.cpp:182
#38 0x00007f3aa01399ef in App::continueInit (this=0x7fffbe8975d0) at ../../src/App.cpp:681
#39 0x00007f3aa013e15b in App (this=0x7fffbe8975d0) at ../../src/App.cpp:212
#40 0x0000000000408778 in main (argc=3, argv=0x7fffbe899548) at ../../src/main.cpp:235

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2010-07-05 22:09:30 UTC
This is already fixed in Amarok 2.3.1

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