Bug 240083 - kile crashed while typing
Summary: kile crashed while typing
Status: RESOLVED DUPLICATE of bug 237531
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:
Depends on:
Blocks:
 
Reported: 2010-05-30 14:41 UTC by Martin Schläffer
Modified: 2010-05-30 23:19 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 Martin Schläffer 2010-05-30 14:41:45 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 time kile crashed suddenly while typing text. It seems it's a duplicate of a closed kate bug about smart ranges. According to the bug report, smart ranges are deprecated and not used in kate. I'm not sure but if smart ranges really crash kile that often I wonder if they can just be deactivated for kile as well. I try to save regularly but it's a long time until KDE 4.5 is out and I get crashes several times a day. Anyway, I really like kile and thanks for all your efforts to make it more stable. I hope I can help a bit by just reporting crashes.

The crash can be reproduced some of the time.

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

Thread 2 (Thread 0x7f3ffcc95710 (LWP 24308)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f3ffcc94aa0 in ?? ()
#2  0x00007fffbe2e1852 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0x7f400fd62760 (LWP 24302)):
[KCrash Handler]
#5  KateSmartCursor (this=0x4d0e5c0, position=<value optimized out>, doc=0x4400750, insertBehavior=<value optimized out>) at ../../kate/smart/katesmartcursor.cpp:50
#6  0x00007f4002f5a4df in KateSmartRange (this=0x4ddc1a0, range=..., doc=0x4400750, parent=0x0, insertBehavior=<value optimized out>) at ../../kate/smart/katesmartrange.cpp:36
#7  0x00007f4002f602b1 in KateSmartManager::newSmartRange (this=0x4400710, range=..., parent=0x0, insertBehavior=<value optimized out>, internal=false) at ../../kate/smart/katesmartmanager.cpp:211
#8  0x00007f4002ef0bcb in KateDocument::newSmartRange (this=<value optimized out>, range=..., parent=0x7f40032837f8, insertBehavior=<value optimized out>) at ../../kate/document/katedocument.cpp:4834
#9  0x00007f4002ff0caf in KateOnTheFlyChecker::handleRespellCheckBlock (this=0x43ffb40, kateDocument=<value optimized out>, start=1015, end=<value optimized out>)
    at ../../kate/spellcheck/ontheflycheck.cpp:132
#10 0x00007f4002ff10b4 in KateOnTheFlyChecker::qt_metacall (this=0x43ffb40, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbe20b3d0) at ./ontheflycheck.moc:130
#11 0x00007f400c503e3f in QMetaObject::activate (sender=0x4400750, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3293
#12 0x00007f4002ef1648 in KateDocument::respellCheckBlock (this=0x4400710, _t1=0x4400750, _t2=1015, _t3=1563) at ./katedocument.moc:562
#13 0x00007f4002f13151 in KateDocument::respellCheckBlock (this=0x4400750, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbe20b580) at ../../kate/document/katedocument.h:1110
#14 KateDocument::qt_metacall (this=0x4400750, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbe20b580) at ./katedocument.moc:396
#15 0x00007f400c503e3f in QMetaObject::activate (sender=0x4401690, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3293
#16 0x00007f4002f16ebf in KateBuffer::respellCheckBlock (this=0x4400710, _t1=1015, _t2=1563) at ./katebuffer.moc:103
#17 0x00007f4002f1a665 in KateBuffer::doHighlight (this=0x4401690, startLine=<value optimized out>, endLine=<value optimized out>, invalidate=<value optimized out>)
    at ../../kate/document/katebuffer.cpp:1356
#18 0x00007f4002f1c441 in KateBuffer::editEnd (this=0x4401690) at ../../kate/document/katebuffer.cpp:538
#19 0x00007f4002f00c9c in KateDocument::editEnd (this=0x4400750) at ../../kate/document/katedocument.cpp:971
#20 0x00007f4002f02fb0 in KateDocument::typeChars (this=0x4400750, view=0x440ada0, chars=...) at ../../kate/document/katedocument.cpp:2756
#21 0x00007f4002fa6a76 in KateViewInternal::keyPressEvent (this=0x4418a90, e=0x7fffbe20c650) at ../../kate/view/kateviewinternal.cpp:2458
#22 0x00007f4002fa5c92 in KateViewInternal::eventFilter (this=0x4418a90, obj=0x4418a90, e=0x7fffbe20c650) at ../../kate/view/kateviewinternal.cpp:2261
#23 0x00007f400c4f0487 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x4418a90, event=0x7fffbe20c650) at kernel/qcoreapplication.cpp:819
#24 0x00007f400b8aa1fc in QApplicationPrivate::notify_helper (this=0x25977b0, receiver=0x4418a90, e=0x7fffbe20c650) at kernel/qapplication.cpp:4296
#25 0x00007f400b8b1ec5 in QApplication::notify (this=<value optimized out>, receiver=0x4418a90, e=0x7fffbe20c650) at kernel/qapplication.cpp:3763
#26 0x00007f400d3ad526 in KApplication::notify (this=0x7fffbe20d600, receiver=0x4418a90, event=0x7fffbe20c650) at ../../kdeui/kernel/kapplication.cpp:302
#27 0x00007f400c4f106c in QCoreApplication::notifyInternal (this=0x7fffbe20d600, receiver=0x4418a90, event=0x7fffbe20c650) at kernel/qcoreapplication.cpp:704
#28 0x00007f400b95516a in QKeyMapper::sendKeyEvent (keyWidget=0x4418a90, grab=<value optimized out>, type=QEvent::KeyPress, code=36, modifiers=<value optimized out>, text=..., autorepeat=false, 
    count=1, nativeScanCode=13, nativeVirtualKey=36, nativeModifiers=1) at kernel/qkeymapper_x11.cpp:1861
#29 0x00007f400b9576f0 in QKeyMapperPrivate::translateKeyEvent (this=0x25d7340, keyWidget=0x4418a90, event=<value optimized out>, grab=27) at kernel/qkeymapper_x11.cpp:1831
#30 0x00007f400b92e904 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffbe20d220) at kernel/qapplication_x11.cpp:3394
#31 0x00007f400b95a882 in x11EventSourceDispatch (s=0x259af50, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#32 0x00007f40075118c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#33 0x00007f4007515748 in ?? () from /lib/libglib-2.0.so.0
#34 0x00007f40075158fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#35 0x00007f400c51a513 in QEventDispatcherGlib::processEvents (this=0x2572560, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#36 0x00007f400b95a46e in QGuiEventDispatcherGlib::processEvents (this=0x4400710, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007f400c4ef992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#38 0x00007f400c4efd6c in QEventLoop::exec (this=0x7fffbe20d550, flags=) at kernel/qeventloop.cpp:201
#39 0x00007f400c4f3aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#40 0x00000000005f3092 in _start ()

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

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

Reported using DrKonqi
Comment 1 Michel Ludwig 2010-05-30 23:19:05 UTC
You should be able to avoid this crash by not using on-the-fly spell checking.
Anyway, this crash has already been reported in bug 237531.

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