Bug 237531 - Crash due to 'KateDocument::respellCheckBlock' with on-the-fly spell checking
Summary: Crash due to 'KateDocument::respellCheckBlock' with on-the-fly spell checking
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: smart (show other bugs)
Version: 0.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
: 238607 240083 245523 248658 249124 249129 250775 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-13 18:55 UTC by Frank Güttler
Modified: 2010-09-21 22:24 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.12 KB, text/plain)
2010-05-29 16:49 UTC, Martin Schläffer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Güttler 2010-05-13 18:55:53 UTC
Application: kile (2.0.83)
KDE Platform Version: 4.4.3 (KDE 4.4.3)
Qt Version: 4.6.2
Operating System: Linux 2.6.31.12-0.2-default x86_64
Distribution: "openSUSE 11.2 (x86_64)"

-- Information about the crash:
I tried to insert a $ with the keyboard, kile crashed.

This is the first time of such crash, i used a lot of $ before.

 -- Backtrace:
Application: Kile (kile), signal: Segmentation fault
[KCrash Handler]
#5  KateSmartCursor::KateSmartCursor (this=0x2645d40, position=<value optimized out>, doc=0x16fb070, insertBehavior=<value optimized out>)
    at /usr/src/debug/kdelibs-4.4.3/kate/smart/katesmartcursor.cpp:50
#6  0x00007f50e3a4686f in KateSmartRange::KateSmartRange (this=0x20c65c0, range=..., doc=0x16fb070, parent=0x0, insertBehavior=<value optimized out>)
    at /usr/src/debug/kdelibs-4.4.3/kate/smart/katesmartrange.cpp:36
#7  0x00007f50e3a4c991 in KateSmartManager::newSmartRange (this=0x16f8c00, range=..., parent=0x0, insertBehavior=<value optimized out>, internal=false)
    at /usr/src/debug/kdelibs-4.4.3/kate/smart/katesmartmanager.cpp:211
#8  0x00007f50e39dc8eb in KateDocument::newSmartRange (this=<value optimized out>, range=..., parent=0x7f50e3d70818, insertBehavior=<value optimized out>)
    at /usr/src/debug/kdelibs-4.4.3/kate/document/katedocument.cpp:4838
#9  0x00007f50e3add0ef in KateOnTheFlyChecker::handleRespellCheckBlock (this=0x173eed0, kateDocument=<value optimized out>, start=311, end=<value optimized out>)
    at /usr/src/debug/kdelibs-4.4.3/kate/spellcheck/ontheflycheck.cpp:132
#10 0x00007f50e3add4f4 in KateOnTheFlyChecker::qt_metacall (this=0x173eed0, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff8e9e6a0)
    at /usr/src/debug/kdelibs-4.4.3/build/kate/ontheflycheck.moc:130
#11 0x00007f50f1fb678f in QMetaObject::activate (sender=0x16fb070, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3293
#12 0x00007f50e39dd378 in KateDocument::respellCheckBlock (this=0x16f8c00, _t1=0x16fb070, _t2=311, _t3=527) at /usr/src/debug/kdelibs-4.4.3/build/kate/katedocument.moc:562
#13 0x00007f50e39feed1 in respellCheckBlock (end=<value optimized out>, start=<value optimized out>, this=<value optimized out>) at /usr/src/debug/kdelibs-4.4.3/kate/document/katedocument.h:1110
#14 KateDocument::qt_metacall (end=<value optimized out>, start=<value optimized out>, this=<value optimized out>) at /usr/src/debug/kdelibs-4.4.3/build/kate/katedocument.moc:396
#15 0x00007f50f1fb678f in QMetaObject::activate (sender=0x173ae00, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3293
#16 0x00007f50e3a02c4f in KateBuffer::respellCheckBlock (this=0x16f8c00, _t1=311, _t2=527) at /usr/src/debug/kdelibs-4.4.3/build/kate/katebuffer.moc:103
#17 0x00007f50e3a063f5 in KateBuffer::doHighlight (this=0x173ae00, startLine=528, endLine=<value optimized out>, invalidate=<value optimized out>)
    at /usr/src/debug/kdelibs-4.4.3/kate/document/katebuffer.cpp:1356
#18 0x00007f50e3a07af1 in KateBuffer::editEnd (this=0x173ae00) at /usr/src/debug/kdelibs-4.4.3/kate/document/katebuffer.cpp:538
#19 0x00007f50e39ec99c in KateDocument::editEnd (this=0x16fb070) at /usr/src/debug/kdelibs-4.4.3/kate/document/katedocument.cpp:975
#20 0x00007f50e39eecb0 in KateDocument::typeChars (this=0x16fb070, view=0x195ab90, chars=...) at /usr/src/debug/kdelibs-4.4.3/kate/document/katedocument.cpp:2760
#21 0x00007f50e3a92ce0 in KateViewInternal::keyPressEvent (this=0x1987490, e=0x7ffff8e9f870) at /usr/src/debug/kdelibs-4.4.3/kate/view/kateviewinternal.cpp:2459
#22 0x00007f50e3a91f22 in KateViewInternal::eventFilter (this=0x1987490, obj=0x1987490, e=0x7ffff8e9f870) at /usr/src/debug/kdelibs-4.4.3/kate/view/kateviewinternal.cpp:2262
#23 0x00007f50f1fa2d97 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x1987490, event=0x7ffff8e9f870) at kernel/qcoreapplication.cpp:819
#24 0x00007f50f1143dec in QApplicationPrivate::notify_helper (this=0xa8aa80, receiver=0x1987490, e=0x7ffff8e9f870) at kernel/qapplication.cpp:4296
#25 0x00007f50f114bbb1 in QApplication::notify (this=<value optimized out>, receiver=0x1987490, e=0x7ffff8e9f870) at kernel/qapplication.cpp:3763
#26 0x00007f50f2b744e6 in KApplication::notify (this=0x7ffff8ea0820, receiver=0x1987490, event=0x7ffff8e9f870) at /usr/src/debug/kdelibs-4.4.3/kdeui/kernel/kapplication.cpp:302
#27 0x00007f50f1fa398c in QCoreApplication::notifyInternal (this=0x7ffff8ea0820, receiver=0x1987490, event=0x7ffff8e9f870) at kernel/qcoreapplication.cpp:704
#28 0x00007f50f11ed22a in QKeyMapper::sendKeyEvent (keyWidget=0x1987490, grab=<value optimized out>, type=KeyPress, code=36, modifiers=<value optimized out>, text=..., autorepeat=false, count=1, 
    nativeScanCode=13, nativeVirtualKey=36, nativeModifiers=17) at kernel/qkeymapper_x11.cpp:1861
#29 0x00007f50f11ef7a0 in QKeyMapperPrivate::translateKeyEvent (this=0xad9a90, keyWidget=0x1987490, event=<value optimized out>, grab=15) at kernel/qkeymapper_x11.cpp:1831
#30 0x00007f50f11c8234 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7ffff8ea0440) at kernel/qapplication_x11.cpp:3394
#31 0x00007f50f11f2932 in x11EventSourceDispatch (s=0xa8e250, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#32 0x00007f50ebf5cdee in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#33 0x00007f50ebf607b8 in ?? () from /usr/lib64/libglib-2.0.so.0
#34 0x00007f50ebf608e0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#35 0x00007f50f1fcceb3 in QEventDispatcherGlib::processEvents (this=0xa8a9b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#36 0x00007f50f11f251e in QGuiEventDispatcherGlib::processEvents (this=0x16f8c00, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007f50f1fa22a2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#38 0x00007f50f1fa267c in QEventLoop::exec (this=0x7ffff8ea0770, flags=) at kernel/qeventloop.cpp:201
#39 0x00007f50f1fa63cb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#40 0x00000000005e6862 in _start ()

Possible duplicates by query: bug 237447.

Reported using DrKonqi
Comment 1 Michel Ludwig 2010-05-15 00:05:05 UTC
If you can, please try to find a way to reproduce this crash.

This would make it easier to assess whether the problem has already have been fixed for kdelibs 4.5.
Comment 2 Frank Güttler 2010-05-15 00:10:20 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The crash happened today more than 5 times. But I can't say how
reproduce it. I worked 3 hours with Kile heavily, nothing happened. Just
scrolled the tex file down last time, crash. Before it was only a click
into the window.

Maybe there occured more often crashes when being in another window than
Kile before.

Am 15.05.2010 00:05, schrieb Michel Ludwig:
> https://bugs.kde.org/show_bug.cgi?id=237531
> 
> 
> 
> 
> 
> --- Comment #1 from Michel Ludwig <michel ludwig gmail com>  2010-05-15 00:05:05 ---
> If you can, please try to find a way to reproduce this crash.
> 
> This would make it easier to assess whether the problem has already have been
> fixed for kdelibs 4.5.
> 


- -- 
Frank Güttler

Universität Leipzig
Institut für Informatik
Technische Informatik

Raum: 04-03
Johannisgasse 26
D-04103 Leipzig

Tel.: +49 341 97-32302
E-Mail: guettler@informatik.uni-leipzig.de
Webpage: http://www.informatik.uni-leipzig.de/ti/index.php?id=guettler
Fingerprint: 96BF C3B4 8C33 D596 2A46 A3A1 B816 47E7 AF7F E4E7
Key id: 0xAF7FE4E7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAkvtykMACgkQuBZH569/5Od/8wCfRUfhECA7I3abyqkyBCi+YLI7
e5sAniyBPNkuy6pJ1ubl/ekWEJp9qEgd
=YBY0
-----END PGP SIGNATURE-----
Comment 3 Dominik Haumann 2010-05-24 23:58:59 UTC
*** Bug 238607 has been marked as a duplicate of this bug. ***
Comment 4 Dominik Haumann 2010-05-25 00:01:13 UTC
Michel, I'd say this is likely an issue in the Smart* implementation and hence probably fixed for KDE 4.5. Would of course be nice to have a fix for KDE 4.4 already, but if it's really a Smart*-issue, it'll be hard to fix...
Comment 5 Martin Schläffer 2010-05-29 16:49:15 UTC
Created attachment 47459 [details]
New crash information added by DrKonqi

Kile just crashed at entering a "$" followed by a "\". I'm not sure on which character the crash exactly happened.
Comment 6 Michel Ludwig 2010-05-30 23:19:05 UTC
*** Bug 240083 has been marked as a duplicate of this bug. ***
Comment 7 Michel Ludwig 2010-05-30 23:21:28 UTC
(In reply to comment #4)
> Michel, I'd say this is likely an issue in the Smart* implementation and hence
> probably fixed for KDE 4.5. Would of course be nice to have a fix for KDE 4.4
> already, but if it's really a Smart*-issue, it'll be hard to fix...

Yes, I agree. We would also need a reliable way to reproduce this...
Comment 8 Christoph Cullmann 2010-07-05 15:12:26 UTC
Will be fixed in the upcoming 4.5 release, really sorry, changes to big to backport.
Comment 9 Michel Ludwig 2010-07-31 13:01:08 UTC
*** Bug 245523 has been marked as a duplicate of this bug. ***
Comment 10 Pino Toscano 2010-08-22 10:15:38 UTC
*** Bug 248658 has been marked as a duplicate of this bug. ***
Comment 11 Michel Ludwig 2010-08-27 17:47:45 UTC
*** Bug 249124 has been marked as a duplicate of this bug. ***
Comment 12 Michel Ludwig 2010-08-27 17:48:55 UTC
*** Bug 249129 has been marked as a duplicate of this bug. ***
Comment 13 Michel Ludwig 2010-09-21 22:24:14 UTC
*** Bug 250775 has been marked as a duplicate of this bug. ***