Bug 369397 - konsole: select a lot of text may crash the application
Summary: konsole: select a lot of text may crash the application
Status: RESOLVED DUPLICATE of bug 338997
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 16.04.3
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-09-26 20:13 UTC by Francesco Riosa
Modified: 2017-06-27 20:35 UTC (History)
0 users

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 Francesco Riosa 2016-09-26 20:13:03 UTC
Application: konsole (16.04.3)
 (Compiled from sources)
Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.4.20 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
selecting a lot of text (few hundred lines) at a very fast pace, letting konsole "autoscroll" bringing the mouse at the upper part of the window after initial selection, seldomly crash the application

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
84	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f3df8464840 (LWP 7403))]

Thread 2 (Thread 0x7f3df8460700 (LWP 7404)):
#0  0x00007f3e083eb90d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f3dff0a6fc0 in read (__nbytes=16, __buf=0x7f3df845fb40, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#2  g_wakeup_acknowledge (wakeup=0x7f3df0001210) at /usr/src/debug/dev-libs/glib-2.46.2-r3/glib-2.46.2/glib/gwakeup.c:210
#3  0x00007f3dff0639d4 in g_main_context_check (context=context@entry=0x7f3df0001600, max_priority=2147483647, fds=fds@entry=0x7f3df0003390, n_fds=n_fds@entry=1) at /usr/src/debug/dev-libs/glib-2.46.2-r3/glib-2.46.2/glib/gmain.c:3632
#4  0x00007f3dff063e90 in g_main_context_iterate (context=context@entry=0x7f3df0001600, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /usr/src/debug/dev-libs/glib-2.46.2-r3/glib-2.46.2/glib/gmain.c:3837
#5  0x00007f3dff063ffc in g_main_context_iteration (context=0x7f3df0001600, may_block=1) at /usr/src/debug/dev-libs/glib-2.46.2-r3/glib-2.46.2/glib/gmain.c:3901
#6  0x00007f3e05049a5b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#7  0x00007f3e04ffa25a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#8  0x00007f3e04e5bb04 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#9  0x00007f3e089cc5c5 in QDBusConnectionManager::run() () from /usr/lib64/libQt5DBus.so.5
#10 0x00007f3e04e5ff1c in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#11 0x00007f3e00acc434 in start_thread (arg=0x7f3df8460700) at pthread_create.c:334
#12 0x00007f3e083f829d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f3df8464840 (LWP 7403)):
[KCrash Handler]
#6  0x00007f3e0809d69f in Konsole::TerminalDisplay::charClass(Konsole::Character const&) const () from /usr/lib64/libkonsoleprivate.so.16
#7  0x00007f3e080a1242 in Konsole::TerminalDisplay::findWordEnd(QPoint const&) () from /usr/lib64/libkonsoleprivate.so.16
#8  0x00007f3e080a3059 in Konsole::TerminalDisplay::extendSelection(QPoint const&) () from /usr/lib64/libkonsoleprivate.so.16
#9  0x00007f3e0809f6fa in Konsole::TerminalDisplay::mouseMoveEvent(QMouseEvent*) () from /usr/lib64/libkonsoleprivate.so.16
#10 0x00007f3e0587b308 in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#11 0x00007f3e080a615a in Konsole::TerminalDisplay::event(QEvent*) () from /usr/lib64/libkonsoleprivate.so.16
#12 0x00007f3e058360ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#13 0x00007f3e0583be3e in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#14 0x00007f3e04ffb3ea in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#15 0x00007f3e0583ab35 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQt5Widgets.so.5
#16 0x00007f3e05895940 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5
#17 0x00007f3e05898293 in QWidgetWindow::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#18 0x00007f3e058360ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#19 0x00007f3e0583b5e6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#20 0x00007f3e04ffb3ea in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#21 0x00007f3e0532cd7b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib64/libQt5Gui.so.5
#22 0x00007f3e0532e8b5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib64/libQt5Gui.so.5
#23 0x00007f3e0530f46b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Gui.so.5
#24 0x00007f3df796ad00 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/libQt5XcbQpa.so.5
#25 0x00007f3dff063cf7 in g_main_dispatch (context=0x7f3df00016f0) at /usr/src/debug/dev-libs/glib-2.46.2-r3/glib-2.46.2/glib/gmain.c:3154
#26 g_main_context_dispatch (context=context@entry=0x7f3df00016f0) at /usr/src/debug/dev-libs/glib-2.46.2-r3/glib-2.46.2/glib/gmain.c:3769
#27 0x00007f3dff063f50 in g_main_context_iterate (context=context@entry=0x7f3df00016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /usr/src/debug/dev-libs/glib-2.46.2-r3/glib-2.46.2/glib/gmain.c:3840
#28 0x00007f3dff063ffc in g_main_context_iteration (context=0x7f3df00016f0, may_block=1) at /usr/src/debug/dev-libs/glib-2.46.2-r3/glib-2.46.2/glib/gmain.c:3901
#29 0x00007f3e05049a3f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#30 0x00007f3e04ffa25a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#31 0x00007f3e05001bdc in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#32 0x00007f3e086d6132 in kdemain () from /usr/lib64/libkdeinit5_konsole.so
#33 0x00007f3e0832f650 in __libc_start_main (main=0x400740 <main>, argc=1, argv=0x7ffe252c5168, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe252c5158) at libc-start.c:289
#34 0x0000000000400779 in _start ()

Possible duplicates by query: bug 359886.

Reported using DrKonqi
Comment 1 Francesco Riosa 2016-09-26 20:17:11 UTC
this is a duplicate of #359886 but drkonqui didn't let me attach information to that bug (and this happened directly in konsole not yakuake)
Comment 2 Christoph Feck 2017-06-27 20:35:29 UTC

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