Bug 268779 - Kate crashes when scrolling very fast
Summary: Kate crashes when scrolling very fast
Status: RESOLVED DUPLICATE of bug 243478
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-17 20:48 UTC by Alexey Chernov
Modified: 2011-08-01 10:28 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 Alexey Chernov 2011-03-17 20:48:59 UTC
Application: kate (3.6.1)
KDE Platform Version: 4.6.1 (4.6.1) (Compiled from sources)
Qt Version: 4.7.2
Operating System: Linux 2.6.36.1 x86_64

-- Information about the crash:
- What I was doing when the application crashed:
I've grabbed the scroll handler and turn it to the bottom so fast. Kate suddenly crashed.

-- Backtrace:
Application: Kate (kdeinit4), signal: Aborted
[Current thread is 1 (Thread 0x7f43db72e760 (LWP 2162))]

Thread 2 (Thread 0x7f43b3903710 (LWP 2200)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f43c03eb7c4 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f43c06fa100) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f43c03eb7f9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f43c07081d4) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f43d9e39aca in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x00007f43d83d158d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f43db72e760 (LWP 2162)):
[KCrash Handler]
#6  0x00007f43d8323315 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f43d832499f in *__GI_abort () at abort.c:92
#8  0x00007f43da0d04af in qt_message_output (msgType=QtFatalMsg, buf=<value optimized out>) at global/qglobal.cpp:2282
#9  0x00007f43da0d0652 in qt_message (msgType=QtFatalMsg, msg=0x7f43da24a9b0 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fffbff95210) at global/qglobal.cpp:2328
#10 0x00007f43da0d0805 in qFatal (msg=0x872 <Address 0x872 out of bounds>) at global/qglobal.cpp:2511
#11 0x00007f43b459ef7f in KateLayoutCache::lastViewLine (this=0x3ec10e0, realLine=1593) at /usr/src/packages/kde4/4.6.1/kdelibs-4.6.1/kate/render/katelayoutcache.cpp:456
#12 0x00007f43b459efa9 in KateLayoutCache::viewLineCount (this=0x872, realLine=2162) at /usr/src/packages/kde4/4.6.1/kdelibs-4.6.1/kate/render/katelayoutcache.cpp:462
#13 0x00007f43b459f1fe in KateLayoutCache::displayViewLine (this=0x3ec10e0, virtualCursor=..., limitToVisible=false) at /usr/src/packages/kde4/4.6.1/kdelibs-4.6.1/kate/render/katelayoutcache.cpp:425
#14 0x00007f43b45e7ca2 in KateViewInternal::scrollPos (this=0x41e11e0, c=..., force=<value optimized out>, calledExternally=false)
    at /usr/src/packages/kde4/4.6.1/kdelibs-4.6.1/kate/view/kateviewinternal.cpp:451
#15 0x00007f43b45e822a in KateViewInternal::scrollLines (this=0x41e11e0, line=<value optimized out>) at /usr/src/packages/kde4/4.6.1/kdelibs-4.6.1/kate/view/kateviewinternal.cpp:341
#16 0x00007f43b45ef95e in KateViewInternal::qt_metacall (this=0x41e11e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbff95630)
    at /usr/src/packages/kde4/4.6.1/kdelibs-4.6.1/build/kate/kateviewinternal.moc:120
#17 0x00007f43da1f698f in QMetaObject::activate (sender=0x3ec1130, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3278
#18 0x00007f43d99b9ce1 in QAbstractSlider::sliderMoved (this=0x872, _t1=1630) at .moc/debug-shared/moc_qabstractslider.cpp:195
#19 0x00007f43d968605b in QAbstractSlider::setSliderPosition (this=0x3ec1130, position=1630) at widgets/qabstractslider.cpp:498
#20 0x00007f43d972b17a in QScrollBar::mouseMoveEvent (this=0x3ec1130, e=0x7fffbff96220) at widgets/qscrollbar.cpp:674
#21 0x00007f43b45faa63 in KateScrollBar::mouseMoveEvent (this=0x872, e=0x872) at /usr/src/packages/kde4/4.6.1/kdelibs-4.6.1/kate/view/kateviewhelpers.cpp:111
#22 0x00007f43d92c2512 in QWidget::event (this=0x3ec1130, event=0x7fffbff96220) at kernel/qwidget.cpp:8244
#23 0x00007f43d972bbc2 in QScrollBar::event (this=0x3ec1130, event=0x7fffbff96220) at widgets/qscrollbar.cpp:546
#24 0x00007f43d9264780 in QApplicationPrivate::notify_helper (this=0x21e7fe0, receiver=0x3ec1130, e=0x7fffbff96220) at kernel/qapplication.cpp:4462
#25 0x00007f43d926d78e in QApplication::notify (this=0x7fffbff96e10, receiver=0x3ec1130, e=0x7fffbff96220) at kernel/qapplication.cpp:4023
#26 0x00007f43db20bb21 in KApplication::notify (this=0x7fffbff96e10, receiver=0x3ec1130, event=0x7fffbff96220) at /usr/src/packages/kde4/4.6.1/kdelibs-4.6.1/kdeui/kernel/kapplication.cpp:311
#27 0x00007f43da1dbf0b in QCoreApplication::notifyInternal (this=0x7fffbff96e10, receiver=0x3ec1130, event=0x7fffbff96220) at kernel/qcoreapplication.cpp:731
#28 0x00007f43d92693f9 in QCoreApplication::sendEvent (receiver=0x3ec1130, event=0x7fffbff96220, alienWidget=0x0, nativeWidget=0x3ec1130, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#29 QApplicationPrivate::sendMouseEvent (receiver=0x3ec1130, event=0x7fffbff96220, alienWidget=0x0, nativeWidget=0x3ec1130, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, 
    spontaneous=true) at kernel/qapplication.cpp:3122
#30 0x00007f43d92f8b44 in QETWidget::translateMouseEvent (this=0x3ec1130, event=<value optimized out>) at kernel/qapplication_x11.cpp:4461
#31 0x00007f43d92f7b90 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffbff969a0) at kernel/qapplication_x11.cpp:3587
#32 0x00007f43d9323a92 in x11EventSourceDispatch (s=0x21e9b20, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#33 0x00007f43d4cdf3fc in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#34 0x00007f43d4cdfce8 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#35 0x00007f43d4cdfeac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#36 0x00007f43da20bd73 in QEventDispatcherGlib::processEvents (this=0x2116cf0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#37 0x00007f43d93233be in QGuiEventDispatcherGlib::processEvents (this=0x872, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007f43da1dab12 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#39 0x00007f43da1daef5 in QEventLoop::exec (this=0x7fffbff96cd0, flags=) at kernel/qeventloop.cpp:201
#40 0x00007f43da1dec8b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#41 0x00007f43bd1cc215 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/packages/kde4/4.6.1/kdesdk-4.6.1/kate/app/katemain.cpp:377
#42 0x00000000004079a3 in launch (argc=3, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=<value optimized out>, envs=<value optimized out>, reset_env=false, 
    tty=0x0, avoid_loops=false, startup_id_str=0x40adb6 "0") at /usr/src/packages/kde4/4.6.1/kdelibs-4.6.1/kinit/kinit.cpp:734
#43 0x000000000040856c in handle_launcher_request (sock=8, who=<value optimized out>) at /usr/src/packages/kde4/4.6.1/kdelibs-4.6.1/kinit/kinit.cpp:1226
#44 0x0000000000408d0a in handle_requests (waitForPid=<value optimized out>) at /usr/src/packages/kde4/4.6.1/kdelibs-4.6.1/kinit/kinit.cpp:1419
#45 0x0000000000409217 in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at /usr/src/packages/kde4/4.6.1/kdelibs-4.6.1/kinit/kinit.cpp:1907

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

Possible duplicates by query: bug 266427, bug 262653, bug 243478.

Reported using DrKonqi
Comment 1 Dominik Haumann 2011-08-01 10:28:23 UTC
Likely duplicate.

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