[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libredwg] [bug #31867] opening a file with an unsupported dwg revision

From: Otso Helenius
Subject: [libredwg] [bug #31867] opening a file with an unsupported dwg revision could cause a segfault
Date: Thu, 27 Jan 2011 16:32:39 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110103 Fedora/3.6.13-1.fc14 Firefox/3.6.13

Follow-up Comment #1, bug #31867 (project libredwg):

I can verify this bug.

My test file (at
contains one polyline and two annotative dimensions (seen here:


./testSVG AutoCAD_Architecture_2011_Student_Version_R2010_Test_1.dwg >

causes a segfault. There is no stderr output whatsoever (exported
LIBREDWG_TRACE=3). Trying it on the example.dwg works fine

I also noticed that just running ./testSVG foobar (when foobar is a
nonexisting or existing file) causes a segfault except when using with the
libredwg example DWGs.

I tried out an empty R2007 file (at,
it produced also a segfault but also stderr output which I have attached here
(R2007.out). I did the same with R2004 and R14 exported DWG files (empty as
well). R2004 produced a segfault as well but no stderr output, R14 exported

I am running it on Fedora 14 x86_64 compiled from a snapshot (27.01.2011). I
have created all the DWGs with Autodesk AutoCAD Architecture 2011 Student
version available from It is an exact replica
of the full retail version except for the licensing which has to be renewed
every year.

(file #22534, file #22535)

Additional Item Attachment:

File name: R14-LT98-LT97.out              Size:2 KB
File name: R2007.out                      Size:9 KB


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]