Bug 311180 - Crash while scrolling through diff
Summary: Crash while scrolling through diff
Status: RESOLVED DUPLICATE of bug 294241
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-05 09:23 UTC by Maarten ter Huurne
Modified: 2013-03-23 15:29 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maarten ter Huurne 2012-12-05 09:23:51 UTC
Application: kate (3.9.3)
KDE Platform Version: 4.9.3 "release 520"
Qt Version: 4.8.3
Operating System: Linux 3.4.11-2.16-desktop x86_64
Distribution (Platform): openSUSE RPMs

-- Information about the crash:
- What I was doing when the application crashed:

The active document was a diff and I was scrolling through it with the mouse scroll wheel. I had edited and saved the diff before scrolling; not sure if there were unsaved changes at the moment of the crash.

This might be related to bug 302096: both happened with a diff and both stack traces have at their top classes from the code folding tree, but I don't know if that is a coincidence or not. It does seem suspicious that both crashes happened with diff files, since I edit a lot of files in Kate and I haven't had a crash on a different file type in a long time.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Kate (kdeinit4), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f9a68c33780 (LWP 4993))]

Thread 2 (Thread 0x7f9a4d7ec700 (LWP 5603)):
#0  0x00007f9a675148f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f9a5c3e2247 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f9a5c6ef640 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f9a5c3e2279 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f9a5896b764 in ?? () from /usr/X11R6/lib64/libGL.so.1
#4  0x00007f9a67510e0e in start_thread () from /lib64/libpthread.so.0
#5  0x00007f9a6628b2bd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f9a68c33780 (LWP 4993)):
[KCrash Handler]
#6  hasMatch (this=0x4e719c0) at /usr/src/debug/kate-4.9.3/part/syntax/katecodefolding.h:228
#7  matchingNode (this=0x4e719c0) at /usr/src/debug/kate-4.9.3/part/syntax/katecodefolding.h:231
#8  getStartMatching (endNode=0x67a4250, this=0x4e719c0) at /usr/src/debug/kate-4.9.3/part/syntax/katecodefolding.cpp:155
#9  KateCodeFoldingTree::getLineInfo (this=<optimized out>, info=0x7fff2a4ed720, line=<optimized out>) at /usr/src/debug/kate-4.9.3/part/syntax/katecodefolding.cpp:995
#10 0x00007f9a4e511092 in KateIconBorder::paintBorder (this=0x870d0f0, y=<optimized out>, height=<optimized out>) at /usr/src/debug/kate-4.9.3/part/view/kateviewhelpers.cpp:1046
#11 0x00007f9a66a80e82 in QWidget::event (this=0x870d0f0, event=0x7fff2a4ee100) at kernel/qwidget.cpp:8517
#12 0x00007f9a66a3174c in QApplicationPrivate::notify_helper (this=this@entry=0x1a62460, receiver=receiver@entry=0x870d0f0, e=e@entry=0x7fff2a4ee100) at kernel/qapplication.cpp:4557
#13 0x00007f9a66a35bca in QApplication::notify (this=0x7fff2a4f2350, receiver=0x870d0f0, e=0x7fff2a4ee100) at kernel/qapplication.cpp:4418
#14 0x00007f9a6863c616 in KApplication::notify (this=0x7fff2a4f2350, receiver=0x870d0f0, event=0x7fff2a4ee100) at /usr/src/debug/kdelibs-4.9.3/kdeui/kernel/kapplication.cpp:311
#15 0x00007f9a678a2b0e in QCoreApplication::notifyInternal (this=0x7fff2a4f2350, receiver=0x870d0f0, event=0x7fff2a4ee100) at kernel/qcoreapplication.cpp:915
#16 0x00007f9a66a7cb94 in sendSpontaneousEvent (event=0x7fff2a4ee100, receiver=0x870d0f0) at ../../src/corelib/kernel/qcoreapplication.h:234
#17 QWidgetPrivate::drawWidget (this=this@entry=0x4ad6fc0, pdev=pdev@entry=0x1c8b710, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x2189600) at kernel/qwidget.cpp:5594
#18 0x00007f9a66a7d68f in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x3e217b0, pdev=pdev@entry=0x1c8b710, siblings=..., index=<optimized out>, index@entry=1, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x2189600) at kernel/qwidget.cpp:5803
#19 0x00007f9a66a7d4d4 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x3e217b0, pdev=pdev@entry=0x1c8b710, siblings=..., index=1, index@entry=2, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x2189600) at kernel/qwidget.cpp:5790
#20 0x00007f9a66a7d4d4 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x3e217b0, pdev=pdev@entry=0x1c8b710, siblings=..., index=2, index@entry=3, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x2189600) at kernel/qwidget.cpp:5790
#21 0x00007f9a66a7d4d4 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x3e217b0, pdev=pdev@entry=0x1c8b710, siblings=..., index=3, index@entry=4, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x2189600) at kernel/qwidget.cpp:5790
#22 0x00007f9a66a7d4d4 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x3e217b0, pdev=pdev@entry=0x1c8b710, siblings=..., index=4, index@entry=5, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x2189600) at kernel/qwidget.cpp:5790
#23 0x00007f9a66a7d4d4 in QWidgetPrivate::paintSiblingsRecursive (this=0x3e217b0, pdev=0x1c8b710, siblings=..., index=5, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x2189600) at kernel/qwidget.cpp:5790
#24 0x00007f9a66a7c725 in QWidgetPrivate::drawWidget (this=this@entry=0x3e217b0, pdev=pdev@entry=0x1c8b710, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x2189600) at kernel/qwidget.cpp:5647
#25 0x00007f9a66a7d68f in QWidgetPrivate::paintSiblingsRecursive (this=0x2be9ce0, pdev=0x1c8b710, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x2189600) at kernel/qwidget.cpp:5803
#26 0x00007f9a66a7c725 in QWidgetPrivate::drawWidget (this=this@entry=0x2be9ce0, pdev=pdev@entry=0x1c8b710, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x2189600) at kernel/qwidget.cpp:5647
#27 0x00007f9a66a7d68f in QWidgetPrivate::paintSiblingsRecursive (this=0x22115a0, pdev=0x1c8b710, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x2189600) at kernel/qwidget.cpp:5803
#28 0x00007f9a66a7c725 in QWidgetPrivate::drawWidget (this=this@entry=0x22115a0, pdev=pdev@entry=0x1c8b710, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x2189600) at kernel/qwidget.cpp:5647
#29 0x00007f9a66a7d68f in QWidgetPrivate::paintSiblingsRecursive (this=0x2401980, pdev=0x1c8b710, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x2189600) at kernel/qwidget.cpp:5803
#30 0x00007f9a66a7c725 in QWidgetPrivate::drawWidget (this=this@entry=0x2401980, pdev=pdev@entry=0x1c8b710, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x2189600) at kernel/qwidget.cpp:5647
#31 0x00007f9a66a7d68f in QWidgetPrivate::paintSiblingsRecursive (this=0x2193a40, pdev=0x1c8b710, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x2189600) at kernel/qwidget.cpp:5803
#32 0x00007f9a66a7c725 in QWidgetPrivate::drawWidget (this=this@entry=0x2193a40, pdev=pdev@entry=0x1c8b710, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x2189600) at kernel/qwidget.cpp:5647
#33 0x00007f9a66a7d68f in QWidgetPrivate::paintSiblingsRecursive (this=0x2185060, pdev=0x1c8b710, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x2189600) at kernel/qwidget.cpp:5803
#34 0x00007f9a66a7c725 in QWidgetPrivate::drawWidget (this=this@entry=0x2185060, pdev=pdev@entry=0x1c8b710, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x2189600) at kernel/qwidget.cpp:5647
#35 0x00007f9a66a7d68f in QWidgetPrivate::paintSiblingsRecursive (this=0x2182e70, pdev=0x1c8b710, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x2189600) at kernel/qwidget.cpp:5803
#36 0x00007f9a66a7c725 in QWidgetPrivate::drawWidget (this=this@entry=0x2182e70, pdev=pdev@entry=0x1c8b710, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x2189600) at kernel/qwidget.cpp:5647
#37 0x00007f9a66a7d68f in QWidgetPrivate::paintSiblingsRecursive (this=0x21813e0, pdev=0x1c8b710, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x2189600) at kernel/qwidget.cpp:5803
#38 0x00007f9a66a7c725 in QWidgetPrivate::drawWidget (this=this@entry=0x21813e0, pdev=pdev@entry=0x1c8b710, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x2189600) at kernel/qwidget.cpp:5647
#39 0x00007f9a66a7d68f in QWidgetPrivate::paintSiblingsRecursive (this=0x21805e0, pdev=0x1c8b710, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x2189600) at kernel/qwidget.cpp:5803
#40 0x00007f9a66a7c725 in QWidgetPrivate::drawWidget (this=this@entry=0x21805e0, pdev=pdev@entry=0x1c8b710, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x2189600) at kernel/qwidget.cpp:5647
#41 0x00007f9a66a7d68f in QWidgetPrivate::paintSiblingsRecursive (this=0x217f0d0, pdev=0x1c8b710, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x2189600) at kernel/qwidget.cpp:5803
#42 0x00007f9a66a7c725 in QWidgetPrivate::drawWidget (this=this@entry=0x217f0d0, pdev=pdev@entry=0x1c8b710, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x2189600) at kernel/qwidget.cpp:5647
#43 0x00007f9a66a7d68f in QWidgetPrivate::paintSiblingsRecursive (this=0x1df2020, pdev=0x1c8b710, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x2189600) at kernel/qwidget.cpp:5803
#44 0x00007f9a66a7c725 in QWidgetPrivate::drawWidget (this=0x1df2020, pdev=0x1c8b710, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0x2189600) at kernel/qwidget.cpp:5647
#45 0x00007f9a66c46948 in QWidgetBackingStore::sync (this=0x2189600) at painting/qbackingstore.cpp:1373
#46 0x00007f9a66a71830 in QWidgetPrivate::syncBackingStore (this=this@entry=0x1df2020) at kernel/qwidget.cpp:1892
#47 0x00007f9a66a814cc in QWidget::event (this=0x1df2e30, event=0x5f8e780) at kernel/qwidget.cpp:8664
#48 0x00007f9a66e44bdb in QMainWindow::event (this=0x1df2e30, event=0x5f8e780) at widgets/qmainwindow.cpp:1478
#49 0x00007f9a6872de68 in KXmlGuiWindow::event (this=0x1df2e30, ev=0x5f8e780) at /usr/src/debug/kdelibs-4.9.3/kdeui/xmlgui/kxmlguiwindow.cpp:126
#50 0x00007f9a66a3174c in QApplicationPrivate::notify_helper (this=this@entry=0x1a62460, receiver=receiver@entry=0x1df2e30, e=e@entry=0x5f8e780) at kernel/qapplication.cpp:4557
#51 0x00007f9a66a35bca in QApplication::notify (this=0x7fff2a4f2350, receiver=0x1df2e30, e=0x5f8e780) at kernel/qapplication.cpp:4418
#52 0x00007f9a6863c616 in KApplication::notify (this=0x7fff2a4f2350, receiver=0x1df2e30, event=0x5f8e780) at /usr/src/debug/kdelibs-4.9.3/kdeui/kernel/kapplication.cpp:311
#53 0x00007f9a678a2b0e in QCoreApplication::notifyInternal (this=0x7fff2a4f2350, receiver=receiver@entry=0x1df2e30, event=event@entry=0x5f8e780) at kernel/qcoreapplication.cpp:915
#54 0x00007f9a678a6471 in sendEvent (event=0x5f8e780, receiver=0x1df2e30) at kernel/qcoreapplication.h:231
#55 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x192d2b0) at kernel/qcoreapplication.cpp:1539
#56 0x00007f9a678d0b43 in sendPostedEvents () at kernel/qcoreapplication.h:236
#57 postEventSourceDispatch (s=0x1a5fce0) at kernel/qeventdispatcher_glib.cpp:279
#58 0x00007f9a62fcd3b5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#59 0x00007f9a62fcd6e8 in ?? () from /usr/lib64/libglib-2.0.so.0
#60 0x00007f9a62fcd7a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#61 0x00007f9a678d0cd6 in QEventDispatcherGlib::processEvents (this=0x1933790, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#62 0x00007f9a66ad1a5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#63 0x00007f9a678a185f in QEventLoop::processEvents (this=this@entry=0x7fff2a4f1ee0, flags=...) at kernel/qeventloop.cpp:149
#64 0x00007f9a678a1ae8 in QEventLoop::exec (this=0x7fff2a4f1ee0, flags=...) at kernel/qeventloop.cpp:204
#65 0x00007f9a678a6788 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#66 0x00007f9a541aa7fd in kdemain (argc=<optimized out>, argv=0x19e5c00) at /usr/src/debug/kate-4.9.3/kate/app/katemain.cpp:377
#67 0x0000000000408856 in launch (argc=argc@entry=3, _name=_name@entry=0x19dd0b8 "/usr/bin/kate", args=0x19dd107 "", args@entry=0x19dd0c6 "-session", cwd=cwd@entry=0x0, envc=envc@entry=0, envs=<optimized out>, envs@entry=0x19dd10f "", reset_env=false, tty=tty@entry=0x0, avoid_loops=false, startup_id_str=startup_id_str@entry=0x40b0c6 "0") at /usr/src/debug/kdelibs-4.9.3/kinit/kinit.cpp:726
#68 0x00000000004096db in handle_launcher_request (sock=8, who=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at /usr/src/debug/kdelibs-4.9.3/kinit/kinit.cpp:1218
#69 0x0000000000409d20 in handle_requests (waitForPid=waitForPid@entry=0) at /usr/src/debug/kdelibs-4.9.3/kinit/kinit.cpp:1411
#70 0x0000000000405927 in main (argc=4, argv=<optimized out>, envp=0x7fff2a4f3190) at /usr/src/debug/kdelibs-4.9.3/kinit/kinit.cpp:1899

This bug may be a duplicate of or related to bug 302096.

Possible duplicates by query: bug 309846, bug 308139, bug 306369, bug 297317, bug 297261.

Reported using DrKonqi
Comment 1 Dominik Haumann 2012-12-05 09:32:33 UTC
Known issue, unfortunately. If you find a way how to reproduce, please let us know.

*** This bug has been marked as a duplicate of bug 309846 ***
Comment 2 Dominik Haumann 2013-03-23 15:29:50 UTC

*** This bug has been marked as a duplicate of bug 294241 ***