After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 735552 - dia crashes with segmentation fault when export to shape file
dia crashes with segmentation fault when export to shape file
Status: RESOLVED DUPLICATE of bug 668587
Product: dia
Classification: Other
Component: exports
0.97.x
Other Linux
: Normal major
: ---
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2014-08-27 21:11 UTC by Mick Sulley
Modified: 2014-09-13 21:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
.dia file created as a test (5.20 KB, application/x-dia-diagram)
2014-08-27 22:57 UTC, Mick Sulley
Details
.shape file created at the crash (1.09 KB, application/x-dia-shape)
2014-08-27 22:59 UTC, Mick Sulley
Details

Description Mick Sulley 2014-08-27 21:11:32 UTC
When I try to export to a Dia shape file the program crashes. If I start it from command line I get the message 'segmentation fault'.  I can export to other formats OK.
If I try this with an empty sheet is seems to work OK, but putting anything on the sheet causes a segmentation fault.
Running Linux mint 17 Cinnamon and dia-normal 0.97.2

Please let me know if you need any further info or want me to try anything
Thanks
Mick
Comment 1 Hans Breuer 2014-08-27 22:14:57 UTC
Please attach the file you use to crash Dia. Also the target directory might be of interest. The shape exporter uses the directory to construct the shape's name.
Just tested Dia 0.97.2 with Mint 17 and it works fine for me.
Comment 2 Mick Sulley 2014-08-27 22:57:56 UTC
Created attachment 284644 [details]
.dia file created as a test
Comment 3 Mick Sulley 2014-08-27 22:59:10 UTC
Created attachment 284645 [details]
.shape file created at the crash
Comment 4 Mick Sulley 2014-08-27 23:03:20 UTC
I repeated the test, created a new file which is just a box with the text 'Box1' inside.  
Saved as ~/Documents/Dia/Box1.dia
Select File > Export, File type = Dia shape file, ~/Documents/Dia/Box1.shape
Dia crashes
When I look in the directory it has created the shape file but no .png file

.dia and .shape files uploaded

Regards
Mick
Comment 5 Christopher M. Penalver 2014-09-07 20:38:52 UTC
Reproducible as per crash report https://bugs.launchpad.net/ubuntu/+source/dia/+bug/1366610 .
Comment 6 Hans Breuer 2014-09-07 22:13:51 UTC
(In reply to comment #5)
> Reproducible as per crash report
> https://bugs.launchpad.net/ubuntu/+source/dia/+bug/1366610 .
Gives: Launchpad.net - Lost something?
This page does not exist, or you may not have permission to see it.
Comment 7 Christopher M. Penalver 2014-09-07 22:23:33 UTC
Hans Breuer, that's by design of Launchpad. One would have to be a member of a group that has the permission to see it.
Comment 8 Hans Breuer 2014-09-08 09:07:09 UTC
Reproduced with 0.97.2 on Linux Mint 17. It prints:

dia Bugs/#735552-Box1.dia 
*** Error in `dia-normal': double free or corruption (fasttop): 0x0a126518 ***
Aborted

Fixed with the recent Dia 0.97.3 release as bug 668587.

BTW: posting Launchpad private links does not look that useful to me. I can not see the bug with https://bugs.launchpad.net/ubuntu/+source/dia but links in other bugs do work, e.g. bug 735214.

*** This bug has been marked as a duplicate of bug 668587 ***
Comment 9 Mick Sulley 2014-09-13 21:40:22 UTC
Where can I get the fixed version?  Bother the repository and http://sourceforge.net have 0.97.2 and from what you have said I need 0.97.3

Thanks for your help
Mick