Re: code question...

2000-08-15 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, "Chris Ptacek" w rites: >I am getting a warning from a program I wrote: > >lined in free(): warning: chunk is already free. > >Is there anyway I can figure out where exactly this is happening, maybe >cause a core or something. ln -s A /etc/malloc.conf

Re: code question...

2000-08-14 Thread Philip M. Gollucci
This is happening in a call to free() ;; the memory being freed is either not actually allocated or is somewhere that your programs memory does not contain (ie address out of range). Use mxgdb, ddd, or gdb to show all things things and step through the executiong. ***

Re: code question...

2000-08-14 Thread Bill Fumerola
On Mon, Aug 14, 2000 at 02:10:16PM -0700, Chris Ptacek wrote: > I am getting a warning from a program I wrote: > > lined in free(): warning: chunk is already free. > > Is there anyway I can figure out where exactly this is happening, maybe > cause a core or something. >From 'man free', which yo

Re: code question...

2000-08-14 Thread Dan Nelson
In the last episode (Aug 14), Chris Ptacek said: > I am getting a warning from a program I wrote: > > lined in free(): warning: chunk is already free. > > Is there anyway I can figure out where exactly this is happening, maybe > cause a core or something. Man malloc, see the "DEBUGGING MALLOC P