https://bugs.kde.org/show_bug.cgi?id=486414
Bug ID: 486414 Summary: Kate crashes when opening a small binary file Classification: Applications Product: kate Version: 24.02.2 Platform: Fedora RPMs OS: Linux Status: REPORTED Keywords: drkonqi Severity: crash Priority: NOR Component: general Assignee: kwrite-bugs-n...@kde.org Reporter: kde....@dzeta.org Target Milestone: --- Application: kate (24.02.2) Qt Version: 6.7.0 Frameworks Version: 6.1.0 Operating System: Linux 6.8.7-300.fc40.x86_64 x86_64 Windowing System: Wayland Distribution: "Fedora Linux 40 (KDE Plasma)" DrKonqi: 6.0.4 [CoredumpBackend] -- Information about the crash: I wanted to view a log file (~/var/app/org.kde.amarok/data/amarok/mysqle/aria_log.00000001) I launched Kate and drag & dropped the file wich caused the crash. After that I found that the file was a small (16Kb) binary file. The crash can be reproduced every time. -- Backtrace: Application: Kate (kate), signal: Segmentation fault This GDB supports auto-downloading debuginfo from the following URLs: <https://debuginfod.fedoraproject.org/> Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] Debuginfod has been disabled. To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [New LWP 5308] [New LWP 5309] [New LWP 5330] [New LWP 5311] [New LWP 5314] [New LWP 5312] [New LWP 5315] [New LWP 5331] [New LWP 5332] [New LWP 5313] [New LWP 5316] [New LWP 5310] [New LWP 5317] [New LWP 5334] [New LWP 5333] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `/usr/bin/kate -b'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007f38eeeab144 in __pthread_kill_implementation () from /lib64/libc.so.6 [Current thread is 1 (Thread 0x7f38e9656580 (LWP 5308))] Cannot QML trace cores :( [Current thread is 1 (Thread 0x7f38e9656580 (LWP 5308))] Thread 15 (Thread 0x7f38bcc006c0 (LWP 5333)): #0 0x00007f38eeea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6 #1 0x00007f38eeea8652 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6 #2 0x00007f38ef75ba0d in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6 #3 0x00007f38ef7587d5 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6 #4 0x00007f38ef74f35c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6 #5 0x00007f38eeea91b7 in start_thread () from /lib64/libc.so.6 #6 0x00007f38eef2b39c in clone3 () from /lib64/libc.so.6 Thread 14 (Thread 0x7f38b7e006c0 (LWP 5334)): #0 0x00007f38eeea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6 #1 0x00007f38eeea8652 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6 #2 0x00007f38ef75ba0d in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6 #3 0x00007f38ef7587d5 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6 #4 0x00007f38ef74f35c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6 #5 0x00007f38eeea91b7 in start_thread () from /lib64/libc.so.6 #6 0x00007f38eef2b39c in clone3 () from /lib64/libc.so.6 Thread 13 (Thread 0x7f38caa006c0 (LWP 5317)): #0 0x00007f38eeea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6 #1 0x00007f38eeea82e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6 #2 0x00007f38d1a9d7fd in cnd_wait () from /usr/lib64/dri/radeonsi_dri.so #3 0x00007f38d1a7b3bb in util_queue_thread_func () from /usr/lib64/dri/radeonsi_dri.so #4 0x00007f38d1a9d72c in impl_thrd_routine () from /usr/lib64/dri/radeonsi_dri.so #5 0x00007f38eeea91b7 in start_thread () from /lib64/libc.so.6 #6 0x00007f38eef2b39c in clone3 () from /lib64/libc.so.6 Thread 12 (Thread 0x7f38da2006c0 (LWP 5310)): #0 0x00007f38eeea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6 #1 0x00007f38eeea82e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6 #2 0x00007f38ef75ba8b in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6 #3 0x00007f38ea08ad1e in QtWaylandClient::EventThread::run() () from /lib64/libQt6WaylandClient.so.6 #4 0x00007f38ef74f35c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6 #5 0x00007f38eeea91b7 in start_thread () from /lib64/libc.so.6 #6 0x00007f38eef2b39c in clone3 () from /lib64/libc.so.6 Thread 11 (Thread 0x7f38cb4006c0 (LWP 5316)): #0 0x00007f38eeea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6 #1 0x00007f38eeea82e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6 #2 0x00007f38d1a9d7fd in cnd_wait () from /usr/lib64/dri/radeonsi_dri.so #3 0x00007f38d1a7b3bb in util_queue_thread_func () from /usr/lib64/dri/radeonsi_dri.so #4 0x00007f38d1a9d72c in impl_thrd_routine () from /usr/lib64/dri/radeonsi_dri.so #5 0x00007f38eeea91b7 in start_thread () from /lib64/libc.so.6 #6 0x00007f38eef2b39c in clone3 () from /lib64/libc.so.6 Thread 10 (Thread 0x7f38d18006c0 (LWP 5313)): #0 0x00007f38eeea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6 #1 0x00007f38eeea82e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6 #2 0x00007f38d1a9d7fd in cnd_wait () from /usr/lib64/dri/radeonsi_dri.so #3 0x00007f38d1a7b3bb in util_queue_thread_func () from /usr/lib64/dri/radeonsi_dri.so #4 0x00007f38d1a9d72c in impl_thrd_routine () from /usr/lib64/dri/radeonsi_dri.so #5 0x00007f38eeea91b7 in start_thread () from /lib64/libc.so.6 #6 0x00007f38eef2b39c in clone3 () from /lib64/libc.so.6 Thread 9 (Thread 0x7f38c8c006c0 (LWP 5332)): #0 0x00007f38eeea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6 #1 0x00007f38eeea8652 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6 #2 0x00007f38ef75ba0d in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6 #3 0x00007f38ef7587d5 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6 #4 0x00007f38ef74f35c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6 #5 0x00007f38eeea91b7 in start_thread () from /lib64/libc.so.6 #6 0x00007f38eef2b39c in clone3 () from /lib64/libc.so.6 Thread 8 (Thread 0x7f38c96006c0 (LWP 5331)): #0 0x00007f38eeea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6 #1 0x00007f38eeea8652 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6 #2 0x00007f38ef75ba0d in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6 #3 0x00007f38ef7587d5 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6 #4 0x00007f38ef74f35c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6 #5 0x00007f38eeea91b7 in start_thread () from /lib64/libc.so.6 #6 0x00007f38eef2b39c in clone3 () from /lib64/libc.so.6 Thread 7 (Thread 0x7f38cbe006c0 (LWP 5315)): #0 0x00007f38eeea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6 #1 0x00007f38eeea82e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6 #2 0x00007f38d1a9d7fd in cnd_wait () from /usr/lib64/dri/radeonsi_dri.so #3 0x00007f38d1a7b3bb in util_queue_thread_func () from /usr/lib64/dri/radeonsi_dri.so #4 0x00007f38d1a9d72c in impl_thrd_routine () from /usr/lib64/dri/radeonsi_dri.so #5 0x00007f38eeea91b7 in start_thread () from /lib64/libc.so.6 #6 0x00007f38eef2b39c in clone3 () from /lib64/libc.so.6 Thread 6 (Thread 0x7f38d8e006c0 (LWP 5312)): #0 0x00007f38eeea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6 #1 0x00007f38eeea82e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6 #2 0x00007f38d1a9d7fd in cnd_wait () from /usr/lib64/dri/radeonsi_dri.so #3 0x00007f38d1a7b3bb in util_queue_thread_func () from /usr/lib64/dri/radeonsi_dri.so #4 0x00007f38d1a9d72c in impl_thrd_routine () from /usr/lib64/dri/radeonsi_dri.so #5 0x00007f38eeea91b7 in start_thread () from /lib64/libc.so.6 #6 0x00007f38eef2b39c in clone3 () from /lib64/libc.so.6 Thread 5 (Thread 0x7f38d0e006c0 (LWP 5314)): #0 0x00007f38eeea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6 #1 0x00007f38eeea82e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6 #2 0x00007f38d1a9d7fd in cnd_wait () from /usr/lib64/dri/radeonsi_dri.so #3 0x00007f38d1a7b3bb in util_queue_thread_func () from /usr/lib64/dri/radeonsi_dri.so #4 0x00007f38d1a9d72c in impl_thrd_routine () from /usr/lib64/dri/radeonsi_dri.so #5 0x00007f38eeea91b7 in start_thread () from /lib64/libc.so.6 #6 0x00007f38eef2b39c in clone3 () from /lib64/libc.so.6 Thread 4 (Thread 0x7f38d98006c0 (LWP 5311)): #0 0x00007f38eef1d72d in poll () from /lib64/libc.so.6 #1 0x00007f38ea08ad85 in QtWaylandClient::EventThread::run() () from /lib64/libQt6WaylandClient.so.6 #2 0x00007f38ef74f35c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6 #3 0x00007f38eeea91b7 in start_thread () from /lib64/libc.so.6 #4 0x00007f38eef2b39c in clone3 () from /lib64/libc.so.6 Thread 3 (Thread 0x7f38ca0006c0 (LWP 5330)): #0 0x00007f38eeea5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6 #1 0x00007f38eeea8652 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6 #2 0x00007f38ef75ba0d in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6 #3 0x00007f38ef7587d5 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6 #4 0x00007f38ef74f35c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6 #5 0x00007f38eeea91b7 in start_thread () from /lib64/libc.so.6 #6 0x00007f38eef2b39c in clone3 () from /lib64/libc.so.6 Thread 2 (Thread 0x7f38db8006c0 (LWP 5309)): #0 0x00007f38eef1d72d in poll () from /lib64/libc.so.6 #1 0x00007f38ed920724 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0 #2 0x00007f38ed8c0b03 in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #3 0x00007f38ef87bf83 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6 #4 0x00007f38ef5a26b3 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6 #5 0x00007f38ef6b402f in QThread::exec() () from /lib64/libQt6Core.so.6 #6 0x00007f38f107faf1 in QDBusConnectionManager::run() () from /lib64/libQt6DBus.so.6 #7 0x00007f38ef74f35c in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6 #8 0x00007f38eeea91b7 in start_thread () from /lib64/libc.so.6 #9 0x00007f38eef2b39c in clone3 () from /lib64/libc.so.6 Thread 1 (Thread 0x7f38e9656580 (LWP 5308)): [KCrash Handler] #4 0x00007f38eeaabfc6 in Kate::TextLoader::readLine(int&, int&, bool&, int&)::{lambda(int, int)#1}::operator()(int, int) const () from /lib64/libKF6TextEditor.so.6 #5 0x00007f38eeab6146 in Kate::TextBuffer::load(QString const&, bool&, bool&, int&, bool) () from /lib64/libKF6TextEditor.so.6 #6 0x00007f38eeb376d4 in KateBuffer::openFile(QString const&, bool) () from /lib64/libKF6TextEditor.so.6 #7 0x00007f38eeb0da02 in KTextEditor::DocumentPrivate::openFile() () from /lib64/libKF6TextEditor.so.6 #8 0x00007f38f0fc2e10 in KParts::ReadOnlyPartPrivate::openLocalFile() () from /lib64/libKF6Parts.so.6 #9 0x00007f38f0fc7299 in KParts::ReadOnlyPart::openUrl(QUrl const&) () from /lib64/libKF6Parts.so.6 #10 0x00007f38eeb0e9c6 in KTextEditor::DocumentPrivate::openUrl(QUrl const&) () from /lib64/libKF6TextEditor.so.6 #11 0x00007f38f136082f in KateDocManager::openUrl(QUrl const&, QString const&, KateDocumentInfo const&) () from /lib64/libkateprivate.so.24.02.2 #12 0x00007f38f139ae12 in KateViewManager::openUrls(QList<QUrl> const&, QString const&, KateDocumentInfo const&) () from /lib64/libkateprivate.so.24.02.2 #13 0x00007f38f139b17e in KateViewManager::openUrl(QUrl const&, QString const&, bool, bool, KateDocumentInfo const&) () from /lib64/libkateprivate.so.24.02.2 #14 0x00007f38f139b2f8 in KateViewManager::openUrl(QUrl const&) () from /lib64/libkateprivate.so.24.02.2 #15 0x00007f38f1366d3f in KateMainWindow::slotDropEvent(QDropEvent*) () from /lib64/libkateprivate.so.24.02.2 #16 0x00007f38f09ebe00 in QWidget::event(QEvent*) () from /lib64/libQt6Widgets.so.6 #17 0x00007f38ee95bd60 in KXmlGuiWindow::event(QEvent*) () from /lib64/libKF6XmlGui.so.6 #18 0x00007f38f098b368 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt6Widgets.so.6 #19 0x00007f38f09963bb in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt6Widgets.so.6 #20 0x00007f38ef595ab8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt6Core.so.6 #21 0x00007f38f0a0198e in QWidgetWindow::handleDropEvent(QDropEvent*) () from /lib64/libQt6Widgets.so.6 #22 0x00007f38f0a02638 in QWidgetWindow::event(QEvent*) () from /lib64/libQt6Widgets.so.6 #23 0x00007f38f098b368 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt6Widgets.so.6 #24 0x00007f38ef595ab8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt6Core.so.6 #25 0x00007f38efde703c in QGuiApplicationPrivate::processDrop(QWindow*, QMimeData const*, QPoint const&, QFlags<Qt::DropAction>, QFlags<Qt::MouseButton>, QFlags<Qt::KeyboardModifier>) () from /lib64/libQt6Gui.so.6 #26 0x00007f38efe48048 in QWindowSystemInterface::handleDrop(QWindow*, QMimeData const*, QPoint const&, QFlags<Qt::DropAction>, QFlags<Qt::MouseButton>, QFlags<Qt::KeyboardModifier>) () from /lib64/libQt6Gui.so.6 #27 0x00007f38ea0dcb68 in QtWaylandClient::QWaylandDataDevice::data_device_drop() () from /lib64/libQt6WaylandClient.so.6 #28 0x00007f38e9c94056 in ffi_call_unix64 () from /lib64/libffi.so.8 #29 0x00007f38e9c906a0 in ffi_call_int.lto_priv () from /lib64/libffi.so.8 #30 0x00007f38e9c934ee in ffi_call () from /lib64/libffi.so.8 #31 0x00007f38ebfcff2e in wl_closure_invoke.constprop () from /lib64/libwayland-client.so.0 #32 0x00007f38ebfd07a3 in dispatch_event.isra () from /lib64/libwayland-client.so.0 #33 0x00007f38ebfd0a4c in wl_display_dispatch_queue_pending () from /lib64/libwayland-client.so.0 #34 0x00007f38ea08abe2 in QtWaylandClient::QWaylandDisplay::flushRequests() () from /lib64/libQt6WaylandClient.so.6 #35 0x00007f38ef5ebdd5 in QObject::event(QEvent*) () from /lib64/libQt6Core.so.6 #36 0x00007f38f098b368 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt6Widgets.so.6 #37 0x00007f38ef595ab8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt6Core.so.6 #38 0x00007f38ef599861 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt6Core.so.6 #39 0x00007f38ef87c7cf in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt6Core.so.6 #40 0x00007f38ed8bf68c in g_main_context_dispatch_unlocked.lto_priv () from /lib64/libglib-2.0.so.0 #41 0x00007f38ed920788 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0 #42 0x00007f38ed8c0b03 in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #43 0x00007f38ef87bf83 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6 #44 0x00007f38ef5a26b3 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6 #45 0x00007f38ef59e63c in QCoreApplication::exec() () from /lib64/libQt6Core.so.6 #46 0x000055e6464a7ce8 in main () Reported using DrKonqi -- You are receiving this mail because: You are watching all bug changes.