Bug 233683

Summary: Kate crashed when moving cursor.
Product: [Applications] kate Reporter: Nemo157 <ghostunderscore>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nemo157 2010-04-08 04:08:54 UTC
Application: kate (3.4.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-16-generic x86_64
Distribution: Ubuntu lucid (development branch)

-- Information about the crash:
I was editing a latex file and clicked somewhere in the document, I think it was at the end but I'm not sure, and Kate crashed.  From reading bug 199716 I also had the command line open and had "static line breaking" on.

 -- Backtrace:
Application: Kate (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fef6ac91760 (LWP 16222))]

Thread 2 (Thread 0x7fef571b6710 (LWP 16225)):
#0  0x00007fef68ed73ff in __pthread_mutex_lock (mutex=0x1ab92d8) at pthread_mutex_lock.c:62
#1  0x00007fef64645141 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fef6464546c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fef69282566 in QEventDispatcherGlib::processEvents (this=0x185c780, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007fef69257992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fef69257d6c in QEventLoop::exec (this=0x7fef571b5db0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fef69161d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007fef69238178 in QInotifyFileSystemWatcherEngine::run (this=0x1ab84a0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fef69164775 in QThreadPrivate::start (arg=0x1ab84a0) at thread/qthread_unix.cpp:248
#9  0x00007fef68ed49ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fef67c876dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fef6ac91760 (LWP 16222)):
[KCrash Handler]
#5  KateSmartCursor::setPositionInternal (this=0x12546e0, pos=..., internal=false) at ../../kate/smart/katesmartcursor.cpp:186
#6  0x00007fef5eea8199 in KateSmartCursor::setPosition (this=0x12546e0, pos=...) at ../../kate/smart/katesmartcursor.cpp:415
#7  0x00007fef5eef7d26 in KateSmartCursor::operator= (this=0x1254660, newCursor=<value optimized out>, force=<value optimized out>, center=false, calledExternally=<value optimized out>)
    at ../../kate/smart/katesmartcursor.h:68
#8  KateViewInternal::updateCursor (this=0x1254660, newCursor=<value optimized out>, force=<value optimized out>, center=false, calledExternally=<value optimized out>)
    at ../../kate/view/kateviewinternal.cpp:1910
#9  0x00007fef5eefb983 in KateViewInternal::placeCursor (this=0x1254660, p=<value optimized out>, keepSelection=<value optimized out>, updateSelection=true)
    at ../../kate/view/kateviewinternal.cpp:2171
#10 0x00007fef5eefde92 in KateViewInternal::mousePressEvent (this=0x1254660, e=0x7fff74a06e90) at ../../kate/view/kateviewinternal.cpp:2632
#11 0x00007fef6844b569 in QWidget::event (this=0x1254660, event=0x7fff74a06e90) at kernel/qwidget.cpp:7994
#12 0x00007fef683f522c in QApplicationPrivate::notify_helper (this=0x12a22f0, receiver=0x1254660, e=0x7fff74a06e90) at kernel/qapplication.cpp:4300
#13 0x00007fef683fbecb in QApplication::notify (this=0x7fff74a07c20, receiver=0x1254660, e=0x7fff74a06e90) at kernel/qapplication.cpp:3865
#14 0x00007fef697a0526 in KApplication::notify (this=0x7fff74a07c20, receiver=0x1254660, event=0x7fff74a06e90) at ../../kdeui/kernel/kapplication.cpp:302
#15 0x00007fef6925906c in QCoreApplication::notifyInternal (this=0x7fff74a07c20, receiver=0x1254660, event=0x7fff74a06e90) at kernel/qcoreapplication.cpp:704
#16 0x00007fef683fb0ae in QCoreApplication::sendEvent (receiver=0x1254660, event=0x7fff74a06e90, alienWidget=0x0, nativeWidget=0x1254660, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#17 QApplicationPrivate::sendMouseEvent (receiver=0x1254660, event=0x7fff74a06e90, alienWidget=0x0, nativeWidget=0x1254660, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, 
    spontaneous=true) at kernel/qapplication.cpp:2965
#18 0x00007fef6847af65 in QETWidget::translateMouseEvent (this=0x1254660, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368
#19 0x00007fef684798ac in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff74a077b0) at kernel/qapplication_x11.cpp:3501
#20 0x00007fef684a5732 in x11EventSourceDispatch (s=0x12a4000, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#21 0x00007fef64641432 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#22 0x00007fef646452b8 in ?? () from /lib/libglib-2.0.so.0
#23 0x00007fef6464546c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#24 0x00007fef69282513 in QEventDispatcherGlib::processEvents (this=0x12a0020, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#25 0x00007fef684a531e in QGuiEventDispatcherGlib::processEvents (this=0x7fff74a064f0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#26 0x00007fef69257992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#27 0x00007fef69257d6c in QEventLoop::exec (this=0x7fff74a07ae0, flags=) at kernel/qeventloop.cpp:201
#28 0x00007fef6925baab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#29 0x00007fef61e21eed in kdemain () from /usr/lib/libkdeinit4_kate.so
#30 0x00000000004070f3 in launch (argc=2, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=16, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x1250e26 "bob2;1270681862;594174;1421_TIME39918951") at ../../kinit/kinit.cpp:717
#31 0x0000000000407cb0 in handle_launcher_request (sock=7, who=<value optimized out>) at ../../kinit/kinit.cpp:1209
#32 0x000000000040823a in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1402
#33 0x0000000000408e22 in main (argc=2, argv=<value optimized out>, envp=<value optimized out>) at ../../kinit/kinit.cpp:1845

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

Possible duplicates by query: bug 232183, bug 218657, bug 209855, bug 199716.

Reported using DrKonqi
Comment 1 Dominik Haumann 2010-04-08 16:22:30 UTC

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