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: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Invalid
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)

You are not logged in

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


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.
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.



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

Attach File(s):

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
  • -unavailable- added by hsrai (Updated the item)

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

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 12 May 2013 04:48:48 AM UTChsraiStatusNone=>Invalid
    Fri 14 Dec 2012 06:27:34 AM UTCNoneAttached File-=>Added fr05_crash.txt, #27091

    Back to the top

    Powered by Savane 3.1-cleanup1