delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1996/12/03/16:40:06

From: Robertkman AT aol DOT com
Subject: Re: serious bug with CYGNUS GCC b16
3 Dec 1996 16:40:06 -0800 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <961203185123_773662550.cygnus.gnu-win32@emout13.mail.aol.com>
Original-To: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Pascal Obry wrote:

>>     But this does not answer my question. I'am not
>>     doing this in a real project but I made up a code that shows a problem
>>     with the CYGNUS GCC. This problem seem to be that static variable do
>>     corrupt the dll entry table and others datas, I had hard time to
>>     figure this out.

There is nothing like a static variable inside the code you've posted
earlier. So what you can see from the stack trace is nothing but a simple
stack overlow. BTW, this is quite normal behaviour running under Win32. There
is no more than 1MB stack space in any thread - at least if you haven't
request more stack space in the call to CreateThread().

Could you please post some code that shows your problem with a static table
corrupting the DLL entries?

Robert Kindermann

-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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