Bug 180176 - crash after inserting of page break
Summary: crash after inserting of page break
Status: RESOLVED UPSTREAM
Alias: None
Product: kword
Classification: Miscellaneous
Component: general (show other bugs)
Version: git
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Thomas Zander
URL:
Keywords:
: 186935 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-01-09 19:56 UTC by T Zachmann
Modified: 2009-03-12 12:34 UTC (History)
1 user (show)

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 T Zachmann 2009-01-09 19:56:08 UTC
Version:           svn  (using KDE 4.1.3)
OS:                Linux
Installed from:    Compiled From Sources

To reproduce:
o create a new document using the Blank Document template.
o add "a".
o go before the "a".
o insert page break.
-> crash

Application: KWord (kword), signal SIGABRT
[Current thread is 0 (LWP 14496)]

Thread 2 (Thread 0xb1affb90 (LWP 14508)):
#0  0xb7f4e410 in __kernel_vsyscall ()
#1  0xb6b26aa5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb6b9016c in QWaitConditionPrivate::wait (this=0x8c09cf8, time=4294967295) at thread/qwaitcondition_unix.cpp:82
#3  0xb6b8fc6b in QWaitCondition::wait (this=0x8c09bf8, mutex=0x8c09e88, time=4294967295) at thread/qwaitcondition_unix.cpp:154
#4  0xb61fc130 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8c09be0, th=0x8ee0df0) at /home/tz/develop/kde/svn/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb6200bbe in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x8af3c90, th=0x8ee0df0) at /home/tz/develop/kde/svn/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb61fb7b9 in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x8c09be0, th=0x8ee0df0) at /home/tz/develop/kde/svn/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb6200cdb in ThreadWeaver::WorkingHardState::applyForWork (this=0x8af3c90, th=0x8ee0df0) at /home/tz/develop/kde/svn/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb61fc39e in ThreadWeaver::WeaverImpl::applyForWork (this=0x8c09be0, th=0x8ee0df0, previous=0x8ec9cd0) at /home/tz/develop/kde/svn/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb61fed8f in ThreadWeaver::ThreadRunHelper::run (this=0xb1aff358, parent=0x8c09be0, th=0x8ee0df0) at /home/tz/develop/kde/svn/kdelibs/threadweaver/Weaver/Thread.cpp:87
#10 0xb61fef32 in ThreadWeaver::Thread::run (this=0x8ee0df0) at /home/tz/develop/kde/svn/kdelibs/threadweaver/Weaver/Thread.cpp:142
#11 0xb6b8f71f in QThreadPrivate::start (arg=0x8ee0df0) at thread/qthread_unix.cpp:185
#12 0xb6b224fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#13 0xb6943e5e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb59866c0 (LWP 14496)):
[KCrash Handler]
#6  0xb7f4e410 in __kernel_vsyscall ()
#7  0xb6898085 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb6899a01 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb6b8534d in qt_message_output (msgType=QtFatalMsg,
    buf=0xbf9f4a70 "ASSERT failure in QVector<T>::operator[]: \"index out of range\", file ../../include/QtCore/../../src/corelib/tools/qvector.h, line 325") at global/qglobal.cpp:2102
#10 0xb6b853d1 in qFatal (msg=0xb6cdab3c "ASSERT failure in %s: \"%s\", file %s, line %d") at global/qglobal.cpp:2303
#11 0xb6b85428 in qt_assert_x (where=0xb7688c32 "QVector<T>::operator[]", what=0xb7688a88 "index out of range", file=0xb7688aa8 "../../include/QtCore/../../src/corelib/tools/qvector.h", line=325)
    at global/qglobal.cpp:1880
#12 0xb71690f1 in QVector<QScriptItem>::operator[] (this=0x83baba8, i=-1) at ../../include/QtCore/../../src/corelib/tools/qvector.h:325
#13 0xb7265682 in QTextLineItemIterator (this=0xbf9f6e14, _eng=0x8431da0, lineNum=0, pos=@0xbf9f74c0, _selection=0x0) at text/qtextlayout.cpp:958
#14 0xb72659fa in QTextLine::draw (this=0xbf9f74e8, p=0xbf9f7d2c, pos=@0xbf9f74c0, selection=0x0) at text/qtextlayout.cpp:1895
#15 0xb7267277 in QTextLayout::draw (this=0x82e9110, p=0xbf9f7d2c, pos=@0xbf9f75e8, selections=@0xbf9f765c, clip=@0xbf9f7588) at text/qtextlayout.cpp:1123
#16 0xb399b6cd in Layout::draw (this=0x8d76d00, painter=0xbf9f7d2c, context=@0xbf9f76fc) at /home/tz/develop/kde/svn/koffice/plugins/textshape/Layout.cpp:763
#17 0xb419168a in KoTextDocumentLayout::draw (this=0x8457bd0, painter=0xbf9f7d2c, context=@0xbf9f76fc) at /home/tz/develop/kde/svn/koffice/libs/kotext/KoTextDocumentLayout.cpp:192
#18 0xb39821c7 in TextShape::paintComponent (this=0x84539e0, painter=@0xbf9f7d2c, converter=@0x8432430) at /home/tz/develop/kde/svn/koffice/plugins/textshape/TextShape.cpp:150
#19 0xb4010115 in KoShapeContainer::paint (this=0x84539e0, painter=@0xbf9f7d2c, converter=@0x8432430) at /home/tz/develop/kde/svn/koffice/libs/flake/KoShapeContainer.cpp:191
#20 0xb4013c97 in KoShapeManager::paintShape (this=0x88a38e8, shape=0x84539e0, painter=@0xbf9f7d2c, converter=@0x8432430, forPrint=false)
    at /home/tz/develop/kde/svn/koffice/libs/flake/KoShapeManager.cpp:226
#21 0xb4012961 in KoShapeManagerPaintingStrategy::paint (this=0x88a2098, shape=0x84539e0, painter=@0xbf9f7d2c, converter=@0x8432430, forPrint=false)
    at /home/tz/develop/kde/svn/koffice/libs/flake/KoShapeManagerPaintingStrategy.cpp:52
#22 0xb40140ed in KoShapeManager::paint (this=0x88a38e8, painter=@0xbf9f7d2c, converter=@0x8432430, forPrint=false) at /home/tz/develop/kde/svn/koffice/libs/flake/KoShapeManager.cpp:200
#23 0xb423f3e9 in KWCanvas::paintEvent (this=0x8895770, ev=0xbf9f824c) at /home/tz/develop/kde/svn/koffice/kword/part/KWCanvas.cpp:270
#24 0xb709f37e in QWidget::event (this=0x8895770, event=0xbf9f824c) at kernel/qwidget.cpp:7301
#25 0xb70418c5 in QApplicationPrivate::notify_helper (this=0x805afa0, receiver=0x8895770, e=0xbf9f824c) at kernel/qapplication.cpp:3803
#26 0xb70434ae in QApplication::notify (this=0xbf9f9cec, receiver=0x8895770, e=0xbf9f824c) at kernel/qapplication.cpp:3768
#27 0xb7a04ebb in KApplication::notify (this=0xbf9f9cec, receiver=0x8895770, event=0xbf9f824c) at /home/tz/develop/kde/svn/kdelibs/kdeui/kernel/kapplication.cpp:311
#28 0xb6c8370a in QCoreApplication::notifyInternal (this=0xbf9f9cec, receiver=0x8895770, event=0xbf9f824c) at kernel/qcoreapplication.cpp:583
#29 0xb704d79f in QCoreApplication::sendSpontaneousEvent (receiver=0x8895770, event=0xbf9f824c) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:212
#30 0xb70ad0ce in qt_sendSpontaneousEvent (receiver=0x8895770, event=0xbf9f824c) at kernel/qapplication_x11.cpp:4588
#31 0xb70a6d87 in QWidgetPrivate::drawWidget (this=0x88a2708, pdev=0x807279c, rgn=@0xbf9f83cc, offset=@0xbf9f83a4, flags=4, sharedPainter=0x83362b0) at kernel/qwidget.cpp:4636
#32 0xb70a7425 in QWidgetPrivate::paintSiblingsRecursive (this=0x88a5858, pdev=0x807279c, siblings=@0xbf9f8514, index=0, rgn=@0xbf9f85bc, offset=@0xbf9f8594, flags=4, sharedPainter=0x83362b0)
    at kernel/qwidget.cpp:4735
#33 0xb70a70b5 in QWidgetPrivate::drawWidget (this=0x88a5858, pdev=0x807279c, rgn=@0xbf9f85bc, offset=@0xbf9f8594, flags=4, sharedPainter=0x83362b0) at kernel/qwidget.cpp:4677
#34 0xb70a7425 in QWidgetPrivate::paintSiblingsRecursive (this=0x88a3518, pdev=0x807279c, siblings=@0xbf9f8704, index=1, rgn=@0xbf9f87ac, offset=@0xbf9f8784, flags=4, sharedPainter=0x83362b0)
    at kernel/qwidget.cpp:4735
#35 0xb70a70b5 in QWidgetPrivate::drawWidget (this=0x88a3518, pdev=0x807279c, rgn=@0xbf9f87ac, offset=@0xbf9f8784, flags=4, sharedPainter=0x83362b0) at kernel/qwidget.cpp:4677
#36 0xb70a7425 in QWidgetPrivate::paintSiblingsRecursive (this=0x88a2e88, pdev=0x807279c, siblings=@0xbf9f88f4, index=3, rgn=@0xbf9f899c, offset=@0xbf9f8974, flags=4, sharedPainter=0x83362b0)
    at kernel/qwidget.cpp:4735
#37 0xb70a70b5 in QWidgetPrivate::drawWidget (this=0x88a2e88, pdev=0x807279c, rgn=@0xbf9f899c, offset=@0xbf9f8974, flags=4, sharedPainter=0x83362b0) at kernel/qwidget.cpp:4677
#38 0xb70a7425 in QWidgetPrivate::paintSiblingsRecursive (this=0x8346388, pdev=0x807279c, siblings=@0xbf9f8ae4, index=4, rgn=@0xbf9f8b8c, offset=@0xbf9f8b64, flags=4, sharedPainter=0x83362b0)
    at kernel/qwidget.cpp:4735
#39 0xb70a70b5 in QWidgetPrivate::drawWidget (this=0x8346388, pdev=0x807279c, rgn=@0xbf9f8b8c, offset=@0xbf9f8b64, flags=4, sharedPainter=0x83362b0) at kernel/qwidget.cpp:4677
#40 0xb70a7425 in QWidgetPrivate::paintSiblingsRecursive (this=0x8218720, pdev=0x807279c, siblings=@0xbf9f8cd4, index=0, rgn=@0xbf9f8d7c, offset=@0xbf9f8d54, flags=4, sharedPainter=0x83362b0)
    at kernel/qwidget.cpp:4735
#41 0xb70a70b5 in QWidgetPrivate::drawWidget (this=0x8218720, pdev=0x807279c, rgn=@0xbf9f8d7c, offset=@0xbf9f8d54, flags=4, sharedPainter=0x83362b0) at kernel/qwidget.cpp:4677
#42 0xb70a7425 in QWidgetPrivate::paintSiblingsRecursive (this=0x81fe040, pdev=0x807279c, siblings=@0xbf9f92c4, index=14, rgn=@0xbf9f8dfc, offset=@0x81f404c, flags=4, sharedPainter=0x83362b0)
    at kernel/qwidget.cpp:4735
#43 0xb70a72e7 in QWidgetPrivate::paintSiblingsRecursive (this=0x81fe040, pdev=0x807279c, siblings=@0xbf9f92c4, index=26, rgn=@0xbf9f8e7c, offset=@0x81f404c, flags=4, sharedPainter=0x83362b0)
    at kernel/qwidget.cpp:4725
#44 0xb70a72e7 in QWidgetPrivate::paintSiblingsRecursive (this=0x81fe040, pdev=0x807279c, siblings=@0xbf9f92c4, index=30, rgn=@0xbf9f8efc, offset=@0x81f404c, flags=4, sharedPainter=0x83362b0)
    at kernel/qwidget.cpp:4725
#45 0xb70a72e7 in QWidgetPrivate::paintSiblingsRecursive (this=0x81fe040, pdev=0x807279c, siblings=@0xbf9f92c4, index=33, rgn=@0xbf9f8f7c, offset=@0x81f404c, flags=4, sharedPainter=0x83362b0)
    at kernel/qwidget.cpp:4725
#46 0xb70a72e7 in QWidgetPrivate::paintSiblingsRecursive (this=0x81fe040, pdev=0x807279c, siblings=@0xbf9f92c4, index=37, rgn=@0xbf9f8ffc, offset=@0x81f404c, flags=4, sharedPainter=0x83362b0)
    at kernel/qwidget.cpp:4725
#47 0xb70a72e7 in QWidgetPrivate::paintSiblingsRecursive (this=0x81fe040, pdev=0x807279c, siblings=@0xbf9f92c4, index=39, rgn=@0xbf9f907c, offset=@0x81f404c, flags=4, sharedPainter=0x83362b0)
    at kernel/qwidget.cpp:4725
#48 0xb70a72e7 in QWidgetPrivate::paintSiblingsRecursive (this=0x81fe040, pdev=0x807279c, siblings=@0xbf9f92c4, index=40, rgn=@0xbf9f90fc, offset=@0x81f404c, flags=4, sharedPainter=0x83362b0)
    at kernel/qwidget.cpp:4725
#49 0xb70a72e7 in QWidgetPrivate::paintSiblingsRecursive (this=0x81fe040, pdev=0x807279c, siblings=@0xbf9f92c4, index=56, rgn=@0xbf9f917c, offset=@0x81f404c, flags=4, sharedPainter=0x83362b0)
    at kernel/qwidget.cpp:4725
#50 0xb70a72e7 in QWidgetPrivate::paintSiblingsRecursive (this=0x81fe040, pdev=0x807279c, siblings=@0xbf9f92c4, index=58, rgn=@0xbf9f93e0, offset=@0x81f404c, flags=4, sharedPainter=0x83362b0)
    at kernel/qwidget.cpp:4725
#51 0xb70a70b5 in QWidgetPrivate::drawWidget (this=0x81fe040, pdev=0x807279c, rgn=@0xbf9f93e0, offset=@0x81f404c, flags=5, sharedPainter=0x83362b0) at kernel/qwidget.cpp:4677
#52 0xb7217e3a in QWidgetBackingStore::cleanRegion (this=0x81f4040, rgn=@0xbf9f9430, widget=0x81fe000, recursiveCopyToScreen=true) at painting/qbackingstore.cpp:1039
#53 0xb72186ed in qt_syncBackingStore (widget=0x81fe000) at painting/qbackingstore.cpp:313
#54 0xb709f875 in QWidget::event (this=0x81fe000, event=0x8385e20) at kernel/qwidget.cpp:7447
#55 0xb743196b in QMainWindow::event (this=0x81fe000, event=0x8385e20) at widgets/qmainwindow.cpp:1268
#56 0xb7aca7ab in KMainWindow::event (this=0x81fe000, ev=0x8385e20) at /home/tz/develop/kde/svn/kdelibs/kdeui/widgets/kmainwindow.cpp:1074
#57 0xb7b0a927 in KXmlGuiWindow::event (this=0x81fe000, ev=0x8385e20) at /home/tz/develop/kde/svn/kdelibs/kdeui/xmlgui/kxmlguiwindow.cpp:133
#58 0xb70418c5 in QApplicationPrivate::notify_helper (this=0x805afa0, receiver=0x81fe000, e=0x8385e20) at kernel/qapplication.cpp:3803
#59 0xb70434ae in QApplication::notify (this=0xbf9f9cec, receiver=0x81fe000, e=0x8385e20) at kernel/qapplication.cpp:3768
#60 0xb7a04ebb in KApplication::notify (this=0xbf9f9cec, receiver=0x81fe000, event=0x8385e20) at /home/tz/develop/kde/svn/kdelibs/kdeui/kernel/kapplication.cpp:311
#61 0xb6c8370a in QCoreApplication::notifyInternal (this=0xbf9f9cec, receiver=0x81fe000, event=0x8385e20) at kernel/qcoreapplication.cpp:583
#62 0xb703e53d in QCoreApplication::sendEvent (receiver=0x81fe000, event=0x8385e20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209
#63 0xb6c83c22 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x804b410) at kernel/qcoreapplication.cpp:1195
#64 0xb6c83dd3 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1091
#65 0xb70ec046 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:214
#66 0xb6cb3773 in postEventSourceDispatch (s=0x805d310) at kernel/qeventdispatcher_glib.cpp:205
#67 0xb671ccc6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#68 0xb6720083 in ?? () from /usr/lib/libglib-2.0.so.0
#69 0xb672063e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#70 0xb6cb2b8c in QEventDispatcherGlib::processEvents (this=0x805b0d8, flags=@0xbf9f9be4) at kernel/qeventdispatcher_glib.cpp:319
#71 0xb70ea68c in QGuiEventDispatcherGlib::processEvents (this=0x805b0d8, flags=@0xbf9f9c14) at kernel/qguieventdispatcher_glib.cpp:198
#72 0xb6c805ca in QEventLoop::processEvents (this=0xbf9f9c90, flags=@0xbf9f9c54) at kernel/qeventloop.cpp:143
#73 0xb6c80809 in QEventLoop::exec (this=0xbf9f9c90, flags=@0xbf9f9c98) at kernel/qeventloop.cpp:190
#74 0xb6c83ef3 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#75 0xb70415de in QApplication::exec () at kernel/qapplication.cpp:3331
#76 0xb7f49e82 in kdemain (argc=1, argv=0xbf9f9de4) at /home/tz/develop/kde/svn/koffice/kword/part/main.cpp:38
#77 0x08048736 in main (argc=) at /home/ko2/koffice-build/kword/part/kword_dummy.cpp:3
Comment 1 Thomas Zander 2009-01-25 23:06:32 UTC
Qt bug. Fixed in 4.5
Comment 2 Thomas Zander 2009-03-12 12:34:51 UTC
*** Bug 186935 has been marked as a duplicate of this bug. ***