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

Re: gEDA-user: problems with PCB and large board



valgrind output:

pcb.stderr

gene@geno:~/avTek/hardware/schematic$ valgrind pcb >pcblog.stdout 
2>pcblog.stderr
Segmentation fault
gene@geno:~/avTek/hardware/schematic$ cat pcblog.stderr
==3971== Memcheck, a memory error detector.
==3971== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==3971== Using LibVEX rev 1854, a library for dynamic binary translation.
==3971== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==3971== Using valgrind-3.3.1, a dynamic binary instrumentation framework.
==3971== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==3971== For more details, rerun with: -v
==3971==
==3971== Invalid read of size 4
==3971==    at 0x45C1FE5: g_strjoinv (in /usr/lib/libglib-2.0.so.0.1600.6)
==3971==    by 0x80D89CD: net_model_create (gui-netlist-window.c:391)
==3971==    by 0x80D8EB8: ghid_netlist_window_show 
(gui-netlist-window.c:693)
==3971==    by 0x80D948F: ghid_netlist_window_update 
(gui-netlist-window.c:952)
==3971==    by 0x80D94B6: NetlistChanged (gui-netlist-window.c:977)
==3971==    by 0x80C81A3: hid_actionv (actions.c:219)
==3971==    by 0x80C8222: hid_action (actions.c:182)
==3971==    by 0x8060E26: ActionLoadFrom (action.c:5633)
==3971==    by 0x80C81A3: hid_actionv (actions.c:219)
==3971==    by 0x80C81FD: hid_actionl (actions.c:197)
==3971==    by 0x80CB994: Load (gtkhid-main.c:1813)
==3971==    by 0x80C81A3: hid_actionv (actions.c:219)
==3971==  Address 0x59d1b3c is 0 bytes after a block of size 4 alloc'd
==3971==    at 0x4022909: calloc (in 
/usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==3971==    by 0x45A9044: g_malloc0 (in /usr/lib/libglib-2.0.so.0.1600.6)
==3971==    by 0x80D89AD: net_model_create (gui-netlist-window.c:388)
==3971==    by 0x80D8EB8: ghid_netlist_window_show 
(gui-netlist-window.c:693)
==3971==    by 0x80D948F: ghid_netlist_window_update 
(gui-netlist-window.c:952)
==3971==    by 0x80D94B6: NetlistChanged (gui-netlist-window.c:977)
==3971==    by 0x80C81A3: hid_actionv (actions.c:219)
==3971==    by 0x80C8222: hid_action (actions.c:182)
==3971==    by 0x8060E26: ActionLoadFrom (action.c:5633)
==3971==    by 0x80C81A3: hid_actionv (actions.c:219)
==3971==    by 0x80C81FD: hid_actionl (actions.c:197)
==3971==    by 0x80CB994: Load (gtkhid-main.c:1813)
==3971==
==3971== Invalid read of size 1
==3971==    at 0x40247A6: strlen (in 
/usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==3971==    by 0x45C1FFD: g_strjoinv (in /usr/lib/libglib-2.0.so.0.1600.6)
==3971==    by 0x80D89CD: net_model_create (gui-netlist-window.c:391)
==3971==    by 0x80D8EB8: ghid_netlist_window_show 
(gui-netlist-window.c:693)
==3971==    by 0x80D948F: ghid_netlist_window_update 
(gui-netlist-window.c:952)
==3971==    by 0x80D94B6: NetlistChanged (gui-netlist-window.c:977)
==3971==    by 0x80C81A3: hid_actionv (actions.c:219)
==3971==    by 0x80C8222: hid_action (actions.c:182)
==3971==    by 0x8060E26: ActionLoadFrom (action.c:5633)
==3971==    by 0x80C81A3: hid_actionv (actions.c:219)
==3971==    by 0x80C81FD: hid_actionl (actions.c:197)
==3971==    by 0x80CB994: Load (gtkhid-main.c:1813)
==3971==  Address 0x5aa7a60 is not stack'd, malloc'd or (recently) free'd
==3971==
==3971== Invalid read of size 1
==3971==    at 0x40247B1: strlen (in 
/usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==3971==    by 0x45C1FFD: g_strjoinv (in /usr/lib/libglib-2.0.so.0.1600.6)
==3971==    by 0x80D89CD: net_model_create (gui-netlist-window.c:391)
==3971==    by 0x80D8EB8: ghid_netlist_window_show 
(gui-netlist-window.c:693)
==3971==    by 0x80D948F: ghid_netlist_window_update 
(gui-netlist-window.c:952)
==3971==    by 0x80D94B6: NetlistChanged (gui-netlist-window.c:977)
==3971==    by 0x80C81A3: hid_actionv (actions.c:219)
==3971==    by 0x80C8222: hid_action (actions.c:182)
==3971==    by 0x8060E26: ActionLoadFrom (action.c:5633)
==3971==    by 0x80C81A3: hid_actionv (actions.c:219)
==3971==    by 0x80C81FD: hid_actionl (actions.c:197)
==3971==    by 0x80CB994: Load (gtkhid-main.c:1813)
==3971==  Address 0x5aa7a61 is not stack'd, malloc'd or (recently) free'd
==3971==
==3971== Invalid read of size 4
==3971==    at 0x45C2001: g_strjoinv (in /usr/lib/libglib-2.0.so.0.1600.6)
==3971==    by 0x80D89CD: net_model_create (gui-netlist-window.c:391)
==3971==    by 0x80D8EB8: ghid_netlist_window_show 
(gui-netlist-window.c:693)
==3971==    by 0x80D948F: ghid_netlist_window_update 
(gui-netlist-window.c:952)
==3971==    by 0x80D94B6: NetlistChanged (gui-netlist-window.c:977)
==3971==    by 0x80C81A3: hid_actionv (actions.c:219)
==3971==    by 0x80C8222: hid_action (actions.c:182)
==3971==    by 0x8060E26: ActionLoadFrom (action.c:5633)
==3971==    by 0x80C81A3: hid_actionv (actions.c:219)
==3971==    by 0x80C81FD: hid_actionl (actions.c:197)
==3971==    by 0x80CB994: Load (gtkhid-main.c:1813)
==3971==    by 0x80C81A3: hid_actionv (actions.c:219)
==3971==  Address 0x59d1b40 is 4 bytes after a block of size 4 alloc'd
==3971==    at 0x4022909: calloc (in 
/usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==3971==    by 0x45A9044: g_malloc0 (in /usr/lib/libglib-2.0.so.0.1600.6)
==3971==    by 0x80D89AD: net_model_create (gui-netlist-window.c:388)
==3971==    by 0x80D8EB8: ghid_netlist_window_show 
(gui-netlist-window.c:693)
==3971==    by 0x80D948F: ghid_netlist_window_update 
(gui-netlist-window.c:952)
==3971==    by 0x80D94B6: NetlistChanged (gui-netlist-window.c:977)
==3971==    by 0x80C81A3: hid_actionv (actions.c:219)
==3971==    by 0x80C8222: hid_action (actions.c:182)
==3971==    by 0x8060E26: ActionLoadFrom (action.c:5633)
==3971==    by 0x80C81A3: hid_actionv (actions.c:219)
==3971==    by 0x80C81FD: hid_actionl (actions.c:197)
==3971==    by 0x80CB994: Load (gtkhid-main.c:1813)
==3971==
==3971== Process terminating with default action of signal 11 (SIGSEGV)
==3971==  Access not within mapped region at address 0xFFFFF79A
==3971==    at 0x40247A6: strlen (in 
/usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==3971==    by 0x45C1FFD: g_strjoinv (in /usr/lib/libglib-2.0.so.0.1600.6)
==3971==    by 0x80D89CD: net_model_create (gui-netlist-window.c:391)
==3971==    by 0x80D8EB8: ghid_netlist_window_show 
(gui-netlist-window.c:693)
==3971==    by 0x80D948F: ghid_netlist_window_update 
(gui-netlist-window.c:952)
==3971==    by 0x80D94B6: NetlistChanged (gui-netlist-window.c:977)
==3971==    by 0x80C81A3: hid_actionv (actions.c:219)
==3971==    by 0x80C8222: hid_action (actions.c:182)
==3971==    by 0x8060E26: ActionLoadFrom (action.c:5633)
==3971==    by 0x80C81A3: hid_actionv (actions.c:219)
==3971==    by 0x80C81FD: hid_actionl (actions.c:197)
==3971==    by 0x80CB994: Load (gtkhid-main.c:1813)
==3971==
==3971== ERROR SUMMARY: 7 errors from 4 contexts (suppressed: 195 from 3)
==3971== malloc/free: in use at exit: 17,631,670 bytes in 104,913 blocks.
==3971== malloc/free: 596,148 allocs, 491,235 frees, 160,101,750 bytes 
allocated.
==3971== For counts of detected errors, rerun with: -v
==3971== searching for pointers to 104,913 not-freed blocks.
==3971== checked 17,748,904 bytes.
==3971==
==3971== LEAK SUMMARY:
==3971==    definitely lost: 90,486 bytes in 7,925 blocks.
==3971==      possibly lost: 616,461 bytes in 633 blocks.
==3971==    still reachable: 16,924,723 bytes in 96,355 blocks.
==3971==         suppressed: 0 bytes in 0 blocks.
==3971== Rerun with --leak-check=full to see details of leaked memory.
gene@geno:~/avTek/hardware/schematic$ cat pcblog.stdout
gene@geno:~/avTek/hardware/schematic$


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