From kwrite-devel Sat Jun 21 19:59:44 2008 From: Harry de Valence Date: Sat, 21 Jun 2008 19:59:44 +0000 To: kwrite-devel Subject: [Bug 164620] New: kate crashes on static word wrap Message-Id: <20080621215942.164620.hdevalence () gmail ! com> X-MARC-Message: https://marc.info/?l=kwrite-devel&m=121415467814776 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=164620 Summary: kate crashes on static word wrap Product: kate Version: unspecified Platform: Compiled Sources OS/Version: Linux Status: UNCONFIRMED Severity: crash Priority: NOR Component: general AssignedTo: kwrite-devel kde org ReportedBy: hdevalence gmail com Version: (using Devel) Installed from: Compiled sources Compiler: gcc (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7) OS: Linux When I'm typing a line of text, and then later I go back and add to the text, extending it beyond the 80char limit, the parts at the end that should be bumped down to the next line go past the static word wrap limit, and instead of just breaking it into a new line, kate crashes. Reproducible. Here's a backtrace. Application: Kate (kate), signal SIGABRT [Thread debugging using libthread_db enabled] [New Thread 0xb6045720 (LWP 5248)] [KCrash handler] #6 0xb7f70410 in __kernel_vsyscall () #7 0xb63cd085 in raise () from /lib/tls/i686/cmov/libc.so.6 #8 0xb63cea01 in abort () from /lib/tls/i686/cmov/libc.so.6 #9 0xb713cdd6 in qt_message_output (msgType=QtFatalMsg, buf=0xbfbad09c "ASSERT: \"m_textLine\" in file /home/harry/kde/src/KDE/kdelibs/kate/render/katelinelayout.cpp, line 68") at /home/harry/kde/src/qt-copy/src/corelib/global/qglobal.cpp:2058 #10 0xb713ce72 in qFatal (msg=0xb7273358 "ASSERT: \"%s\" in file %s, line %d") at /home/harry/kde/src/qt-copy/src/corelib/global/qglobal.cpp:2260 #11 0xb713d1b5 in qt_assert (assertion=0xb48cbb8d "m_textLine", file=0xb48cbbcc "/home/harry/kde/src/KDE/kdelibs/kate/render/katelinelayout.cpp", line=68) at /home/harry/kde/src/qt-copy/src/corelib/global/qglobal.cpp:1828 #12 0xb482b597 in KateLineLayout::textLine (this=0x8493758) at /home/harry/kde/src/KDE/kdelibs/kate/render/katelinelayout.cpp:68 #13 0xb482b5e3 in KateLineLayout::isValid (this=0x8493758) at /home/harry/kde/src/KDE/kdelibs/kate/render/katelinelayout.cpp:120 #14 0xb482a3fd in KateTextLayout::isValid (this=0x8c0ca00) at /home/harry/kde/src/KDE/kdelibs/kate/render/katetextlayout.cpp:90 #15 0xb482a7b6 in KateTextLayout::line (this=0x8c0ca00) at /home/harry/kde/src/KDE/kdelibs/kate/render/katetextlayout.cpp:95 #16 0xb482867d in KateLayoutCache::updateViewCache (this=0x8b4d908, startPos= 0x8b522c4, newViewLineCount=38, viewLinesScrolled=0) at /home/harry/kde/src/KDE/kdelibs/kate/render/katelayoutcache.cpp:132 #17 0xb4866b63 in KateViewInternal::tagLines (this=0x8b521d8, start= 0xbfbaf32c, end= 0xbfbaf31c, realCursors=true) at /home/harry/kde/src/KDE/kdelibs/kate/view/kateviewinternal.cpp:1952 #18 0xb486701a in KateViewInternal::tagLines (this=0x8b521d8, start=0, end=3, realLines=) at /home/harry/kde/src/KDE/kdelibs/kate/view/kateviewinternal.cpp:1921 #19 0xb4859345 in KateView::tagLines (this=0x8b721c0, start=0, end=3, realLines=) at /home/harry/kde/src/KDE/kdelibs/kate/view/kateview.cpp:1352 #20 0xb47ea9f5 in KateDocument::tagLines (this=0x8b6f878, start=0, end=3) at /home/harry/kde/src/KDE/kdelibs/kate/document/katedocument.cpp:4946 #21 0xb47fee33 in KateDocument::qt_metacall (this=0x8b6f878, _c=QMetaObject::InvokeMetaMethod, _id=52, _a=0xbfbaf4d8) at /home/harry/kde/build/KDE/kdelibs/kate/katedocument.moc:307 #22 0xb7238d9e in QMetaObject::activate (sender=0x8b6fc90, from_signal_index=, to_signal_index=5, argv=) at /home/harry/kde/src/qt-copy/src/corelib/kernel/qobject.cpp:3007 #23 0xb723937a in QMetaObject::activate (sender=0x8b6fc90, m=0xb48dcf18, local_signal_index=1, argv=0xbfbaf4d8) at /home/harry/kde/src/qt-copy/src/corelib/kernel/qobject.cpp:3080 #24 0xb480947d in KateBuffer::tagLines (this=0x8b6fc90, _t1=0, _t2=3) at /home/harry/kde/build/KDE/kdelibs/kate/katebuffer.moc:85 #25 0xb480a4a1 in KateBuffer::doHighlight (this=0x8b6fc90, startLine=0, endLine=2, invalidate=true) at /home/harry/kde/src/KDE/kdelibs/kate/document/katebuffer.cpp:1042 #26 0xb480a930 in KateBuffer::editEnd (this=0x8b6fc90) at /home/harry/kde/src/KDE/kdelibs/kate/document/katebuffer.cpp:352 #27 0xb47f60c3 in KateDocument::editEnd (this=0x8b6f878) at /home/harry/kde/src/KDE/kdelibs/kate/document/katedocument.cpp:1088 #28 0xb47f8cc7 in KateDocument::typeChars (this=0x8b6f878, view=0x8b721c0, chars= 0xbfbaf918) at /home/harry/kde/src/KDE/kdelibs/kate/document/katedocument.cpp:4048 #29 0xb486c7e0 in KateViewInternal::keyPressEvent (this=0x8b521d8, e=0xbfbafdd4) at /home/harry/kde/src/KDE/kdelibs/kate/view/kateviewinternal.cpp:2252 #30 0xb486a059 in KateViewInternal::eventFilter (this=0x8b521d8, obj=0x8b521d8, e=0xbfbafdd4) at /home/harry/kde/src/KDE/kdelibs/kate/view/kateviewinternal.cpp:2096 #31 0xb7225bec in QCoreApplicationPrivate::sendThroughObjectEventFilters ( this=0x8063940, receiver=0x8b521d8, event=0xbfbafdd4) at /home/harry/kde/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:694 #32 0xb677048b in QApplicationPrivate::notify_helper (this=0x8063940, receiver=0x8b521d8, e=0xbfbafdd4) at /home/harry/kde/src/qt-copy/src/gui/kernel/qapplication.cpp:3762 #33 0xb677748f in QApplication::notify (this=0xbfbb0944, receiver=0x8b521d8, e=0xbfbafdd4) at /home/harry/kde/src/qt-copy/src/gui/kernel/qapplication.cpp:3414 #34 0xb7778be1 in KApplication::notify (this=0xbfbb0944, receiver=0x8b521d8, event=0xbfbafdd4) at /home/harry/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311 #35 0xb7225469 in QCoreApplication::notifyInternal (this=0xbfbb0944, receiver=0x8b521d8, event=0xbfbafdd4) at /home/harry/kde/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:583 #36 0xb67c6ee8 in qt_sendSpontaneousEvent (receiver=0x8b521d8, event=0x6) at ../../include/QtCore/../../../../src/qt-copy/src/corelib/kernel/qcoreapplication.h:218 #37 0xb67f5adb in QKeyMapper::sendKeyEvent (keyWidget=0x8b521d8, grab=false, type=QEvent::KeyPress, code=72, modifiers= 0xbfbaff74, text= 0xbfbaff4c, autorepeat=false, count=1, nativeScanCode=43, nativeVirtualKey=104, nativeModifiers=0) at /home/harry/kde/src/qt-copy/src/gui/kernel/qkeymapper_x11.cpp:1656 #38 0xb67f7837 in QKeyMapperPrivate::translateKeyEvent (this=0x8089610, keyWidget=0x8b521d8, event=0xbfbb0438, grab=false) at /home/harry/kde/src/qt-copy/src/gui/kernel/qkeymapper_x11.cpp:1627 #39 0xb67d2e8b in QApplication::x11ProcessEvent (this=0xbfbb0944, event=0xbfbb0438) at /home/harry/kde/src/qt-copy/src/gui/kernel/qapplication_x11.cpp:3127 #40 0xb67f8f00 in x11EventSourceDispatch (s=0x80665d8, callback=0, user_data=0x0) at /home/harry/kde/src/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:148 #41 0xb6220bf8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #42 0xb6223e5e in ?? () from /usr/lib/libglib-2.0.so.0 #43 0xb62243ac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #44 0xb724dd50 in QEventDispatcherGlib::processEvents (this=0x805d768, flags= 0xbfbb0638) at /home/harry/kde/src/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:325 #45 0xb67f8c7d in QGuiEventDispatcherGlib::processEvents (this=0x805d768, flags= 0xbfbb0668) at /home/harry/kde/src/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:204 #46 0xb7224685 in QEventLoop::processEvents (this=0xbfbb06d0, flags= 0xbfbb06a8) at /home/harry/kde/src/qt-copy/src/corelib/kernel/qeventloop.cpp:149 #47 0xb7224802 in QEventLoop::exec (this=0xbfbb06d0, flags= 0xbfbb06d8) at /home/harry/kde/src/qt-copy/src/corelib/kernel/qeventloop.cpp:196 #48 0xb7226a6b in QCoreApplication::exec () at /home/harry/kde/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:845 #49 0xb676fc1f in QApplication::exec () at /home/harry/kde/src/qt-copy/src/gui/kernel/qapplication.cpp:3298 #50 0xb7f6a37b in kdemain (argc=2, argv=0xbfbb0ec4) at /home/harry/kde/src/KDE/kdesdk/kate/app/katemain.cpp:252 #51 0x080487c6 in main (argc=) at /home/harry/kde/build/KDE/kdesdk/kate/app/kate_dummy.cpp:3 #0 0xb7f70410 in __kernel_vsyscall () _______________________________________________ KWrite-Devel mailing list KWrite-Devel@kde.org https://mail.kde.org/mailman/listinfo/kwrite-devel