libredwg
[Top][All Lists]
Advanced

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

[libredwg] [bug #29270] dwg_print_BLOCK_HEADER segfaults


From: Rodrigo Rodrigues da Silva
Subject: [libredwg] [bug #29270] dwg_print_BLOCK_HEADER segfaults
Date: Fri, 19 Mar 2010 21:42:28 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; pt-BR; rv:1.9.0.18) Gecko/2010021501 Ubuntu/9.04 (jaunty) Firefox/3.0.18

URL:
  <http://savannah.gnu.org/bugs/?29270>

                 Summary: dwg_print_BLOCK_HEADER segfaults
                 Project: LibreDWG
            Submitted by: pitanga
            Submitted on: Fri Mar 19 18:42:27 2010
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

In order to reproduce this bug you need to compile with LIBREDWG_TRACE=9 and
./configure --enable trace.

This is the backtrace:

==========
-objref: HANDLE(5.1.24) Absolute:24
-found:  HANDLE(0.1.24)
Object BLOCK_HEADER:
Object handle: 0.1.24
entry_name: "*MODEL_SPACE"
_64_flag: 1
xrefindex_plus1: 0
xdep: 0
anonymous: 0
hasattrs: 0
blkisxref: 0
xrefoverlaid: 0
loaded_bit: 0
base_pt.x: 0.000000
base_pt.y: 0.000000
base_pt.z: 0.000000
xref_pname: ""
block_description: ""
size_of_preview_data: 0
block_control_handle: HANDLE(4.1.1) absolute:1
xdicobjhandle: HANDLE(3.0.0) absolute:0
NULL_handle: HANDLE(5.0.0) absolute:0
block_entity: HANDLE(3.1.25) absolute:25
first_entity: HANDLE(4.2.433) absolute:433
last_entity: HANDLE(4.2.4427) absolute:4427
endblk_entity: HANDLE(3.1.26) absolute:26

Program received signal SIGSEGV, Segmentation fault.
0x00007f2dbf7165ed in dwg_print_BLOCK_HEADER (dat=0x7fff1fbe2670,
obj=0x1deb808) at /usr/include/bits/stdio2.h:98
98        return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
(gdb) bt
#0  0x00007f2dbf7165ed in dwg_print_BLOCK_HEADER (dat=0x7fff1fbe2670,
obj=0x1deb808) at /usr/include/bits/stdio2.h:98
#1  0x00007f2dbf6cf9af in resolve_objectref_vector (dwg=0x7fff1fbe26b0) at
decode.c:878
#2  0x00007f2dbf6fb4b4 in decode_R13_R15 (dat=0x7fff1fbe2670,
dwg=0x7fff1fbe26b0) at decode.c:840
#3  0x00007f2dbf6fb955 in dwg_decode_data (dat=0x7fff1fbe2670,
dwg=0x7fff1fbe26b0) at decode.c:345
#4  0x00007f2dbf6cae2b in dwg_read_file (filename=<value optimized out>,
dwg_data=0x7fff1fbe26b0) at dwg.c:92
#5  0x0000000000401499 in test_SVG (filename=0x2 <Address 0x2 out of bounds>)
at testSVG.c:57
#6  0x00007f2dbf0ef5a6 in __libc_start_main () from /lib/libc.so.6





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?29270>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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