[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: PCB crash



On Mon, 16 May 2011 15:48:29 +0200
Kovacs Levente <leventelist@xxxxxxxxx> wrote:

> When I load the attached footprint to the buffer, and I say "Break
> buffer elements to pieces" PCB segfaults:

Confirmed with git HEAD 39dd5f6cd91ec9032c6d2e3ca543e3f8f6cf0e4a
on amd64 (Ubuntu 11.04).

GDB and Valgrind logs attached.

Regards,
Colin
cdb@svelte:~/Code/pcb/work$ gdb --args src/pcb
GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/cdb/Code/pcb/work/src/pcb...done.
(gdb) run
Starting program: /home/cdb/Code/pcb/work/src/pcb 
[Thread debugging using libthread_db enabled]
sh: /home/cdb/Code/pcb/work/src/../share/pcb/ListLibraryContents.sh: not found
[New Thread 0x7fffe9bc8700 (LWP 8411)]
[New Thread 0x7fffe93c7700 (LWP 8412)]
[New Thread 0x7fffe105a700 (LWP 8415)]
[New Thread 0x7fffe0859700 (LWP 8416)]
[Thread 0x7fffe0859700 (LWP 8416) exited]
[Thread 0x7fffe9bc8700 (LWP 8411) exited]
[New Thread 0x7fffe0859700 (LWP 8417)]
[New Thread 0x7fffe9bc8700 (LWP 8418)]
[New Thread 0x7fffe0058700 (LWP 8419)]
[New Thread 0x7fffdf857700 (LWP 8420)]
[New Thread 0x7fffdf056700 (LWP 8421)]
[New Thread 0x7fffde855700 (LWP 8422)]
[New Thread 0x7fffde054700 (LWP 8423)]
[New Thread 0x7fffdd853700 (LWP 8424)]
[New Thread 0x7fffdd052700 (LWP 8425)]
[Thread 0x7fffdf056700 (LWP 8421) exited]
[Thread 0x7fffdf857700 (LWP 8420) exited]
[Thread 0x7fffde855700 (LWP 8422) exited]
[Thread 0x7fffe105a700 (LWP 8415) exited]
[Thread 0x7fffe0058700 (LWP 8419) exited]
[Thread 0x7fffe9bc8700 (LWP 8418) exited]
[Thread 0x7fffe0859700 (LWP 8417) exited]
[Thread 0x7fffdd853700 (LWP 8424) exited]
[Thread 0x7fffde054700 (LWP 8423) exited]
[New Thread 0x7fffde054700 (LWP 8426)]
[Thread 0x7fffde054700 (LWP 8426) exited]
[New Thread 0x7fffde054700 (LWP 8427)]
[Thread 0x7fffde054700 (LWP 8427) exited]
[New Thread 0x7fffde054700 (LWP 8428)]
[New Thread 0x7fffdd853700 (LWP 8429)]
[Thread 0x7fffde054700 (LWP 8428) exited]
[Thread 0x7fffdd052700 (LWP 8425) exited]

Program received signal SIGSEGV, Segmentation fault.
_int_free (av=0x7fffe4000020, p=0x7fffe4031030) at malloc.c:4942
4942	malloc.c: No such file or directory.
	in malloc.c
(gdb) bt
#0  _int_free (av=0x7fffe4000020, p=0x7fffe4031030) at malloc.c:4942
#1  0x00007ffff238e8e3 in __libc_free (mem=<value optimized out>)
    at malloc.c:3738
#2  0x000000000043d9da in SmashBufferElement (Buffer=<value optimized out>)
    at buffer.c:929
#3  0x0000000000427247 in ActionPasteBuffer (argc=1, argv=0xf4cd70, 
    x=<value optimized out>, y=<value optimized out>) at action.c:6065
#4  0x000000000049c1bd in hid_actionv (name=<value optimized out>, argc=1, 
    argv=0xf4cd70) at hid/common/actions.c:246
#5  0x000000000049c578 in hid_parse_actionstring (
    rstr=0x922970 "PasteBuffer(Restore)", require_parens=1 '\001')
    at hid/common/actions.c:330
#6  0x00000000004ce63a in ghid_menu_cb (action=<value optimized out>, 
    data=<value optimized out>) at hid/gtk/gui-top-window.c:623
#7  0x00007ffff4d3781c in g_closure_invoke ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#8  0x00007ffff4d49019 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9  0x00007ffff4d52258 in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007ffff4d5241f in g_signal_emit ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#11 0x00007ffff6821103 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#12 0x00007ffff4d3781c in g_closure_invoke ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#13 0x00007ffff4d487e3 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#14 0x00007ffff4d52258 in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#15 0x00007ffff4d5241f in g_signal_emit ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#16 0x00007fffe9dedc68 in ?? () from /usr/lib/libdbusmenu-gtk.so.3
#17 0x00007ffff4d3781c in g_closure_invoke ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#18 0x00007ffff4d49019 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#19 0x00007ffff4d52258 in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#20 0x00007ffff4d5241f in g_signal_emit ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007fffe9bd1c15 in dbusmenu_menuitem_handle_event ()
   from /usr/lib/libdbusmenu-glib.so.3
#22 0x00007fffe9bd31c7 in ?? () from /usr/lib/libdbusmenu-glib.so.3
#23 0x00007ffff6e334eb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#24 0x00007ffff6e31bcd in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007ffff6e323a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007ffff6e329f2 in g_main_loop_run ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007ffff68e1af7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#28 0x00000000004d0fbe in ghid_do_export (options=<value optimized out>)
    at hid/gtk/gui-top-window.c:2733
#29 0x0000000000465a9a in main (argc=1, argv=0x7fffffffe208) at main.c:1097
(gdb) 

==8460== Memcheck, a memory error detector
==8460== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==8460== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==8460== Command: src/pcb
==8460== Parent PID: 30742
==8460== 
==8460== Conditional jump or move depends on uninitialised value(s)
==8460==    at 0x64A620C: ??? (in /usr/lib/libgdk-x11-2.0.so.0.2400.4)
==8460==    by 0x106B527A: ??? (in /usr/lib/liboverlay-scrollbar-0.1.so.0.0.12)
==8460==    by 0x106B6F59: ??? (in /usr/lib/liboverlay-scrollbar-0.1.so.0.0.12)
==8460==    by 0x7C9F81B: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x7CB1018: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x7CBA257: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x7CBA41E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x606BDA1: ??? (in /usr/lib/libgtk-x11-2.0.so.0.2400.4)
==8460==    by 0x7C9F81B: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x7CB07E2: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x7CBA257: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x7CBA41E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460== 
==8460== Conditional jump or move depends on uninitialised value(s)
==8460==    at 0x64A3133: ??? (in /usr/lib/libgdk-x11-2.0.so.0.2400.4)
==8460==    by 0x64A3170: ??? (in /usr/lib/libgdk-x11-2.0.so.0.2400.4)
==8460==    by 0x64A6249: ??? (in /usr/lib/libgdk-x11-2.0.so.0.2400.4)
==8460==    by 0x106B527A: ??? (in /usr/lib/liboverlay-scrollbar-0.1.so.0.0.12)
==8460==    by 0x106B6F59: ??? (in /usr/lib/liboverlay-scrollbar-0.1.so.0.0.12)
==8460==    by 0x7C9F81B: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x7CB1018: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x7CBA257: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x7CBA41E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x606BDA1: ??? (in /usr/lib/libgtk-x11-2.0.so.0.2400.4)
==8460==    by 0x7C9F81B: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x7CB07E2: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460== 
==8460== Conditional jump or move depends on uninitialised value(s)
==8460==    at 0x64A5AE0: gdk_window_hide (in /usr/lib/libgdk-x11-2.0.so.0.2400.4)
==8460==    by 0x106B6F41: ??? (in /usr/lib/liboverlay-scrollbar-0.1.so.0.0.12)
==8460==    by 0x7C9F81B: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x7CB1018: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x7CBA257: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x7CBA41E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x606BDA1: ??? (in /usr/lib/libgtk-x11-2.0.so.0.2400.4)
==8460==    by 0x7C9F764: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x7CB07E2: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x7CBA257: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x7CBA41E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x6074A5F: gtk_widget_size_allocate (in /usr/lib/libgtk-x11-2.0.so.0.2400.4)
==8460== 
==8460== Conditional jump or move depends on uninitialised value(s)
==8460==    at 0x64A3133: ??? (in /usr/lib/libgdk-x11-2.0.so.0.2400.4)
==8460==    by 0x64A3335: ??? (in /usr/lib/libgdk-x11-2.0.so.0.2400.4)
==8460==    by 0x64A3D90: ??? (in /usr/lib/libgdk-x11-2.0.so.0.2400.4)
==8460==    by 0x64A61E9: ??? (in /usr/lib/libgdk-x11-2.0.so.0.2400.4)
==8460==    by 0x106B527A: ??? (in /usr/lib/liboverlay-scrollbar-0.1.so.0.0.12)
==8460==    by 0x106B6F59: ??? (in /usr/lib/liboverlay-scrollbar-0.1.so.0.0.12)
==8460==    by 0x7C9F81B: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x7CB1018: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x7CBA257: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x7CBA41E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x604D025: ??? (in /usr/lib/libgtk-x11-2.0.so.0.2400.4)
==8460==    by 0x604D7B2: ??? (in /usr/lib/libgtk-x11-2.0.so.0.2400.4)
==8460== 
==8460== Conditional jump or move depends on uninitialised value(s)
==8460==    at 0x649C950: ??? (in /usr/lib/libgdk-x11-2.0.so.0.2400.4)
==8460==    by 0x649C907: ??? (in /usr/lib/libgdk-x11-2.0.so.0.2400.4)
==8460==    by 0x649CB22: ??? (in /usr/lib/libgdk-x11-2.0.so.0.2400.4)
==8460==    by 0x106B4CE2: ??? (in /usr/lib/liboverlay-scrollbar-0.1.so.0.0.12)
==8460==    by 0x106B492D: ??? (in /usr/lib/liboverlay-scrollbar-0.1.so.0.0.12)
==8460==    by 0x5B714EA: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.2800.6)
==8460==    by 0x5B6FBCC: g_main_context_dispatch (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.2800.6)
==8460==    by 0x5B703A7: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.2800.6)
==8460==    by 0x5B709F1: g_main_loop_run (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.2800.6)
==8460==    by 0x5ED8A2A: gtk_dialog_run (in /usr/lib/libgtk-x11-2.0.so.0.2400.4)
==8460==    by 0x4C238A: ghid_dialog_file_select_open (gui-dialog.c:344)
==8460==    by 0x4B8FE7: Load (gtkhid-main.c:1306)
==8460== 
==8460== Conditional jump or move depends on uninitialised value(s)
==8460==    at 0x64A270B: ??? (in /usr/lib/libgdk-x11-2.0.so.0.2400.4)
==8460==    by 0x64A278A: ??? (in /usr/lib/libgdk-x11-2.0.so.0.2400.4)
==8460==    by 0x649D73A: ??? (in /usr/lib/libgdk-x11-2.0.so.0.2400.4)
==8460==    by 0x649F928: gdk_window_process_all_updates (in /usr/lib/libgdk-x11-2.0.so.0.2400.4)
==8460==    by 0x5ED5760: ??? (in /usr/lib/libgtk-x11-2.0.so.0.2400.4)
==8460==    by 0x647CC45: ??? (in /usr/lib/libgdk-x11-2.0.so.0.2400.4)
==8460==    by 0x5B6FBCC: g_main_context_dispatch (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.2800.6)
==8460==    by 0x5B703A7: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.2800.6)
==8460==    by 0x5B709F1: g_main_loop_run (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.2800.6)
==8460==    by 0x5ED8A2A: gtk_dialog_run (in /usr/lib/libgtk-x11-2.0.so.0.2400.4)
==8460==    by 0x4C238A: ghid_dialog_file_select_open (gui-dialog.c:344)
==8460==    by 0x4B8FE7: Load (gtkhid-main.c:1306)
==8460== 
==8460== Conditional jump or move depends on uninitialised value(s)
==8460==    at 0x8C8B510: inflateReset2 (in /lib/x86_64-linux-gnu/libz.so.1.2.3.4)
==8460==    by 0x8C8B605: inflateInit2_ (in /lib/x86_64-linux-gnu/libz.so.1.2.3.4)
==8460==    by 0x8A6B1B0: png_create_read_struct_2 (in /lib/x86_64-linux-gnu/libpng12.so.0.44.0)
==8460==    by 0x1AD5A979: ??? (in /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so)
==8460==    by 0x70A27B1: ??? (in /usr/lib/libgdk_pixbuf-2.0.so.0.2300.3)
==8460==    by 0x70A372A: gdk_pixbuf_loader_write (in /usr/lib/libgdk_pixbuf-2.0.so.0.2300.3)
==8460==    by 0x70A0C89: gdk_pixbuf_new_from_file_at_scale (in /usr/lib/libgdk_pixbuf-2.0.so.0.2300.3)
==8460==    by 0x5F0D559: ??? (in /usr/lib/libgtk-x11-2.0.so.0.2400.4)
==8460==    by 0x5EF9475: ??? (in /usr/lib/libgtk-x11-2.0.so.0.2400.4)
==8460==    by 0x5F0F77C: ??? (in /usr/lib/libgtk-x11-2.0.so.0.2400.4)
==8460==    by 0x5F0F7FE: ??? (in /usr/lib/libgtk-x11-2.0.so.0.2400.4)
==8460==    by 0x60618CA: gtk_tree_view_column_cell_set_cell_data (in /usr/lib/libgtk-x11-2.0.so.0.2400.4)
==8460== 
==8460== Conditional jump or move depends on uninitialised value(s)
==8460==    at 0x64A270B: ??? (in /usr/lib/libgdk-x11-2.0.so.0.2400.4)
==8460==    by 0x64A278A: ??? (in /usr/lib/libgdk-x11-2.0.so.0.2400.4)
==8460==    by 0x649D73A: ??? (in /usr/lib/libgdk-x11-2.0.so.0.2400.4)
==8460==    by 0x649FB06: gdk_window_process_updates (in /usr/lib/libgdk-x11-2.0.so.0.2400.4)
==8460==    by 0x6055315: ??? (in /usr/lib/libgtk-x11-2.0.so.0.2400.4)
==8460==    by 0x7C9F81B: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x7CB1018: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x7CBA257: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x7CBA41E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x5E96329: gtk_adjustment_value_changed (in /usr/lib/libgtk-x11-2.0.so.0.2400.4)
==8460==    by 0x6053AF4: gtk_tree_view_scroll_to_cell (in /usr/lib/libgtk-x11-2.0.so.0.2400.4)
==8460==    by 0x60584A1: ??? (in /usr/lib/libgtk-x11-2.0.so.0.2400.4)
==8460== 
==8460== Conditional jump or move depends on uninitialised value(s)
==8460==    at 0x64A5AE0: gdk_window_hide (in /usr/lib/libgdk-x11-2.0.so.0.2400.4)
==8460==    by 0x106B86D8: ??? (in /usr/lib/liboverlay-scrollbar-0.1.so.0.0.12)
==8460==    by 0x7C9F764: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x7CB07E2: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x7CBA257: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x7CBA41E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x5FB7943: ??? (in /usr/lib/libgtk-x11-2.0.so.0.2400.4)
==8460==    by 0x7C9F764: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x7CB07E2: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x7CBA257: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x7CBA41E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x5EA095A: ??? (in /usr/lib/libgtk-x11-2.0.so.0.2400.4)
==8460== 
==8460== Invalid free() / delete / delete[]
==8460==    at 0x4C282ED: free (vg_replace_malloc.c:366)
==8460==    by 0x43D9D9: SmashBufferElement (buffer.c:929)
==8460==    by 0x427246: ActionPasteBuffer (action.c:6065)
==8460==    by 0x49C1BC: hid_actionv (actions.c:246)
==8460==    by 0x49C577: hid_parse_actionstring (actions.c:330)
==8460==    by 0x4CE639: ghid_menu_cb (gui-top-window.c:623)
==8460==    by 0x7C9F81B: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x7CB1018: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x7CBA257: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x7CBA41E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==    by 0x5E91102: ??? (in /usr/lib/libgtk-x11-2.0.so.0.2400.4)
==8460==    by 0x7C9F81B: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.2800.6)
==8460==  Address 0x122040a0 is 160 bytes inside a block of size 4,080 alloc'd
==8460==    at 0x4C27870: memalign (vg_replace_malloc.c:581)
==8460==    by 0x4C278C9: posix_memalign (vg_replace_malloc.c:709)
==8460==    by 0x5B8C33B: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.2800.6)
==8460==    by 0x5B8D860: g_slice_alloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.2800.6)
==8460==    by 0x5B8D915: g_slice_alloc0 (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.2800.6)
==8460==    by 0x46F1FA: GetElementMemory (mymem.c:414)
==8460==    by 0x445A54: CreateNewElement (create.c:682)
==8460==    by 0x473F8C: yyparse (parse_y.y:1337)
==8460==    by 0x47160B: Parse (parse_l.l:285)
==8460==    by 0x43CD91: LoadElementToBuffer (buffer.c:494)
==8460==    by 0x4288F5: ActionLoadFrom (action.c:5867)
==8460==    by 0x49C1BC: hid_actionv (actions.c:246)
==8460== 
==8460== 
==8460== HEAP SUMMARY:
==8460==     in use at exit: 6,386,359 bytes in 53,148 blocks
==8460==   total heap usage: 493,736 allocs, 440,589 frees, 75,110,550 bytes allocated
==8460== 
==8460== LEAK SUMMARY:
==8460==    definitely lost: 282,874 bytes in 726 blocks
==8460==    indirectly lost: 29,704 bytes in 973 blocks
==8460==      possibly lost: 2,453,344 bytes in 22,088 blocks
==8460==    still reachable: 3,620,437 bytes in 29,361 blocks
==8460==         suppressed: 0 bytes in 0 blocks
==8460== Rerun with --leak-check=full to see details of leaked memory
==8460== 
==8460== For counts of detected and suppressed errors, rerun with: -v
==8460== Use --track-origins=yes to see where uninitialised values come from
==8460== ERROR SUMMARY: 21 errors from 10 contexts (suppressed: 39 from 9)

_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user