|
From: Steven B. <ba...@ep...> - 2005-04-13 21:27:57
|
My program is crashing and using valgrind I get the following errors. There is no code at line 1758 of makeped.c so can you tell me how to figure out which variable isn't initialized? I'm on red hat linux using the latest valgrind and gcc. Thanks, Steve =948== Use of uninitialised value of size 4 ==948== at 0x804B67E: main (makeped.c:1758) trc=31 jump to 0xB00673BA from 0x804B67A ==948== ==948== Jump to the invalid address stated on the next line ==948== at 0xB00673BA: vgSkinInternal_free (vg_toolint.c:538) ==948== Address 0xB00673BA is not stack'd, malloc'd or (recently) free'd ==948== ==948== Invalid read of size 4 ==948== at 0xB00673CD: vgSkinInternal_free (vg_toolint.c:539) ==948== by 0x1BA5A1B7: ??? ==948== Address 0xB009E3E4 is not stack'd, malloc'd or (recently) free'd ==948== Process terminating with default action of signal 11 (SIGSEGV) ==948== GPF (Pointer out of bounds?) ==948== at 0xB00673CD: vgSkinInternal_free (vg_toolint.c:539) ==948== by 0x1BA5A1B7: ??? trc=0 jump to 0xB00673CD from 0xB00673BA |