Bug 383997

Summary: Yakuake/Konsole crashed when selecting long scrollback
Product: [Applications] yakuake Reporter: Nico Kruber <nico.kruber>
Component: generalAssignee: Eike Hein <hein>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 3.0.4   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nico Kruber 2017-08-25 08:45:34 UTC
Application: yakuake (3.0.4)

Qt Version: 5.9.1
Frameworks Version: 5.36.0
Operating System: Linux 4.12.8-1-default x86_64
Distribution (Platform): openSUSE RPMs

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

When I was trying to copy from a very big portion of a maven output by selecting lines top down (probably around 75000 of the 100000 lines I enabled for the scrollback), yakuake crashed before I reached everything I wanted to copy. I was still selecting (via mouse) while it was crashing.

- Custom settings of the application:

scrollback set to 100000 lines

-- Backtrace:
Application: Yakuake (yakuake), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f189af14f00 (LWP 3127))]

Thread 3 (Thread 0x7f187f806700 (LWP 3140)):
#0  0x00007f18954adefd in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f18900d0840 in read (__nbytes=16, __buf=0x7f187f805ad0, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#2  g_wakeup_acknowledge (wakeup=0xe95ef7f7b0) at gwakeup.c:210
#3  0x00007f189008c7fb in g_main_context_check (context=context@entry=0x7f1878000990, max_priority=2147483647, fds=fds@entry=0x7f1878003020, n_fds=n_fds@entry=1) at gmain.c:3750
#4  0x00007f189008ccc0 in g_main_context_iterate (context=context@entry=0x7f1878000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3969
#5  0x00007f189008ce2c in g_main_context_iteration (context=0x7f1878000990, may_block=1) at gmain.c:4033
#6  0x00007f1895dd06ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#7  0x00007f1895d7935a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#8  0x00007f1895ba931a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#9  0x00007f18979c1a45 in QDBusConnectionManager::run() () from /usr/lib64/libQt5DBus.so.5
#10 0x00007f1895badd2e in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#11 0x00007f18919844d7 in start_thread (arg=0x7f187f806700) at pthread_create.c:456
#12 0x00007f18954bbb2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 2 (Thread 0x7f1886a12700 (LWP 3133)):
#0  0x00007f18954b218d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f18939c5387 in poll (__timeout=-1, __nfds=1, __fds=0x7f1886a11c08) at /usr/include/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0xe95ef30b90, cond=cond@entry=0xe95ef30bd0, vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:479
#3  0x00007f18939c716a in xcb_wait_for_event (c=0xe95ef30b90) at xcb_in.c:693
#4  0x00007f18897d74b9 in QXcbEventReader::run() () from /usr/lib64/libQt5XcbQpa.so.5
#5  0x00007f1895badd2e in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#6  0x00007f18919844d7 in start_thread (arg=0x7f1886a12700) at pthread_create.c:456
#7  0x00007f18954bbb2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 1 (Thread 0x7f189af14f00 (LWP 3127)):
[KCrash Handler]
#6  0x00007f1872cefbed in Konsole::TerminalDisplay::charClass (this=this@entry=0xe95f247c30, ch=...) at /usr/src/debug/konsole-17.04.3/src/TerminalDisplay.cpp:2790
#7  0x00007f1872cf5935 in Konsole::TerminalDisplay::findWordStart (this=this@entry=0xe95f247c30, pnt=...) at /usr/src/debug/konsole-17.04.3/src/TerminalDisplay.cpp:2622
#8  0x00007f1872cf63a9 in Konsole::TerminalDisplay::extendSelection (this=this@entry=0xe95f247c30, position=...) at /usr/src/debug/konsole-17.04.3/src/TerminalDisplay.cpp:2243
#9  0x00007f1872cf232c in Konsole::TerminalDisplay::mouseMoveEvent (this=0xe95f247c30, ev=0x7ffe3f64df10) at /usr/src/debug/konsole-17.04.3/src/TerminalDisplay.cpp:2168
#10 0x00007f1896b3d728 in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#11 0x00007f1872cf879a in Konsole::TerminalDisplay::event (this=0xe95f247c30, event=0x7ffe3f64df10) at /usr/src/debug/konsole-17.04.3/src/TerminalDisplay.cpp:3216
#12 0x00007f1896aff93c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#13 0x00007f1896b0720f in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#14 0x00007f1895d7ad48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#15 0x00007f1896b0625f in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQt5Widgets.so.5
#16 0x00007f1896b5789b in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5
#17 0x00007f1896b59cf1 in QWidgetWindow::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#18 0x00007f1896aff93c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#19 0x00007f1896b06cb4 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#20 0x00007f1895d7ad48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#21 0x00007f1896345b8b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib64/libQt5Gui.so.5
#22 0x00007f18963474d5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib64/libQt5Gui.so.5
#23 0x00007f1896320f9b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Gui.so.5
#24 0x00007f1889836ce0 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/libQt5XcbQpa.so.5
#25 0x00007f189008cb67 in g_main_dispatch (context=0x7f18800016f0) at gmain.c:3234
#26 g_main_context_dispatch (context=context@entry=0x7f18800016f0) at gmain.c:3899
#27 0x00007f189008cd98 in g_main_context_iterate (context=context@entry=0x7f18800016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3972
#28 0x00007f189008ce2c in g_main_context_iteration (context=0x7f18800016f0, may_block=1) at gmain.c:4033
#29 0x00007f1895dd068f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#30 0x00007f1895d7935a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#31 0x00007f1895d81be4 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#32 0x000000e95e30ca92 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/yakuake-3.0.4/app/main.cpp:88

Reported using DrKonqi
Comment 1 Christoph Feck 2017-09-13 22:38:21 UTC

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