www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/27/08:31:22

From: gaggi AT dulcamara DOT cs DOT unibo DOT it (Nicola Gaggi)
Newsgroups: comp.os.msdos.djgpp
Subject: malloc() bug?
Date: 27 Nov 1997 10:31:01 GMT
Organization: Department of Computer Science, University of Bologna, Italy
Lines: 21
Message-ID: <65ji55$8du@leporello.cs.unibo.it>
NNTP-Posting-Host: 130.136.1.162
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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? 

Cheers,

--
--------------------------------------------------------------------
Nicola Gaggi                                  University of Bologna.
e-mail  : gaggi AT cs DOT unibo DOT it  WWW page: http://www.cs.unibo.it/~gaggi
--------------------------------------------------------------------
... Be yourself, no matter what they say
  from "Englishman in New York" by Sting

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019