Bug 286883 - Stage crashes while opening an file
Summary: Stage crashes while opening an file
Status: RESOLVED FIXED
Alias: None
Product: calligrastage
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: T Zachmann
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-17 22:11 UTC by Jonathan Kolberg
Modified: 2011-11-27 10:50 UTC (History)
1 user (show)

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


Attachments
This is a file that leads stage to crash (291.33 KB, application/octet-stream)
2011-11-17 22:13 UTC, Jonathan Kolberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Kolberg 2011-11-17 22:11:34 UTC
Application: kpresenter (2.4 Alpha 1)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.7.4
Operating System: Linux 3.1.0-2-generic x86_64
Distribution: Ubuntu precise (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
I opened the file and stage crashed while opening it.

I’ll attach the file, so you can test for it.

The crash can be reproduced every time.

-- Backtrace:
Application: Stage (kpresenter), signal: Segmentation fault
[KCrash Handler]
#6  KPrPlaceholderTextStrategy::loadOdf (this=0x13f30c0, element=..., context=...) at /home/jonathan/kde4/src/calligra/stage/part/KPrPlaceholderTextStrategy.cpp:129
#7  0x00007fbe7737a101 in KPrPlaceholderShape::loadOdf (this=0x1410170, element=..., context=...) at /home/jonathan/kde4/src/calligra/stage/part/KPrPlaceholderShape.cpp:78
#8  0x00007fbe8be87537 in KoShapeFactoryBase::createShapeFromOdf (this=0x1361330, element=..., context=...) at /home/jonathan/kde4/src/calligra/libs/flake/KoShapeFactoryBase.cpp:228
#9  0x00007fbe8be82360 in KoShapeRegistry::Private::createShapeInternal (this=<optimized out>, fullElement=..., context=..., element=...) at /home/jonathan/kde4/src/calligra/libs/flake/KoShapeRegistry.cpp:299
#10 0x00007fbe8be827d7 in KoShapeRegistry::createShapeFromOdf (this=0x136ed20, e=..., context=...) at /home/jonathan/kde4/src/calligra/libs/flake/KoShapeRegistry.cpp:192
#11 0x00007fbe770ec1ef in KoPAPageBase::loadOdf (this=0x158e020, element=..., loadingContext=...) at /home/jonathan/kde4/src/calligra/libs/kopageapp/KoPAPageBase.cpp:209
#12 0x00007fbe773725d7 in KPrMasterPage::loadOdf (this=0x158e020, element=..., context=...) at /home/jonathan/kde4/src/calligra/stage/part/KPrMasterPage.cpp:48
#13 0x00007fbe770dcc13 in KoPADocument::loadOdfMasterPages (this=0x1336d10, masterStyles=..., context=...) at /home/jonathan/kde4/src/calligra/libs/kopageapp/KoPADocument.cpp:281
#14 0x00007fbe770dda85 in KoPADocument::loadOdf (this=0x1336d10, odfStore=...) at /home/jonathan/kde4/src/calligra/libs/kopageapp/KoPADocument.cpp:166
#15 0x00007fbe8c7cdf68 in KoDocument::loadOasisFromStore (this=0x1336d10, store=<optimized out>) at /home/jonathan/kde4/src/calligra/libs/main/KoDocument.cpp:1968
#16 0x00007fbe8c7da207 in KoDocument::loadNativeFormatFromStoreInternal (this=0x1336d10, store=0x13ce960) at /home/jonathan/kde4/src/calligra/libs/main/KoDocument.cpp:1858
#17 0x00007fbe8c7db02c in KoDocument::loadNativeFormatFromStore (this=0x1336d10, file=...) at /home/jonathan/kde4/src/calligra/libs/main/KoDocument.cpp:1806
#18 0x00007fbe8c7db24b in KoDocument::loadNativeFormat (this=0x1336d10, file_=<optimized out>) at /home/jonathan/kde4/src/calligra/libs/main/KoDocument.cpp:1786
#19 0x00007fbe8c7d8914 in KoDocument::openFile (this=0x1336d10) at /home/jonathan/kde4/src/calligra/libs/main/KoDocument.cpp:1571
#20 0x00007fbe8a8b787c in ?? () from /usr/lib/libkparts.so.4
#21 0x00007fbe8a8b7ec4 in KParts::ReadOnlyPart::openUrl(KUrl const&) () from /usr/lib/libkparts.so.4
#22 0x00007fbe8c7dbffd in KoDocument::openUrl (this=0x1336d10, _url=...) at /home/jonathan/kde4/src/calligra/libs/main/KoDocument.cpp:1254
#23 0x00007fbe8c7f93e7 in KoMainWindow::openDocumentInternal (this=0x137d660, url=..., newdoc=0x1336d10) at /home/jonathan/kde4/src/calligra/libs/main/KoMainWindow.cpp:643
#24 0x00007fbe8c7f7f62 in KoMainWindow::openDocument (this=0x137d660, newdoc=0x1336d10, url=...) at /home/jonathan/kde4/src/calligra/libs/main/KoMainWindow.cpp:626
#25 0x00007fbe8c7ca164 in KoApplication::start (this=<optimized out>) at /home/jonathan/kde4/src/calligra/libs/main/KoApplication.cpp:282
#26 0x00007fbe8cacc1de in kdemain (argc=<optimized out>, argv=0x7fffec953188) at /home/jonathan/kde4/src/calligra/kpresenter/part/main.cpp:41
#27 0x00007fbe869c830d in __libc_start_main (main=0x4008d0 <main(int, char**)>, argc=2, ubp_av=0x7fffec953188, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffec953178) at libc-start.c:226
#28 0x00000000004007f9 in _start ()

Reported using DrKonqi
Comment 1 Jonathan Kolberg 2011-11-17 22:13:12 UTC
Created attachment 65802 [details]
This is a file that leads stage to crash
Comment 2 Sebastian Sauer 2011-11-25 14:42:59 UTC
Cannot reproduce with current master.
Comment 3 Jonathan Kolberg 2011-11-27 10:50:13 UTC
Yeah I also don’t get the error again. Maybe we could use this file for testing?