Bug 401790 - keditfiletype5 crashes when used on video/mpeg SUB file
Summary: keditfiletype5 crashes when used on video/mpeg SUB file
Status: RESOLVED DUPLICATE of bug 398766
Alias: None
Product: kde-cli-tools
Classification: Plasma
Component: general (show other bugs)
Version: 5.14.3
Platform: Debian unstable Linux
: NOR crash
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-05 19:08 UTC by Laurent Bonnaud
Modified: 2018-12-05 22:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
file to reproduce the crash (2.20 MB, text/x-microdvd)
2018-12-05 19:11 UTC, Laurent Bonnaud
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Bonnaud 2018-12-05 19:08:49 UTC
SUMMARY

keditfiletype5 crashes when used on video/mpeg SUB file

STEPS TO REPRODUCE
1. In dolphin, right click on the attached foo.sub file
2. In the keditfiletype5 window click on the icon

OBSERVED RESULT

crash

EXPECTED RESULT

no crash

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.14.3
KDE Frameworks Version: 5.51
Qt Version: 5.11.2

ADDITIONAL INFORMATION

Application: File Type Editor (keditfiletype5), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f3c09960300 (LWP 951069))]

Thread 5 (Thread 0x7f3bff5a9700 (LWP 951073)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55ad78f284f8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55ad78f284a8, cond=0x55ad78f284d0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55ad78f284d0, mutex=0x55ad78f284a8) at pthread_cond_wait.c:655
#3  0x00007f3c03bb363b in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#4  0x00007f3c03bb3147 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#5  0x00007f3c0d110fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007f3c0e02284f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f3bffdaa700 (LWP 951072)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55ad78f28398) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55ad78f28348, cond=0x55ad78f28370) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55ad78f28370, mutex=0x55ad78f28348) at pthread_cond_wait.c:655
#3  0x00007f3c03bb363b in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#4  0x00007f3c03bb3147 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#5  0x00007f3c0d110fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007f3c0e02284f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f3c07892700 (LWP 951071)):
#0  0x00007f3c0e017b99 in __GI___poll (fds=0x55ad7898f860, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f3c0c4b1006 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3c0c4b112c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3c0e529d2b in QEventDispatcherGlib::processEvents (this=0x55ad7898f1b0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f3c0e4d6d0b in QEventLoop::exec (this=this@entry=0x7f3c07891d70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007f3c0e3260c6 in QThread::exec (this=this@entry=0x7f3c0f4d7d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x00007f3c0f45d545 in QDBusConnectionManager::run (this=0x7f3c0f4d7d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#7  0x00007f3c0e32fc97 in QThreadPrivate::start (arg=0x7f3c0f4d7d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:367
#8  0x00007f3c0d110fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#9  0x00007f3c0e02284f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f3c08368700 (LWP 951070)):
#0  0x00007f3c0e017b99 in __GI___poll (fds=fds@entry=0x7f3c08367cb8, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f3c0d694cf7 in poll (__timeout=-1, __nfds=1, __fds=0x7f3c08367cb8) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x55ad78925830, cond=cond@entry=0x55ad78925870, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:479
#3  0x00007f3c0d69691a in xcb_wait_for_event (c=0x55ad78925830) at ../../src/xcb_in.c:697
#4  0x00007f3c094e1519 in QXcbEventReader::run (this=0x55ad78934790) at qxcbconnection.h:409
#5  0x00007f3c0e32fc97 in QThreadPrivate::start (arg=0x55ad78934790) at thread/qthread_unix.cpp:367
#6  0x00007f3c0d110fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#7  0x00007f3c0e02284f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f3c09960300 (LWP 951069)):
[KCrash Handler]
#6  0x00007f3c0e3a041e in QString::mid (this=this@entry=0x55ad78cff828, position=44, n=n@entry=-1) at tools/qstring.cpp:4769
#7  0x00007f3c0f7cb1b9 in sortByFileName (path1=..., path2=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:88
#8  0x00007f3c0f7ceaa1 in __gnu_cxx::__ops::_Val_comp_iter<bool (*)(QString const&, QString const&)>::operator()<QString, QList<QString>::iterator> (this=<synthetic pointer>, __it=..., __val=...) at /usr/include/c++/8/bits/predefined_ops.h:214
#9  std::__unguarded_linear_insert<QList<QString>::iterator, __gnu_cxx::__ops::_Val_comp_iter<bool (*)(QString const&, QString const&)> > (__last=..., __comp=__comp@entry=...) at /usr/include/c++/8/bits/stl_algo.h:1828
#10 0x00007f3c0f7cd2fc in std::__unguarded_insertion_sort<QList<QString>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(QString const&, QString const&)> > (__first=..., __comp=..., __last=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:239
#11 std::__final_insertion_sort<QList<QString>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(QString const&, QString const&)> > (__comp=..., __last=..., __first=...) at /usr/include/c++/8/bits/stl_algo.h:1886
#12 std::__sort<QList<QString>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(QString const&, QString const&)> > (__comp=..., __last=..., __first=...) at /usr/include/c++/8/bits/stl_algo.h:1971
#13 std::sort<QList<QString>::iterator, bool (*)(QString const&, QString const&)> (__first=..., __last=..., __comp=0x7f3c0f7cb140 <sortByFileName(QString const&, QString const&)>) at /usr/include/c++/8/bits/stl_algo.h:4866
#14 KIconDialog::KIconDialogPrivate::showIcons (this=0x55ad78b8e000) at ./src/kicondialog.cpp:447
#15 0x00007f3c0f7cf447 in ShowEventFilter::eventFilter (this=0x55ad78c4eb20, watched=0x55ad78bc2840, event=0x7ffeb99b1f40) at ./src/kicondialog.cpp:243
#16 0x00007f3c0e4d7d4b in QCoreApplicationPrivate::sendThroughObjectEventFilters (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.cpp:1174
#17 QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x55ad78bc2840, event=event@entry=0x7ffeb99b1f40) at kernel/qcoreapplication.cpp:1163
#18 0x00007f3c0ef4e481 in QApplicationPrivate::notify_helper (this=this@entry=0x55ad7890f220, receiver=receiver@entry=0x55ad78bc2840, e=e@entry=0x7ffeb99b1f40) at kernel/qapplication.cpp:3723
#19 0x00007f3c0ef55ad0 in QApplication::notify (this=0x7ffeb99b2e00, receiver=0x55ad78bc2840, e=0x7ffeb99b1f40) at kernel/qapplication.cpp:3486
#20 0x00007f3c0e4d8039 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x55ad78bc2840, event=event@entry=0x7ffeb99b1f40) at ../../include/QtCore/5.11.2/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:307
#21 0x00007f3c0ef891d8 in QCoreApplication::sendEvent (event=0x7ffeb99b1f40, receiver=0x55ad78bc2840) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#22 QWidgetPrivate::show_helper (this=this@entry=0x55ad78bb8700) at kernel/qwidget.cpp:8045
#23 0x00007f3c0ef8c36b in QWidget::setVisible (this=this@entry=0x55ad78bc2840, visible=visible@entry=true) at kernel/qwidget.cpp:8341
#24 0x00007f3c0f1399ca in QDialog::setVisible (this=0x55ad78bc2840, visible=<optimized out>) at dialogs/qdialog.cpp:724
#25 0x00007f3c0f7caa6b in KIconButton::KIconButtonPrivate::_k_slotChangeIcon (this=0x55ad78a64df0) at ./src/kiconbutton.cpp:168
#26 0x00007f3c0e5013e0 in QtPrivate::QSlotObjectBase::call (a=0x7ffeb99b21e0, r=0x55ad78a31f00, this=0x55ad78a8edf0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:376
#27 QMetaObject::activate (sender=0x55ad78a31f00, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3754
#28 0x00007f3c0f034712 in QAbstractButton::clicked (this=this@entry=0x55ad78a31f00, _t1=<optimized out>) at .moc/moc_qabstractbutton.cpp:308
#29 0x00007f3c0f03492a in QAbstractButtonPrivate::emitClicked (this=0x55ad78a31f50) at widgets/qabstractbutton.cpp:414
#30 0x00007f3c0f035cef in QAbstractButtonPrivate::click (this=0x55ad78a31f50) at widgets/qabstractbutton.cpp:407
#31 0x00007f3c0f035ec5 in QAbstractButton::mouseReleaseEvent (this=0x55ad78a31f00, e=0x7ffeb99b2680) at widgets/qabstractbutton.cpp:1011
#32 0x00007f3c0ef8c7c8 in QWidget::event (this=0x55ad78a31f00, event=0x7ffeb99b2680) at kernel/qwidget.cpp:8925
#33 0x00007f3c0ef4e491 in QApplicationPrivate::notify_helper (this=this@entry=0x55ad7890f220, receiver=receiver@entry=0x55ad78a31f00, e=e@entry=0x7ffeb99b2680) at kernel/qapplication.cpp:3727
#34 0x00007f3c0ef55d18 in QApplication::notify (this=<optimized out>, receiver=0x55ad78a31f00, e=0x7ffeb99b2680) at kernel/qapplication.cpp:3203
#35 0x00007f3c0e4d8039 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x55ad78a31f00, event=event@entry=0x7ffeb99b2680) at ../../include/QtCore/5.11.2/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:307
#36 0x00007f3c0ef55019 in QCoreApplication::sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#37 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x55ad78a31f00, event=event@entry=0x7ffeb99b2680, alienWidget=alienWidget@entry=0x55ad78a31f00, nativeWidget=0x7ffeb99b2e10, buttonDown=buttonDown@entry=0x7f3c0f446870 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2695
#38 0x00007f3c0efa7304 in QWidgetWindow::handleMouseEvent (this=0x55ad78c5ba80, event=0x7ffeb99b2a80) at /usr/include/c++/8/bits/atomic_base.h:390
#39 0x00007f3c0efa9e8e in QWidgetWindow::event (event=0x7ffeb99b2a80, this=0x55ad78c5ba80) at kernel/qwidgetwindow.cpp:281
#40 QWidgetWindow::event (this=0x55ad78c5ba80, event=0x7ffeb99b2a80) at kernel/qwidgetwindow.cpp:224
#41 0x00007f3c0ef4e491 in QApplicationPrivate::notify_helper (this=this@entry=0x55ad7890f220, receiver=receiver@entry=0x55ad78c5ba80, e=e@entry=0x7ffeb99b2a80) at kernel/qapplication.cpp:3727
#42 0x00007f3c0ef55ad0 in QApplication::notify (this=0x7ffeb99b2e00, receiver=0x55ad78c5ba80, e=0x7ffeb99b2a80) at kernel/qapplication.cpp:3486
#43 0x00007f3c0e4d8039 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x55ad78c5ba80, event=event@entry=0x7ffeb99b2a80) at ../../include/QtCore/5.11.2/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:307
#44 0x00007f3c0e883b2b in QCoreApplication::sendSpontaneousEvent (event=0x7ffeb99b2a80, receiver=0x55ad78c5ba80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237
#45 QGuiApplicationPrivate::processMouseEvent (e=0x55ad78b5a620) at kernel/qguiapplication.cpp:2081
#46 0x00007f3c0e885a25 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x55ad78b5a620) at kernel/qguiapplication.cpp:1816
#47 0x00007f3c0e85fd8b in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:1032
#48 0x00007f3c0957485b in QPAEventDispatcherGlib::processEvents (this=0x55ad789150b0, flags=...) at qeventdispatcher_glib.cpp:70
#49 0x00007f3c0e4d6d0b in QEventLoop::exec (this=this@entry=0x7ffeb99b2d00, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#50 0x00007f3c0e4dee82 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#51 0x000055ad77d3c939 in ?? ()
#52 0x00007f3c0df4d09b in __libc_start_main (main=0x55ad77d3c240, argc=4, argv=0x7ffeb99b2f78, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffeb99b2f68) at ../csu/libc-start.c:308
#53 0x000055ad77d3cd1a in _start ()
[Inferior 1 (process 951069) detached]
Comment 1 Laurent Bonnaud 2018-12-05 19:11:43 UTC
Created attachment 116690 [details]
file to reproduce the crash
Comment 2 Christoph Feck 2018-12-05 22:20:03 UTC

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