gEDA-dev: Pcb dxf hid
Bert Timmerman
bert.timmerman at xs4all.nl
Wed Jan 3 17:24:47 EST 2007
Hi all,
I'm kind of stuck with a small problem with the dxf hid.
It's compiling with a couple of warnings of unused variables.
The problem lies after the dxf_do_export function is exited and the way I
read the back-trace it has something to do with ghid_dialog_print.
See attached stderr log file (exerpt follows).
<exerpt>
Script started on Wed 03 Jan 2007 10:42:49 PM CET
bert at steiger:~/MyDocuments/MySources/c/gEDA/devel/pcb/src
[bert at steiger src]$ ./pcbtest.sh ../example/LED2.pcb
[File: hid/dxf/dxf.c: line: 1304] Entering hid_dxf_init () function.
[File: hid/dxf/dxf.c: line: 1309] Leaving hid_dxf_init () function.
[File: hid/dxf/dxf.c: line: 621] Entering dxf_get_export_options ()
function.
[File: hid/dxf/dxf.c: line: 630] Leaving dxf_get_export_options () function.
[File: hid/dxf/dxf.c: line: 1192] Entering dxf_do_export () function.
[File: hid/dxf/dxf.c: line: 943] Entering dxf_export_xref_file () function.
[File: hid/dxf/dxf.c: line: 418] Entering dxf_write_comment () function.
[File: hid/dxf/dxf.c: line: 423] Leaving dxf_write_comment () function.
...
[File: hid/dxf/dxf.c: line: 479] Entering dxf_write_eof () function.
[File: hid/dxf/dxf.c: line: 483] Leaving dxf_write_eof () function.
[File: hid/dxf/dxf.c: line: 889] Leaving dxf_export_layer_files () function.
[File: hid/dxf/dxf.c: line: 1222] Leaving dxf_do_export () function.
*** glibc detected *** ./pcb-bin: free(): invalid next size (fast):
0x089a5830 ***
======= Backtrace: =========
/lib/libc.so.6[0x4d931a68]
/lib/libc.so.6(__libc_free+0x78)[0x4d934f6f]
./pcb-bin(ghid_dialog_print+0x998)[0x80c00d8]
/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x49)[0x4dbfb1d9]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x12b)[0x4dAborted
bert at steiger:~/MyDocuments/MySources/c/gEDA/devel/pcb/src
[bert at steiger src]$ exit
Script done on Wed 03 Jan 2007 10:43:40 PM CET
</exerpt>
BTW: For debugging purposes I printed to stderr on entering and leaving
functions.
If the dxf.c (47k)and stderr.log.gz (1.1k) is needed please reply so.
TIA and kind regards,
Bert Timmerman.
More information about the geda-dev
mailing list