Bug 186935 - Crash on removing the last bit of text in Karbon
Summary: Crash on removing the last bit of text in Karbon
Status: RESOLVED DUPLICATE of bug 180176
Alias: None
Product: kword
Classification: Miscellaneous
Component: flake-texttool (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Thomas Zander
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-12 10:26 UTC by Michael Leupold
Modified: 2009-03-12 12:34 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 Michael Leupold 2009-03-12 10:26:43 UTC
Version:           KOffice2, Beta7 (r938334) (using Devel)
OS:                Linux
Installed from:    Compiled sources

(From Bugsquad KOfficeDay2)

1. Open Karbon and create a new document.
2. Add a text shape
3. Double click the text shape to edit it and type some text
4. Remove the text using backspace or mark and delete it

Karbon crashes. It was noted that this bug should be reported again KoText.
Comment 1 Michael Leupold 2009-03-12 10:26:56 UTC
Application: Karbon14 (karbon), signal SIGABRT
Using host libthread_db library "/lib/libthread_db.so.1".
0x00007f17d2e424ef in waitpid () from /lib/libpthread.so.0
[Current thread is 0 (LWP 28249)]

Thread 2 (Thread 0x41d31950 (LWP 28254)):
#0  0x00007f17d2e3ed49 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f17d30c3d7b in QWaitConditionPrivate::wait (this=0x17086c0, time=18446744073709551615) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:87
#2  0x00007f17d30c38da in QWaitCondition::wait (this=0x1709818, mutex=0x1707060, time=18446744073709551615) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:159
#3  0x00007f17ce3a3d9d in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x17097f0, th=0x18695b0)
    at /home/lemma/kde/trunk/source/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f17ce3a8517 in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x1708730, th=0x18695b0) at /home/lemma/kde/trunk/source/KDE/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:80
#5  0x00007f17ce3a3512 in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x17097f0, th=0x18695b0) at /home/lemma/kde/trunk/source/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:356
#6  0x00007f17ce3a860f in ThreadWeaver::WorkingHardState::applyForWork (this=0x1708730, th=0x18695b0) at /home/lemma/kde/trunk/source/KDE/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#7  0x00007f17ce3a3fd9 in ThreadWeaver::WeaverImpl::applyForWork (this=0x17097f0, th=0x18695b0, previous=0x153b110) at /home/lemma/kde/trunk/source/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
#8  0x00007f17ce3a68b6 in ThreadWeaver::ThreadRunHelper::run (this=0x41d30f30, parent=0x17097f0, th=0x18695b0) at /home/lemma/kde/trunk/source/KDE/kdelibs/threadweaver/Weaver/Thread.cpp:87
#9  0x00007f17ce3a6a4b in ThreadWeaver::Thread::run (this=0x18695b0) at /home/lemma/kde/trunk/source/KDE/kdelibs/threadweaver/Weaver/Thread.cpp:142
#10 0x00007f17d30c3405 in QThreadPrivate::start (arg=0x18695b0) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/thread/qthread_unix.cpp:189
#11 0x00007f17d2e3afe7 in start_thread () from /lib/libpthread.so.0
#12 0x00007f17d146e6ed in clone () from /lib/libc.so.6
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f17d5366800 (LWP 28249)):
[KCrash Handler]
#4  0x00007f17d13d1145 in raise () from /lib/libc.so.6
#5  0x00007f17d13d2663 in abort () from /lib/libc.so.6
#6  0x00007f17d30b868c in qt_message_output (msgType=QtFatalMsg, buf=0x1d0f718 "ASSERT: \"firstItem >= 0\" in file /home/lemma/kde/trunk/source/qt-copy/src/gui/text/qtextlayout.cpp, line 967")
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/global/qglobal.cpp:2006
#7  0x00007f17d30b87b6 in qFatal (msg=0x7f17d320d8c8 "ASSERT: \"%s\" in file %s, line %d") at /home/lemma/kde/trunk/source/qt-copy/src/corelib/global/qglobal.cpp:2201
#8  0x00007f17d30b8c0b in qt_assert (assertion=0x7f17d27822f2 "firstItem >= 0", file=0x7f17d2781fa0 "/home/lemma/kde/trunk/source/qt-copy/src/gui/text/qtextlayout.cpp", line=967)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/global/qglobal.cpp:1777
#9  0x00007f17d231ffda in QTextLineItemIterator (this=0x7fffdd4e6b10, _eng=0x95b360, lineNum=0, pos=@0x7fffdd4e7890, _selection=0x0)
    at /home/lemma/kde/trunk/source/qt-copy/src/gui/text/qtextlayout.cpp:967
#10 0x00007f17d2320430 in QTextLine::draw (this=0x7fffdd4e77b0, p=0x7fffdd4e8580, pos=@0x7fffdd4e7890, selection=0x0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/text/qtextlayout.cpp:1955
#11 0x00007f17d232250c in QTextLayout::draw (this=0x994c40, p=0x7fffdd4e8580, pos=@0x7fffdd4e7cb0, selections=@0x7fffdd4e7bb0, clip=@0x7fffdd4e7c90)
    at /home/lemma/kde/trunk/source/qt-copy/src/gui/text/qtextlayout.cpp:1240
#12 0x00007f17c15a0548 in Layout::draw (this=0x94b3d0, painter=0x7fffdd4e8580, context=@0x7fffdd4e7db0) at /home/lemma/kde/trunk/source/koffice/plugins/textshape/Layout.cpp:763
#13 0x00007f17d01a44de in KoTextDocumentLayout::draw (this=0xcc0cb0, painter=0x7fffdd4e8580, context=@0x7fffdd4e7db0) at /home/lemma/kde/trunk/source/koffice/libs/kotext/KoTextDocumentLayout.cpp:192
#14 0x00007f17c1583ff9 in TextShape::paintComponent (this=0x12f12a0, painter=@0x7fffdd4e8580, converter=@0x12f8988) at /home/lemma/kde/trunk/source/koffice/plugins/textshape/TextShape.cpp:146
#15 0x00007f17cfea2115 in KoShapeContainer::paint (this=0x12f12a0, painter=@0x7fffdd4e8580, converter=@0x12f8988) at /home/lemma/kde/trunk/source/koffice/libs/flake/KoShapeContainer.cpp:203
#16 0x00007f17cfea5d5f in KoShapeManager::paintShape (this=0x1302600, shape=0x12f12a0, painter=@0x7fffdd4e8580, converter=@0x12f8988, forPrint=false)
    at /home/lemma/kde/trunk/source/koffice/libs/flake/KoShapeManager.cpp:227
#17 0x00007f17cfea4a64 in KoShapeManagerPaintingStrategy::paint (this=0x1302a80, shape=0x12f12a0, painter=@0x7fffdd4e8580, converter=@0x12f8988, forPrint=false)
    at /home/lemma/kde/trunk/source/koffice/libs/flake/KoShapeManagerPaintingStrategy.cpp:53
#18 0x00007f17cfea61a1 in KoShapeManager::paint (this=0x1302600, painter=@0x7fffdd4e8580, converter=@0x12f8988, forPrint=false)
    at /home/lemma/kde/trunk/source/koffice/libs/flake/KoShapeManager.cpp:201
#19 0x00007f17d4e9ba40 in KarbonCanvas::paintEvent (this=0x12cc060, ev=0x7fffdd4e8fe0) at /home/lemma/kde/trunk/source/koffice/karbon/ui/widgets/KarbonCanvas.cpp:159
#20 0x00007f17d20f1d27 in QWidget::event (this=0x12cc060, event=0x7fffdd4e8fe0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qwidget.cpp:7654
#21 0x00007f17d209340d in QApplicationPrivate::notify_helper (this=0x629470, receiver=0x12cc060, e=0x7fffdd4e8fe0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication.cpp:4084
#22 0x00007f17d2095360 in QApplication::notify (this=0x7fffdd4ea500, receiver=0x12cc060, e=0x7fffdd4e8fe0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication.cpp:4049
#23 0x00007f17d3e01a4f in KApplication::notify (this=0x7fffdd4ea500, receiver=0x12cc060, event=0x7fffdd4e8fe0) at /home/lemma/kde/trunk/source/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#24 0x00007f17d31b6278 in QCoreApplication::notifyInternal (this=0x7fffdd4ea500, receiver=0x12cc060, event=0x7fffdd4e8fe0)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qcoreapplication.cpp:598
#25 0x00007f17d209f457 in QCoreApplication::sendSpontaneousEvent (receiver=0x12cc060, event=0x7fffdd4e8fe0)
    at ../../include/QtCore/../../../../../../source/qt-copy/src/corelib/kernel/qcoreapplication.h:216
#26 0x00007f17d20ef64f in QWidgetPrivate::drawWidget (this=0x12f8500, pdev=0x1281230, rgn=@0x7fffdd4e9330, offset=@0x7fffdd4e9320, flags=68, sharedPainter=0x0, backingStore=0x8a0790)
    at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qwidget.cpp:5046
#27 0x00007f17d22d16d3 in QWidgetBackingStore::sync (this=0x8a0790) at /home/lemma/kde/trunk/source/qt-copy/src/gui/painting/qbackingstore.cpp:1258
#28 0x00007f17d20e984e in QWidgetPrivate::syncBackingStore (this=0x897910) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qwidget.cpp:1603
#29 0x00007f17d20f22b6 in QWidget::event (this=0x896c10, event=0x14e2060) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qwidget.cpp:7794
#30 0x00007f17d25077c2 in QMainWindow::event (this=0x896c10, event=0x14e2060) at /home/lemma/kde/trunk/source/qt-copy/src/gui/widgets/qmainwindow.cpp:1396
#31 0x00007f17d3ed6a70 in KMainWindow::event (this=0x896c10, ev=0x14e2060) at /home/lemma/kde/trunk/source/KDE/kdelibs/kdeui/widgets/kmainwindow.cpp:1094
#32 0x00007f17d3f1464d in KXmlGuiWindow::event (this=0x896c10, ev=0x14e2060) at /home/lemma/kde/trunk/source/KDE/kdelibs/kdeui/xmlgui/kxmlguiwindow.cpp:131
#33 0x00007f17d209340d in QApplicationPrivate::notify_helper (this=0x629470, receiver=0x896c10, e=0x14e2060) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication.cpp:4084
#34 0x00007f17d2095360 in QApplication::notify (this=0x7fffdd4ea500, receiver=0x896c10, e=0x14e2060) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication.cpp:4049
#35 0x00007f17d3e01a4f in KApplication::notify (this=0x7fffdd4ea500, receiver=0x896c10, event=0x14e2060) at /home/lemma/kde/trunk/source/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#36 0x00007f17d31b6278 in QCoreApplication::notifyInternal (this=0x7fffdd4ea500, receiver=0x896c10, event=0x14e2060)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qcoreapplication.cpp:598
#37 0x00007f17d31b9d05 in QCoreApplication::sendEvent (receiver=0x896c10, event=0x14e2060) at ../../include/QtCore/../../../../../../source/qt-copy/src/corelib/kernel/qcoreapplication.h:213
#38 0x00007f17d31b67bf in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x6056d0) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1236
#39 0x00007f17d31b6986 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1132
#40 0x00007f17d31e6e1d in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../../../../../source/qt-copy/src/corelib/kernel/qcoreapplication.h:218
#41 0x00007f17d31e6063 in postEventSourceDispatch (s=0x62cba0) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:209
#42 0x00007f17cd2150f2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#43 0x00007f17cd218396 in ?? () from /usr/lib/libglib-2.0.so.0
#44 0x00007f17cd21882f in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#45 0x00007f17d31e53b0 in QEventDispatcherGlib::processEvents (this=0x605000, flags=@0x7fffdd4ea370) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:323
#46 0x00007f17d213cd23 in QGuiEventDispatcherGlib::processEvents (this=0x605000, flags=@0x7fffdd4ea3d0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:202
#47 0x00007f17d31b33c4 in QEventLoop::processEvents (this=0x7fffdd4ea490, flags=@0x7fffdd4ea430) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#48 0x00007f17d31b35d2 in QEventLoop::exec (this=0x7fffdd4ea490, flags=@0x7fffdd4ea4a0) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qeventloop.cpp:196
#49 0x00007f17d31b6aa8 in QCoreApplication::exec () at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qcoreapplication.cpp:880
#50 0x00007f17d209316e in QApplication::exec () at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication.cpp:3553
#51 0x00007f17d50cde22 in kdemain (argc=1, argv=0x7fffdd4ea6a8) at /home/lemma/kde/trunk/source/koffice/karbon/main.cc:50
#52 0x0000000000400813 in main (argc=1, argv=0x7fffdd4ea6a8) at /home/lemma/kde/trunk/build/debug/build/koffice/karbon/karbon_dummy.cpp:3
Comment 2 Thomas Zander 2009-03-12 12:34:51 UTC

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