Bug 237447 - crash in KateSmartManager::newSmartRange
Summary: crash in KateSmartManager::newSmartRange
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: smart (show other bugs)
Version: 0.2
Platform: openSUSE Linux
: VHI crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
: 242023 243831 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-13 00:27 UTC by Frank Güttler
Modified: 2010-09-01 17:29 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Güttler 2010-05-13 00:27:09 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 just read the pdf file on the other monitor. Then I wanted to switch back, hovering with the mouse over kile, crash.

I have no known special settings or inconvenient circumstances.

I use KDE-Factory as repositories, too.

 -- Backtrace:
Application: Kile (kile), signal: Segmentation fault
[KCrash Handler]
#5  KateSmartCursor::KateSmartCursor (this=0x1f3e880, position=<value optimized out>, doc=0x266dd80, insertBehavior=<value optimized out>)
    at /usr/src/debug/kdelibs-4.4.3/kate/smart/katesmartcursor.cpp:50
#6  0x00007ffc80b5b86f in KateSmartRange::KateSmartRange (this=0x4122240, range=..., doc=0x266dd80, parent=0x0, insertBehavior=<value optimized out>)
    at /usr/src/debug/kdelibs-4.4.3/kate/smart/katesmartrange.cpp:36
#7  0x00007ffc80b61991 in KateSmartManager::newSmartRange (this=0x2f1bf40, range=..., parent=0x0, insertBehavior=<value optimized out>, internal=false)
    at /usr/src/debug/kdelibs-4.4.3/kate/smart/katesmartmanager.cpp:211
#8  0x00007ffc80af18eb in KateDocument::newSmartRange (this=<value optimized out>, range=..., parent=0x7ffc80e85818, insertBehavior=<value optimized out>)
    at /usr/src/debug/kdelibs-4.4.3/kate/document/katedocument.cpp:4838
#9  0x00007ffc80bb779b in KateIconBorder::showBlock (this=0x2c26e50) at /usr/src/debug/kdelibs-4.4.3/kate/view/kateviewhelpers.cpp:1346
#10 0x00007ffc80bb7bd4 in KateIconBorder::qt_metacall (this=0x2c26e50, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff46ec8eb0)
    at /usr/src/debug/kdelibs-4.4.3/build/kate/kateviewhelpers.moc:160
#11 0x00007ffc8bd8e78f in QMetaObject::activate (sender=0x1ecaf80, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3293
#12 0x00007ffc8bd8b3e3 in QObject::event (this=0x1ecaf80, e=0x7fff46ec9640) at kernel/qobject.cpp:1212
#13 0x00007ffc8af1be1c in QApplicationPrivate::notify_helper (this=0xa8aec0, receiver=0x1ecaf80, e=0x7fff46ec9640) at kernel/qapplication.cpp:4300
#14 0x00007ffc8af223fb in QApplication::notify (this=0x7fff46ec9a90, receiver=0x1ecaf80, e=0x7fff46ec9640) at kernel/qapplication.cpp:4183
#15 0x00007ffc8c94c4e6 in KApplication::notify (this=0x7fff46ec9a90, receiver=0x1ecaf80, event=0x7fff46ec9640) at /usr/src/debug/kdelibs-4.4.3/kdeui/kernel/kapplication.cpp:302
#16 0x00007ffc8bd7b98c in QCoreApplication::notifyInternal (this=0x7fff46ec9a90, receiver=0x1ecaf80, event=0x7fff46ec9640) at kernel/qcoreapplication.cpp:704
#17 0x00007ffc8bda8735 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:215
#18 QTimerInfoList::activateTimers (event=<value optimized out>, receiver=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:618
#19 0x00007ffc8bda51e8 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 0x00007ffc85d34dee in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#22 0x00007ffc85d387b8 in ?? () from /usr/lib64/libglib-2.0.so.0
#23 0x00007ffc85d388e0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#24 0x00007ffc8bda4eb3 in QEventDispatcherGlib::processEvents (this=0xa8adf0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#25 0x00007ffc8afca51e in QGuiEventDispatcherGlib::processEvents (this=0x2f1bf40, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#26 0x00007ffc8bd7a2a2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#27 0x00007ffc8bd7a67c in QEventLoop::exec (this=0x7fff46ec99e0, flags=) at kernel/qeventloop.cpp:201
#28 0x00007ffc8bd7e3cb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#29 0x00000000005e6862 in _start ()

Reported using DrKonqi
Comment 1 Michel Ludwig 2010-05-14 23:59:48 UTC
This is actually a problem with KatePart; so, I'm forwarding this.

However, this problem will already have been fixed for kdelibs 4.5 as the SmartRange stuff has been removed.

I'd also suggest that you update Kile as you are using an old version... ;-)
Comment 2 Frank Güttler 2010-05-15 00:19:22 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It seems that i miss some SUSE repository for that new version, 2.1beta2
is the newest provided one.

Best regards,
Frank Güttler

Am 14.05.2010 23:59, schrieb Michel Ludwig:
> https://bugs.kde.org/show_bug.cgi?id=237447
> 
> 
> Michel Ludwig <michel.ludwig@gmail.com> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>           Component|general                     |part
>             Version|2.0.83                      |0.2
>          AssignedTo|michel.ludwig@gmail.com     |kwrite-devel@kde.org
>             Product|kile                        |kate
> 
> 
> 
> 
> --- Comment #1 from Michel Ludwig <michel ludwig gmail com>  2010-05-14 23:59:48 ---
> This is actually a problem with KatePart; so, I'm forwarding this.
> 
> However, this problem will already have been fixed for kdelibs 4.5 as the
> SmartRange stuff has been removed.
> 
> I'd also suggest that you update Kile as you are using an old version... ;-)
> 


- -- 
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/

iEYEARECAAYFAkvtzGMACgkQuBZH569/5OfsbgCfbH/djaZ2sLP/nMP3hQ4AOIOV
co0AoIvFGhF5oEc2tE9SciSQseO1TgRH
=IjNf
-----END PGP SIGNATURE-----
Comment 3 Christoph Cullmann 2010-06-10 17:28:28 UTC
SmartInterface problem, will be fixed in KDE 4.5, by kate part not using smart internally for anything beside code completion and in KDE 4.6 by deletion of this.
Perhaps no optimal solution, but nobody will fix it, sad, but true.
Comment 4 Dominik Haumann 2010-06-17 22:05:25 UTC
*** Bug 242023 has been marked as a duplicate of this bug. ***
Comment 5 Dominik Haumann 2010-07-07 11:55:32 UTC
*** Bug 243831 has been marked as a duplicate of this bug. ***
Comment 6 Christoph Cullmann 2010-09-01 17:29:10 UTC
KDE 4.5 is out, the code which does create this problem is inactive there in Kate and even already removed in /trunk for KDE 4.6.