9fans archive / 2008 / 01 / 531 / prev next From: Pietro Gagliardi <pietro10@mac.com> Subject: Re: [9fans] pico Date: Tue, 29 Jan 2008 20:13:27 -0500 In this case, it only told me where the program crashed, which told me nothing on why (because a different line or a color image worked). On Jan 29, 2008, at 5:46 PM, Russ Cox wrote: >> I get something that ends in "(double-free?)" and then the program >> crashes, but something like > > This usually means you have freed the same pointer twice > or you are passing a pointer to free that was not returned > by malloc. If you run acid to get a stack trace to see the > context of the free, that is often enough to identify the > problem. > > % acid pid > acid: stk() > ... > ^D > % > > Russ >