Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: MSVC code gen bug?

Author: Vincent Diepeveen

Date: 08:03:27 01/03/02

Go up one level in this thread


On January 03, 2002 at 03:40:52, Lex Loep wrote:

>On January 01, 2002 at 19:36:32, Scott Gasch wrote:
>
>>On January 01, 2002 at 07:39:35, Vincent Diepeveen wrote:
>>
>>>On December 31, 2001 at 15:47:25, Scott Gasch wrote:
>>>
>>>Hi, a pointer to a 2 dimensional array is in all compilers
>>>big trouble. GCC 2.96 crashed bigtime here at DIEP (my pointer was
>>>to a selfdefined dataelement which i allocated in 2d).
>>>
>>>Would be amazed if msvc here 100% bugfree. I assume after so many
>>>guys already looked after your code that you didn't crash because of
>>>this.
>>>
>>>BTW did you boundscheck already under other OS-es than windoze to
>>>see whether it was a side effect that causes you to crash?
>>>
>>
>>Hi Vincent,
>>
>>Yeah I ran numega boundchecker on win32 on my code and it didn't find anything
>>serious.  Only some strange errors about how I am starting threads etc.  For
>>some reason it doesn't want you to call CreateThread.  Also it found an 8 byte
>
>If you use CreateThread you can get problems when you use some of the
>C runtime library functions such as printf. In that case use
>_beginthread or _beginthreadex
>
>Lex

yes MSDN says that too, it's known problem under windows.
Monsoon isn't multithreaded AFAIK though.

there are many functions non obvious working.

>
>
>>memory leak at program termination... which I was glad to have it point out but
>>didn't really make too much difference.
>>
>>Scott



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.