From: Erik Max Francis Newsgroups: comp.os.msdos.djgpp Subject: Re: malloc() bug? Date: Thu, 27 Nov 1997 02:52:06 -0800 Organization: Alcyone Systems Lines: 22 Message-ID: <347D50D6.77F5F5EE@alcyone.com> References: <65ji55$8du AT leporello DOT cs DOT unibo DOT it> NNTP-Posting-Host: newton.alcyone.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Nicola Gaggi wrote: > 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? Sounds like it's a strange problem with your code. Post a sample program that exhibits the behavior but is as small as you can make it and still reliably reproduce the problem. -- Erik Max Francis, &tSftDotIotE / mailto:max AT alcyone DOT com Alcyone Systems / http://www.alcyone.com/max/ San Jose, California, United States / icbm://+37.20.07/-121.53.38 \ "Since when can wounded eyes see / If we weren't who we were" / Joi