bugLibreDWG - Bugs: bug #37921, libredwg testSVG crashes on...

 
 

bug #37921: libredwg testSVG crashes on publicly available DWG files

Submitted by:  None
Submitted on:  Fri 14 Dec 2012 06:27:34 AM UTC  
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 25 Apr 2018 01:18:56 PM UTC, comment #1:

I've fixed most outstanding r2004 bugs recently. Please try again.
The only remaining bug is with r05_h101_ref.dwg, which has a new TABLECONTENT object, which is broken.

LIBREDWG_TRACE=1 programs/dwg2SVG test/test-data/2004/fr05_b101_ref.dwg

Reini Urban <reini_urban>
Project Administrator
Fri 14 Dec 2012 06:27:34 AM UTC, original submission:

testSVG crashes after outputting a bunch of strokes, inside a <!-- Paper_Space --> symbol (symbol-527) when running on a freely available DWG file called FR05_DWG/fr05_b101_ref.dwg

This file is downloadable from http://www.trossenrobotics.com/productdocs/RX_64_FR05_DWG.zip

Attaching the debug output from LIBREDWG_TRACE=3 ./testSVG FR05_DWG/fr05_b101_ref.dwg > fr05_crash.txt 2>&1

testSVG was built in the examples directory doing:
gcc -g -o testSVG testSVG.c -lredwg -lm

Version of GCC (on Arch Linux as of 12/13/12, when I also pulled the libreDWG sources from GIT):
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /build/src/gcc-4.7.2/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --enable-libstdcxx-time --enable-gnu-unique-object --enable-linker-build-id --with-ppl --enable-cloog-backend=isl --disable-ppl-version-check --disable-cloog-version-check --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --with-linker-hash-style=gnu --disable-multilib --disable-libssp --disable-build-with-cxx --disable-build-poststage1-with-cxx --enable-checking=release
Thread model: posix
gcc version 4.7.2 (GCC)

Note that the output text file seems truncated because of the segfault.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #27091:  fr05_crash.txt added by None (1MiB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by reini_urban (Posted a comment)
  • -email is unavailable- added by hsrai (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-06-08 reini_urban Open/ClosedOpen => Closed
    2018-04-25 reini_urban StatusInvalid => Fixed
    2013-05-12 hsrai StatusNone => Invalid
    2012-12-14 None Attached File- => Added fr05_crash.txt, #27091

    Back to the top


    Powered by Savane 3.3