Application: kate (3.7.4) KDE Platform Version: 4.7.4 (4.7.4) (Compiled from sources) Qt Version: 4.8.0 Operating System: Linux 3.1.0-1-amd64 x86_64 Distribution: Debian GNU/Linux testing (wheezy) -- Information about the crash: - What I was doing when the application crashed: I opened another file which was situated in a different subtree. It might be that a new parent would have had to be added. All files which were opened had the name "cmake_install.cmake" and were CMake files. I have not yet recognized any pattern how to trigger the crash. If you need any more info or want me to try to crash it in various ways please let me know. Note: I use Qt 4.8 compiled from sources as well KDE is compiled from master. The crash can be reproduced some of the time. -- Backtrace: Application: Kate (kdeinit4), signal: Segmentation fault [Current thread is 1 (Thread 0x7fa5ad67a760 (LWP 2168))] Thread 2 (Thread 0x7fa58fa34700 (LWP 2171)): #0 0x00007fffde3ff8de in ?? () #1 0x00007fa5a6895e86 in *__GI_clock_gettime (clock_id=1, tp=0x7fa58fa338e0) at ../sysdeps/unix/clock_gettime.c:116 #2 0x00007fa5abeaa2aa in do_gettime (sec=0x7fa58fa33938, frac=0x7fa58fa33930) at /opt/kde/src/KDE/git/qt-copy/src/corelib/tools/qelapsedtimer_unix.cpp:123 #3 0x00007fa5abeaa306 in qt_gettime () at /opt/kde/src/KDE/git/qt-copy/src/corelib/tools/qelapsedtimer_unix.cpp:140 #4 0x00007fa5abfacba8 in QTimerInfoList::updateCurrentTime (this=0x2f468d0) at /opt/kde/src/KDE/git/qt-copy/src/corelib/kernel/qeventdispatcher_unix.cpp:343 #5 0x00007fa5abfad05c in QTimerInfoList::timerWait (this=0x2f468d0, tm=...) at /opt/kde/src/KDE/git/qt-copy/src/corelib/kernel/qeventdispatcher_unix.cpp:450 #6 0x00007fa5abfa9917 in timerSourcePrepareHelper (src=0x2f46870, timeout=0x7fa58fa33a9c) at /opt/kde/src/KDE/git/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:136 #7 0x00007fa5abfa9ab6 in timerSourcePrepare (source=0x2f46870, timeout=0x7fa58fa33a9c) at /opt/kde/src/KDE/git/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:169 #8 0x00007fa5a65e1672 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #9 0x00007fa5a65e246d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #10 0x00007fa5a65e2a99 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #11 0x00007fa5abfaa63a in QEventDispatcherGlib::processEvents (this=0x2f45a60, flags=...) at /opt/kde/src/KDE/git/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:426 #12 0x00007fa5abf6bd84 in QEventLoop::processEvents (this=0x7fa58fa33cc0, flags=...) at /opt/kde/src/KDE/git/qt-copy/src/corelib/kernel/qeventloop.cpp:149 #13 0x00007fa5abf6bf0e in QEventLoop::exec (this=0x7fa58fa33cc0, flags=...) at /opt/kde/src/KDE/git/qt-copy/src/corelib/kernel/qeventloop.cpp:204 #14 0x00007fa5abe3a89b in QThread::exec (this=0x2f437b0) at /opt/kde/src/KDE/git/qt-copy/src/corelib/thread/qthread.cpp:501 #15 0x00007fa5abf4710f in QInotifyFileSystemWatcherEngine::run (this=0x2f437b0) at /opt/kde/src/KDE/git/qt-copy/src/corelib/io/qfilesystemwatcher_inotify.cpp:248 #16 0x00007fa5abe3d1c8 in QThreadPrivate::start (arg=0x2f437b0) at /opt/kde/src/KDE/git/qt-copy/src/corelib/thread/qthread_unix.cpp:298 #17 0x00007fa59a3ffa03 in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1 #18 0x00007fa5abb7fb40 in start_thread (arg=<optimized out>) at pthread_create.c:304 #19 0x00007fa5a9e9336d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #20 0x0000000000000000 in ?? () Thread 1 (Thread 0x7fa5ad67a760 (LWP 2168)): [KCrash Handler] #6 0x00007fa5aaf70d18 in QGlyphLayout::effectiveAdvance (this=0x7fffde3a7af0, item=1418) at ../../include/QtGui/private/../../../../../../kde/src/KDE/git/qt-copy/src/gui/text/qtextengine_p.h:220 #7 0x00007fa5ab0bc478 in QTextLine::cursorToX (this=0x7fffde3a7ce0, cursorPos=0x7fffde3a7d1c, edge=QTextLine::Leading) at /opt/kde/src/KDE/git/qt-copy/src/gui/text/qtextlayout.cpp:2582 #8 0x00007fa592207579 in cursorToX (edge=QTextLine::Leading, cursorPos=4, this=0x7fffde3a7ce0) at /opt/qt/include/QtGui/qtextlayout.h:230 #9 KateRenderer::layoutLine (this=0x3cae4a0, lineLayout=..., maxwidth=0, cacheLayout=<optimized out>) at /opt/kde/src/KDE/git/kate/part/render/katerenderer.cpp:905 #10 0x00007fa59220be3d in KateLayoutCache::line (this=0x3b10c20, realLine=54, virtualLine=54) at /opt/kde/src/KDE/git/kate/part/render/katelayoutcache.cpp:318 #11 0x00007fa59225d9c0 in KateViewInternal::viewLineOffset (this=0x3d4a2f0, virtualCursor=..., offset=65, keepX=false) at /opt/kde/src/KDE/git/kate/part/view/kateviewinternal.cpp:1327 #12 0x00007fa59225de0b in KateViewInternal::maxStartPos (this=0x3d4a2f0, changed=<optimized out>) at /opt/kde/src/KDE/git/kate/part/view/kateviewinternal.cpp:421 #13 0x00007fa592261bfe in KateViewInternal::resizeEvent (this=0x3d4a2f0, e=<optimized out>) at /opt/kde/src/KDE/git/kate/part/view/kateviewinternal.cpp:3001 #14 0x00007fa5aae1cd85 in QWidget::event (this=0x3d4a2f0, event=0x7fffde3a8ae0) at /opt/kde/src/KDE/git/qt-copy/src/gui/kernel/qwidget.cpp:8515 #15 0x00007fa5aadb7bde in QApplicationPrivate::notify_helper (this=0x248c240, receiver=0x3d4a2f0, e=0x7fffde3a8ae0) at /opt/kde/src/KDE/git/qt-copy/src/gui/kernel/qapplication.cpp:4550 #16 0x00007fa5aadb78e0 in QApplication::notify (this=0x7fffde3ab0b0, receiver=0x3d4a2f0, e=0x7fffde3a8ae0) at /opt/kde/src/KDE/git/qt-copy/src/gui/kernel/qapplication.cpp:4515 #17 0x00007fa5ad060e06 in KApplication::notify (this=0x7fffde3ab0b0, receiver=0x3d4a2f0, event=0x7fffde3a8ae0) at /opt/kde/src/KDE/git/kdelibs/kdeui/kernel/kapplication.cpp:311 #18 0x00007fa5abf6e4ba in QCoreApplication::notifyInternal (this=0x7fffde3ab0b0, receiver=0x3d4a2f0, event=0x7fffde3a8ae0) at /opt/kde/src/KDE/git/qt-copy/src/corelib/kernel/qcoreapplication.cpp:876 #19 0x00007fa5abf71fb5 in QCoreApplication::sendEvent (receiver=0x3d4a2f0, event=0x7fffde3a8ae0) at ../../include/QtCore/../../../../../kde/src/KDE/git/qt-copy/src/corelib/kernel/qcoreapplication.h:231 #20 0x00007fa5aae1a2bc in QWidgetPrivate::sendPendingMoveAndResizeEvents (this=0x3d8a7f0, recursive=false, disableUpdates=false) at /opt/kde/src/KDE/git/qt-copy/src/gui/kernel/qwidget.cpp:7431 #21 0x00007fa5aae1a583 in QWidgetPrivate::show_helper (this=0x3d8a7f0) at /opt/kde/src/KDE/git/qt-copy/src/gui/kernel/qwidget.cpp:7482 #22 0x00007fa5aae1b0ce in QWidget::setVisible (this=0x3d4a2f0, visible=true) at /opt/kde/src/KDE/git/qt-copy/src/gui/kernel/qwidget.cpp:7763 #23 0x00007fa5aadfac3c in QWidget::show (this=0x3d4a2f0) at ../../include/QtGui/../../../../../kde/src/KDE/git/qt-copy/src/gui/kernel/qwidget.h:494 #24 0x00007fa5aae1b570 in QWidgetPrivate::showChildren (this=0x3d99c20, spontaneous=false) at /opt/kde/src/KDE/git/qt-copy/src/gui/kernel/qwidget.cpp:7851 #25 0x00007fa5aae1a5aa in QWidgetPrivate::show_helper (this=0x3d99c20) at /opt/kde/src/KDE/git/qt-copy/src/gui/kernel/qwidget.cpp:7488 #26 0x00007fa5aae1b0ce in QWidget::setVisible (this=0x3da0ad0, visible=true) at /opt/kde/src/KDE/git/qt-copy/src/gui/kernel/qwidget.cpp:7763 #27 0x00007fa5aadfac3c in QWidget::show (this=0x3da0ad0) at ../../include/QtGui/../../../../../kde/src/KDE/git/qt-copy/src/gui/kernel/qwidget.h:494 #28 0x00007fa5aae1b570 in QWidgetPrivate::showChildren (this=0x3d6a230, spontaneous=false) at /opt/kde/src/KDE/git/qt-copy/src/gui/kernel/qwidget.cpp:7851 #29 0x00007fa5aae1a5aa in QWidgetPrivate::show_helper (this=0x3d6a230) at /opt/kde/src/KDE/git/qt-copy/src/gui/kernel/qwidget.cpp:7488 #30 0x00007fa5aae1b0ce in QWidget::setVisible (this=0x3d60470, visible=true) at /opt/kde/src/KDE/git/qt-copy/src/gui/kernel/qwidget.cpp:7763 #31 0x00007fa5aadfac3c in QWidget::show (this=0x3d60470) at ../../include/QtGui/../../../../../kde/src/KDE/git/qt-copy/src/gui/kernel/qwidget.h:494 #32 0x00007fa5aadfa305 in QStackedLayout::setCurrentIndex (this=0x2e58f90, index=3) at /opt/kde/src/KDE/git/qt-copy/src/gui/kernel/qstackedlayout.cpp:311 #33 0x00007fa5aadfa4f0 in QStackedLayout::setCurrentWidget (this=0x2e58f90, widget=0x3d60470) at /opt/kde/src/KDE/git/qt-copy/src/gui/kernel/qstackedlayout.cpp:365 #34 0x00007fa5ab35c8ca in QStackedWidget::setCurrentWidget (this=0x2e0c550, widget=0x3d60470) at /opt/kde/src/KDE/git/qt-copy/src/gui/widgets/qstackedwidget.cpp:292 #35 0x00007fa597acfcf7 in KateViewSpace::showView (this=0x2e405d0, document=<optimized out>) at /opt/kde/src/KDE/git/kate/kate/app/kateviewspace.cpp:177 #36 0x00007fa597ad0187 in showView (view=<optimized out>, this=0x2e405d0) at /opt/kde/src/KDE/git/kate/kate/app/kateviewspace.h:113 #37 KateViewSpace::addView (this=0x2e405d0, v=0x3d60470, show=true) at /opt/kde/src/KDE/git/kate/kate/app/kateviewspace.cpp:129 #38 0x00007fa597ac9855 in createView (doc=<optimized out>, this=0x2e03d80) at /opt/kde/src/KDE/git/kate/kate/app/kateviewmanager.cpp:405 #39 KateViewManager::createView (this=0x2e03d80, doc=<optimized out>) at /opt/kde/src/KDE/git/kate/kate/app/kateviewmanager.cpp:382 #40 0x00007fa597aca098 in KateViewManager::activateView (this=0x2e03d80, d=0x3dd4680) at /opt/kde/src/KDE/git/kate/kate/app/kateviewmanager.cpp:588 #41 0x00007fa597aca589 in KateViewManager::slotDocumentOpen (this=0x2e03d80) at /opt/kde/src/KDE/git/kate/kate/app/kateviewmanager.cpp:250 #42 0x00007fa5abf8c75c in QMetaObject::activate (sender=0x2e1b750, m=0x7fa5abb29f00, local_signal_index=1, argv=0x7fffde3a9440) at /opt/kde/src/KDE/git/qt-copy/src/corelib/kernel/qobject.cpp:3547 #43 0x00007fa5aada8298 in QAction::triggered (this=0x2e1b750, _t1=false) at .moc/debug-shared/moc_qaction.cpp:277 #44 0x00007fa5aada7558 in QAction::activate (this=0x2e1b750, event=QAction::Trigger) at /opt/kde/src/KDE/git/qt-copy/src/gui/kernel/qaction.cpp:1257 #45 0x00007fa5aada8977 in QAction::trigger (this=0x2e1b750) at /opt/kde/src/KDE/git/qt-copy/src/gui/kernel/qaction.h:218 #46 0x00007fa5ab387743 in QToolButton::nextCheckState (this=0x2e42620) at /opt/kde/src/KDE/git/qt-copy/src/gui/widgets/qtoolbutton.cpp:1144 #47 0x00007fa5ab28567e in QAbstractButtonPrivate::click (this=0x2e90be0) at /opt/kde/src/KDE/git/qt-copy/src/gui/widgets/qabstractbutton.cpp:528 #48 0x00007fa5ab286bcf in QAbstractButton::mouseReleaseEvent (this=0x2e42620, e=0x7fffde3aa270) at /opt/kde/src/KDE/git/qt-copy/src/gui/widgets/qabstractbutton.cpp:1121 #49 0x00007fa5ab3860c7 in QToolButton::mouseReleaseEvent (this=0x2e42620, e=0x7fffde3aa270) at /opt/kde/src/KDE/git/qt-copy/src/gui/widgets/qtoolbutton.cpp:718 #50 0x00007fa5aae1c574 in QWidget::event (this=0x2e42620, event=0x7fffde3aa270) at /opt/kde/src/KDE/git/qt-copy/src/gui/kernel/qwidget.cpp:8361 #51 0x00007fa5ab286a25 in QAbstractButton::event (this=0x2e42620, e=0x7fffde3aa270) at /opt/kde/src/KDE/git/qt-copy/src/gui/widgets/qabstractbutton.cpp:1080 #52 0x00007fa5ab3877b9 in QToolButton::event (this=0x2e42620, event=0x7fffde3aa270) at /opt/kde/src/KDE/git/qt-copy/src/gui/widgets/qtoolbutton.cpp:1160 #53 0x00007fa5aadb7bde in QApplicationPrivate::notify_helper (this=0x248c240, receiver=0x2e42620, e=0x7fffde3aa270) at /opt/kde/src/KDE/git/qt-copy/src/gui/kernel/qapplication.cpp:4550 #54 0x00007fa5aadb5b7e in QApplication::notify (this=0x7fffde3ab0b0, receiver=0x2e42620, e=0x7fffde3aa270) at /opt/kde/src/KDE/git/qt-copy/src/gui/kernel/qapplication.cpp:4093 #55 0x00007fa5ad060e06 in KApplication::notify (this=0x7fffde3ab0b0, receiver=0x2e42620, event=0x7fffde3aa270) at /opt/kde/src/KDE/git/kdelibs/kdeui/kernel/kapplication.cpp:311 #56 0x00007fa5abf6e4ba in QCoreApplication::notifyInternal (this=0x7fffde3ab0b0, receiver=0x2e42620, event=0x7fffde3aa270) at /opt/kde/src/KDE/git/qt-copy/src/corelib/kernel/qcoreapplication.cpp:876 #57 0x00007fa5aadba3fb in QCoreApplication::sendSpontaneousEvent (receiver=0x2e42620, event=0x7fffde3aa270) at ../../include/QtCore/../../../../../kde/src/KDE/git/qt-copy/src/corelib/kernel/qcoreapplication.h:234 #58 0x00007fa5aadb4198 in QApplicationPrivate::sendMouseEvent (receiver=0x2e42620, event=0x7fffde3aa270, alienWidget=0x2e42620, nativeWidget=0x2e944e0, buttonDown=0x7fa5abb75f38, lastMouseReceiver=..., spontaneous=true) at /opt/kde/src/KDE/git/qt-copy/src/gui/kernel/qapplication.cpp:3159 #59 0x00007fa5aae57bb9 in QETWidget::translateMouseEvent (this=0x2e944e0, event=0x7fffde3aac50) at /opt/kde/src/KDE/git/qt-copy/src/gui/kernel/qapplication_x11.cpp:4494 #60 0x00007fa5aae545dc in QApplication::x11ProcessEvent (this=0x7fffde3ab0b0, event=0x7fffde3aac50) at /opt/kde/src/KDE/git/qt-copy/src/gui/kernel/qapplication_x11.cpp:3498 #61 0x00007fa5aae8ea48 in x11EventSourceDispatch (s=0x2493bb0, callback=0, user_data=0x0) at /opt/kde/src/KDE/git/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:146 #62 0x00007fa5a65e20cf in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #63 0x00007fa5a65e28c8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #64 0x00007fa5a65e2a99 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #65 0x00007fa5abfaa617 in QEventDispatcherGlib::processEvents (this=0x24993b0, flags=...) at /opt/kde/src/KDE/git/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:424 #66 0x00007fa5aae8ede8 in QGuiEventDispatcherGlib::processEvents (this=0x24993b0, flags=...) at /opt/kde/src/KDE/git/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:204 #67 0x00007fa5abf6bd84 in QEventLoop::processEvents (this=0x7fffde3aafe0, flags=...) at /opt/kde/src/KDE/git/qt-copy/src/corelib/kernel/qeventloop.cpp:149 #68 0x00007fa5abf6bf0e in QEventLoop::exec (this=0x7fffde3aafe0, flags=...) at /opt/kde/src/KDE/git/qt-copy/src/corelib/kernel/qeventloop.cpp:204 #69 0x00007fa5abf6eb3a in QCoreApplication::exec () at /opt/kde/src/KDE/git/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1148 #70 0x00007fa5aadb4e04 in QApplication::exec () at /opt/kde/src/KDE/git/qt-copy/src/gui/kernel/qapplication.cpp:3811 #71 0x00007fa597d0c495 in kdemain (argc=<optimized out>, argv=<optimized out>) at /opt/kde/src/KDE/git/kate/kate/app/katemain.cpp:377 #72 0x000000000040882f in launch (argc=2, _name=0x239d448 "/opt/kde/bin/kate", args=<optimized out>, cwd=0x0, envc=<optimized out>, envs=<optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x239d478 "martin-desktop;1323453379;965740;1251_TIME132174138") at /opt/kde/src/KDE/git/kdelibs/kinit/kinit.cpp:734 #73 0x0000000000409756 in handle_launcher_request (sock=<optimized out>, who=<optimized out>) at /opt/kde/src/KDE/git/kdelibs/kinit/kinit.cpp:1226 #74 0x0000000000409def in handle_requests (waitForPid=0) at /opt/kde/src/KDE/git/kdelibs/kinit/kinit.cpp:1419 #75 0x000000000040572f in main (argc=4, argv=0x7fff00000001, envp=0x7fffde3ad6f0) at /opt/kde/src/KDE/git/kdelibs/kinit/kinit.cpp:1907 Reported using DrKonqi
Created attachment 67966 [details] New crash information added by DrKonqi kate (3.7.4) on KDE Platform 4.7.4 (4.7.4) using Qt 4.8.0 - What I was doing when the application crashed: The crash happens every time I start Kate loading a specific Kate session. The only difference between the session that causes the crash and the other Kate sessions that work fine is that this specific one contains many source files (44) from many different locations, including two source trees and ~/.config -- Backtrace (Reduced): #6 0x00007f4a571f5118 in effectiveAdvance (item=<optimized out>, this=<synthetic pointer>) at text/qtextengine_p.h:220 #7 QTextLine::cursorToX (this=0x7fff4a4a0f30, cursorPos=0x7fff4a4a0f6c, edge=<optimized out>) at text/qtextlayout.cpp:2582 #8 0x00007f4a3d32a919 in cursorToX (edge=QTextLine::Leading, cursorPos=8, this=0x7fff4a4a0f30) at /usr/include/qt4/QtGui/qtextlayout.h:219 #9 KateRenderer::layoutLine (this=0x2f4f280, lineLayout=..., maxwidth=0, cacheLayout=<optimized out>) at ../../part/render/katerenderer.cpp:961 #10 0x00007f4a3d32f1ad in KateLayoutCache::line (this=0x2f504a0, realLine=279, virtualLine=279) at ../../part/render/katelayoutcache.cpp:314
*** Bug 291949 has been marked as a duplicate of this bug. ***
Martin, is this still an issue???
Given the other duplicate reports, the reason seems to be Qt 4.8...
(In reply to comment #3) > Martin, is this still an issue??? I did not hit the crash anymore since the report. So I cannot say whether it is still an issue or not. Sorry.
*** Bug 292122 has been marked as a duplicate of this bug. ***
Here's a diff between a crashing session and a non-crashing session. The content of the TODO file doesn't matter. --- /home/milko/.kde/share/apps/kate/sessions/OntMerge2.katesession.working 2012-01-23 22:11:06.759744982 +0200 +++ /home/milko/.kde/share/apps/kate/sessions/OntMerge2.katesession 2012-01-23 22:11:24.355848423 +0200 @@ -322,6 +322,15 @@ ReadWrite=true URL=file:///home/milko/Документи/Програмиране/Биоинформатика/pawnets/setup.py +[Document 41] +Bookmarks= +Encoding=UTF-8 +Highlighting=None +Indentation Mode=0 +Mode= +ReadWrite=true +URL=file:///home/milko/Документи/Програмиране/Биоинформатика/ontmerge2/TODO + [Document 5] Bookmarks= Encoding=UTF-8 @@ -434,10 +443,10 @@ Sizes=574,590 [MainWindow0-ViewSpace 0] -Active View=file:///home/milko/Документи/Програмиране/Биоинформатика/pawnets/setup.py -Count=1 +Active View=file:///home/milko/Документи/Програмиране/Биоинформатика/ontmerge2/TODO +Count=2 View 0=file:///home/milko/Документи/Програмиране/Биоинформатика/pawnets/setup.py -View 1=file:///home/milko/Документи/Програмиране/Биоинформатика/pawnets/setup.py +View 1=file:///home/milko/Документи/Програмиране/Биоинформатика/ontmerge2/TODO View 10=file:///home/milko/Документи/Програмиране/Биоинформатика/ontmerge2/TODO View 11=file:///home/milko/Документи/Програмиране/Биоинформатика/ontmerge2/ontmerge2/references/fma.py View 12=file:///home/milko/Документи/Програмиране/Биоинформатика/ontmerge2/ontmerge2/ui/predictions.py @@ -691,7 +700,7 @@ CursorLine=45 [Open Documents] -Count=41 +Count=42 [Open MainWindows] Count=1
OK, it has nothing to do with which file is in the session, it has to do with which file is active. If I open the TODO file (leaving it active) and reload, there's a crash. If I switch to another file before I reload, there's no crash.
In that case, can you attach the TODO file?
*** Bug 294477 has been marked as a duplicate of this bug. ***
*** Bug 294992 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 292947 ***