Bug 389370 - Calligra Stage crash when opening .ppt document.
Summary: Calligra Stage crash when opening .ppt document.
Status: RESOLVED WORKSFORME
Alias: None
Product: calligrastage
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: T Zachmann
URL:
Keywords: drkonqi
: 359702 361314 368451 371572 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-01-24 13:44 UTC by qp8
Modified: 2021-01-09 17:13 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (12.29 KB, text/plain)
2018-02-20 14:16 UTC, qp8
Details

Note You need to log in before you can comment on or make changes to this bug.
Description qp8 2018-01-24 13:44:46 UTC
Application: calligrastage (3.0.1)

Qt Version: 5.9.3
Frameworks Version: 5.42.0
Operating System: Linux 4.13.0-31-generic x86_64
Distribution: KDE neon User Edition 5.11

-- Information about the crash:
Calligra Stage crash everytime I try .ppt document from cloud.

The crash can be reproduced every time.

-- Backtrace:
Application: Calligra Stage (calligrastage), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fc4ebd6f8c0 (LWP 11036))]

Thread 4 (Thread 0x7fc4c1a38700 (LWP 11039)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc4e9c3a91c in std::condition_variable::wait(std::unique_lock<std::mutex>&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#2  0x00007fc4c70788de in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007fc4c70789f9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#4  0x00007fc4e9c3fc80 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007fc4e460b6ba in start_thread (arg=0x7fc4c1a38700) at pthread_create.c:333
#6  0x00007fc4eb77f41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fc4cdab2700 (LWP 11038)):
#0  0x00007fc4eb76f27d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fc4e32526f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc4e320ee74 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc4e320f330 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fc4e320f49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fc4ea1df6cb in QEventDispatcherGlib::processEvents (this=0x7fc4c80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007fc4ea187e2a in QEventLoop::exec (this=this@entry=0x7fc4cdab1cd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#7  0x00007fc4e9fb08f4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#8  0x00007fc4e4c56315 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x00007fc4e9fb5709 in QThreadPrivate::start (arg=0x7fc4e4ecad40) at thread/qthread_unix.cpp:368
#10 0x00007fc4e460b6ba in start_thread (arg=0x7fc4cdab2700) at pthread_create.c:333
#11 0x00007fc4eb77f41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fc4d4a94700 (LWP 11037)):
#0  0x00007fc4eb77374d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fc4dc9f1c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fc4dc9f38d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fc4d6da81f9 in QXcbEventReader::run (this=0x1787950) at qxcbconnection.cpp:1330
#4  0x00007fc4e9fb5709 in QThreadPrivate::start (arg=0x1787950) at thread/qthread_unix.cpp:368
#5  0x00007fc4e460b6ba in start_thread (arg=0x7fc4d4a94700) at pthread_create.c:333
#6  0x00007fc4eb77f41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fc4ebd6f8c0 (LWP 11036)):
[KCrash Handler]
#6  OdfWriter::endChild (this=0x2245290) at /workspace/build/libs/odf/writeodf/odfwriter.h:56
#7  OdfWriter::end (this=0x2245290) at /workspace/build/libs/odf/writeodf/odfwriter.h:72
#8  0x00007fc4b7803312 in OdfWriter::endChild (this=0x7fff1156fd50) at /workspace/build/libs/odf/writeodf/odfwriter.h:57
#9  OdfWriter::end (this=0x7fff1156fd50) at /workspace/build/libs/odf/writeodf/odfwriter.h:72
#10 0x00007fc4b780336c in OdfWriter::OdfWriter (this=this@entry=0x7fff1156ff80, p=<optimized out>, tag=tag@entry=0x7fc4b78fa3f4 "text:p", indent=indent@entry=false) at /workspace/build/libs/odf/writeodf/odfwriter.h:46
#11 0x00007fc4b7802123 in writeodf::text_p::text_p (x=<optimized out>, this=0x7fff1156ff80) at /workspace/build/obj-x86_64-linux-gnu/libs/odf/writeodf/writeodftext.h:2174
#12 writeodf::group_text_p::add_text_p (this=<optimized out>) at /workspace/build/obj-x86_64-linux-gnu/libs/odf/writeodf/writeodftext.h:2660
#13 PptToOdp::processParagraph (this=this@entry=0x7fff11570e50, out=..., levels=..., clientData=clientData@entry=0x1d57540, tc=tc@entry=0x1d57860, tr=tr@entry=0x0, isPlaceHolder=true, text=..., start=0, end=28) at /workspace/build/filters/stage/powerpoint/PptToOdp.cpp:2867
#14 0x00007fc4b78026e4 in PptToOdp::processTextForBody (this=<optimized out>, out=..., clientData=clientData@entry=0x1d57540, tc=tc@entry=0x1d57860, tr=tr@entry=0x0, isPlaceholder=true) at /workspace/build/filters/stage/powerpoint/PptToOdp.cpp:2952
#15 0x00007fc4b7802c3a in PptToOdp::DrawClient::processClientTextBox (this=0x7fff11570a10, ct=..., cd=0x1d57540, out=...) at /workspace/build/filters/stage/powerpoint/PptToOdp.cpp:443
#16 0x00007fc4b78c852f in ODrawToOdf::processText (this=this@entry=0x7fff11570890, o=..., out=...) at /workspace/build/filters/libmso/shapes.cpp:966
#17 0x00007fc4b78c9fac in ODrawToOdf::processTextBox (this=this@entry=0x7fff11570890, o=..., out=...) at /workspace/build/filters/libmso/shapes.cpp:134
#18 0x00007fc4b78cc334 in ODrawToOdf::processRectangle (this=0x7fff11570890, o=..., out=...) at /workspace/build/filters/libmso/shapes.cpp:111
#19 0x00007fc4b78cfac2 in ODrawToOdf::processDrawingObject (this=<optimized out>, o=..., out=...) at /workspace/build/filters/libmso/shapes.cpp:450
#20 0x00007fc4b78bee5a in ODrawToOdf::processGroupShape (this=this@entry=0x7fff11570890, o=..., out=...) at /workspace/build/filters/libmso/ODrawToOdf.cpp:80
#21 0x00007fc4b7800028 in PptToOdp::createMainStyles (this=this@entry=0x7fff11570e50, styles=...) at /workspace/build/filters/stage/powerpoint/PptToOdp.cpp:2230
#22 0x00007fc4b7801185 in PptToOdp::doConversion (this=this@entry=0x7fff11570e50, storeout=storeout@entry=0x1c950f0) at /workspace/build/filters/stage/powerpoint/PptToOdp.cpp:952
#23 0x00007fc4b7801877 in PptToOdp::convert (this=this@entry=0x7fff11570e50, inputFile=..., to=..., storeType=storeType@entry=KoStore::Zip) at /workspace/build/filters/stage/powerpoint/PptToOdp.cpp:914
#24 0x00007fc4b77f332d in PowerPointImport::convert (this=0x1c801c0, from=..., to=...) at /workspace/build/filters/stage/powerpoint/PowerPointImport.cpp:40
#25 0x00007fc4eb40e629 in CalligraFilter::ChainLink::invokeFilter (this=0x1c7ef50, parentChainLink=parentChainLink@entry=0x0) at /workspace/build/libs/main/KoFilterChainLink.cpp:89
#26 0x00007fc4eb405dc8 in KoFilterChain::invokeChain (this=0x1c7eeb0) at /workspace/build/libs/main/KoFilterChain.cpp:96
#27 0x00007fc4eb3ff1b2 in KoFilterManager::importDocument (this=0x1898320, url=..., documentMimeType=..., status=@0x7fff115716b0: 30) at /workspace/build/libs/main/KoFilterManager.cpp:169
#28 0x00007fc4eb3d51aa in KoDocument::openFile (this=0x1898510) at /workspace/build/libs/main/KoDocument.cpp:1473
#29 0x00007fc4eb3dd182 in KoDocument::Private::openFile (this=0x18986e0) at /workspace/build/libs/main/KoDocument.cpp:271
#30 KoDocument::Private::openLocalFile (this=0x18986e0) at /workspace/build/libs/main/KoDocument.cpp:293
#31 0x00007fc4eb3db838 in KoDocument::openUrlInternal (this=this@entry=0x1898510, url=...) at /workspace/build/libs/main/KoDocument.cpp:2675
#32 0x00007fc4eb3dbb8c in KoDocument::openUrl (this=0x1898510, _url=...) at /workspace/build/libs/main/KoDocument.cpp:1241
#33 0x00007fc4eb3e1f9b in KoMainWindow::openDocumentInternal (this=this@entry=0x18e3af0, url=..., newpart=newpart@entry=0x1845dd0, newdoc=newdoc@entry=0x1898510) at /workspace/build/libs/main/KoMainWindow.cpp:759
#34 0x00007fc4eb3e3979 in KoMainWindow::openDocument (this=this@entry=0x18e3af0, newPart=0x1845dd0, url=...) at /workspace/build/libs/main/KoMainWindow.cpp:738
#35 0x00007fc4eb3c7f99 in KoApplication::start (this=this@entry=0x7fff11572470) at /workspace/build/libs/main/KoApplication.cpp:570
#36 0x00007fc4eba46251 in kdemain (argc=2, argv=<optimized out>) at /workspace/build/stage/app/main.cpp:54
#37 0x00007fc4eb698830 in __libc_start_main (main=0x400910 <main(int, char**)>, argc=2, argv=0x7fff115725c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff115725b8) at ../csu/libc-start.c:291
#38 0x0000000000400949 in _start ()

Reported using DrKonqi
Comment 1 Christoph Feck 2018-02-14 14:57:43 UTC
*** Bug 359702 has been marked as a duplicate of this bug. ***
Comment 2 Christoph Feck 2018-02-14 14:59:01 UTC
*** Bug 361314 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Feck 2018-02-14 14:59:57 UTC
Bug 361314 comment #3 has two links for PPT documents; both still work.
Comment 4 Christoph Feck 2018-02-14 15:00:49 UTC
*** Bug 368451 has been marked as a duplicate of this bug. ***
Comment 5 Christoph Feck 2018-02-14 15:01:11 UTC
*** Bug 371572 has been marked as a duplicate of this bug. ***
Comment 6 qp8 2018-02-20 14:16:20 UTC
Created attachment 110841 [details]
New crash information added by DrKonqi

calligrastage (3.1.0) using Qt 5.9.3

www.unm.edu/~unmvclib/powerpoint/pptexamples.ppt

Every .ppt document crash Stage when trying to open.

Maybe this bug is related to KDE Neon distribution.

-- Backtrace (Reduced):
#6  OdfWriter::endChild (this=0x296a590) at /workspace/build/libs/odf/writeodf/odfwriter.h:56
#7  OdfWriter::end (this=0x296a590) at /workspace/build/libs/odf/writeodf/odfwriter.h:71
#8  0x00007f9e28c4f312 in OdfWriter::endChild (this=0x7ffc81310a80) at /workspace/build/libs/odf/writeodf/odfwriter.h:57
#9  OdfWriter::end (this=0x7ffc81310a80) at /workspace/build/libs/odf/writeodf/odfwriter.h:71
#10 0x00007f9e28c4f36c in OdfWriter::OdfWriter (this=this@entry=0x7ffc81310cb0, p=<optimized out>, tag=tag@entry=0x7f9e28d463f4 "text:p", indent=indent@entry=false) at /workspace/build/libs/odf/writeodf/odfwriter.h:46
Comment 7 Justin Zobel 2020-12-17 05:35:43 UTC
Thank you for the crash report.

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 8 Syam 2020-12-25 03:37:55 UTC
(In reply to Justin Zobel from comment #7)
> Thank you for the crash report.
> 
> 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.
> 

The PPT file from comment #6 works fine for me (mine was a duplicate of this report). No crash.
www.unm.edu/~unmvclib/powerpoint/pptexamples.ppt

Calligra Stage v3.1.0
KDE Frameworks 5.75.0
Qt 5.14.2 (built against 5.14.2)

May be OP can respond.
Comment 9 Bug Janitor Service 2021-01-09 04:33:52 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 10 Christoph Feck 2021-01-09 17:13:58 UTC
Thanks for the update; changing status.