[Top][All Lists]

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

Re: [libredwg] [bug #28858] Segfaults on DWG file

From: Felipe Sanches
Subject: Re: [libredwg] [bug #28858] Segfaults on DWG file
Date: Wed, 10 Feb 2010 16:34:13 -0200

same patch but generated with:
git format-patch -1

I hope this is the right way to do it :-)

On Wed, Feb 10, 2010 at 4:25 PM, Felipe Sanches <address@hidden> wrote:
hi, guys,

The file attached to this bug report caught my attention to 2 bugs in our description of the dwg spec. The patch attached fixes these 2 bugs and thus results in the file being properly parsed by LibreDWG.

As you can see in this part of the output I've got, all 14.778 objects of the dwg file were properly parsed, but now we have another issue: a segfault in the application itself (testSVG.c) instead of in the lib:

Num objects: 14778
ERROR: Decoding of DWG version R2004 header is not fully implemented yet. We are going to try
<?xml version="1.0" encoding="UTF-8" standalone="no"?>

Program received signal SIGSEGV, Segmentation fault.
output_BLOCK_HEADER (ref=<value optimized out>) at testSVG.c:197
197      hdr = ref->obj->tio.object->tio.BLOCK_HEADER;

I am having some trouble with git recently.
Pitanga, please apply this attached patch to your local copy and push it to git master

Then I'll continue investigating what's causing this testSVG SegFault


Attachment: 0001-fix-bugs-in-description-of-two-objects-of-the-spec.patch
Description: Text Data

reply via email to

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