Application: kate (18.04.3) Qt Version: 5.11.1 Frameworks Version: 5.50.0 Operating System: Linux 4.18.0-12-generic x86_64 Distribution: Ubuntu 18.10 -- Information about the crash: - What I was doing when the application crashed: Opened a nginx config file - Custom settings of the application: Added this syntax highlight https://github.com/mtorromeo/kate-syntax-files/blob/master/nginx.xml (the xml may have a bug, can't tell) The crash can be reproduced every time. -- Backtrace: Application: Kate (kate), signal: Segmentation fault Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0x7fe035994800 (LWP 13993))] Thread 3 (Thread 0x7fe031af9700 (LWP 13995)): #0 0x00007fe03b9726d9 in __GI___poll (fds=0x7fe024004db0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fe038eb1e46 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fe038eb1f6c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007fe03be9715b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007fe03be4416b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007fe03bc930b6 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007fe03c150545 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 #7 0x00007fe03bc9cc87 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #8 0x00007fe03a1ea164 in start_thread (arg=<optimized out>) at pthread_create.c:486 #9 0x00007fe03b97edef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7fe033c39700 (LWP 13994)): #0 0x00007fe03b9726d9 in __GI___poll (fds=0x7fe033c38cb8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fe03a411917 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #2 0x00007fe03a41353a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #3 0x00007fe034ffe159 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #4 0x00007fe03bc9cc87 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007fe03a1ea164 in start_thread (arg=<optimized out>) at pthread_create.c:486 #6 0x00007fe03b97edef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7fe035994800 (LWP 13993)): [KCrash Handler] #6 0x00007fe03d8030ca in ?? () from /usr/lib/x86_64-linux-gnu/libKF5TextEditor.so.5 #7 0x00007fe03b309c2d in KSyntaxHighlighting::AbstractHighlighter::highlightLine(QString const&, KSyntaxHighlighting::State const&) () from /usr/lib/x86_64-linux-gnu/libKF5SyntaxHighlighting.so.5 #8 0x00007fe03d8d86cd in ?? () from /usr/lib/x86_64-linux-gnu/libKF5TextEditor.so.5 #9 0x00007fe03d87c5a5 in KateBuffer::doHighlight(int, int, bool) () from /usr/lib/x86_64-linux-gnu/libKF5TextEditor.so.5 #10 0x00007fe03d860f03 in KTextEditor::DocumentPrivate::editEnd() () from /usr/lib/x86_64-linux-gnu/libKF5TextEditor.so.5 #11 0x00007fe03d8664e5 in KTextEditor::DocumentPrivate::paste(KTextEditor::ViewPrivate*, QString const&) () from /usr/lib/x86_64-linux-gnu/libKF5TextEditor.so.5 #12 0x00007fe03d8e1d84 in KTextEditor::ViewPrivate::paste(QString const*) () from /usr/lib/x86_64-linux-gnu/libKF5TextEditor.so.5 #13 0x00007fe03d9db337 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5TextEditor.so.5 #14 0x00007fe03be6e6db in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #15 0x00007fe03c965ef2 in QAction::triggered(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #16 0x00007fe03c968500 in QAction::activate(QAction::ActionEvent) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #17 0x00007fe03c968db4 in QAction::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #18 0x00007fe03c96c4a1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #19 0x00007fe03c973ae0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #20 0x00007fe03be45499 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #21 0x00007fe03c3dd233 in QShortcutMap::dispatchEvent(QKeyEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #22 0x00007fe03c3dd30b in QShortcutMap::tryShortcut(QKeyEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #23 0x00007fe03c392866 in QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #24 0x00007fe03c3aecbd in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #25 0x00007fe03c3b4415 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #26 0x00007fe03c38eb6b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #27 0x00007fe03508fe5b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #28 0x00007fe03be4416b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #29 0x00007fe03be4c2e2 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #30 0x0000564fdfaf98a6 in ?? () #31 0x00007fe03b88809b in __libc_start_main (main=0x564fdfaf7a10, argc=1, argv=0x7fffc01517a8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffc0151798) at ../csu/libc-start.c:308 #32 0x0000564fdfafaffa in _start () [Inferior 1 (process 13993) detached] Reported using DrKonqi
This issue is most probably a duplicate of 401480 even tho the highlighting is different *** This bug has been marked as a duplicate of bug 401480 ***
I can open the file specified in bug 401480 without any issue: https://raw.githubusercontent.com/letscontrolit/ESPEasy/mega/src/ESPEasy.ino
You have to use the specified (broken) arduino HL file also to get the crash