On Tue, 2008-12-23 at 19:13 -0500, gene wrote: > > ==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)
Thanks.. I think that might land the blame on my shoulders... I'll have a poke and see what logic I messed up when I last touched that function. Notice how valgrind quit out much much sooner than the gdb backtrace. Often the real bug lies far before the crash occured. > ==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 -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) _______________________________________________ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user