Bug 275597 - segfault when inserting endnote/footnote - calligra-words ver 2.4 alpha1
Summary: segfault when inserting endnote/footnote - calligra-words ver 2.4 alpha1
Status: RESOLVED FIXED
Alias: None
Product: calligrawords
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Mageia RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Words Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-13 23:20 UTC by Duane Phinney
Modified: 2011-09-26 21:21 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Duane Phinney 2011-06-13 23:20:49 UTC
Version:           unspecified (using KDE 4.6.3) 
OS:                Linux

When trying to insert endnote/footnote the crash handler appears

Reproducible: Always

Steps to Reproduce:
Try to insert an endnote, footnote

Actual Results:  
crash handler appears

Expected Results:  
Insert endnote or footnote

Thread 1 (Thread 0xb495f8e0 (LWP 24008)):
#0  0xb761c443 in QTextObject::docHandle() const ()
   from /usr/lib/libQtGui.so.4
#1  0xb761d74e in QTextFrame::begin() const () from /usr/lib/libQtGui.so.4
#2  0xb68b7db6 in FrameIterator::FrameIterator (this=0xbfffdd78, frame=0x0)
    at /usr/src/debug/calligra/libs/textlayout/FrameIterator.cpp:33
#3  0xb689b0b8 in KoTextLayoutArea::preregisterFootNote (this=0x8334548,  
    note=0x8781738)
    at /usr/src/debug/calligra/libs/textlayout/KoTextLayoutArea.cpp:1109
#4  0xb689adeb in KoTextLayoutArea::findFootNotes (this=0x8334548, block=
    ..., line=...)
    at /usr/src/debug/calligra/libs/textlayout/KoTextLayoutArea.cpp:1096
#5  0xb689ce63 in KoTextLayoutArea::layoutBlock (this=0x8334548, cursor=
    0x8586208)
    at /usr/src/debug/calligra/libs/textlayout/KoTextLayoutArea.cpp:755
#6  0xb689e65b in KoTextLayoutArea::layout(FrameIterator*) ()
    at /usr/src/debug/calligra/libs/textlayout/KoTextLayoutArea.cpp:386
#7  0xb68ac10d in KoTextLayoutRootArea::layout(FrameIterator*) ()
    at /usr/src/debug/calligra/libs/textlayout/KoTextLayoutRootArea.cpp:55
#8  0xb23889fa in KWTextLayoutRootArea::layout (this=0x8334548, cursor=
---Type <return> to continue, or q <return> to quit---
    0x8586208)
    at /usr/src/debug/calligra/words/part/KWRootAreaProvider.cpp:56
#9  0xb68ae52b in KoTextDocumentLayout::layout() ()
    at /usr/src/debug/calligra/libs/textlayout/KoTextDocumentLayout.cpp:438
#10 0xb68aca98 in KoTextDocumentLayout::executeScheduledLayout (this=
    0x83f9e30)
    at /usr/src/debug/calligra/libs/textlayout/KoTextDocumentLayout.cpp:518
#11 0xb68acbe4 in KoTextDocumentLayout::qt_metacall (this=0x83f9e30, _c=
    QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x843b240)
    at /usr/src/debug/calligra/build/libs/textlayout/KoTextDocumentLayout.moc:86
#12 0xb6e4077d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#13 0xb6e4b3c5 in QMetaCallEvent::placeMetaCall(QObject*) ()
   from /usr/lib/libQtCore.so.4
#14 0xb6e4faaf in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#15 0xb7377fb4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/libQtGui.so.4
#16 0xb737cf97 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libQtGui.so.4
#17 0xb5f3f351 in KApplication::notify(QObject*, QEvent*) ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libkdeui.so.5
#18 0xb6e39f2e in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /usr/lib/libQtCore.so.4
#19 0xb6e3dccc in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#20 0xb6e3de1c in QCoreApplication::sendPostedEvents(QObject*, int) ()
   from /usr/lib/libQtCore.so.4
#21 0xb6e68c14 in ?? () from /usr/lib/libQtCore.so.4
#22 0xb5be84d9 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#23 0xb5be8ce0 in ?? () from /lib/libglib-2.0.so.0
#24 0xb5be8f9a in g_main_context_iteration () from /lib/libglib-2.0.so.0
#25 0xb6e68d9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#26 0xb742f7fa in ?? () from /usr/lib/libQtGui.so.4
#27 0xb6e3913d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#28 0xb6e393b9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQtCore.so.4
#29 0xb6e3def0 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#30 0xb7375d34 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#31 0xb7fc28dd in kdemain (argc=1, argv=0xbfffef14)
---Type <return> to continue, or q <return> to quit---
    at /usr/src/debug/calligra/words/part/main.cpp:43
#32 0x080485db in main (argc=1, argv=0xbfffef14)
    at /usr/src/debug/calligra/build/words/part/words_dummy.cpp:3
Comment 1 Cyril Brosch 2011-06-18 18:00:33 UTC
I can confirm, but only for footnotes (both "automatic" and "custom sign"), it doesn't crash with endnotes (which don't work, anyhow).

Do you need a second crash log?
Comment 2 Halla Rempt 2011-08-16 09:17:59 UTC
I can confirm.