Bug 400596 - Crash when copying a path by SHIFT-Double clicking on it.
Summary: Crash when copying a path by SHIFT-Double clicking on it.
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: copy-paste (show other bugs)
Version: 18.08.2
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-02 18:36 UTC by Jérôme Poisson
Modified: 2020-12-02 07:41 UTC (History)
1 user (show)

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 Jérôme Poisson 2018-11-02 18:36:18 UTC
Hello,

Konsole crashed 3 times today when I tried to copy a path in a Vim session.

Thanks


Application: konsole (18.08.2)

Qt Version: 5.11.2
Frameworks Version: 5.51.0
Operating System: Linux 4.18.16-arch1-1-ARCH x86_64
Distribution: "Arch Linux"

-- Information about the crash:

I was copying a file path by SHIFT-Double clicking on it. It happened 3 times to me today while Konsole is usually really stable.

The crash can be reproduced sometimes.

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

Thread 4 (Thread 0x7fb9cddf8700 (LWP 18850)):
#0  0x00007fb9ddddcafc in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fb9ce40b1ac in ?? () from /usr/lib/dri/i965_dri.so
#2  0x00007fb9ce40aee8 in ?? () from /usr/lib/dri/i965_dri.so
#3  0x00007fb9dddd6a9d in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007fb9e0856b23 in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7fb9cffff700 (LWP 18849)):
#0  0x00007fb9e084bc21 in poll () from /usr/lib/libc.so.6
#1  0x00007fb9dd392ee0 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fb9dd392fce in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fb9df163fe4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007fb9df10f8cc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007fb9def58eb9 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007fb9de808ba6 in ?? () from /usr/lib/libQt5DBus.so.5
#7  0x00007fb9def62f65 in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007fb9dddd6a9d in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007fb9e0856b23 in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7fb9d6378700 (LWP 18848)):
#0  0x00007fb9e084bc21 in poll () from /usr/lib/libc.so.6
#1  0x00007fb9ddfff630 in ?? () from /usr/lib/libxcb.so.1
#2  0x00007fb9de0012db in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3  0x00007fb9d76e8c5a in ?? () from /usr/lib/libQt5XcbQpa.so.5
#4  0x00007fb9def62f65 in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007fb9dddd6a9d in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007fb9e0856b23 in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7fb9d7ddec80 (LWP 18847)):
[KCrash Handler]
#6  0x00007fb9e068228c in ?? () from /usr/lib/libkonsoleprivate.so.18
#7  0x00007fb9e06ab35c in ?? () from /usr/lib/libkonsoleprivate.so.18
#8  0x00007fb9e06ab637 in ?? () from /usr/lib/libkonsoleprivate.so.18
#9  0x00007fb9e06aca65 in ?? () from /usr/lib/libkonsoleprivate.so.18
#10 0x00007fb9e06acb16 in ?? () from /usr/lib/libkonsoleprivate.so.18
#11 0x00007fb9e067968e in Konsole::Emulation::checkSelectedText() () from /usr/lib/libkonsoleprivate.so.18
#12 0x00007fb9df13abd0 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#13 0x00007fb9e06dd9e9 in Konsole::TerminalDisplay::extendSelection(QPoint const&) () from /usr/lib/libkonsoleprivate.so.18
#14 0x00007fb9e06e1038 in Konsole::TerminalDisplay::mousePressEvent(QMouseEvent*) () from /usr/lib/libkonsoleprivate.so.18
#15 0x00007fb9dfb6413f in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#16 0x00007fb9e06e1a64 in Konsole::TerminalDisplay::event(QEvent*) () from /usr/lib/libkonsoleprivate.so.18
#17 0x00007fb9dfb23e14 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#18 0x00007fb9dfb2b92a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#19 0x00007fb9df110c39 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#20 0x00007fb9dfb2ac11 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQt5Widgets.so.5
#21 0x00007fb9dfb7e98c in ?? () from /usr/lib/libQt5Widgets.so.5
#22 0x00007fb9dfb815d5 in ?? () from /usr/lib/libQt5Widgets.so.5
#23 0x00007fb9dfb23e14 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#24 0x00007fb9dfb2b6e1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#25 0x00007fb9df110c39 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#26 0x00007fb9df5540dc in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt5Gui.so.5
#27 0x00007fb9df556066 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5
#28 0x00007fb9df52fa3c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#29 0x00007fb9d777ee1d in ?? () from /usr/lib/libQt5XcbQpa.so.5
#30 0x00007fb9df10f8cc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#31 0x00007fb9df117bc6 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#32 0x00007fb9e0945997 in kdemain () from /usr/lib/libkdeinit5_konsole.so
#33 0x00007fb9e077f223 in __libc_start_main () from /usr/lib/libc.so.6
#34 0x0000556c9914c05e in _start ()
[Inferior 1 (process 18847) detached]
Comment 1 Kurt Hindenburg 2018-11-02 19:43:37 UTC
Can you provide more info on what you were doing?  Also if you have time to install debug packages, it would provide more info.
Comment 2 Jérôme Poisson 2018-11-03 12:05:43 UTC
Hello Kurt,

as I stated in the report, I was copying a path (by pressing shift + double click). I'm on Arch Linux, and there is no split between package/debug package as on Debian. Is there something I need to activate for more debugging data?
Comment 3 Kurt Hindenburg 2018-11-03 15:26:37 UTC
https://wiki.archlinux.org/index.php/Debug_-_Getting_Traces might be helpful but looking at https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Arch it seems Arch doesn't provide KDE debug symbols.

More info like what link you were clicking, screenshot,  any non-default Konsole options.
Comment 4 Justin Zobel 2020-12-02 00:30:10 UTC
Thanks for the report, Jérôme.

As it's been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I've set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thanks.
Comment 5 Jérôme Poisson 2020-12-02 07:41:49 UTC
Hello Justin and Kurt,

I've actually forgotten about this bug, which means that it's working without problem now. For the record I'm now on Konsole  20.08.3.

Thanks a lot for your work, Konsole is one of my most used tools on my computer.