Bug 321588 - Opening visio document caused application to crash
Summary: Opening visio document caused application to crash
Status: RESOLVED WORKSFORME
Alias: None
Product: calligraflow
Classification: Applications
Component: general (show other bugs)
Version: 2.6.4
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Yue Liu
URL:
Keywords:
: 311262 324290 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-06-25 09:53 UTC by deon stoltz
Modified: 2018-11-30 03:53 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (4.06 KB, text/plain)
2013-11-26 02:04 UTC, Andrew M
Details

Note You need to log in before you can comment on or make changes to this bug.
Description deon stoltz 2013-06-25 09:53:11 UTC
Application: calligraflow (2.6.4)
KDE Platform Version: 4.10.3
Qt Version: 4.8.4
Operating System: Linux 3.8.13-100.fc17.x86_64 x86_64
Distribution: "Fedora release 17 (Beefy Miracle)"

-- Information about the crash:
Trying to open a viso document. Diagram.vsd, size 588Kbyte

The crash can be reproduced every time.

-- Backtrace:
Application: Flow (calligraflow), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#5  KoImageData::imageSize (this=0x0) at /usr/src/debug/calligra-2.6.4/libs/flake/KoImageData.cpp:123
#6  0x00007febc7ba6e4f in PictureShape::loadOdf (this=0x410e1e0, element=..., context=...) at /usr/src/debug/calligra-2.6.4/plugins/pictureshape/PictureShape.cpp:424
#7  0x00007febde82bb37 in KoShapeFactoryBase::createShapeFromOdf (this=0x288bcb0, element=..., context=...) at /usr/src/debug/calligra-2.6.4/libs/flake/KoShapeFactoryBase.cpp:228
#8  0x00007febde827bf4 in KoShapeRegistry::Private::createShapeInternal (this=<optimized out>, fullElement=..., context=..., element=...) at /usr/src/debug/calligra-2.6.4/libs/flake/KoShapeRegistry.cpp:313
#9  0x00007febde828a74 in KoShapeRegistry::createShapeFromOdf (this=0x284eff0, e=..., context=...) at /usr/src/debug/calligra-2.6.4/libs/flake/KoShapeRegistry.cpp:199
#10 0x00007febce52da4b in KoPAPageBase::loadOdf (this=0x2ac23d0, element=..., loadingContext=...) at /usr/src/debug/calligra-2.6.4/libs/kopageapp/KoPAPageBase.cpp:212
#11 0x00007febce51eb73 in KoPADocument::loadOdfPages (this=this@entry=0x2849930, body=..., context=...) at /usr/src/debug/calligra-2.6.4/libs/kopageapp/KoPADocument.cpp:326
#12 0x00007febce51f1b7 in KoPADocument::loadOdf (this=0x2849930, odfStore=...) at /usr/src/debug/calligra-2.6.4/libs/kopageapp/KoPADocument.cpp:182
#13 0x00007febdf19dea5 in KoDocument::loadOasisFromStore (this=0x2849930, store=<optimized out>) at /usr/src/debug/calligra-2.6.4/libs/main/KoDocument.cpp:1685
#14 0x00007febdf1a9894 in KoDocument::loadNativeFormatFromStoreInternal (this=this@entry=0x2849930, store=store@entry=0x2829bb0) at /usr/src/debug/calligra-2.6.4/libs/main/KoDocument.cpp:1575
#15 0x00007febdf1aacb2 in KoDocument::loadNativeFormatFromStore (this=this@entry=0x2849930, file=...) at /usr/src/debug/calligra-2.6.4/libs/main/KoDocument.cpp:1523
#16 0x00007febdf1ab1ea in KoDocument::loadNativeFormat (this=0x2849930, file_=...) at /usr/src/debug/calligra-2.6.4/libs/main/KoDocument.cpp:1503
#17 0x00007febdf1a708d in KoDocument::openFile (this=0x2849930) at /usr/src/debug/calligra-2.6.4/libs/main/KoDocument.cpp:1314
#18 0x00007febdf23cc74 in KoPart::openFile (this=0x2847070) at /usr/src/debug/calligra-2.6.4/libs/main/KoPart.cpp:190
#19 0x00000038782288a0 in ?? () from /lib64/libkparts.so.4
#20 0x0000003878228e44 in KParts::ReadOnlyPart::openUrl(KUrl const&) () from /lib64/libkparts.so.4
#21 0x00007febdf1a44c6 in KoDocument::openUrl (this=0x2849930, _url=...) at /usr/src/debug/calligra-2.6.4/libs/main/KoDocument.cpp:1005
#22 0x00007febdf1c95f5 in KoMainWindow::openDocumentInternal (this=this@entry=0x28a2ab0, url=..., newpart=newpart@entry=0x2847070, newdoc=newdoc@entry=0x2849930) at /usr/src/debug/calligra-2.6.4/libs/main/KoMainWindow.cpp:740
#23 0x00007febdf1d8581 in KoMainWindow::openDocument (this=0x28a2ab0, newPart=0x2847070, newdoc=0x2849930, url=...) at /usr/src/debug/calligra-2.6.4/libs/main/KoMainWindow.cpp:719
#24 0x00007febdf196d10 in KoApplication::start (this=0x7fff0f849ff0) at /usr/src/debug/calligra-2.6.4/libs/main/KoApplication.cpp:442
#25 0x00007febdf4f979d in kdemain (argc=<optimized out>, argv=0x7fff0f84a108) at /usr/src/debug/calligra-2.6.4/flow/part/main.cpp:38
#26 0x000000360dc21735 in __libc_start_main (main=0x4008b0 <main(int, char**)>, argc=2, ubp_av=0x7fff0f84a108, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff0f84a0f8) at libc-start.c:226
#27 0x00000000004008e1 in _start ()

Possible duplicates by query: bug 311262.

Reported using DrKonqi
Comment 1 Inge Wallin 2013-06-28 07:30:36 UTC
Hi and thanks for the bug report.

Would it be possible for you to attach the document to the bug? It is very difficult to find out what is wrong without a test case.
Comment 2 deon stoltz 2013-06-28 08:24:07 UTC
Hi Inge

I will just have to check form the company if we may re-distribute it, 
it has sensitive info in it. Would like to to ensure we get a better 
product!

Let you know later today or on Monday.

Regards
Deon

On 06/28/2013 09:30 AM, Inge Wallin wrote:
> https://bugs.kde.org/show_bug.cgi?id=321588
>
> Inge Wallin <inge@lysator.liu.se> changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                   CC|                            |inge@lysator.liu.se
>
> --- Comment #1 from Inge Wallin <inge@lysator.liu.se> ---
> Hi and thanks for the bug report.
>
> Would it be possible for you to attach the document to the bug? It is very
> difficult to find out what is wrong without a test case.
>
Comment 3 Jekyll Wu 2013-07-02 07:23:27 UTC
*** Bug 311262 has been marked as a duplicate of this bug. ***
Comment 4 Andrew M 2013-11-26 02:04:44 UTC
Created attachment 83767 [details]
New crash information added by DrKonqi

calligraflow (2.7.2) on KDE Platform 4.11.2 using Qt 4.8.4

- What I was doing when the application crashed:

Open a Visio .vsd file that contains a comms network layout with router, switch and PC objects

-- Backtrace (Reduced):
#6  KoImageData::imageSize (this=this@entry=0x0) at /build/buildd/calligra-2.7.2/libs/flake/KoImageData.cpp:123
#7  0x00007f7dd3295cef in PictureShape::loadOdf (this=0x26731f0, element=..., context=...) at /build/buildd/calligra-2.7.2/plugins/pictureshape/PictureShape.cpp:424
#8  0x00007f7de8067067 in KoShapeFactoryBase::createShapeFromOdf (this=0x1353800, element=..., context=...) at /build/buildd/calligra-2.7.2/libs/flake/KoShapeFactoryBase.cpp:233
#9  0x00007f7de806298c in KoShapeRegistry::Private::createShapeInternal (this=<optimized out>, fullElement=..., context=..., element=...) at /build/buildd/calligra-2.7.2/libs/flake/KoShapeRegistry.cpp:313
#10 0x00007f7de8064e54 in KoShapeRegistry::createShapeFromOdf (this=0x1351320, e=..., context=...) at /build/buildd/calligra-2.7.2/libs/flake/KoShapeRegistry.cpp:199
Comment 5 Jekyll Wu 2013-11-26 07:18:24 UTC
*** Bug 324290 has been marked as a duplicate of this bug. ***
Comment 6 Yue Liu 2013-12-05 20:53:28 UTC
Visio filter just upgraded in master. Please provide documents that cause crash so we can test. Or if you can build master version you can have a try yourself.
We're using LibreOffice's filter code, so if it fails in LibreOffice, very likely it will also fail in Calligra.
Comment 7 Andrew Crouthamel 2018-10-31 04:10:12 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2018-11-15 10:40:59 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 9 Bug Janitor Service 2018-11-30 03:53:39 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!