#32 dxf-g crashes on hood.dxf

crash or data loss
closed-fixed
John Anderson
5
2005-05-16
2005-05-12
Karel Kulhavy
No

hood.dxf taken from
http://ronja.twibright.com/drawings/hood.dxf
bash-2.05b$ dxf-g hood.dxf hood.g
dxflib 2.0.4.0
ERROR: INSERT references non-existent block (DIMENSION)
ignoring missing block
ERROR: INSERT references non-existent block (DIMENSION)

[...]

ERROR: INSERT references non-existent block (LAYOUT)
ignoring missing block
ERROR: INSERT references non-existent block (LAYOUT)
ignoring missing block
ERROR: INSERT references non-existent block (DICTIONARY)
ignoring missing block
ERROR: INSERT references non-existent block (DICTIONARYVAR)
ignoring missing block
*** glibc detected *** double free or corruption
(!prev): 0x08073d18 ***
Aborted

Discussion

  • Karel Kulhavy
    Karel Kulhavy
    2005-05-12

    hood.dxf

     
    Attachments
  • John Anderson
    John Anderson
    2005-05-16

    • assigned_to: nobody --> johnranderson
    • status: open --> closed-fixed
     
  • John Anderson
    John Anderson
    2005-05-16

    Logged In: YES
    user_id=1185553

    This issue has been resolved in the latest CVS, thanks!

     
  • John Anderson
    John Anderson
    2005-05-16

    Logged In: YES
    user_id=1185553

    A bug in the minimal DIMENSION entity handling was causing
    the code to attempt to do an INSERT where there was none.
    The code has been fixed, but DIMENSION entities are still
    not handled. By the way, the line color is black for this
    drawing, so it may appear invisible in MGED.

     
  • John Anderson
    John Anderson
    2005-05-17

    Logged In: YES
    user_id=1185553

    The fix turned out to be bit too drastic. A better solution
    was to just check if there was really an INSERT.