Mail Archives: djgpp-workers/1998/09/01/20:01:47
Ilya Ryzhenkov <orangy AT inetlab DOT com> wrote:
> Hello Magicians! ;)
:-)))))
> I encountered strange behavior after recompiling my DLM package under
> v2.02
> When compiled with 2.01 it works fine both in DOS & Win95
> Version, compiled with 2.02 refuses to work under Win95
> It SIGSEGV's in 'free'. The crash happens, when trying to realloc.
> In DOS it works fine, as well as
> in RHIDE under Win95 (!), but I was unable to debug it
> in RHIDE, as it stops with SIGINT upon entering in free
> (Disassembler window). I looked in sources and noticed,
> that malloc code was rewritten.
Robert posted a patch to fix it, at least I guess you are facing the same
bug. Search in the mails.
> So, what are those 'dangerous' situations with new alloc
> algorithm ? Any suggestions ? I checked all the code,
> but found no allocation faults, as well as no memory
> chunks overwrite and other common bugs. I'll try
> to use MSS package as soon as download it.
I think the new malloc will break a lot of buggy programs because a lot of
memory related bugs are hidded thanks to the 2^n feature of the old malloc.
I found various bugs in the editor when I ported the code to Linux because
the glibc malloc reuses the memory very quick and you don't have "extra
space" in most of the allocated buffers like with the 2^n malloc.
But I think the bug is the one pointed by Robert.
> And one more question :
> Where should I upload my DLM package (both binary & source distribution)
> ?
> To DJ's ftp or to simtel ?
To DJ's incoming and send a mail to DJ. I think that's somewhere in the docs
or the web, don't remmember.
> Or either put it on my public ftp and announce ?
I think the best is to put betas in public places and releases in the DJ
server.
SET
------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013
- Raw text -