Date: Sun, 14 Jun 1998 17:45:26 +0300 (IDT) From: Eli Zaretskii To: Aleksey Kondratyev cc: djgpp AT delorie DOT com Subject: Re: strange SIGSEGV In-Reply-To: <6m0eh3$bv9$1@simtel.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.