Bug 239970 - kile crashes when marking, deleting or cutting/pasting text
Summary: kile crashes when marking, deleting or cutting/pasting text
Status: RESOLVED DUPLICATE of bug 202007
Alias: None
Product: kile
Classification: Applications
Component: general (show other bugs)
Version: 2.0.85
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Michel Ludwig
URL:
Keywords:
: 239002 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-29 13:54 UTC by Martin Schläffer
Modified: 2010-05-30 23:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.94 KB, text/plain)
2010-05-29 19:29 UTC, Martin Schläffer
Details
New crash information added by DrKonqi (4.10 KB, text/plain)
2010-05-30 11:43 UTC, Martin Schläffer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schläffer 2010-05-29 13:54:23 UTC
Application: kile (2.0.85)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic-tuxonice x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
This crash happens every now and then but it works fine most of the time. I cannot really reproduce this except for working on the text and waiting for the crash. It happens when I edit already written text. I type some new text, then mark old text with the mouse and either delete it using DEL or cut the text and paste it somewhere else.

The crash can be reproduced some of the time.

 -- Backtrace:
Application: Kile (kile), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fea0dea1760 (LWP 5025))]

Thread 2 (Thread 0x7fe9fad4e710 (LWP 5057)):
#0  0x00007fea08dd4f53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fea056544a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fea056548fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fea0a659566 in QEventDispatcherGlib::processEvents (this=0x2084380, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007fea0a62e992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fea0a62ed6c in QEventLoop::exec (this=0x7fe9fad4ddb0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fea0a538d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007fea0a60f178 in QInotifyFileSystemWatcherEngine::run (this=0x2087490) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fea0a53b775 in QThreadPrivate::start (arg=0x2087490) at thread/qthread_unix.cpp:248
#9  0x00007fea07a619ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fea08de16cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fea0dea1760 (LWP 5025)):
[KCrash Handler]
#5  KateSmartCursor (this=0x409d8a0, position=<value optimized out>, doc=0x3735820, insertBehavior=<value optimized out>) at ../../kate/smart/katesmartcursor.cpp:50
#6  0x00007fe9fdae64df in KateSmartRange (this=0x41131e0, range=..., doc=0x3735820, parent=0x0, insertBehavior=<value optimized out>) at ../../kate/smart/katesmartrange.cpp:36
#7  0x00007fe9fdaec2b1 in KateSmartManager::newSmartRange (this=0x37357e0, range=..., parent=0x0, insertBehavior=<value optimized out>, internal=false) at ../../kate/smart/katesmartmanager.cpp:211
#8  0x00007fe9fda7cbcb in KateDocument::newSmartRange (this=<value optimized out>, range=..., parent=0x7fe9fde0f7f8, insertBehavior=<value optimized out>) at ../../kate/document/katedocument.cpp:4834
#9  0x00007fe9fdb4235b in KateIconBorder::showBlock (this=0x375c0f0) at ../../kate/view/kateviewhelpers.cpp:1343
#10 0x00007fe9fdb42794 in KateIconBorder::qt_metacall (this=0x375c0f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff20f12210) at ./kateviewhelpers.moc:160
#11 0x00007fea0a642e3f in QMetaObject::activate (sender=0x375b310, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3293
#12 0x00007fea0a63fa63 in QObject::event (this=0x375b310, e=0x7fff20f12960) at kernel/qobject.cpp:1212
#13 0x00007fea099e922c in QApplicationPrivate::notify_helper (this=0x183e7b0, receiver=0x375b310, e=0x7fff20f12960) at kernel/qapplication.cpp:4300
#14 0x00007fea099ef6fb in QApplication::notify (this=0x7fff20f12cb0, receiver=0x375b310, e=0x7fff20f12960) at kernel/qapplication.cpp:4183
#15 0x00007fea0b4ec526 in KApplication::notify (this=0x7fff20f12cb0, receiver=0x375b310, event=0x7fff20f12960) at ../../kdeui/kernel/kapplication.cpp:302
#16 0x00007fea0a63006c in QCoreApplication::notifyInternal (this=0x7fff20f12cb0, receiver=0x375b310, event=0x7fff20f12960) at kernel/qcoreapplication.cpp:704
#17 0x00007fea0a65cd42 in QCoreApplication::sendEvent (this=0x1841e80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#18 QTimerInfoList::activateTimers (this=0x1841e80) at kernel/qeventdispatcher_unix.cpp:603
#19 0x00007fea0a659848 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#20 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#21 0x00007fea056508c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#22 0x00007fea05654748 in ?? () from /lib/libglib-2.0.so.0
#23 0x00007fea056548fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#24 0x00007fea0a659513 in QEventDispatcherGlib::processEvents (this=0x1819560, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#25 0x00007fea09a9946e in QGuiEventDispatcherGlib::processEvents (this=0x37357e0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#26 0x00007fea0a62e992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#27 0x00007fea0a62ed6c in QEventLoop::exec (this=0x7fff20f12c00, flags=) at kernel/qeventloop.cpp:201
#28 0x00007fea0a632aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#29 0x00000000005f3092 in _start ()

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

Possible duplicates by query: bug 239002, bug 237531, bug 211473, bug 200285.

Reported using DrKonqi
Comment 1 Martin Schläffer 2010-05-29 19:29:05 UTC
Created attachment 47461 [details]
New crash information added by DrKonqi

I just report new cases when similar crashes occurs. I hope it helps to solve the problem. This time, I marked parts of a paragraph and pressed Ctrl-J to format the text. After about 30s (the text was still marked) I wanted to search in the document. Pressing Ctrl-F crashed kile immediately.
Comment 2 Martin Schläffer 2010-05-30 11:43:40 UTC
Created attachment 47479 [details]
New crash information added by DrKonqi

This time, I could narrow down the exact point of the crash. I marked some text with the mouse and intendet to overwrite it with a capital letter. As soon as I pressed the Shift key, kile crashed.
Comment 3 Michel Ludwig 2010-05-30 23:07:15 UTC
*** Bug 239002 has been marked as a duplicate of this bug. ***
Comment 4 Michel Ludwig 2010-05-30 23:27:11 UTC

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