Bug 300538

Summary: Crash while scrolling
Product: [Applications] kate Reporter: Kenny <kstephens>
Component: kwriteAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: christoph
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kenny 2012-05-24 02:19:18 UTC
Application: kile (2.1.0)
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-24-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Using arrow keys to scroll down. Restarted kile after crash from pasting. Scrolled about three lines before crash.
- Unusual behavior I noticed:
Okular was displaying pdf of LaTeX file open in kile. Okular was line-scrolling without any user input to do so. Paged-up but okular continued to scroll.

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

Thread 5 (Thread 0x7fa0cfc96700 (LWP 3171)):
#0  0x00007fa0e2f16b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fa0de4b5ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa0de4b645a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa0cfc9b98b in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007fa0de4d79a5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa0ded7ae9a in start_thread (arg=0x7fa0cfc96700) at pthread_create.c:308
#6  0x00007fa0e2f224bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fa0cf08a700 (LWP 3172)):
#0  0x00007fa0e2f16b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fa0de4b5ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa0de4b645a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa0d658b2c6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fa0de4d79a5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa0ded7ae9a in start_thread (arg=0x7fa0cf08a700) at pthread_create.c:308
#6  0x00007fa0e2f224bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fa0bbdf7700 (LWP 3174)):
#0  0x00007fa0de4f12e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fa0de4f1589 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa0de4b589b in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa0de4b5f6a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa0de4b6124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa0e47f8426 in QEventDispatcherGlib::processEvents (this=0x7fa0b40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fa0e47c7c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fa0e47c7ed7 in QEventLoop::exec (this=0x7fa0bbdf6dd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fa0e46c6fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007fa0e47a79ff in QInotifyFileSystemWatcherEngine::run (this=0x1d2fd90) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007fa0e46c9fcb in QThreadPrivate::start (arg=0x1d2fd90) at thread/qthread_unix.cpp:298
#11 0x00007fa0ded7ae9a in start_thread (arg=0x7fa0bbdf7700) at pthread_create.c:308
#12 0x00007fa0e2f224bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fa0b3794700 (LWP 3248)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fa0e1181222 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007fa0e1181259 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007fa0ded7ae9a in start_thread (arg=0x7fa0b3794700) at pthread_create.c:308
#4  0x00007fa0e2f224bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa0e6fc1780 (LWP 3170)):
[KCrash Handler]
#6  0x00007fa000000548 in ?? ()
#7  0x00007fa0bc2c7e49 in Kate::TextBuffer::rangesForLine (this=<optimized out>, line=131, view=0x36915c0, rangesWithAttributeOnly=false) at ../../part/buffer/katetextbuffer.cpp:820
#8  0x00007fa0bc3b599e in KateView::updateRangesIn (this=0x36915c0, activationType=KTextEditor::Attribute::ActivateCaretIn) at ../../part/view/kateview.cpp:2830
#9  0x00007fa0bc3be960 in KateViewInternal::updateCursor (this=0x3388700, newCursor=..., force=<optimized out>, center=false, calledExternally=false) at ../../part/view/kateviewinternal.cpp:1875
#10 0x00007fa0bc3c2036 in KateViewInternal::cursorDown (this=0x3388700, sel=true) at ../../part/view/kateviewinternal.cpp:1454
#11 0x00007fa0e47dd281 in QMetaObject::activate (sender=0x380ac40, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff8576cc00) at kernel/qobject.cpp:3547
#12 0x00007fa0e38c8132 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#13 0x00007fa0e38c831f in QAction::activate (this=0x380ac40, event=<optimized out>) at kernel/qaction.cpp:1257
#14 0x00007fa0e38c848f in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1183
#15 0x00007fa0e51400ca in KAction::event (this=<optimized out>, event=0x7fff8576d220) at ../../kdeui/actions/kaction.cpp:131
#16 0x00007fa0e38ce894 in notify_helper (e=0x7fff8576d220, receiver=0x380ac40, this=0x19158b0) at kernel/qapplication.cpp:4559
#17 QApplicationPrivate::notify_helper (this=0x19158b0, receiver=0x380ac40, e=0x7fff8576d220) at kernel/qapplication.cpp:4531
#18 0x00007fa0e38d3713 in QApplication::notify (this=0x7fff8576e6f0, receiver=0x380ac40, e=0x7fff8576d220) at kernel/qapplication.cpp:4420
#19 0x00007fa0e5228b46 in KApplication::notify (this=0x7fff8576e6f0, receiver=0x380ac40, event=0x7fff8576d220) at ../../kdeui/kernel/kapplication.cpp:311
#20 0x00007fa0e47c8e9c in QCoreApplication::notifyInternal (this=0x7fff8576e6f0, receiver=0x380ac40, event=0x7fff8576d220) at kernel/qcoreapplication.cpp:876
#21 0x00007fa0e39008b9 in sendEvent (event=0x7fff8576d220, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#22 QShortcutMap::dispatchEvent (this=<optimized out>, e=0x7fff8576d7c0) at kernel/qshortcutmap.cpp:879
#23 0x00007fa0e3901d8a in QShortcutMap::tryShortcutEvent (this=0x19159d0, o=<optimized out>, e=0x7fff8576d7c0) at kernel/qshortcutmap.cpp:364
#24 0x00007fa0e38d4f92 in QApplication::notify (this=0x7fff8576e6f0, receiver=0x3388700, e=0x7fff8576d7c0) at kernel/qapplication.cpp:3983
#25 0x00007fa0e5228b46 in KApplication::notify (this=0x7fff8576e6f0, receiver=0x3388700, event=0x7fff8576d7c0) at ../../kdeui/kernel/kapplication.cpp:311
#26 0x00007fa0e47c8e9c in QCoreApplication::notifyInternal (this=0x7fff8576e6f0, receiver=0x3388700, event=0x7fff8576d7c0) at kernel/qcoreapplication.cpp:876
#27 0x00007fa0e3972c49 in QKeyMapper::sendKeyEvent (keyWidget=0x3388700, grab=<optimized out>, type=QEvent::KeyPress, code=16777237, modifiers=..., text=..., autorepeat=true, count=1, nativeScanCode=116, nativeVirtualKey=65364, nativeModifiers=17) at kernel/qkeymapper_x11.cpp:1866
#28 0x00007fa0e39730bb in QKeyMapperPrivate::translateKeyEvent (this=0x1954270, keyWidget=0x3388700, event=0x7fff8576e2b0, grab=false) at kernel/qkeymapper_x11.cpp:1836
#29 0x00007fa0e394d637 in QApplication::x11ProcessEvent (this=0x7fff8576e6f0, event=0x7fff8576e2b0) at kernel/qapplication_x11.cpp:3625
#30 0x00007fa0e39770d2 in x11EventSourceDispatch (s=0x1918570, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#31 0x00007fa0de4b5c9a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fa0de4b6060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fa0de4b6124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fa0e47f83bf in QEventDispatcherGlib::processEvents (this=0x18e0b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#35 0x00007fa0e3976d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007fa0e47c7c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007fa0e47c7ed7 in QEventLoop::exec (this=0x7fff8576e650, flags=...) at kernel/qeventloop.cpp:204
#38 0x00007fa0e47ccf67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#39 0x0000000000436c84 in ?? ()
#40 0x00007fa0e2e5176d in __libc_start_main (main=0x435ad0, argc=1, ubp_av=0x7fff8576f518, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff8576f508) at libc-start.c:226
#41 0x0000000000439015 in _start ()

Reported using DrKonqi
Comment 1 Michel Ludwig 2012-06-15 19:26:04 UTC
Forwarding to KatePart
Comment 2 Christoph Cullmann 2012-10-27 11:05:11 UTC
I really would like to fix this, but without a way to reproduce it, there is no chance :(
Comment 3 Dominik Haumann 2013-01-20 15:50:13 UTC

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