Bug 297317 - Crash while scrolling
Summary: Crash while scrolling
Status: RESOLVED DUPLICATE of bug 294241
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-02 15:11 UTC by Manfred Rebentisch
Modified: 2012-04-03 08:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 4.8.2


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manfred Rebentisch 2012-04-02 15:11:28 UTC
Application: kate (3.8.1)
KDE Platform Version: 4.8.1 (4.8.1)
Qt Version: 4.8.0
Operating System: Linux 3.0.0-17-generic x86_64
Distribution: Ubuntu 11.10

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

Switch to the kate window and scroll down in a html file very fast (with the mouse on the right scrollbar).

Sometime it is not possible to access the last lines of the file (not only html files), sometime kate crashs.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f3b9d3327a0 (LWP 5045))]

Thread 5 (Thread 0x7f3b8ae08700 (LWP 5047)):
#0  0x00007f3b9cc7b473 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3b99d93f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3b99d94792 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3b9003c516 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f3b99db92b6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3b9a265efc in start_thread (arg=0x7f3b8ae08700) at pthread_create.c:304
#6  0x00007f3b9cc8759d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f3b7ffbf700 (LWP 5048)):
#0  0x00007f3b9cc7b473 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3b99d93f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3b99d94429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3b9ab61c26 in QEventDispatcherGlib::processEvents (this=0x14587c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f3b9ab31402 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f3b9ab31657 in QEventLoop::exec (this=0x7f3b7ffbedb0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f3b9aa31067 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f3b9ab1117f in QInotifyFileSystemWatcherEngine::run (this=0x1167920) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f3b9aa3408b in QThreadPrivate::start (arg=0x1167920) at thread/qthread_unix.cpp:298
#9  0x00007f3b9a265efc in start_thread (arg=0x7f3b7ffbf700) at pthread_create.c:304
#10 0x00007f3b9cc8759d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f3b7c9b2700 (LWP 5049)):
#0  0x00007f3b9cc7b473 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3b99d93f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3b99d94429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3b9ab61c26 in QEventDispatcherGlib::processEvents (this=0x24d79a0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f3b9ab31402 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f3b9ab31657 in QEventLoop::exec (this=0x7f3b7c9b1db0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f3b9aa31067 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f3b9ab1117f in QInotifyFileSystemWatcherEngine::run (this=0x24d5fe0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f3b9aa3408b in QThreadPrivate::start (arg=0x24d5fe0) at thread/qthread_unix.cpp:298
#9  0x00007f3b9a265efc in start_thread (arg=0x7f3b7c9b2700) at pthread_create.c:304
#10 0x00007f3b9cc8759d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f3b7c15f700 (LWP 5050)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f3b81019042 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f3b81019079 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f3b9a265efc in start_thread (arg=0x7f3b7c15f700) at pthread_create.c:304
#4  0x00007f3b9cc8759d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3b9d3327a0 (LWP 5045)):
[KCrash Handler]
#6  hasMatch (this=0x5ab5430) at ../../part/syntax/katecodefolding.h:225
#7  matchingNode (this=0x5ab5430) at ../../part/syntax/katecodefolding.h:228
#8  getStartMatching (endNode=0x64fbb40, this=0x5ab5550) at ../../part/syntax/katecodefolding.cpp:155
#9  KateCodeFoldingTree::getLineInfo (this=<optimized out>, info=0x7fffa25fc480, line=<optimized out>) at ../../part/syntax/katecodefolding.cpp:996
#10 0x00007f3b816fcbca in KateIconBorder::paintBorder (this=0x6135470, y=<optimized out>, height=<optimized out>) at ../../part/view/kateviewhelpers.cpp:1197
#11 0x00007f3b9c0f48c6 in QWidget::event (this=0x6135470, event=0x7fffa25fcdf0) at kernel/qwidget.cpp:8507
#12 0x00007f3b9c0a4104 in notify_helper (e=0x7fffa25fcdf0, receiver=0x6135470, this=0x116c500) at kernel/qapplication.cpp:4555
#13 QApplicationPrivate::notify_helper (this=0x116c500, receiver=0x6135470, e=0x7fffa25fcdf0) at kernel/qapplication.cpp:4527
#14 0x00007f3b9c0a8f83 in QApplication::notify (this=0x7fffa2600ca0, receiver=0x6135470, e=0x7fffa25fcdf0) at kernel/qapplication.cpp:4416
#15 0x00007f3b9b3399a6 in KApplication::notify (this=0x7fffa2600ca0, receiver=0x6135470, event=0x7fffa25fcdf0) at ../../kdeui/kernel/kapplication.cpp:311
#16 0x00007f3b9ab3261c in QCoreApplication::notifyInternal (this=0x7fffa2600ca0, receiver=0x6135470, event=0x7fffa25fcdf0) at kernel/qcoreapplication.cpp:876
#17 0x00007f3b9c0f0566 in sendSpontaneousEvent (event=0x7fffa25fcdf0, receiver=0x6135470) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#18 QWidgetPrivate::drawWidget (this=0x6135550, pdev=0x2920b30, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x22f98b0) at kernel/qwidget.cpp:5584
#19 0x00007f3b9c0f11df in QWidgetPrivate::paintSiblingsRecursive (this=0x4175430, pdev=0x2920b30, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x22f98b0) at kernel/qwidget.cpp:5793
#20 0x00007f3b9c0f029c in QWidgetPrivate::drawWidget (this=0x4175430, pdev=0x2920b30, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0x22f98b0) at kernel/qwidget.cpp:5637
#21 0x00007f3b9c0f11df in QWidgetPrivate::paintSiblingsRecursive (this=0x5e6eb30, pdev=0x2920b30, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x22f98b0) at kernel/qwidget.cpp:5793
#22 0x00007f3b9c0f029c in QWidgetPrivate::drawWidget (this=0x5e6eb30, pdev=0x2920b30, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0x22f98b0) at kernel/qwidget.cpp:5637
#23 0x00007f3b9c0f11df in QWidgetPrivate::paintSiblingsRecursive (this=0x2305f60, pdev=0x2920b30, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x22f98b0) at kernel/qwidget.cpp:5793
#24 0x00007f3b9c0f029c in QWidgetPrivate::drawWidget (this=0x2305f60, pdev=0x2920b30, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0x22f98b0) at kernel/qwidget.cpp:5637
#25 0x00007f3b9c0f11df in QWidgetPrivate::paintSiblingsRecursive (this=0x2305a90, pdev=0x2920b30, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x22f98b0) at kernel/qwidget.cpp:5793
#26 0x00007f3b9c0f029c in QWidgetPrivate::drawWidget (this=0x2305a90, pdev=0x2920b30, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0x22f98b0) at kernel/qwidget.cpp:5637
#27 0x00007f3b9c0f11df in QWidgetPrivate::paintSiblingsRecursive (this=0x22fd560, pdev=0x2920b30, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x22f98b0) at kernel/qwidget.cpp:5793
#28 0x00007f3b9c0f029c in QWidgetPrivate::drawWidget (this=0x22fd560, pdev=0x2920b30, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0x22f98b0) at kernel/qwidget.cpp:5637
#29 0x00007f3b9c0f11df in QWidgetPrivate::paintSiblingsRecursive (this=0x22f5eb0, pdev=0x2920b30, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x22f98b0) at kernel/qwidget.cpp:5793
#30 0x00007f3b9c0f029c in QWidgetPrivate::drawWidget (this=0x22f5eb0, pdev=0x2920b30, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0x22f98b0) at kernel/qwidget.cpp:5637
#31 0x00007f3b9c0f11df in QWidgetPrivate::paintSiblingsRecursive (this=0x22d7bc0, pdev=0x2920b30, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x22f98b0) at kernel/qwidget.cpp:5793
#32 0x00007f3b9c0f029c in QWidgetPrivate::drawWidget (this=0x22d7bc0, pdev=0x2920b30, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0x22f98b0) at kernel/qwidget.cpp:5637
#33 0x00007f3b9c0f11df in QWidgetPrivate::paintSiblingsRecursive (this=0x22d62b0, pdev=0x2920b30, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x22f98b0) at kernel/qwidget.cpp:5793
#34 0x00007f3b9c0f029c in QWidgetPrivate::drawWidget (this=0x22d62b0, pdev=0x2920b30, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0x22f98b0) at kernel/qwidget.cpp:5637
#35 0x00007f3b9c0f11df in QWidgetPrivate::paintSiblingsRecursive (this=0x22d5670, pdev=0x2920b30, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x22f98b0) at kernel/qwidget.cpp:5793
#36 0x00007f3b9c0f029c in QWidgetPrivate::drawWidget (this=0x22d5670, pdev=0x2920b30, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0x22f98b0) at kernel/qwidget.cpp:5637
#37 0x00007f3b9c0f11df in QWidgetPrivate::paintSiblingsRecursive (this=0x22d42d0, pdev=0x2920b30, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x22f98b0) at kernel/qwidget.cpp:5793
#38 0x00007f3b9c0f029c in QWidgetPrivate::drawWidget (this=0x22d42d0, pdev=0x2920b30, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0x22f98b0) at kernel/qwidget.cpp:5637
#39 0x00007f3b9c0f11df in QWidgetPrivate::paintSiblingsRecursive (this=0x1a2a3e0, pdev=0x2920b30, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x22f98b0) at kernel/qwidget.cpp:5793
#40 0x00007f3b9c0f029c in QWidgetPrivate::drawWidget (this=0x1a2a3e0, pdev=0x2920b30, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0x22f98b0) at kernel/qwidget.cpp:5637
#41 0x00007f3b9c2becd8 in QWidgetBackingStore::sync (this=0x22f98b0) at painting/qbackingstore.cpp:1373
#42 0x00007f3b9c0e7290 in QWidgetPrivate::syncBackingStore (this=0x1a2a3e0) at kernel/qwidget.cpp:1890
#43 0x00007f3b9c0f4ddc in QWidget::event (this=0x1a27670, event=0x63a8950) at kernel/qwidget.cpp:8654
#44 0x00007f3b9c4cc08b in QMainWindow::event (this=0x1a27670, event=0x63a8950) at widgets/qmainwindow.cpp:1478
#45 0x00007f3b9b436368 in KXmlGuiWindow::event (this=0x1a27670, ev=0x63a8950) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#46 0x00007f3b9c0a4104 in notify_helper (e=0x63a8950, receiver=0x1a27670, this=0x116c500) at kernel/qapplication.cpp:4555
#47 QApplicationPrivate::notify_helper (this=0x116c500, receiver=0x1a27670, e=0x63a8950) at kernel/qapplication.cpp:4527
#48 0x00007f3b9c0a8f83 in QApplication::notify (this=0x7fffa2600ca0, receiver=0x1a27670, e=0x63a8950) at kernel/qapplication.cpp:4416
#49 0x00007f3b9b3399a6 in KApplication::notify (this=0x7fffa2600ca0, receiver=0x1a27670, event=0x63a8950) at ../../kdeui/kernel/kapplication.cpp:311
#50 0x00007f3b9ab3261c in QCoreApplication::notifyInternal (this=0x7fffa2600ca0, receiver=0x1a27670, event=0x63a8950) at kernel/qcoreapplication.cpp:876
#51 0x00007f3b9ab363ea in sendEvent (event=0x63a8950, receiver=0x1a27670) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#52 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x113d670) at kernel/qcoreapplication.cpp:1500
#53 0x00007f3b9ab61793 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#54 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#55 0x00007f3b99d93a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#56 0x00007f3b99d94258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#57 0x00007f3b99d94429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#58 0x00007f3b9ab61bbf in QEventDispatcherGlib::processEvents (this=0x113eb30, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#59 0x00007f3b9c14928e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#60 0x00007f3b9ab31402 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#61 0x00007f3b9ab31657 in QEventLoop::exec (this=0x7fffa2600c10, flags=...) at kernel/qeventloop.cpp:204
#62 0x00007f3b9ab366e7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#63 0x00007f3b9cf4c2a2 in kdemain (argc=1, argv=0x7fffa26021e8) at /home/mareb/kde/kate/kate/app/katemain.cpp:377
#64 0x0000000000400736 in main (argc=1, argv=0x7fffa26021e8) at /home/mareb/kde/build/kate/app/kate_dummy.cpp:3

Possible duplicates by query: bug 297261, bug 294241, bug 293934.

Reported using DrKonqi
Comment 1 Dominik Haumann 2012-04-02 21:13:25 UTC
Fixed in KDE 4.8.2, please update.

*** This bug has been marked as a duplicate of bug 294241 ***
Comment 2 Manfred Rebentisch 2012-04-03 08:11:25 UTC
Hello Dominik,
I do the git clone and build process again, along the description of http://kate-editor.org/get-it/

The kate editor shows version 4.8.1, not 4.8.2 - is that ok? If not: how can I get 4.8.2 ?

Thank you
Manfred
Comment 3 Dominik Haumann 2012-04-03 08:30:25 UTC
Kate usually is shipped with KDE. For this reason, Kate builds its version from KDE. So when you start Kate under KDE 4.8.1, it will always say Kate 3.8.1. If you started it in KDE 4.6.0, it would say Kate 3.6.0, even though you compiled it from sources.

In other words: if you compiled from git, you have the newest version, no matter what your About-dialog says :-)