Bug 224373 - Null pointer in KateLayoutCache::viewLine
Summary: Null pointer in KateLayoutCache::viewLine
Status: RESOLVED DUPLICATE of bug 200796
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-26 19:56 UTC by Dima Ryazanov
Modified: 2010-01-26 20:41 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 Dima Ryazanov 2010-01-26 19:56:32 UTC
Application that crashed: kate
Version of the application: 3.3.4
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-16-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
I was just clicking aimlessly when Kate crashed.

 -- Backtrace:
Application: Kate (kdeinit4), signal: Segmentation fault
The current source language is "auto; currently c".
[KCrash Handler]
#5  KateLineLayout::viewLineCount (this=0x0) at ../../kate/render/katelinelayout.cpp:173
#6  0x00007f163c9da21a in KateLayoutCache::viewLine (this=0x6bc4440, realCursor=...) at ../../kate/render/katelayoutcache.cpp:392
#7  0x00007f163c9da7f1 in KateLayoutCache::textLayout (this=0x6bc4440, realCursor=...) at ../../kate/render/katelayoutcache.cpp:334
#8  0x00007f163ca2da19 in KateViewInternal::makeVisible (this=0x6d75450, c=<value optimized out>, endCol=<value optimized out>, force=false, center=<value optimized out>, 
    calledExternally=<value optimized out>) at ../../kate/view/kateviewinternal.cpp:684
#9  0x00007f163ca2e0d9 in KateViewInternal::updateCursor (this=0x6d75450, newCursor=<value optimized out>, force=<value optimized out>, center=false, calledExternally=<value optimized out>)
    at ../../kate/view/kateviewinternal.cpp:1869
#10 0x00007f163ca3230d in KateViewInternal::mousePressEvent (this=0x6d75450, e=0x7fff7036c390) at ../../kate/view/kateviewinternal.cpp:2532
#11 0x00007f1649e5c9a6 in QWidget::event (this=0x6d75450, event=0x7fff7036c390) at kernel/qwidget.cpp:7545
#12 0x00007f1649e0defc in QApplicationPrivate::notify_helper (this=0xad9bf0, receiver=0x6d75450, e=0x7fff7036c390) at kernel/qapplication.cpp:4056
#13 0x00007f1649e15011 in QApplication::notify (this=<value optimized out>, receiver=0x6d75450, e=0x7fff7036c390) at kernel/qapplication.cpp:3758
#14 0x00007f164aa44e56 in KApplication::notify (this=0x7fff7036e2f0, receiver=0x6d75450, event=0x7fff7036c390) at ../../kdeui/kernel/kapplication.cpp:302
#15 0x00007f164be61c2c in QCoreApplication::notifyInternal (this=0x7fff7036e2f0, receiver=0x6d75450, event=0x7fff7036c390) at kernel/qcoreapplication.cpp:610
#16 0x00007f1649e148e0 in QCoreApplication::sendSpontaneousEvent (receiver=0x6d75450, event=0x7fff7036c390, alienWidget=0x6d75450, nativeWidget=0xf5b850, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#17 QApplicationPrivate::sendMouseEvent (receiver=0x6d75450, event=0x7fff7036c390, alienWidget=0x6d75450, nativeWidget=0xf5b850, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>) at kernel/qapplication.cpp:2924
#18 0x00007f1649e7aa0e in QETWidget::translateMouseEvent (this=0xf5b850, event=<value optimized out>) at kernel/qapplication_x11.cpp:4409
#19 0x00007f1649e79aa9 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff7036dec0) at kernel/qapplication_x11.cpp:3550
#20 0x00007f1649ea2d0c in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#21 0x00007f1648d3ebce in g_main_dispatch (context=0xadc4b0) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:1960
#22 IA__g_main_context_dispatch (context=0xadc4b0) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2513
#23 0x00007f1648d42598 in g_main_context_iterate (context=0xadc4b0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2591
#24 0x00007f1648d426c0 in IA__g_main_context_iteration (context=0xadc4b0, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#25 0x00007f164be8a1a6 in QEventDispatcherGlib::processEvents (this=0xa4b040, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#26 0x00007f1649ea24be in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#27 0x00007f164be60532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#28 0x00007f164be60904 in QEventLoop::exec (this=0x7fff7036e1f0, flags=) at kernel/qeventloop.cpp:201
#29 0x00007f164be62ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#30 0x00007f163fa46d2d in kdemain () from /usr/lib/libkdeinit4_kate.so
#31 0x0000000000406da8 in launch (argc=3, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=24, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x40a299 "0") at ../../kinit/kinit.cpp:677
#32 0x0000000000407aa0 in handle_launcher_request (sock=8, who=<value optimized out>) at ../../kinit/kinit.cpp:1169
#33 0x0000000000407f51 in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1362
#34 0x0000000000408bb2 in main (argc=2, argv=<value optimized out>, envp=<value optimized out>) at ../../kinit/kinit.cpp:1793

This bug may be a duplicate of or related to bug 219853

Reported using DrKonqi
Comment 1 Milian Wolff 2010-01-26 20:41:59 UTC

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