Mail Archives: djgpp/1998/06/14/10:45:43
On Sun, 14 Jun 1998, Aleksey Kondratyev wrote:
> It uses dynamic allocation and crashes on very complex
> tasks (lots of small chunks are allocated) but under
> Win95 only (giving memory protection fault). Everything
> works perfectly and produces right result under plain DOS.
Please post a full example of the crash traceback.
> Also, no problems running from rhide or gdb invoked under
> Win95.
This sounds like you are accessing uninitialized memory.
> Could it be a bug in Win95 DPMI or memory allocation scheme?
I don't think so. The DPMI server is only asked to provide chunks of
memory. Everything else is done by library functions.
It could be, though, that there's some bug in your program which is
sensitive to the particulars of the allocation scheme, like if the chunks
are or aren't consecutive.
> Remove "no-spam-" when replying
Please try to avoid the anti-spammed address in the first place,
especially when asking for help. It is a pain in the lower back to
remove all those.
- Raw text -