Issue 6420 - importing CGM(xfig) crashes (CGM from dia OK)
Summary: importing CGM(xfig) crashes (CGM from dia OK)
Status: CLOSED FIXED
Alias: None
Product: Draw
Classification: Application
Component: code (show other issues)
Version: OOo 1.0.1
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: OOo 1.1 Beta
Assignee: wolframgarten
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-13 07:30 UTC by motyl
Modified: 2003-09-08 16:52 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
example CGM file which crashed openoffice 1.0.1 (9.26 KB, image/cgm)
2002-07-13 07:39 UTC, motyl
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description motyl 2002-07-13 07:30:33 UTC
I have tried many times to import simple CGM file created by xfig (fig2dev
Version 3.2 Patchlevel 3d-sml-sxd).  sdraw always crashes with "An unrecoverable
error has occured... etc." Am am using now openoffice.org-bin 1.0.0-pre1.0.1rc2
from Debian sid
Comment 1 motyl 2002-07-13 07:39:58 UTC
Created attachment 2216 [details]
example CGM file which crashed openoffice 1.0.1
Comment 2 motyl 2002-07-13 08:18:49 UTC
I have tried to export some other CGM file from "dia" Linx program.

Importing in Openoffice worked (but the whole picture was zoomed in).
This second file which worked looked more like a binary format as
opposed to text format generated by fig2dev (xfig).
Comment 3 wolframgarten 2002-11-28 13:39:14 UTC
The crash is reproduceable with an actual internal version and with OO
1.0.1. Reassigned to Sven.
Comment 4 sven.jacobi 2003-01-07 11:03:20 UTC
I have to mention that OO does only support binary cgm format, so the 
attached cgm file won't be loaded. But it is a bug that we are 
crashing on linux and unix if loading cgm in text form.
Comment 5 sven.jacobi 2003-01-07 15:19:37 UTC
This bug has been fixed. Now only binary CGM graphics are imported, 
text versions of CGM are loaded into Writer.

The fix takes place in:
sd/source/ui/app/sdlib.cxx -r1.30.28.1 (Improved CGM detection)
goodies/source/filter.vcl/icgm/cgm.cxx -r1.5.20.1 (execeptions now 
catched)
Comment 6 sven.jacobi 2003-01-13 15:18:26 UTC
Reopened Issue to be verfied by QA.
Comment 7 sven.jacobi 2003-01-13 15:20:11 UTC
Reassigned Issue to be verified by QA.

(The fix takes place in cws[draw3])
Comment 8 wolframgarten 2003-01-14 07:54:49 UTC
Set to fixed.
Comment 9 wolframgarten 2003-01-14 13:25:12 UTC
Verified.
Comment 10 wolframgarten 2003-02-03 14:13:39 UTC
Closed.