Mail Archives: djgpp/1997/11/27/13:10:41
At 10.31 1997-11-27 GMT, you wrote:
>Hi,
>
>I am wondering if anyone out there has had the same problem:
>I am writing a program that need to dinamically allocate a huge number of
>little buffers (about 10 bytes each), but I have run into problem with
>malloc(), i receive SIGSEGV inside the malloc() code.
>The program code seems correct, and anyway it is not particularly
>complicate, it only performs some allocation and copy, so what it can be?
>Every malloc'ed pointer is free'ed up correctly.
>Is it a bug of malloc() function? Any suggestion?
Please post the smallest code that reproduces this problem.
-- Peter Palotas alias Blizzar -- blizzar AT hem1 DOT passagen DOT se --
*****************************************************
* A brief description of DJGPP: *
* NEVER BEFORE HAS SO FEW DONE SO MUCH FOR SO MANY! *
*****************************************************
- Raw text -