Bug 297261 - KWrite crashed when redoing changes
Summary: KWrite crashed when redoing changes
Status: RESOLVED DUPLICATE of bug 294241
Alias: None
Product: kate
Classification: Applications
Component: kwrite (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-01 19:17 UTC by Michał D. (Emdek)
Modified: 2012-04-01 20:10 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał D. (Emdek) 2012-04-01 19:17:04 UTC
Application: kwrite (4.8.1 (4.8.1))
KDE Platform Version: 4.8.1 (4.8.1)
Qt Version: 4.8.0
Operating System: Linux 3.0.0-17-generic i686
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:

1. formatted some jQuery code inside HTML document with embedded PHP;
2. saved changes;
3. undo some changes;
4. save again;
5. redo these changes by long pressing Ctrl+Shift+Z shortcut;
6. crash.

-- Backtrace:
Application: KWrite (kwrite), signal: Segmentation fault
[Current thread is 1 (Thread 0xb76eb710 (LWP 2285))]

Thread 3 (Thread 0xb5783b70 (LWP 2299)):
#0  0x00ddb416 in __kernel_vsyscall ()
#1  0x00dc0a5c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x0068f09c in __pthread_cond_wait (cond=0x2eb8890, mutex=0x2eb8878) at forward.c:139
#3  0x02db4009 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0x02db404f in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0x00dbcd31 in start_thread (arg=0xb5783b70) at pthread_create.c:304
#6  0x0068146e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb4115b70 (LWP 16964)):
#0  0x01aff2ba in __i686.get_pc_thunk.bx () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#1  0x01c668ec in postEventSourcePrepare (s=0x99d3150, timeout=0xb411511c) at kernel/qeventdispatcher_glib.cpp:255
#2  0x0551e7a2 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x0551efaf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x0551f201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x01c67217 in QEventDispatcherGlib::processEvents (this=0x9903e20, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x01c32d6d in QEventLoop::processEvents (this=0xb41152a0, flags=...) at kernel/qeventloop.cpp:149
#7  0x01c33009 in QEventLoop::exec (this=0xb41152a0, flags=...) at kernel/qeventloop.cpp:204
#8  0x01b1c9dc in QThread::exec (this=0x99beee8) at thread/qthread.cpp:501
#9  0x01c102dd in QInotifyFileSystemWatcherEngine::run (this=0x99beee8) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x01b1fe70 in QThreadPrivate::start (arg=0x99beee8) at thread/qthread_unix.cpp:298
#11 0x00dbcd31 in start_thread (arg=0xb4115b70) at pthread_create.c:304
#12 0x0068146e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb76eb710 (LWP 2285)):
[KCrash Handler]
#7  hasMatch (this=0x99e1630) at ../../part/syntax/katecodefolding.h:225
#8  matchingNode (this=0x99e1630) at ../../part/syntax/katecodefolding.h:228
#9  getStartMatching (endNode=0x9b5a498, this=0x99e1630) at ../../part/syntax/katecodefolding.cpp:155
#10 KateCodeFoldingTree::getLineInfo (this=0x94110a0, info=0xbfda9400, line=213) at ../../part/syntax/katecodefolding.cpp:996
#11 0x026dd306 in lineInfo (line=213, info=0xbfda9400, this=<optimized out>) at ../../part/document/katebuffer.h:187
#12 KateDocument::lineInfo (this=0x9445ee8, info=0xbfda9400, line=213) at ../../part/document/katedocument.cpp:4041
#13 0x027a1375 in KateIconBorder::paintBorder (this=0x9856768, y=0, height=863) at ../../part/view/kateviewhelpers.cpp:1197
#14 0x027a2eda in KateIconBorder::paintEvent (this=0x9856768, e=0xbfda9a04) at ../../part/view/kateviewhelpers.cpp:955
#15 0x0117e992 in QWidget::event (this=0x9856768, event=0xbfda9a04) at kernel/qwidget.cpp:8507
#16 0x01124844 in notify_helper (e=0xbfda9a04, receiver=0x9856768, this=0x930deb8) at kernel/qapplication.cpp:4555
#17 QApplicationPrivate::notify_helper (this=0x930deb8, receiver=0x9856768, e=0xbfda9a04) at kernel/qapplication.cpp:4527
#18 0x01129d12 in QApplication::notify (this=0x930deb8, receiver=0x9856768, e=0xbfda9a04) at kernel/qapplication.cpp:4520
#19 0x00915051 in KApplication::notify (this=0xbfdab720, receiver=0x9856768, event=0xbfda9a04) at ../../kdeui/kernel/kapplication.cpp:311
#20 0x01c341de in QCoreApplication::notifyInternal (this=0xbfdab720, receiver=0x9856768, event=0xbfda9a04) at kernel/qcoreapplication.cpp:876
#21 0x0117a31a in sendSpontaneousEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#22 QWidgetPrivate::drawWidget (this=0x9644450, pdev=0x99793e0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x977dec8) at kernel/qwidget.cpp:5584
#23 0x0117b0c2 in QWidgetPrivate::paintSiblingsRecursive (this=0x975d560, pdev=0x99793e0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x977dec8) at kernel/qwidget.cpp:5793
#24 0x0117adfa in QWidgetPrivate::paintSiblingsRecursive (this=0x975d560, pdev=0x99793e0, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x977dec8) at kernel/qwidget.cpp:5780
#25 0x0117adfa in QWidgetPrivate::paintSiblingsRecursive (this=0x975d560, pdev=0x99793e0, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x977dec8) at kernel/qwidget.cpp:5780
#26 0x0117adfa in QWidgetPrivate::paintSiblingsRecursive (this=0x975d560, pdev=0x99793e0, siblings=..., index=3, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x977dec8) at kernel/qwidget.cpp:5780
#27 0x0117adfa in QWidgetPrivate::paintSiblingsRecursive (this=0x975d560, pdev=0x99793e0, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x977dec8) at kernel/qwidget.cpp:5780
#28 0x0117adfa in QWidgetPrivate::paintSiblingsRecursive (this=0x975d560, pdev=0x99793e0, siblings=..., index=5, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x977dec8) at kernel/qwidget.cpp:5780
#29 0x0117a078 in QWidgetPrivate::drawWidget (this=0x975d560, pdev=0x99793e0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x977dec8) at kernel/qwidget.cpp:5637
#30 0x0117b0c2 in QWidgetPrivate::paintSiblingsRecursive (this=0x9632588, pdev=0x99793e0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x977dec8) at kernel/qwidget.cpp:5793
#31 0x0117a078 in QWidgetPrivate::drawWidget (this=0x9632588, pdev=0x99793e0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x977dec8) at kernel/qwidget.cpp:5637
#32 0x0117b0c2 in QWidgetPrivate::paintSiblingsRecursive (this=0x965af18, pdev=0x99793e0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x977dec8) at kernel/qwidget.cpp:5793
#33 0x0117adfa in QWidgetPrivate::paintSiblingsRecursive (this=0x965af18, pdev=0x99793e0, siblings=..., index=10, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x977dec8) at kernel/qwidget.cpp:5780
#34 0x0117a078 in QWidgetPrivate::drawWidget (this=0x965af18, pdev=0x99793e0, rgn=..., offset=..., flags=5, sharedPainter=0x0, backingStore=0x977dec8) at kernel/qwidget.cpp:5637
#35 0x0136fb60 in QWidgetBackingStore::sync (this=0x977dec8) at painting/qbackingstore.cpp:1373
#36 0x0117021b in QWidgetPrivate::syncBackingStore (this=0x965af18) at kernel/qwidget.cpp:1890
#37 0x0117f327 in QWidget::event (this=0x97f6898, event=0x99d2950) at kernel/qwidget.cpp:8654
#38 0x015b60ec in QMainWindow::event (this=0x97f6898, event=0x99d2950) at widgets/qmainwindow.cpp:1478
#39 0x009f07c4 in KMainWindow::event (this=0x97f6898, ev=0x99d2950) at ../../kdeui/widgets/kmainwindow.cpp:1084
#40 0x00a39272 in KXmlGuiWindow::event (this=0x97f6898, ev=0x99d2950) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#41 0x01124844 in notify_helper (e=0x99d2950, receiver=0x97f6898, this=0x930deb8) at kernel/qapplication.cpp:4555
#42 QApplicationPrivate::notify_helper (this=0x930deb8, receiver=0x97f6898, e=0x99d2950) at kernel/qapplication.cpp:4527
#43 0x01129d12 in QApplication::notify (this=0x930deb8, receiver=0x97f6898, e=0x99d2950) at kernel/qapplication.cpp:4520
#44 0x00915051 in KApplication::notify (this=0xbfdab720, receiver=0x97f6898, event=0x99d2950) at ../../kdeui/kernel/kapplication.cpp:311
#45 0x01c341de in QCoreApplication::notifyInternal (this=0xbfdab720, receiver=0x97f6898, event=0x99d2950) at kernel/qcoreapplication.cpp:876
#46 0x01c38338 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#47 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x92e9130) at kernel/qcoreapplication.cpp:1500
#48 0x01c3866c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393
#49 0x01c66dc4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#50 postEventSourceDispatch (s=0x930ae08) at kernel/qeventdispatcher_glib.cpp:279
#51 0x0551ed1a in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#52 0x0551f125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#53 0x0551f201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#54 0x01c671b7 in QEventDispatcherGlib::processEvents (this=0x92e9ea0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#55 0x011da06a in QGuiEventDispatcherGlib::processEvents (this=0x92e9ea0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#56 0x01c32d6d in QEventLoop::processEvents (this=0xbfdab694, flags=...) at kernel/qeventloop.cpp:149
#57 0x01c33009 in QEventLoop::exec (this=0xbfdab694, flags=...) at kernel/qeventloop.cpp:204
#58 0x01c3871a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#59 0x011226a4 in QApplication::exec () at kernel/qapplication.cpp:3816
#60 0x005a3faa in kdemain (argc=3, argv=0xbfdaba74) at ../../kwrite/kwritemain.cpp:680
#61 0x080484fb in main (argc=3, argv=0xbfdaba74) at kwrite_dummy.cpp:3

Possible duplicates by query: bug 294241, bug 293934.

Reported using DrKonqi
Comment 1 Dominik Haumann 2012-04-01 20:10:20 UTC
This is fixed in KDE 4.8.2.

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