Bug 402586

Summary: Kate crashed after clicked somewhere in Kate main window
Product: [Applications] kate Reporter: pan93412
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: crash CC: kare.sars
Priority: NOR Keywords: drkonqi
Version First Reported In: 18.12.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description pan93412 2018-12-26 16:11:19 UTC
Application: kate (18.12.0)

Qt Version: 5.12.0
Frameworks Version: 5.53.0
Operating System: Linux 4.19.12-arch1-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:
  After I inserted text, I click somewhere of Kate main window and it crashed.

- Is it always happened?
   No. But sometimes.

- System
  Arch Linux (x86-64), use kde-unstable repository.
  Language: Chinese (Traditional)

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

Thread 15 (Thread 0x7fee42408700 (LWP 9238)):
#0  0x00007fee83b2b7a4 in read () at /usr/lib/libc.so.6
#1  0x00007fee81cfc971 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fee81d4d0b0 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007fee81d4e4e6 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007fee81d4f5c2 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#5  0x00007fee42c64cb8 in  () at /usr/lib/libgio-2.0.so.0
#6  0x00007fee81d2967b in  () at /usr/lib/libglib-2.0.so.0
#7  0x00007fee8280fa9d in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fee83b3ab23 in clone () at /usr/lib/libc.so.6

Thread 14 (Thread 0x7fee42c09700 (LWP 9237)):
#0  0x00007fee81cfc3b9 in g_mutex_lock () at /usr/lib/libglib-2.0.so.0
#1  0x00007fee81d44f72 in g_main_context_query () at /usr/lib/libglib-2.0.so.0
#2  0x00007fee81d4e4bc in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007fee81d4e62e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007fee81d4e682 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007fee81d2967b in  () at /usr/lib/libglib-2.0.so.0
#6  0x00007fee8280fa9d in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007fee83b3ab23 in clone () at /usr/lib/libc.so.6

Thread 13 (Thread 0x7fee43956700 (LWP 6725)):
#0  0x00007fee48187090 in pa_iochannel_is_hungup () at /usr/lib/pulseaudio/libpulsecommon-12.2.so
#1  0x00007fee4819b94c in  () at /usr/lib/pulseaudio/libpulsecommon-12.2.so
#2  0x00007fee4819bcba in  () at /usr/lib/pulseaudio/libpulsecommon-12.2.so
#3  0x00007fee4819c54a in  () at /usr/lib/pulseaudio/libpulsecommon-12.2.so
#4  0x00007fee6843bd18 in pa_mainloop_dispatch () at /usr/lib/libpulse.so.0
#5  0x00007fee6843bfef in pa_mainloop_iterate () at /usr/lib/libpulse.so.0
#6  0x00007fee6843c091 in pa_mainloop_run () at /usr/lib/libpulse.so.0
#7  0x00007fee6844a5ae in  () at /usr/lib/libpulse.so.0
#8  0x00007fee481ac9fc in  () at /usr/lib/pulseaudio/libpulsecommon-12.2.so
#9  0x00007fee8280fa9d in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007fee83b3ab23 in clone () at /usr/lib/libc.so.6

Thread 12 (Thread 0x7fee4b7fe700 (LWP 2382)):
#0  0x00007fee82815afc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fee83e58adc in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007fee83e58bca in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007fee78542469 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#4  0x00007fee78546339 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#5  0x00007fee7854152d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#6  0x00007fee78544389 in ThreadWeaver::Thread::run() () at /usr/lib/libKF5ThreadWeaver.so.5
#7  0x00007fee83e529cc in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fee8280fa9d in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fee83b3ab23 in clone () at /usr/lib/libc.so.6

Thread 11 (Thread 0x7fee4bfff700 (LWP 2381)):
#0  0x00007fee82815afc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fee83e58adc in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007fee83e58bca in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007fee78542469 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#4  0x00007fee78546339 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#5  0x00007fee7854152d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#6  0x00007fee78544389 in ThreadWeaver::Thread::run() () at /usr/lib/libKF5ThreadWeaver.so.5
#7  0x00007fee83e529cc in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fee8280fa9d in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fee83b3ab23 in clone () at /usr/lib/libc.so.6

Thread 10 (Thread 0x7fee68ff9700 (LWP 2380)):
#0  0x00007fee82815afc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fee83e58adc in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007fee83e58bca in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007fee78542469 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#4  0x00007fee78546339 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#5  0x00007fee7854152d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#6  0x00007fee78544389 in ThreadWeaver::Thread::run() () at /usr/lib/libKF5ThreadWeaver.so.5
#7  0x00007fee83e529cc in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fee8280fa9d in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fee83b3ab23 in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7fee697fa700 (LWP 2378)):
#0  0x00007fee82815afc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fee83e58adc in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007fee83e58bca in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007fee78542469 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#4  0x00007fee78546339 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#5  0x00007fee7854152d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#6  0x00007fee78544389 in ThreadWeaver::Thread::run() () at /usr/lib/libKF5ThreadWeaver.so.5
#7  0x00007fee83e529cc in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fee8280fa9d in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fee83b3ab23 in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7fee69ffb700 (LWP 2377)):
#0  0x00007fee82815afc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fee83e58adc in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007fee83e58bca in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007fee78542469 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#4  0x00007fee78546339 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#5  0x00007fee7854152d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#6  0x00007fee78544389 in ThreadWeaver::Thread::run() () at /usr/lib/libKF5ThreadWeaver.so.5
#7  0x00007fee83e529cc in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fee8280fa9d in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fee83b3ab23 in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7fee6a7fc700 (LWP 2376)):
#0  0x00007fee82815afc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fee83e58adc in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007fee83e58bca in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007fee78542469 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#4  0x00007fee78546339 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#5  0x00007fee7854152d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#6  0x00007fee78544389 in ThreadWeaver::Thread::run() () at /usr/lib/libKF5ThreadWeaver.so.5
#7  0x00007fee83e529cc in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fee8280fa9d in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fee83b3ab23 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7fee6affd700 (LWP 2374)):
#0  0x00007fee82815afc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fee83e58adc in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007fee83e58bca in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007fee78542469 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#4  0x00007fee78546339 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#5  0x00007fee7854152d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#6  0x00007fee78544389 in ThreadWeaver::Thread::run() () at /usr/lib/libKF5ThreadWeaver.so.5
#7  0x00007fee83e529cc in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fee8280fa9d in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fee83b3ab23 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7fee6b7fe700 (LWP 2373)):
#0  0x00007fee82815afc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fee83e58adc in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007fee83e58bca in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007fee78542469 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#4  0x00007fee78546339 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#5  0x00007fee7854152d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#6  0x00007fee78544389 in ThreadWeaver::Thread::run() () at /usr/lib/libKF5ThreadWeaver.so.5
#7  0x00007fee83e529cc in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fee8280fa9d in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fee83b3ab23 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7fee6bfff700 (LWP 2372)):
#0  0x00007fee82815afc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fee70941c24 in  () at /usr/lib/dri/i965_dri.so
#2  0x00007fee70941948 in  () at /usr/lib/dri/i965_dri.so
#3  0x00007fee8280fa9d in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007fee83b3ab23 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7fee7a88f700 (LWP 2370)):
#0  0x00007fee83b2b7a4 in read () at /usr/lib/libc.so.6
#1  0x00007fee81cfc971 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fee81d4d0b0 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007fee81d4e4e6 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007fee81d4e62e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007fee840645c4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007fee8400d58c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007fee83e515c9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007fee842d7ba6 in  () at /usr/lib/libQt5DBus.so.5
#9  0x00007fee83e529cc in  () at /usr/lib/libQt5Core.so.5
#10 0x00007fee8280fa9d in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007fee83b3ab23 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fee7c647700 (LWP 2369)):
#0  0x00007fee83b2fc21 in poll () at /usr/lib/libc.so.6
#1  0x00007fee82a3a630 in  () at /usr/lib/libxcb.so.1
#2  0x00007fee82a3c2db in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007fee7d63496b in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007fee83e529cc in  () at /usr/lib/libQt5Core.so.5
#5  0x00007fee8280fa9d in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fee83b3ab23 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fee7dab3800 (LWP 2368)):
[KCrash Handler]
#6  0x00007fee8463bf90 in QTextLayout::lineCount() const () at /usr/lib/libQt5Gui.so.5
#7  0x00007fee85ad9237 in  () at /usr/lib/libKF5TextEditor.so.5
#8  0x00007fee85add5e4 in  () at /usr/lib/libKF5TextEditor.so.5
#9  0x00007fee85b1d816 in  () at /usr/lib/libKF5TextEditor.so.5
#10 0x00007fee84b7f9d8 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#11 0x00007fee84b3ee34 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#12 0x00007fee84b46671 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#13 0x00007fee8400e8f9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#14 0x00007fee84b782c7 in QWidgetPrivate::sendPaintEvent(QRegion const&) () at /usr/lib/libQt5Widgets.so.5
#15 0x00007fee84b78bb6 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/libQt5Widgets.so.5
#16 0x00007fee84b4ed69 in  () at /usr/lib/libQt5Widgets.so.5
#17 0x00007fee84b4ef89 in  () at /usr/lib/libQt5Widgets.so.5
#18 0x00007fee84b673f7 in QWidgetPrivate::syncBackingStore() () at /usr/lib/libQt5Widgets.so.5
#19 0x00007fee84b7fb19 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#20 0x00007fee84c8c3c5 in QMainWindow::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#21 0x00007fee855783bc in KMainWindow::event(QEvent*) () at /usr/lib/libKF5XmlGui.so.5
#22 0x00007fee855c3ba6 in KXmlGuiWindow::event(QEvent*) () at /usr/lib/libKF5XmlGui.so.5
#23 0x00007fee84b3ee34 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#24 0x00007fee84b46671 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#25 0x00007fee8400e8f9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#26 0x00007fee84011998 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#27 0x00007fee84064fd4 in  () at /usr/lib/libQt5Core.so.5
#28 0x00007fee81d4ca2f in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#29 0x00007fee81d4e5e9 in  () at /usr/lib/libglib-2.0.so.0
#30 0x00007fee81d4e62e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#31 0x00007fee840645a9 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#32 0x00007fee8400d58c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#33 0x00007fee84015896 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#34 0x0000559d1618a3a8 in  ()
#35 0x00007fee83a63223 in __libc_start_main () at /usr/lib/libc.so.6
#36 0x0000559d1618bb9e in _start ()
[Inferior 1 (process 2368) detached]

Reported using DrKonqi
Comment 1 Kåre Särs 2018-12-27 08:03:56 UTC
Thanks for the report.

Are you able to reproduce this after installing debug symbols for libKF5TextEditor?
Comment 2 Kåre Särs 2018-12-27 08:05:32 UTC
Setting to needs info
Comment 3 Bug Janitor Service 2019-01-11 04:33:12 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 pan93412 2019-01-11 09:41:28 UTC
(In reply to Kåre Särs from comment #1)
> Thanks for the report.
> 
> Are you able to reproduce this after installing debug symbols for
> libKF5TextEditor?

I can't. Maybe it just because my computer resource is so lack that makes Kate crashed.
Comment 5 Bug Janitor Service 2019-01-26 04:33:08 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!