Bug 223345 - Kwrite crash when editing css
Summary: Kwrite crash when editing css
Status: RESOLVED DUPLICATE of bug 226409
Alias: None
Product: kate
Classification: Applications
Component: kwrite (show other bugs)
Version: unspecified
Platform: Gentoo Packages Unspecified
: VHI crash (vote)
Target Milestone: ---
Assignee: KWrite Developers
: 223406 (view as bug list)
Depends on:
Reported: 2010-01-18 23:36 UTC by BRULE Herman
Modified: 2010-02-12 11:19 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
Description BRULE Herman 2010-01-18 23:36:11 UTC
Version:            (using KDE 4.3.4)
Installed from:    Gentoo Packages

Hello, kwrite have crash when editing a css:
Application: KWrite (kdeinit4), signal: Segmentation fault
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.2200.3-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
The current source language is "auto; currently c".
[KCrash Handler]
#5  KateLineLayout::viewLineCount (this=0x0) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kate/render/katelinelayout.cpp:173
#6  0x00007fd1ed3c29ea in KateLayoutCache::viewLine (this=0x1555970, realCursor=...) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kate/render/katelayoutcache.cpp:392
#7  0x00007fd1ed3c3010 in KateLayoutCache::textLayout (this=0x1555970, realCursor=...) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kate/render/katelayoutcache.cpp:334
#8  0x00007fd1ed41b08c in KateViewInternal::makeVisible (this=0x155d6d0, c=..., endCol=-1, force=false, center=<value optimized out>, calledExternally=false)
    at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kate/view/kateviewinternal.cpp:684
#9  0x00007fd1ed41b6eb in KateViewInternal::updateCursor (this=0x155d6d0, newCursor=..., force=<value optimized out>, center=false, calledExternally=false)
    at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kate/view/kateviewinternal.cpp:1869
#10 0x00007fd1ed41fe64 in KateViewInternal::mousePressEvent (this=0x155d6d0, e=0x7fff2c9d43d0) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kate/view/kateviewinternal.cpp:2532
#11 0x00007fd1f86d1efb in QWidget::event (this=0x155d6d0, event=0x7fff2c9d43d0) at kernel/qwidget.cpp:7550
#12 0x00007fd1f867d8d5 in QApplicationPrivate::notify_helper (this=0x12d5670, receiver=0x155d6d0, e=0x7fff2c9d43d0) at kernel/qapplication.cpp:4065
#13 0x00007fd1f8685ba3 in QApplication::notify (this=<value optimized out>, receiver=0x155d6d0, e=0x7fff2c9d43d0) at kernel/qapplication.cpp:3767
#14 0x00007fd1f96f35ea in KApplication::notify (this=0x7fff2c9d6290, receiver=0x155d6d0, event=0x7fff2c9d43d0)
    at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kdeui/kernel/kapplication.cpp:302
#15 0x00007fd1fb2c50f3 in QCoreApplication::notifyInternal (this=0x7fff2c9d6290, receiver=0x155d6d0, event=0x7fff2c9d43d0) at kernel/qcoreapplication.cpp:606
#16 0x00007fd1f8687071 in QCoreApplication::sendSpontaneousEvent (receiver=0x155d6d0, event=0x7fff2c9d43d0, alienWidget=0x155d6d0, nativeWidget=0x1334090, buttonDown=<value optimized out>, 
    lastMouseReceiver=...) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#17 QApplicationPrivate::sendMouseEvent (receiver=0x155d6d0, event=0x7fff2c9d43d0, alienWidget=0x155d6d0, nativeWidget=0x1334090, buttonDown=<value optimized out>, lastMouseReceiver=...)
    at kernel/qapplication.cpp:2924
#18 0x00007fd1f86e840c in QETWidget::translateMouseEvent (this=0x1334090, event=<value optimized out>) at kernel/qapplication_x11.cpp:4411
#19 0x00007fd1f86e6f96 in QApplication::x11ProcessEvent (this=0x7fff2c9d6290, event=0x7fff2c9d5dc0) at kernel/qapplication_x11.cpp:3552
#20 0x00007fd1f870d3a4 in x11EventSourceDispatch (s=0x12d92a0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#21 0x00007fd1f7109149 in g_main_dispatch (context=0x12d8040) at gmain.c:1960
#22 IA__g_main_context_dispatch (context=0x12d8040) at gmain.c:2513
#23 0x00007fd1f710cba8 in g_main_context_iterate (context=0x12d8040, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2591
#24 0x00007fd1f710cd5e in IA__g_main_context_iteration (context=0x12d8040, may_block=1) at gmain.c:2654
#25 0x00007fd1fb2ee564 in QEventDispatcherGlib::processEvents (this=0x12d58a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#26 0x00007fd1f870cb28 in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#27 0x00007fd1fb2c35fe in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#28 0x00007fd1fb2c37f4 in QEventLoop::exec (this=0x7fff2c9d6110, flags=...) at kernel/qeventloop.cpp:197
#29 0x00007fd1fb2c5f30 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#30 0x00007fd1ef3bbbc9 in kdemain (argc=2, argv=0x12a6fe0) at /var/tmp/portage/kde-base/kwrite-4.3.4/work/kwrite-4.3.4/kwrite/kwritemain.cpp:782
#31 0x0000000000407719 in launch (argc=2, _name=0x12ca488 "/usr/bin/kwrite", args=<value optimized out>, cwd=0x0, envc=1, envs=0x12ca4e9 "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x12ca4f2 "amber.fw.local;1263853815;46389;6293_TIME16229493") at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kinit/kinit.cpp:677
#32 0x0000000000407ebb in handle_launcher_request (sock=8, who=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kinit/kinit.cpp:1169
#33 0x0000000000408359 in handle_requests (waitForPid=0) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kinit/kinit.cpp:1362
#34 0x0000000000408f8d in main (argc=2, argv=0x7fff2c9d7ae8, envp=0x7fff2c9d7b00) at /var/tmp/portage/kde-base/kdelibs-4.3.4/work/kdelibs-4.3.4/kinit/kinit.cpp:1793
Comment 1 Dario Andres 2010-01-19 13:17:36 UTC
- Can you reproduce this crash editing the same CSS file ?
Comment 2 BRULE Herman 2010-01-19 13:25:42 UTC
I have try, but no, it's random crash. I have this crash 1x by week.
Comment 3 Milian Wolff 2010-01-19 13:46:14 UTC
I'd be interested whether you can reproduce this crash with the upcoming KDE 4.4. This is just a gut feeling, but maybe this is as well something that got fixed through my fix to bug 200450... It's just a bet, one cannot be sure (definitely different BT), but the bug could screw the internal file representation and produce all kind of havoc...

See also bug 205181 and bug 199716 among others...
Comment 4 BRULE Herman 2010-01-19 13:48:45 UTC
I tell that's to you when I switch my main computer in kde 4.4.
Comment 5 Milian Wolff 2010-01-19 14:33:01 UTC
*** Bug 223406 has been marked as a duplicate of this bug. ***
Comment 6 Milian Wolff 2010-02-12 02:34:50 UTC
marking as duplicate of newer bug, as it has a way to reproduce this crash.

*** This bug has been marked as a duplicate of bug 226409 ***
Comment 7 BRULE Herman 2010-02-12 11:19:41 UTC
I had this bug not at end of document