Re: NEWBIE: Unknown crashes

From: Gary Barnett (gbarnett@POLARNET.COM)
Date: 04/11/98


MSVC / Win95 is a bit picky about memory usage. It's possible (and likely)
that if this code runs on unix w/o problems that there is some small error
that is overwriting memory that was never noticed before.

Failing that try turning off optimizations, look at all compiler warnings
and so on.

From the output that you provided it doesn't appear that you are entering
the debugger when the code crashes. Try running circle as a project inside
the msvc IDE. You'll find it much easier to debug the program when it is
launched from the ide. Just add wsock32.lib to a standard console app, add
all the files and compile. When it crashes go to the view/debug/call stack
menu and you'll see what functions lead up to the problem in order.
Doubleclicking on them loads up the line of code.. super-simple. :-)

--Mallory

-----Original Message-----
From: Spencer Miles <mojoman@PACIFIER.COM>
To: CIRCLE@post.queensu.ca <CIRCLE@post.queensu.ca>
Date: Friday, April 10, 1998 3:49 PM
Subject:  NEWBIE: Unknown crashes


>Hello,
>I have circlemud 3.0 compiled with visual C++ 5.0 on my windows 95
>machine, and am having quite a few crashes which i do not know the
>answer to. Everytime it crashes i get this error, and there is no
>pattern that I am doing when it crashes.
>Hopefully someone can help me.
>
>CIRCLE caused an invalid page fault in
>module CIRCLE.EXE at 0137:004066fb.
>Registers:
>EAX=00000000 CS=0137 EIP=004066fb EFLGS=00010206
>EBX=005c0000 SS=013f ESP=006cba28 EBP=006cba3c
>ECX=00ab0100 DS=013f ESI=000003e8 FS=11cf
>EDX=00ab0100 ES=013f EDI=815a0af0 GS=0000
>Bytes at CS:EIP:
>0f bf 48 5a 85 c9 7e 19 8b 55 08 0f bf 42 58 6b
>Stack dump:
>0000001e 0000000e fffffff2 fffffff6 006cba50 006cba50 004327f0 00000000
>00ab0100 00ab0100 006cba58 0040216b 006cfbc8 004020df 00001d10 815ae6c4
>
>I recieve that same error each time, if someone knows the answer i would
>really appreciate some help.
>
>-Spencer Miles
>
>
>     +------------------------------------------------------------+
>     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
>     +------------------------------------------------------------+
>


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST