Bug 224073

Summary: KWrite crashed upon window restoration
Product: [Applications] kate Reporter: AndrĂ© Neves <andrechalella>
Component: kwriteAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:

Description André Neves 2010-01-24 19:12:00 UTC
Application that crashed: kwrite
Version of the application: 4.3.2 (KDE 4.3.2)
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.3
Operating System: Linux 2.6.32-trunk-amd64 x86_64
Distribution: Debian GNU/Linux testing (squeeze)

What I was doing when the application crashed:
It simply crashed when I attempted to restore the window (which was minimized).

 -- Backtrace:
Application: KWrite (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  0x00007f91e8c7d2aa in KateLayoutCache::viewLine (this=0x9f4a20, realCursor=...) at ../../kate/render/katelayoutcache.cpp:392
#7  0x00007f91e8ccd5dc in KateViewInternal::viewLineOffset (this=0x9fb910, virtualCursor=..., offset=0, keepX=<value optimized out>) at ../../kate/view/kateviewinternal.cpp:1331
#8  0x00007f91e8cd09cb in KateViewInternal::makeVisible (this=0x9fb910, c=..., endCol=-1, force=false, center=<value optimized out>, calledExternally=false)
    at ../../kate/view/kateviewinternal.cpp:657
#9  0x00007f91e8cd1129 in KateViewInternal::updateCursor (this=0x9fb910, newCursor=<value optimized out>, force=<value optimized out>, center=false, calledExternally=<value optimized out>)
    at ../../kate/view/kateviewinternal.cpp:1869
#10 0x00007f91e8cd535d in KateViewInternal::mousePressEvent (this=0x9fb910, e=0x7fff9c589810) at ../../kate/view/kateviewinternal.cpp:2532
#11 0x00007f91f89aa556 in QWidget::event (this=0x9fb910, event=0x7fff9c589810) at kernel/qwidget.cpp:7550
#12 0x00007f91f895a01d in QApplicationPrivate::notify_helper (this=0x734ea0, receiver=0x9fb910, e=0x7fff9c589810) at kernel/qapplication.cpp:4065
#13 0x00007f91f89627ca in QApplication::notify (this=<value optimized out>, receiver=0x9fb910, e=0x7fff9c589810) at kernel/qapplication.cpp:3767
#14 0x00007f91f95b1e06 in KApplication::notify (this=0x7fff9c58b690, receiver=0x9fb910, event=0x7fff9c589810) at ../../kdeui/kernel/kapplication.cpp:302
#15 0x00007f91fa9d9c9c in QCoreApplication::notifyInternal (this=0x7fff9c58b690, receiver=0x9fb910, event=0x7fff9c589810) at kernel/qcoreapplication.cpp:610
#16 0x00007f91f8961a78 in QCoreApplication::sendSpontaneousEvent (receiver=0x9fb910, event=0x7fff9c589810, alienWidget=0x9fb910, nativeWidget=0x87eb90, buttonDown=<value optimized out>, 
    lastMouseReceiver=...) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#17 QApplicationPrivate::sendMouseEvent (receiver=0x9fb910, event=0x7fff9c589810, alienWidget=0x9fb910, nativeWidget=0x87eb90, buttonDown=<value optimized out>, lastMouseReceiver=...)
    at kernel/qapplication.cpp:2924
#18 0x00007f91f89ca659 in QETWidget::translateMouseEvent (this=0x87eb90, event=<value optimized out>) at kernel/qapplication_x11.cpp:4411
#19 0x00007f91f89c940f in QApplication::x11ProcessEvent (this=0x7fff9c58b690, event=0x7fff9c58b1e0) at kernel/qapplication_x11.cpp:3552
#20 0x00007f91f89f176c in x11EventSourceDispatch (s=0x738b70, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#21 0x00007f91f787090e in g_main_dispatch (context=0x737220) at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:1960
#22 IA__g_main_context_dispatch (context=0x737220) at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2513
#23 0x00007f91f78742c8 in g_main_context_iterate (context=0x737220, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2591
#24 0x00007f91f78743f0 in IA__g_main_context_iteration (context=0x737220, may_block=1) at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2654
#25 0x00007f91faa0239c in QEventDispatcherGlib::processEvents (this=0x69f220, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#26 0x00007f91f89f0f1f in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#27 0x00007f91fa9d8562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#28 0x00007f91fa9d8934 in QEventLoop::exec (this=0x7fff9c58b510, flags=...) at kernel/qeventloop.cpp:201
#29 0x00007f91fa9daba4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#30 0x00007f91ee66c049 in kdemain () from /usr/lib/libkdeinit4_kwrite.so
#31 0x0000000000406e9e in launch (argc=1, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=1, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x6f2525 "andrezaum;1264356495;352156;3120_TIME1395982") at ../../kinit/kinit.cpp:677
#32 0x0000000000407aad in handle_launcher_request (sock=8, who=<value optimized out>) at ../../kinit/kinit.cpp:1169
#33 0x0000000000407f91 in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1362
#34 0x00000000004086c6 in main (argc=2, argv=<value optimized out>, envp=<value optimized out>) at ../../kinit/kinit.cpp:1793

Reported using DrKonqi
Comment 1 Milian Wolff 2010-01-25 13:55:17 UTC
please try to reproduce with 4.4 or KDE 4.3.5, probably (hopefully?) fixed.

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