Bug 392694

Summary: konsole crashed (one tab was displaying binary data)
Product: [Applications] konsole Reporter: Luiz Angelo De Luca <luizluca>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: crash CC: justin.zobel
Priority: NOR Keywords: drkonqi
Version: 17.12.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Luiz Angelo De Luca 2018-04-03 22:21:09 UTC
Application: konsole (17.12.3)

Qt Version: 5.10.0
Frameworks Version: 5.44.0
Operating System: Linux 4.15.13-1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
I was running catdoc over a bunch of corrupted .doc files. Some generate junk output.

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff7d3fbd800 (LWP 9688))]

Thread 9 (Thread 0x7ff79e7fc700 (LWP 9697)):
#0  0x00007ff7cb65956c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff7ac2f6a4b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007ff7ac2f6777 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007ff7cb65359b in start_thread () from /lib64/libpthread.so.0
#4  0x00007ff7d38f0a1f in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7ff79effd700 (LWP 9696)):
#0  0x00007ff7cb65956c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff7ac2f6a4b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007ff7ac2f6777 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007ff7cb65359b in start_thread () from /lib64/libpthread.so.0
#4  0x00007ff7d38f0a1f in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7ff79f7fe700 (LWP 9695)):
#0  0x00007ff7cb65956c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff7ac2f6a4b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007ff7ac2f6777 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007ff7cb65359b in start_thread () from /lib64/libpthread.so.0
#4  0x00007ff7d38f0a1f in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7ff79ffff700 (LWP 9694)):
#0  0x00007ff7cb65956c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff7ac2f6a4b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007ff7ac2f6777 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007ff7cb65359b in start_thread () from /lib64/libpthread.so.0
#4  0x00007ff7d38f0a1f in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7ff7a4b66700 (LWP 9693)):
#0  0x00007ff7cb65956c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff7ac2f6a4b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007ff7ac2f6777 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007ff7cb65359b in start_thread () from /lib64/libpthread.so.0
#4  0x00007ff7d38f0a1f in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7ff7a5367700 (LWP 9692)):
#0  0x00007ff7cb65956c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff7ac2f6a4b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007ff7ac2f6777 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007ff7cb65359b in start_thread () from /lib64/libpthread.so.0
#4  0x00007ff7d38f0a1f in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7ff7a80c5700 (LWP 9691)):
#0  0x00007ff7cb65956c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff7ac2f6a4b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007ff7ac2f6777 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007ff7cb65359b in start_thread () from /lib64/libpthread.so.0
#4  0x00007ff7d38f0a1f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7ff7b7fff700 (LWP 9690)):
#0  0x00007ff7d38e6179 in poll () from /lib64/libc.so.6
#1  0x00007ff7c9636429 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ff7c963653c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ff7cfe5fa2b in QEventDispatcherGlib::processEvents (this=0x7ff7b0000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007ff7cfe0695a in QEventLoop::exec (this=this@entry=0x7ff7b7ffed90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007ff7cfc2dbaa in QThread::exec (this=<optimized out>) at thread/qthread.cpp:522
#6  0x00007ff7cdfaca35 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007ff7cfc32ba0 in QThreadPrivate::start (arg=0x7ff7ce21cd60) at thread/qthread_unix.cpp:376
#8  0x00007ff7cb65359b in start_thread () from /lib64/libpthread.so.0
#9  0x00007ff7d38f0a1f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ff7d3fbd800 (LWP 9688)):
[KCrash Handler]
#6  Konsole::Screen::copyFromHistory (this=this@entry=0x55c383c8be40, dest=dest@entry=0x55c384549310, startLine=startLine@entry=1189710, count=count@entry=56) at /usr/src/debug/konsole-17.12.3-1.1.x86_64/src/Screen.cpp:423
#7  0x00007ff7d35510e5 in Konsole::Screen::getImage (this=this@entry=0x55c383c8be40, dest=0x55c384549310, size=size@entry=10584, startLine=1189710, endLine=endLine@entry=1189765) at /usr/src/debug/konsole-17.12.3-1.1.x86_64/src/Screen.cpp:472
#8  0x00007ff7d35541e3 in Konsole::ScreenWindow::getImage (this=0x55c3840fb560) at /usr/src/debug/konsole-17.12.3-1.1.x86_64/src/ScreenWindow.cpp:74
#9  0x00007ff7d3580e93 in Konsole::TerminalDisplay::updateImage (this=0x55c38390c0a0) at /usr/src/debug/konsole-17.12.3-1.1.x86_64/src/TerminalDisplay.cpp:1102
#10 0x00007ff7cfe3636c in QtPrivate::QSlotObjectBase::call (a=0x7ffd836902d0, r=0x55c38390c0a0, this=0x55c3840fb920) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:378
#11 QMetaObject::activate (sender=0x55c3840fb560, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3749
#12 0x00007ff7cfe3636c in QtPrivate::QSlotObjectBase::call (a=0x7ffd836903c0, r=0x55c3840fb560, this=0x55c3840fb820) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:378
#13 QMetaObject::activate (sender=sender@entry=0x55c383d8de80, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x0) at kernel/qobject.cpp:3749
#14 0x00007ff7cfe36977 in QMetaObject::activate (sender=sender@entry=0x55c383d8de80, m=m@entry=0x7ff7d37ef3e0 <Konsole::Emulation::staticMetaObject>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x0) at kernel/qobject.cpp:3628
#15 0x00007ff7d35a2553 in Konsole::Emulation::outputChanged (this=this@entry=0x55c383d8de80) at /usr/src/debug/konsole-17.12.3-1.1.x86_64/build/src/konsoleprivate_autogen/EWIEGA46WW/moc_Emulation.cpp:454
#16 0x00007ff7d35227ae in Konsole::Emulation::showBulk (this=0x55c383d8de80) at /usr/src/debug/konsole-17.12.3-1.1.x86_64/src/Emulation.cpp:323
#17 0x00007ff7cfe3636c in QtPrivate::QSlotObjectBase::call (a=0x7ffd83690540, r=0x55c383d8de80, this=0x55c384096ab0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:378
#18 QMetaObject::activate (sender=sender@entry=0x55c383d8def0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd83690540) at kernel/qobject.cpp:3749
#19 0x00007ff7cfe36977 in QMetaObject::activate (sender=sender@entry=0x55c383d8def0, m=m@entry=0x7ff7d0265ea0 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd83690540) at kernel/qobject.cpp:3628
#20 0x00007ff7cfe426e7 in QTimer::timeout (this=this@entry=0x55c383d8def0, _t1=...) at .moc/moc_qtimer.cpp:200
#21 0x00007ff7cfe42a18 in QTimer::timerEvent (this=0x55c383d8def0, e=<optimized out>) at kernel/qtimer.cpp:255
#22 0x00007ff7cfe36c0b in QObject::event (this=0x55c383d8def0, e=<optimized out>) at kernel/qobject.cpp:1268
#23 0x00007ff7d0e2401c in QApplicationPrivate::notify_helper (this=this@entry=0x55c382b00b60, receiver=receiver@entry=0x55c383d8def0, e=e@entry=0x7ffd83690820) at kernel/qapplication.cpp:3733
#24 0x00007ff7d0e2b314 in QApplication::notify (this=0x55c382b00b40, receiver=0x55c383d8def0, e=0x7ffd83690820) at kernel/qapplication.cpp:3492
#25 0x00007ff7cfe08148 in QCoreApplication::notifyInternal2 (receiver=0x55c383d8def0, event=event@entry=0x7ffd83690820) at kernel/qcoreapplication.cpp:1044
#26 0x00007ff7cfe5efbe in QCoreApplication::sendEvent (event=0x7ffd83690820, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#27 QTimerInfoList::activateTimers (this=0x55c382c3aa10) at kernel/qtimerinfo_unix.cpp:643
#28 0x00007ff7cfe5f6d1 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:182
#29 0x00007ff7c9636277 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#30 0x00007ff7c96364b0 in ?? () from /usr/lib64/libglib-2.0.so.0
#31 0x00007ff7c963653c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#32 0x00007ff7cfe5fa0f in QEventDispatcherGlib::processEvents (this=0x55c382b7eb80, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#33 0x00007ff7c2ad1781 in QPAEventDispatcherGlib::processEvents (this=0x55c382b7eb80, flags=...) at qeventdispatcher_glib.cpp:69
#34 0x00007ff7cfe0695a in QEventLoop::exec (this=this@entry=0x7ffd83690a80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#35 0x00007ff7cfe0f494 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1332
#36 0x00007ff7d061345c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1687
#37 0x00007ff7d0e23f75 in QApplication::exec () at kernel/qapplication.cpp:2918
#38 0x00007ff7d3bde137 in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/konsole-17.12.3-1.1.x86_64/src/main.cpp:190
#39 0x00007ff7d3818a87 in __libc_start_main () from /lib64/libc.so.6
#40 0x000055c38092a7fa in _start () at ../sysdeps/x86_64/start.S:120

Reported using DrKonqi
Comment 1 Kurt Hindenburg 2018-04-04 15:54:30 UTC
Can you reproduce this every time?  If so, it would be great to have the portion of the file that causes this crash.
Comment 2 Luiz Angelo De Luca 2018-04-04 23:30:53 UTC
Sorry, I do not have it anymore.
Comment 3 Justin Zobel 2020-12-02 00:45:32 UTC
Luiz confirmed not happening any more.