From mboxrd@z Thu Jan 1 00:00:00 1970 Mime-Version: 1.0 (Apple Message framework v753) In-Reply-To: <20080129224620.59CFA1E8C2B@holo.morphisms.net> References: <20080129224620.59CFA1E8C2B@holo.morphisms.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <3845282A-2418-4D61-A7C1-21EEC18BF3C1@mac.com> Content-Transfer-Encoding: 7bit From: Pietro Gagliardi Subject: Re: [9fans] pico Date: Tue, 29 Jan 2008 20:13:27 -0500 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Topicbox-Message-UUID: 3cbf58b6-ead3-11e9-9d60-3106f5b1d025 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 >