Bug 394965

Summary: K3B crashed while configuring options for copying audio cd
Product: [Applications] k3b Reporter: j.neuhaeusser
Component: generalAssignee: k3b developers <k3b>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: michalm, trueg
Priority: NOR Keywords: drkonqi
Version: 2.0.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description j.neuhaeusser 2018-06-02 19:18:59 UTC
Application: k3b (2.0.3)
KDE Platform Version: 4.14.16
Qt Version: 4.8.7
Operating System: Linux 4.9.18-040918-generic x86_64
Distribution: Ubuntu 16.04.4 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I tried to configure the filenames of the audio tracks: e. g. I type %{title}, when 1 or 2 characters have been typed after the leading %{ k3b crashes.

The crash can be reproduced every time.

-- 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 0x7f9e057b7940 (LWP 5081))]

Thread 4 (Thread 0x7f9dde40a700 (LWP 5135)):
#0  0x00007f9dfe9da74d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f9dfa9f738c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9dfa9f749c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9e0015d2ce in QEventDispatcherGlib::processEvents (this=0x7f9dcc0066d0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007f9e0012b18f in QEventLoop::processEvents (this=this@entry=0x7f9dde409c40, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f9e0012b4f5 in QEventLoop::exec (this=this@entry=0x7f9dde409c40, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f9e0001a549 in QThread::exec (this=this@entry=0x2e9d9e0) at thread/qthread.cpp:538
#7  0x00007f9e0010b223 in QInotifyFileSystemWatcherEngine::run (this=0x2e9d9e0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f9e0001ce3c in QThreadPrivate::start (arg=0x2e9d9e0) at thread/qthread_unix.cpp:352
#9  0x00007f9df9d0c6ba in start_thread (arg=0x7f9dde40a700) at pthread_create.c:333
#10 0x00007f9dfe9e641d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f9ddffff700 (LWP 5106)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007f9e0001b7ea in thread_sleep (ti=ti@entry=0x7f9ddfffec70) at thread/qthread_unix.cpp:495
#2  0x00007f9e0001c0e3 in QThread::sleep (secs=secs@entry=2) at thread/qthread_unix.cpp:509
#3  0x00007f9e053440dd in K3b::MediaCache::PollThread::run (this=0x249a8b0) at /build/k3b-P3O1MD/k3b-2.0.3/libk3b/tools/k3bmediacache.cpp:106
#4  0x00007f9e0001ce3c in QThreadPrivate::start (arg=0x249a8b0) at thread/qthread_unix.cpp:352
#5  0x00007f9df9d0c6ba in start_thread (arg=0x7f9ddffff700) at pthread_create.c:333
#6  0x00007f9dfe9e641d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f9de7df9700 (LWP 5082)):
#0  0x00007f9dfe9da74d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f9dfa9f738c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9dfa9f749c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9e0015d2ce in QEventDispatcherGlib::processEvents (this=0x7f9de00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007f9e0012b18f in QEventLoop::processEvents (this=this@entry=0x7f9de7df8c40, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f9e0012b4f5 in QEventLoop::exec (this=this@entry=0x7f9de7df8c40, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f9e0001a549 in QThread::exec (this=this@entry=0x2380ad0) at thread/qthread.cpp:538
#7  0x00007f9e0010b223 in QInotifyFileSystemWatcherEngine::run (this=0x2380ad0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f9e0001ce3c in QThreadPrivate::start (arg=0x2380ad0) at thread/qthread_unix.cpp:352
#9  0x00007f9df9d0c6ba in start_thread (arg=0x7f9de7df9700) at pthread_create.c:333
#10 0x00007f9dfe9e641d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f9e057b7940 (LWP 5081)):
[KCrash Handler]
#6  0x00007f9dfe914428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007f9dfe91602a in __GI_abort () at abort.c:89
#8  0x00007f9e00011f15 in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=0x31588a8 "ASSERT: \"uint(i) < uint(size())\" in file /usr/include/qt4/QtCore/qstring.h, line 701") at global/qglobal.cpp:2447
#9  0x00007f9e00012371 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=msg@entry=0x7f9e00194a80 "ASSERT: \"%s\" in file %s, line %d", ap=ap@entry=0x7fffd067a6c0) at global/qglobal.cpp:2493
#10 0x00007f9e00012c91 in qFatal (msg=msg@entry=0x7f9e00194a80 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2676
#11 0x00007f9e00012ce6 in qt_assert (assertion=assertion@entry=0x5a42e2 "uint(i) < uint(size())", file=file@entry=0x5797e0 "/usr/include/qt4/QtCore/qstring.h", line=line@entry=701) at global/qglobal.cpp:2121
#12 0x00000000004de947 in QString::operator[] (i=<optimized out>, this=0x7fffd067a990) at /usr/include/qt4/QtCore/qstring.h:701
#13 K3b::PatternParser::parsePattern (entry=..., trackNumber=trackNumber@entry=1, extension=..., pattern=..., replace=replace@entry=false, replaceString=...) at /build/k3b-P3O1MD/k3b-2.0.3/src/rip/k3bpatternparser.cpp:65
#14 0x00000000004e2a10 in K3b::AudioRippingDialog::refresh (this=0x7fffd067c070) at /build/k3b-P3O1MD/k3b-2.0.3/src/rip/k3baudiorippingdialog.cpp:400
#15 0x00007f9e00141010 in QMetaObject::activate (sender=sender@entry=0x30d2350, m=m@entry=0x5a7ca0 <K3b::CddbPatternWidget::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3567
#16 0x00000000004ea2a1 in K3b::CddbPatternWidget::changed (this=0x30d2350) at /build/k3b-P3O1MD/k3b-2.0.3/obj-x86_64-linux-gnu/src/k3bcddbpatternwidget.moc:112
#17 K3b::CddbPatternWidget::qt_static_metacall (_o=0x30d2350, _id=<optimized out>, _a=0x7fffd067ac20, _c=<optimized out>) at /build/k3b-P3O1MD/k3b-2.0.3/obj-x86_64-linux-gnu/src/k3bcddbpatternwidget.moc:58
#18 0x00007f9e00141010 in QMetaObject::activate (sender=0x30d4880, m=m@entry=0x7f9dffcef960 <QComboBox::staticMetaObject>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7fffd067ac20) at kernel/qobject.cpp:3567
#19 0x00007f9dff5e4ea5 in QComboBox::textChanged (this=<optimized out>, _t1=...) at .moc/release-shared/moc_qcombobox.cpp:329
#20 0x00007f9e00141010 in QMetaObject::activate (sender=0x30d8270, m=m@entry=0x7f9dffcf1b20 <QLineEdit::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffd067ad30) at kernel/qobject.cpp:3567
#21 0x00007f9dff621582 in QLineEdit::textChanged (this=<optimized out>, _t1=...) at .moc/release-shared/moc_qlineedit.cpp:263
#22 0x00007f9dff6219b9 in QLineEdit::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/release-shared/moc_qlineedit.cpp:139
#23 0x00007f9e00141010 in QMetaObject::activate (sender=sender@entry=0x30d8600, m=m@entry=0x7f9dffd0bc60 <QLineControl::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fffd067ae60) at kernel/qobject.cpp:3567
#24 0x00007f9dff897fc5 in QLineControl::textChanged (this=this@entry=0x30d8600, _t1=...) at .moc/release-shared/moc_qlinecontrol_p.cpp:147
#25 0x00007f9dff625b38 in QLineControl::finishChange (this=this@entry=0x30d8600, validateFromState=21, update=update@entry=false, edited=edited@entry=true) at widgets/qlinecontrol.cpp:670
#26 0x00007f9dff625e05 in QLineControl::insert (this=this@entry=0x30d8600, newText=...) at widgets/qlinecontrol.cpp:248
#27 0x00007f9dff6276e2 in QLineControl::processKeyEvent (this=0x30d8600, event=event@entry=0x7fffd067b620) at widgets/qlinecontrol.cpp:1898
#28 0x00007f9dff61bfda in QLineEdit::keyPressEvent (this=0x30d8270, event=0x7fffd067b620) at widgets/qlineedit.cpp:1707
#29 0x00007f9e00eb4f58 in KLineEdit::keyPressEvent(QKeyEvent*) () from /usr/lib/libkdeui.so.5
#30 0x00007f9dff247373 in QWidget::event (this=this@entry=0x30d8270, event=event@entry=0x7fffd067b620) at kernel/qwidget.cpp:8435
#31 0x00007f9dff621a63 in QLineEdit::event (this=0x30d8270, e=0x7fffd067b620) at widgets/qlineedit.cpp:1524
#32 0x00007f9e00eb62c4 in KLineEdit::event(QEvent*) () from /usr/lib/libkdeui.so.5
#33 0x00007f9dff5e9465 in QComboBox::keyPressEvent (this=<optimized out>, e=0x7fffd067b620) at widgets/qcombobox.cpp:2941
#34 0x00007f9dff247373 in QWidget::event (this=0x30d4880, event=0x7fffd067b620) at kernel/qwidget.cpp:8435
#35 0x00007f9dff1effdc in QApplicationPrivate::notify_helper (this=this@entry=0x223e140, receiver=receiver@entry=0x30d4880, e=e@entry=0x7fffd067b620) at kernel/qapplication.cpp:4570
#36 0x00007f9dff1f8263 in QApplication::notify (this=<optimized out>, receiver=0x30d4880, e=0x7fffd067b620) at kernel/qapplication.cpp:4011
#37 0x00007f9e00df464a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#38 0x00007f9e0012c90d in QCoreApplication::notifyInternal (this=0x7fffd067d010, receiver=receiver@entry=0x30d4880, event=event@entry=0x7fffd067b620) at kernel/qcoreapplication.cpp:955
#39 0x00007f9dff1ee446 in QCoreApplication::sendSpontaneousEvent (event=event@entry=0x7fffd067b620, receiver=receiver@entry=0x30d4880) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#40 qt_sendSpontaneousEvent (receiver=receiver@entry=0x30d4880, event=event@entry=0x7fffd067b620) at kernel/qapplication.cpp:5568
#41 0x00007f9dff29a6b3 in QKeyMapper::sendKeyEvent (keyWidget=keyWidget@entry=0x30d4880, grab=grab@entry=false, type=QEvent::KeyPress, code=73, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=31, nativeVirtualKey=105, nativeModifiers=16) at kernel/qkeymapper_x11.cpp:1866
#42 0x00007f9dff29abc2 in QKeyMapperPrivate::translateKeyEvent (this=0x7fffd067bb90, keyWidget=0x30d4880, event=0x0, grab=<optimized out>) at kernel/qkeymapper_x11.cpp:1836
#43 0x00007f9dff272d21 in QApplication::x11ProcessEvent (this=0x7fffd067d010, event=event@entry=0x7fffd067bb90) at kernel/qapplication_x11.cpp:3641
#44 0x00007f9dff29d542 in x11EventSourceDispatch (s=0x223f670, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#45 0x00007f9dfa9f7197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007f9dfa9f73f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007f9dfa9f749c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007f9e0015d2ae in QEventDispatcherGlib::processEvents (this=0x21cff20, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#49 0x00007f9dff29d616 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#50 0x00007f9e0012b18f in QEventLoop::processEvents (this=this@entry=0x7fffd067bf80, flags=...) at kernel/qeventloop.cpp:149
#51 0x00007f9e0012b4f5 in QEventLoop::exec (this=this@entry=0x7fffd067bf80, flags=...) at kernel/qeventloop.cpp:204
#52 0x00007f9dff6d2a3c in QDialog::exec (this=this@entry=0x7fffd067c070) at dialogs/qdialog.cpp:562
#53 0x000000000053dd77 in K3b::InteractionDialog::exec (this=this@entry=0x7fffd067c070) at /build/k3b-P3O1MD/k3b-2.0.3/src/k3binteractiondialog.cpp:526
#54 0x00000000004e6f61 in K3b::AudioCdView::startRip (this=0x29342f0) at /build/k3b-P3O1MD/k3b-2.0.3/src/rip/k3baudiocdview.cpp:315
#55 0x00007f9e00141010 in QMetaObject::activate (sender=sender@entry=0x294cca0, m=m@entry=0x7f9dffce6da0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffd067c260) at kernel/qobject.cpp:3567
#56 0x00007f9dff1e9d62 in QAction::triggered (this=this@entry=0x294cca0, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#57 0x00007f9dff1eb0b3 in QAction::activate (this=0x294cca0, event=<optimized out>) at kernel/qaction.cpp:1257
#58 0x00007f9dff5cb623 in QAbstractButtonPrivate::click (this=this@entry=0x29502d0) at widgets/qabstractbutton.cpp:530
#59 0x00007f9dff5cb774 in QAbstractButton::mouseReleaseEvent (this=0x29502a0, e=0x7fffd067c7e0) at widgets/qabstractbutton.cpp:1123
#60 0x00007f9dff69173a in QToolButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:723
#61 0x00007f9dff2468d0 in QWidget::event (this=0x29502a0, event=0x7fffd067c7e0) at kernel/qwidget.cpp:8775
#62 0x00007f9dff1effdc in QApplicationPrivate::notify_helper (this=this@entry=0x223e140, receiver=receiver@entry=0x29502a0, e=e@entry=0x7fffd067c7e0) at kernel/qapplication.cpp:4570
#63 0x00007f9dff1f70d6 in QApplication::notify (this=<optimized out>, receiver=0x29502a0, e=0x7fffd067c7e0) at kernel/qapplication.cpp:4113
#64 0x00007f9e00df464a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#65 0x00007f9e0012c90d in QCoreApplication::notifyInternal (this=0x7fffd067d010, receiver=receiver@entry=0x29502a0, event=event@entry=0x7fffd067c7e0) at kernel/qcoreapplication.cpp:955
#66 0x00007f9dff1f66dd in QCoreApplication::sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#67 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x29502a0, event=event@entry=0x7fffd067c7e0, alienWidget=alienWidget@entry=0x29502a0, nativeWidget=nativeWidget@entry=0x256aec0, buttonDown=buttonDown@entry=0x7f9dffd1b368 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3178
#68 0x00007f9dff2743f2 in QETWidget::translateMouseEvent (this=this@entry=0x256aec0, event=event@entry=0x7fffd067cb40) at kernel/qapplication_x11.cpp:4638
#69 0x00007f9dff273c83 in QApplication::x11ProcessEvent (this=0x7fffd067d010, event=event@entry=0x7fffd067cb40) at kernel/qapplication_x11.cpp:3626
#70 0x00007f9dff29d542 in x11EventSourceDispatch (s=0x223f670, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#71 0x00007f9dfa9f7197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#72 0x00007f9dfa9f73f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#73 0x00007f9dfa9f749c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#74 0x00007f9e0015d2ae in QEventDispatcherGlib::processEvents (this=0x21cff20, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#75 0x00007f9dff29d616 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#76 0x00007f9e0012b18f in QEventLoop::processEvents (this=this@entry=0x7fffd067cf20, flags=...) at kernel/qeventloop.cpp:149
#77 0x00007f9e0012b4f5 in QEventLoop::exec (this=this@entry=0x7fffd067cf20, flags=...) at kernel/qeventloop.cpp:204
#78 0x00007f9e001314b9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#79 0x00007f9dff1ee22c in QApplication::exec () at kernel/qapplication.cpp:3828
#80 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 382788.

Reported using DrKonqi
Comment 1 Christoph Feck 2018-06-15 11:29:14 UTC
k3b for KDE4 is unmaintained. Please use a Qt5-based version, such as 17.x or 18.x.