Bug 363293 - K3b crash when CD opened in Dolphin
Summary: K3b crash when CD opened in Dolphin
Status: RESOLVED WORKSFORME
Alias: None
Product: k3b
Classification: Applications
Component: general (show other bugs)
Version: 2.0.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: k3b developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-05-19 19:53 UTC by massdosage
Modified: 2020-12-18 08:19 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description massdosage 2016-05-19 19:53:34 UTC
Application: k3b (2.0.3)
KDE Platform Version: 4.14.16
Qt Version: 4.8.7
Operating System: Linux 4.4.0-22-generic x86_64
Distribution: Ubuntu 16.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:

I had K3B open as I'd just ripped an audio CD. I ejected this and put a new CD in, I then clicked on the "recent devices" icon in the system tray and chose to open the CD in Dolphin. As soon as I did this k3b crashed.

-- Backtrace:
Application: K3b (k3b), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f3a4396c940 (LWP 2148))]

Thread 5 (Thread 0x7f3a25f3f700 (LWP 2165)):
#0  0x00007f3a3e312d02 in QBasicAtomicInt::operator!= (value=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:72
#1  postEventSourcePrepare (s=0x7f3a200012e0, timeout=0x7f3a25f3ea74) at kernel/qeventdispatcher_glib.cpp:283
#2  0x00007f3a38bb08ad in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3a38bb124b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3a38bb142c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3a3e3132ce in QEventDispatcherGlib::processEvents (this=0x7f3a200008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#6  0x00007f3a3e2e118f in QEventLoop::processEvents (this=this@entry=0x7f3a25f3ec40, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f3a3e2e14f5 in QEventLoop::exec (this=this@entry=0x7f3a25f3ec40, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f3a3e1d0549 in QThread::exec (this=this@entry=0x12f5a10) at thread/qthread.cpp:538
#9  0x00007f3a3e2c1223 in QInotifyFileSystemWatcherEngine::run (this=0x12f5a10) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f3a3e1d2e3c in QThreadPrivate::start (arg=0x12f5a10) at thread/qthread_unix.cpp:352
#11 0x00007f3a37ec66fa in start_thread (arg=0x7f3a25f3f700) at pthread_create.c:333
#12 0x00007f3a3cb9cb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f3a13234700 (LWP 2687)):
#0  0x00007f3a3cb90e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f3a38bb131c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3a38bb142c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3a3e3132ce in QEventDispatcherGlib::processEvents (this=0x7f3a0c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007f3a3e2e118f in QEventLoop::processEvents (this=this@entry=0x7f3a13233c40, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f3a3e2e14f5 in QEventLoop::exec (this=this@entry=0x7f3a13233c40, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f3a3e1d0549 in QThread::exec (this=this@entry=0x19a5db0) at thread/qthread.cpp:538
#7  0x00007f3a3e2c1223 in QInotifyFileSystemWatcherEngine::run (this=0x19a5db0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f3a3e1d2e3c in QThreadPrivate::start (arg=0x19a5db0) at thread/qthread_unix.cpp:352
#9  0x00007f3a37ec66fa in start_thread (arg=0x7f3a13234700) at pthread_create.c:333
#10 0x00007f3a3cb9cb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f3a1e706700 (LWP 2740)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007f3a3e1d17ea in thread_sleep (ti=ti@entry=0x7f3a1e705c70) at thread/qthread_unix.cpp:495
#2  0x00007f3a3e1d20e3 in QThread::sleep (secs=secs@entry=2) at thread/qthread_unix.cpp:509
#3  0x00007f3a434f90dd in K3b::MediaCache::PollThread::run (this=0x1323260) at /build/k3b-P3O1MD/k3b-2.0.3/libk3b/tools/k3bmediacache.cpp:106
#4  0x00007f3a3e1d2e3c in QThreadPrivate::start (arg=0x1323260) at thread/qthread_unix.cpp:352
#5  0x00007f3a37ec66fa in start_thread (arg=0x7f3a1e706700) at pthread_create.c:333
#6  0x00007f3a3cb9cb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f3a12a33700 (LWP 4417)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007f3a3e1d17ea in thread_sleep (ti=ti@entry=0x7f3a12a32c70) at thread/qthread_unix.cpp:495
#2  0x00007f3a3e1d20e3 in QThread::sleep (secs=secs@entry=2) at thread/qthread_unix.cpp:509
#3  0x00007f3a434f90dd in K3b::MediaCache::PollThread::run (this=0x1965690) at /build/k3b-P3O1MD/k3b-2.0.3/libk3b/tools/k3bmediacache.cpp:106
#4  0x00007f3a3e1d2e3c in QThreadPrivate::start (arg=0x1965690) at thread/qthread_unix.cpp:352
#5  0x00007f3a37ec66fa in start_thread (arg=0x7f3a12a33700) at pthread_create.c:333
#6  0x00007f3a3cb9cb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f3a4396c940 (LWP 2148)):
[KCrash Handler]
#6  0x00007f3a3cacb418 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007f3a3cacd01a in __GI_abort () at abort.c:89
#8  0x00007f3a3e1c7f15 in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=0x2268e08 "ASSERT failure in QVector<T>::at: \"index out of range\", file /usr/include/qt4/QtCore/qvector.h, line 351") at global/qglobal.cpp:2447
#9  0x00007f3a3e1c8371 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=msg@entry=0x7f3a3e34aaa8 "ASSERT failure in %s: \"%s\", file %s, line %d", ap=ap@entry=0x7ffc73a473d0) at global/qglobal.cpp:2493
#10 0x00007f3a3e1c8c91 in qFatal (msg=msg@entry=0x7f3a3e34aaa8 "ASSERT failure in %s: \"%s\", file %s, line %d") at global/qglobal.cpp:2676
#11 0x00007f3a3e1c8d0a in qt_assert_x (where=where@entry=0x5af081 "QVector<T>::at", what=what@entry=0x583aa4 "index out of range", file=file@entry=0x583b20 "/usr/include/qt4/QtCore/qvector.h", line=line@entry=351) at global/qglobal.cpp:2129
#12 0x00000000005123be in QVector<(anonymous namespace)::Node*>::at (i=2, this=0x1a5f4c8) at /usr/include/qt4/QtCore/qvector.h:351
#13 K3b::MetaItemModel::slotRowsInserted (this=0x1586290, parent=..., start=<optimized out>, end=2) at /build/k3b-P3O1MD/k3b-2.0.3/src/k3bmetaitemmodel.cpp:858
#14 0x00007f3a3e2f7010 in QMetaObject::activate (sender=sender@entry=0x154dd60, m=m@entry=0x7f3a3e647900 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x7ffc73a47610) at kernel/qobject.cpp:3567
#15 0x00007f3a3e347524 in QAbstractItemModel::rowsInserted (this=this@entry=0x154dd60, _t1=..., _t2=2, _t3=2) at .moc/release-shared/moc_qabstractitemmodel.cpp:196
#16 0x00007f3a3e2dc572 in QAbstractItemModel::endInsertRows (this=0x154dd60) at kernel/qabstractitemmodel.cpp:2433
#17 0x00007f3a3d969825 in QSortFilterProxyModelPrivate::insert_source_items (this=this@entry=0x1565530, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., orient=orient@entry=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:696
#18 0x00007f3a3d96d337 in QSortFilterProxyModelPrivate::source_items_inserted (this=this@entry=0x1565530, source_parent=..., start=<optimized out>, end=<optimized out>, orient=orient@entry=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:807
#19 0x00007f3a3d96d57f in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x1565530, source_parent=..., start=<optimized out>, end=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:1298
#20 0x00007f3a3e2f7010 in QMetaObject::activate (sender=sender@entry=0x1578760, m=m@entry=0x7f3a3e647900 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x7ffc73a47950) at kernel/qobject.cpp:3567
#21 0x00007f3a3e347524 in QAbstractItemModel::rowsInserted (this=this@entry=0x1578760, _t1=..., _t2=2, _t3=2) at .moc/release-shared/moc_qabstractitemmodel.cpp:196
#22 0x00007f3a3e2dc572 in QAbstractItemModel::endInsertRows (this=0x1578760) at kernel/qabstractitemmodel.cpp:2433
#23 0x00007f3a3f81ed27 in ?? () from /usr/lib/libkio.so.5
#24 0x00007f3a3e2f7010 in QMetaObject::activate (sender=0x154a0e0, m=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3567
#25 0x00007f3a3f805d2a in KDirLister::itemsAdded(KUrl const&, KFileItemList const&) () from /usr/lib/libkio.so.5
#26 0x00007f3a3f8073db in KDirLister::Private::emitItems() () from /usr/lib/libkio.so.5
#27 0x00007f3a3f80f3dc in ?? () from /usr/lib/libkio.so.5
#28 0x00007f3a3f8151ec in ?? () from /usr/lib/libkio.so.5
#29 0x00007f3a3e2f7010 in QMetaObject::activate (sender=0x227a620, m=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3567
#30 0x00007f3a3e779c92 in KJob::result(KJob*) () from /usr/lib/libkdecore.so.5
#31 0x00007f3a3e779ce0 in KJob::emitResult() () from /usr/lib/libkdecore.so.5
#32 0x00007f3a3f7eca1e in KIO::SimpleJob::slotFinished() () from /usr/lib/libkio.so.5
#33 0x00007f3a3f7f212e in KIO::ListJob::slotFinished() () from /usr/lib/libkio.so.5
#34 0x00007f3a3e2f7010 in QMetaObject::activate (sender=0x237a410, m=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3567
#35 0x00007f3a3f89b546 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib/libkio.so.5
#36 0x00007f3a3f89839d in KIO::SlaveInterface::dispatch() () from /usr/lib/libkio.so.5
#37 0x00007f3a3f88abc1 in KIO::Slave::gotInput() () from /usr/lib/libkio.so.5
#38 0x00007f3a3e2f7010 in QMetaObject::activate (sender=0x23ce9f0, m=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3567
#39 0x00007f3a3f7b2ba4 in ?? () from /usr/lib/libkio.so.5
#40 0x00007f3a3e2fcdb1 in QObject::event (this=0x23ce9f0, e=<optimized out>) at kernel/qobject.cpp:1222
#41 0x00007f3a3d3a5fdc in QApplicationPrivate::notify_helper (this=this@entry=0x11bf6e0, receiver=receiver@entry=0x23ce9f0, e=e@entry=0x2332f90) at kernel/qapplication.cpp:4570
#42 0x00007f3a3d3acf16 in QApplication::notify (this=0x7ffc73a48d10, receiver=0x23ce9f0, e=0x2332f90) at kernel/qapplication.cpp:4356
#43 0x00007f3a3efaa6aa in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#44 0x00007f3a3e2e290d in QCoreApplication::notifyInternal (this=0x7ffc73a48d10, receiver=receiver@entry=0x23ce9f0, event=event@entry=0x2332f90) at kernel/qcoreapplication.cpp:955
#45 0x00007f3a3e2e63c6 in QCoreApplication::sendEvent (event=0x2332f90, receiver=0x23ce9f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#46 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1184310) at kernel/qcoreapplication.cpp:1579
#47 0x00007f3a3e2e66a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1472
#48 0x00007f3a3e31313e in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#49 postEventSourceDispatch (s=0x11a91c0) at kernel/qeventdispatcher_glib.cpp:300
#50 0x00007f3a38bb1127 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007f3a38bb1380 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x00007f3a38bb142c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#53 0x00007f3a3e3132ae in QEventDispatcherGlib::processEvents (this=0x114cf20, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#54 0x00007f3a3d453616 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#55 0x00007f3a3e2e118f in QEventLoop::processEvents (this=this@entry=0x7ffc73a48c20, flags=...) at kernel/qeventloop.cpp:149
#56 0x00007f3a3e2e14f5 in QEventLoop::exec (this=this@entry=0x7ffc73a48c20, flags=...) at kernel/qeventloop.cpp:204
#57 0x00007f3a3e2e74b9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#58 0x00007f3a3d3a422c in QApplication::exec () at kernel/qapplication.cpp:3828
#59 0x00000000004451cd in main (argc=<optimized out>, argv=<optimized out>) at /build/k3b-P3O1MD/k3b-2.0.3/src/main.cpp:165

Possible duplicates by query: bug 362228.

Reported using DrKonqi
Comment 1 Leslie Zhai 2016-09-06 02:39:07 UTC
Hi massdosage,

Please try k3b master https://github.com/KDE/k3b if still crashed please paste the new crash info again, thanks a lot!

Regards,
Leslie Zhai
Comment 2 Denis Kurz 2018-01-31 16:06:09 UTC
You might want to consider if this was caused by a Qt bug that was resolved fixed in 5.8, as described in Bug 361895, Comment 1.
Comment 3 Justin Zobel 2020-12-17 05:33:49 UTC
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 4 massdosage 2020-12-18 08:19:52 UTC
Wow, this was a trip down memory lane :)

I tested it now using K3b Version 19.12.3 on Kubuntu 20.04 and the crash didn't occur so it looks like this is no longer an issuue.