Bug 392401 - Kate randomly crashes just after opening after double clicking from Dolphin
Summary: Kate randomly crashes just after opening after double clicking from Dolphin
Status: RESOLVED DUPLICATE of bug 395369
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-03-27 10:12 UTC by Marco Cilloni
Modified: 2018-07-19 11:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (3.50 KB, text/plain)
2018-04-20 13:52 UTC, song.fc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Cilloni 2018-03-27 10:12:53 UTC
Application: kate (17.12.3)

Qt Version: 5.10.1
Frameworks Version: 5.44.0
Operating System: Linux 4.15.11-1-ARCH x86_64
Distribution: "Arch Linux"

-- Information about the crash:
- What I was doing when the application crashed:
Sometimes (almost always), after double clicking a file in Dolphin, if Kate opens and I quickly try to scroll using the right bar, Kate receives a SIGSEGV. 
I am using Wayland; I do not see this behaviour when manually launching Kate from a CLI.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fafc9da22c0 (LWP 29221))]

Thread 2 (Thread 0x7fafb2438700 (LWP 29222)):
#0  0x00007fafc46f197b in poll () from /usr/lib/libc.so.6
#1  0x00007fafbe1e4613 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fafbe1e472e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fafc503d264 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007fafc4fdf32b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007fafc4dee72e in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007fafc5460416 in ?? () from /usr/lib/libQt5DBus.so.5
#7  0x00007fafc4df3acd in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007fafc020008c in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007fafc46fbe7f in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7fafc9da22c0 (LWP 29221)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007fafc4fea739 in QMetaObject::cast(QObject const*) const () from /usr/lib/libQt5Core.so.5
#8  0x00007fafc64bca94 in QApplicationPrivate::notifyActiveWindowChange(QWindow*) () from /usr/lib/libQt5Widgets.so.5
#9  0x00007fafc5cade15 in QGuiApplicationPrivate::processActivatedEvent(QWindowSystemInterfacePrivate::ActivatedWindowEvent*) () from /usr/lib/libQt5Gui.so.5
#10 0x00007fafc5cae07e in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5
#11 0x00007fafc5c8529c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#12 0x00007fafb7b014ed in ?? () from /usr/lib/libQt5WaylandClient.so.5
#13 0x00007fafc4fdf32b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#14 0x00007fafc4fe8728 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#15 0x000055f5be38f4b9 in ?? ()
#16 0x00007fafc4626f4a in __libc_start_main () from /usr/lib/libc.so.6
#17 0x000055f5be3904ea in _start ()

Possible duplicates by query: bug 369022.

Reported using DrKonqi
Comment 1 Alexander Mentyu 2018-04-19 13:13:34 UTC
Can reproduce in:

Plasma: 5.12.4
Apps: 17.12.3
Frameworks: 5.45.0
Qt: 5.10.1
Kernel: 4.14.34-1-MANJARO
OS: Netrunner Rolling
Video: Intel 4400
Driver: xf86-video-intel 1:2.99.917+823+gd9bf46e4-1
Screen: 1600x900
wayland-protocols 1.13-1
wayland 1.14.0-1

Application: Kate (kate), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f09441f9300 (LWP 6413))]

Thread 2 (Thread 0x7f092c538700 (LWP 6414)):
#0  0x00007f093eb323d8 in read () from /usr/lib/libc.so.6
#1  0x00007f0938654ed1 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f093860eff8 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#3  0x00007f093860f4c6 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x00007f093860f63e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0x00007f093f482264 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#6  0x00007f093f42432b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#7  0x00007f093f23372e in QThread::exec() () from /usr/lib/libQt5Core.so.5
#8  0x00007f093f8a5416 in ?? () from /usr/lib/libQt5DBus.so.5
#9  0x00007f093f238acd in ?? () from /usr/lib/libQt5Core.so.5
#10 0x00007f093a63308c in start_thread () from /usr/lib/libpthread.so.0
#11 0x00007f093eb40e7f in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f09441f9300 (LWP 6413)):
[KCrash Handler]
#6  0x00007f093f212c65 in ?? () from /usr/lib/libQt5Core.so.5
#7  0x00007f093f42f739 in QMetaObject::cast(QObject const*) const () from /usr/lib/libQt5Core.so.5
#8  0x00007f0940900a94 in QApplicationPrivate::notifyActiveWindowChange(QWindow*) () from /usr/lib/libQt5Widgets.so.5
#9  0x00007f09400f1e15 in QGuiApplicationPrivate::processActivatedEvent(QWindowSystemInterfacePrivate::ActivatedWindowEvent*) () from /usr/lib/libQt5Gui.so.5
#10 0x00007f09400f207e in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5
#11 0x00007f09400c929c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#12 0x00007f0931db24ed in ?? () from /usr/lib/libQt5WaylandClient.so.5
#13 0x00007f093f42432b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#14 0x00007f093f42d728 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#15 0x000055be7bc1a4b9 in ?? ()
#16 0x00007f093ea6bf4a in __libc_start_main () from /usr/lib/libc.so.6
#17 0x000055be7bc1b4ea in _start ()
Comment 2 song.fc 2018-04-20 13:52:00 UTC
Created attachment 112139 [details]
New crash information added by DrKonqi

kate (17.04.3) using Qt 5.9.1

- What I was doing when the application crashed:
just open files with kate, and it sometimes crashes

-- Backtrace (Reduced):
#8  0x00007f093621ce99 in QApplicationPrivate::notifyActiveWindowChange(QWindow*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007f0935a5d8b5 in QGuiApplicationPrivate::processActivatedEvent(QWindowSystemInterfacePrivate::ActivatedWindowEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#10 0x00007f0935a5db0d in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#11 0x00007f0935a35cab in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
[...]
#16 0x00007f0934d9d47f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
Comment 3 Christoph Feck 2018-07-19 11:31:51 UTC

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