Bug 299994

Summary: crash in benchmarking a pptx file
Product: [Applications] calligracommon Reporter: Jos van den Oever <jos>
Component: text-layoutAssignee: Calligra Bugs <calligra-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: justin.zobel
Priority: NOR    
Version First Reported In: 2.5.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jos van den Oever 2012-05-14 11:32:41 UTC
Application: calligrastage (2.5 Alpha 1)
KDE Platform Version: 4.6.5 (4.6.5) (Compiled from sources)
Qt Version: 4.7.4
Operating System: Linux 2.6.43.2-6.fc15.x86_64 x86_64
Distribution: "Fedora release 15 (Lovelock)"

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

I ran the command
  calligrastage --benchmark-loading mp07_underline_styles.pptx

Many more pptx files produce this crash. This gives many failed tests in the document tests on the build server. Loading the pptx normally does not produce a crash.

The crash can be reproduced every time.

-- Backtrace:
Application: Stage (calligrastage), signal: Segmentation fault
[KCrash Handler]
#6  0x00007f28db4ffc75 in QMap (other=..., this=0x7fff47e50ad0) at /usr/include/QtCore/qmap.h:185
#7  properties (this=0x30) at /home/oever/work/nokia/src/calligra/libs/kotext/styles/Styles_p.h:51
#8  KoCharacterStyle::ensureMinimalProperties (this=0x2a78e80, format=...) at /home/oever/work/nokia/src/calligra/libs/kotext/styles/KoCharacterStyle.cpp:176
#9  0x00007f28da475c62 in KoTextLayoutArea::addLine (this=0x2aa86e0, line=..., cursor=<optimized out>, blockData=0x2ad0280) at /home/oever/work/nokia/src/calligra/libs/textlayout/KoTextLayoutArea.cpp:1503
#10 0x00007f28da47705e in KoTextLayoutArea::layoutBlock (this=0x2aa86e0, cursor=0x2ad2b40) at /home/oever/work/nokia/src/calligra/libs/textlayout/KoTextLayoutArea.cpp:1298
#11 0x00007f28da4795db in KoTextLayoutArea::layout (this=0x2aa86e0, cursor=0x2ad2b40) at /home/oever/work/nokia/src/calligra/libs/textlayout/KoTextLayoutArea.cpp:601
#12 0x00007f28da48aece in KoTextLayoutRootArea::layoutRoot (this=0x2aa86e0, cursor=0x2ad2b40) at /home/oever/work/nokia/src/calligra/libs/textlayout/KoTextLayoutRootArea.cpp:63
#13 0x00007f28da48d155 in KoTextDocumentLayout::doLayout (this=0x2a6c430) at /home/oever/work/nokia/src/calligra/libs/textlayout/KoTextDocumentLayout.cpp:623
#14 0x00007f28da48dba8 in layout (this=0x2a6c430) at /home/oever/work/nokia/src/calligra/libs/textlayout/KoTextDocumentLayout.cpp:572
#15 KoTextDocumentLayout::layout (this=0x2a6c430) at /home/oever/work/nokia/src/calligra/libs/textlayout/KoTextDocumentLayout.cpp:555
#16 0x00007f28da48b8ec in KoTextDocumentLayout::qt_metacall (this=0x2a6c430, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x2951230) at /home/oever/work/nokia/build/calligra/libs/textlayout/KoTextDocumentLayout.moc:89
#17 0x0000003da337116a in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#18 0x0000003bc73bcc64 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#19 0x0000003bc73c1af1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#20 0x0000003bc8e431c6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#21 0x0000003da335a8ec in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#22 0x0000003da335df28 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#23 0x0000003da3384f33 in ?? () from /usr/lib64/libQtCore.so.4
#24 0x0000003d9ea427ed in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#25 0x0000003d9ea42fc8 in ?? () from /lib64/libglib-2.0.so.0
#26 0x0000003d9ea4325c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#27 0x0000003da338538f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#28 0x0000003bc745fc1e in ?? () from /usr/lib64/libQtGui.so.4
#29 0x0000003da3359e02 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#30 0x0000003da3359fff in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#31 0x0000003da335e117 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#32 0x00007f28dbde731d in kdemain (argc=<optimized out>, argv=0x7fff47e52688) at /home/oever/work/nokia/src/calligra/stage/part/main.cpp:44
#33 0x0000003d9b62135d in __libc_start_main () from /lib64/libc.so.6
#34 0x0000000000400801 in _start ()

Reported using DrKonqi
Comment 1 Justin Zobel 2020-12-13 02:20:29 UTC
Thank you for the crash report, Jos.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 2 Bug Janitor Service 2020-12-28 04:34:42 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2021-01-12 04:34:18 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!