www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/02/24/02:23:05

Xref: news2.mv.net comp.os.msdos.djgpp:1378
Newsgroups: comp.os.msdos.djgpp
From: Jaroslaw Sacha <Jaroslaw DOT Sacha AT EISC DOT org>
Subject: Crash in malloc djgpp v1.12m4
Message-ID: <312E07D9.30C7@EISC.org>
Sender: news AT utnetw DOT utoledo DOT edu (News Manager)
Organization: Edison Industrial Systems Center
Mime-Version: 1.0
Date: Fri, 23 Feb 1996 18:30:49 GMT
Lines: 18
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,
I am getting numerous crashes in calls to malloc.
It seams to be independent of operating systems or hardware.
I tried it on DOS 6.2 and Win95. The same results. 
Program crashes are in calls from my program (through new) and
in internal calls to malloc from GRX20. It seems not to be related to amount of memory 
allocated but to numer of calls to malloc. Memory dump usually looks like this:

General Protection Fault at eip=38c20
eax=00000070 ebx=00000007 ecx=40660000 edx=000003fc esi=fffffffc edi=00000002
ebp=000843a0 esp=00084394 cs=af ds=a7 es=a7 fs=bf gs=a7 ss=b7 cr2=00005fea
Call frame traceback EIPs:
  0x00038c20   _malloc+200
  ...

Does anybody has some ideas ?

Jarek

- Raw text -


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