Bug 334693 - Kile crashed when typing text
Summary: Kile crashed when typing text
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 3.13.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
: 335813 336898 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-05-13 08:33 UTC by Paul Roux
Modified: 2014-07-04 10:10 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.13.3
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Roux 2014-05-13 08:33:22 UTC
Application: kile (2.1.3)
KDE Platform Version: 4.13.0
Qt Version: 4.8.6
Operating System: Linux 3.13.0-24-generic i686
Distribution: Ubuntu 14.04 LTS

-- Information about the crash:
- What I was doing when the application crashed: just typing text. After restarting, the text file had no end of file marker.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Kile (kile), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb3f5f740 (LWP 2423))]

Thread 4 (Thread 0xb0b59b40 (LWP 2424)):
#0  __pthread_mutex_unlock_usercnt (mutex=0xb0200558, decr=1) at pthread_mutex_unlock.c:40
#1  0xb5685b34 in pthread_mutex_unlock (mutex=0xb0200558) at forward.c:194
#2  0xb492a140 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb48e4dbf in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb48e537a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb48e5528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb651b95f in QEventDispatcherGlib::processEvents (this=0xb0200468, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#7  0xb64ea823 in QEventLoop::processEvents (this=this@entry=0xb0b59258, flags=...) at kernel/qeventloop.cpp:149
#8  0xb64eab49 in QEventLoop::exec (this=this@entry=0xb0b59258, flags=...) at kernel/qeventloop.cpp:204
#9  0xb63d723d in QThread::exec (this=this@entry=0xa3b70f8) at thread/qthread.cpp:537
#10 0xb64cac44 in QInotifyFileSystemWatcherEngine::run (this=0xa3b70f8) at io/qfilesystemwatcher_inotify.cpp:265
#11 0xb63d9b6f in QThreadPrivate::start (arg=0xa3b70f8) at thread/qthread_unix.cpp:349
#12 0xb49bbf70 in start_thread (arg=0xb0b59b40) at pthread_create.c:312
#13 0xb567870e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 3 (Thread 0xb00beb40 (LWP 2436)):
#0  0xb77d8424 in __kernel_vsyscall ()
#1  0xb5686392 in __GI___clock_gettime (clock_id=1, tp=0xb00bdff8) at ../sysdeps/unix/clock_gettime.c:115
#2  0xb64348cc in do_gettime (frac=0xb00bdff0, sec=0xb00bdfe8) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0xb651d2a2 in updateCurrentTime (this=0xaf7026e4) at kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0xaf7026e4, tm=...) at kernel/qeventdispatcher_unix.cpp:460
#6  0xb651b82b in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb00be0ec) at kernel/qeventdispatcher_glib.cpp:143
#7  0xb651b8bd in timerSourcePrepare (source=0xaf7026b0, timeout=0xb00be0ec) at kernel/qeventdispatcher_glib.cpp:176
#8  0xb48e49b3 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb48e52df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb48e5528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#11 0xb651b95f in QEventDispatcherGlib::processEvents (this=0xaf700468, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#12 0xb64ea823 in QEventLoop::processEvents (this=this@entry=0xb00be258, flags=...) at kernel/qeventloop.cpp:149
#13 0xb64eab49 in QEventLoop::exec (this=this@entry=0xb00be258, flags=...) at kernel/qeventloop.cpp:204
#14 0xb63d723d in QThread::exec (this=this@entry=0xa64ff98) at thread/qthread.cpp:537
#15 0xb64cac44 in QInotifyFileSystemWatcherEngine::run (this=0xa64ff98) at io/qfilesystemwatcher_inotify.cpp:265
#16 0xb63d9b6f in QThreadPrivate::start (arg=0xa64ff98) at thread/qthread_unix.cpp:349
#17 0xb49bbf70 in start_thread (arg=0xb00beb40) at pthread_create.c:312
#18 0xb567870e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 2 (Thread 0xae4a1b40 (LWP 2457)):
#0  0xb77d8424 in __kernel_vsyscall ()
#1  0xb49bfd4b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb56858ec in __pthread_cond_wait (cond=0xb50988d0, mutex=0xb50988b8) at forward.c:149
#3  0xb4f95c92 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0xb4f95cdf in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0xb49bbf70 in start_thread (arg=0xae4a1b40) at pthread_create.c:312
#6  0xb567870e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 1 (Thread 0xb3f5f740 (LWP 2423)):
[KCrash Handler]
#7  KateLineLayout::viewLineCount (this=0x0) at ../../part/render/katelinelayout.cpp:174
#8  0xb0e61eec in KateLayoutCache::lastViewLine (this=this@entry=0xb23ffd0, realLine=1) at ../../part/render/katelayoutcache.cpp:468
#9  0xb0e62676 in viewLineCount (realLine=<optimized out>, this=0xb23ffd0) at ../../part/render/katelayoutcache.cpp:473
#10 KateLayoutCache::displayViewLine (this=0xb23ffd0, virtualCursor=..., limitToVisible=limitToVisible@entry=true) at ../../part/render/katelayoutcache.cpp:436
#11 0xb0eab91a in KateViewInternal::cursorToCoordinate (this=0xb19e158, cursor=..., realCursor=realCursor@entry=true, includeBorder=includeBorder@entry=false) at ../../part/view/kateviewinternal.cpp:741
#12 0xb0ecf19f in KateTextAnimation::rectForText (this=this@entry=0xbe9a2a0) at ../../part/view/katetextanimation.cpp:66
#13 0xb0ecf315 in KateTextAnimation::draw (this=0xbe9a2a0, painter=...) at ../../part/view/katetextanimation.cpp:91
#14 0xb0eadf7c in KateViewInternal::paintEvent (this=0xb19e158, e=0xbfac0dc8) at ../../part/view/kateviewinternal.cpp:3018
#15 0xb59d5135 in QWidget::event (this=0xb19e158, event=0xbfac0dc8) at kernel/qwidget.cpp:8533
#16 0xb597b7f4 in QApplicationPrivate::notify_helper (this=0xa145418, receiver=0xb19e158, e=0xbfac0dc8) at kernel/qapplication.cpp:4567
#17 0xb59822d3 in QApplication::notify (this=0xbfac2ca0, receiver=receiver@entry=0xb19e158, e=e@entry=0xbfac0dc8) at kernel/qapplication.cpp:4353
#18 0xb6ae40a4 in KApplication::notify (this=0xbfac2ca0, receiver=0xb19e158, event=0xbfac0dc8) at ../../kdeui/kernel/kapplication.cpp:311
#19 0xb64ebe4a in QCoreApplication::notifyInternal (this=0xbfac2ca0, receiver=0xb19e158, event=0xbfac0dc8) at kernel/qcoreapplication.cpp:953
#20 0xb59cee61 in sendSpontaneousEvent (event=0xbfac0dc8, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#21 QWidgetPrivate::drawWidget (this=0xb19e318, pdev=0xad43868, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa250468) at kernel/qwidget.cpp:5599
#22 0xb59cf961 in QWidgetPrivate::paintSiblingsRecursive (this=0xb1a78b0, pdev=0xad43868, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa250468) at kernel/qwidget.cpp:5808
#23 0xb59cf7b0 in QWidgetPrivate::paintSiblingsRecursive (this=0xb1a78b0, pdev=0xad43868, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa250468) at kernel/qwidget.cpp:5795
#24 0xb59cf7b0 in QWidgetPrivate::paintSiblingsRecursive (this=0xb1a78b0, pdev=0xad43868, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa250468) at kernel/qwidget.cpp:5795
#25 0xb59cf7b0 in QWidgetPrivate::paintSiblingsRecursive (this=0xb1a78b0, pdev=0xad43868, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa250468) at kernel/qwidget.cpp:5795
#26 0xb59cf7b0 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0xb1a78b0, pdev=0xad43868, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa250468) at kernel/qwidget.cpp:5795
#27 0xb59ce9fa in QWidgetPrivate::drawWidget (this=0xb1a78b0, pdev=0xad43868, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa250468) at kernel/qwidget.cpp:5652
#28 0xb59cf961 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0xb538338, pdev=0xad43868, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa250468) at kernel/qwidget.cpp:5808
#29 0xb59ce9fa in QWidgetPrivate::drawWidget (this=0xb538338, pdev=0xad43868, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa250468) at kernel/qwidget.cpp:5652
#30 0xb59cf961 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0xab1bf48, pdev=0xad43868, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa250468) at kernel/qwidget.cpp:5808
#31 0xb59ce9fa in QWidgetPrivate::drawWidget (this=0xab1bf48, pdev=0xad43868, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa250468) at kernel/qwidget.cpp:5652
#32 0xb59cf961 in QWidgetPrivate::paintSiblingsRecursive (this=0xab1a9f8, pdev=0xad43868, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa250468) at kernel/qwidget.cpp:5808
#33 0xb59cf7b0 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0xab1a9f8, pdev=0xad43868, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa250468) at kernel/qwidget.cpp:5795
#34 0xb59ce9fa in QWidgetPrivate::drawWidget (this=0xab1a9f8, pdev=0xad43868, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa250468) at kernel/qwidget.cpp:5652
#35 0xb59cf961 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0xab19db8, pdev=0xad43868, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa250468) at kernel/qwidget.cpp:5808
#36 0xb59ce9fa in QWidgetPrivate::drawWidget (this=0xab19db8, pdev=0xad43868, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa250468) at kernel/qwidget.cpp:5652
#37 0xb59cf961 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0xab191a0, pdev=0xad43868, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa250468) at kernel/qwidget.cpp:5808
#38 0xb59ce9fa in QWidgetPrivate::drawWidget (this=0xab191a0, pdev=0xad43868, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa250468) at kernel/qwidget.cpp:5652
#39 0xb59cf961 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0xa3b9a88, pdev=0xad43868, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa250468) at kernel/qwidget.cpp:5808
#40 0xb59ce9fa in QWidgetPrivate::drawWidget (this=0xa3b9a88, pdev=0xad43868, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa250468) at kernel/qwidget.cpp:5652
#41 0xb59cf961 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0xa3ea3d8, pdev=0xad43868, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa250468) at kernel/qwidget.cpp:5808
#42 0xb59ce9fa in QWidgetPrivate::drawWidget (this=0xa3ea3d8, pdev=0xad43868, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa250468) at kernel/qwidget.cpp:5652
#43 0xb59cf961 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0xa1f2020, pdev=0xad43868, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa250468) at kernel/qwidget.cpp:5808
#44 0xb59ce9fa in QWidgetPrivate::drawWidget (this=0xa1f2020, pdev=0xad43868, rgn=..., offset=..., flags=flags@entry=5, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0xa250468) at kernel/qwidget.cpp:5652
#45 0xb5bbbf9d in QWidgetBackingStore::sync (this=0xa250468) at painting/qbackingstore.cpp:1373
#46 0xb59c301b in QWidgetPrivate::syncBackingStore (this=this@entry=0xa1f2020) at kernel/qwidget.cpp:1894
#47 0xb59d4b7c in QWidget::event (this=0xa1eb030, event=event@entry=0xaeb1130) at kernel/qwidget.cpp:8680
#48 0xb5df754f in QMainWindow::event (this=this@entry=0xa1eb030, event=event@entry=0xaeb1130) at widgets/qmainwindow.cpp:1478
#49 0xb6bb2795 in KMainWindow::event (this=this@entry=0xa1eb030, ev=ev@entry=0xaeb1130) at ../../kdeui/widgets/kmainwindow.cpp:1084
#50 0xb6bf44e6 in KXmlGuiWindow::event (this=0xa1eb030, ev=0xaeb1130) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#51 0xb597b7f4 in QApplicationPrivate::notify_helper (this=0xa145418, receiver=0xa1eb030, e=0xaeb1130) at kernel/qapplication.cpp:4567
#52 0xb59822d3 in QApplication::notify (this=0xbfac2ca0, receiver=receiver@entry=0xa1eb030, e=e@entry=0xaeb1130) at kernel/qapplication.cpp:4353
#53 0xb6ae40a4 in KApplication::notify (this=0xbfac2ca0, receiver=0xa1eb030, event=0xaeb1130) at ../../kdeui/kernel/kapplication.cpp:311
#54 0xb64ebe4a in QCoreApplication::notifyInternal (this=0xbfac2ca0, receiver=receiver@entry=0xa1eb030, event=event@entry=0xaeb1130) at kernel/qcoreapplication.cpp:953
#55 0xb64ef70d in sendEvent (event=0xaeb1130, receiver=0xa1eb030) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#56 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xa116370) at kernel/qcoreapplication.cpp:1577
#57 0xb64efc1c in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#58 0xb651c23e in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#59 postEventSourceDispatch (s=0xa140800) at kernel/qeventdispatcher_glib.cpp:287
#60 0xb48e51e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#61 0xb48e5468 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#62 0xb48e5528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#63 0xb651b93b in QEventDispatcherGlib::processEvents (this=this@entry=0xa116f20, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#64 0xb5a305de in QGuiEventDispatcherGlib::processEvents (this=0xa116f20, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#65 0xb64ea823 in QEventLoop::processEvents (this=this@entry=0xbfac2a68, flags=...) at kernel/qeventloop.cpp:149
#66 0xb64eab49 in QEventLoop::exec (this=this@entry=0xbfac2a68, flags=...) at kernel/qeventloop.cpp:204
#67 0xb64f08fe in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#68 0xb5979a24 in QApplication::exec () at kernel/qapplication.cpp:3828
#69 0x080727c4 in ?? ()
#70 0xb55a5a83 in __libc_start_main (main=0x8071700, argc=1, argv=0xbfac2f64, init=0x825c1a0 <__libc_csu_init>, fini=0x825c210 <__libc_csu_fini>, rtld_fini=0xb77e8180 <_dl_fini>, stack_end=0xbfac2f5c) at libc-start.c:287
#71 0x08074bfd in _start ()

Possible duplicates by query: bug 253554.

Reported using DrKonqi
Comment 1 Dominik Haumann 2014-07-01 15:45:52 UTC
*** Bug 335813 has been marked as a duplicate of this bug. ***
Comment 2 Dominik Haumann 2014-07-01 15:46:10 UTC
*** Bug 336898 has been marked as a duplicate of this bug. ***
Comment 3 Sven Brauch 2014-07-02 16:09:22 UTC
Should be fixed by https://git.reviewboard.kde.org/r/119078/.