9fans archive / 2008 / 01 / 529 /    prev next

From: "Russ Cox" <rsc@swt...>
Subject: Re: [9fans] pico
Date: Tue, 29 Jan 2008 17:46:24 -0500

> 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