Access Violation After Adding Run???

Posted by Rash on Mon 03 Nov 2003 10:20 AM — 4 posts, 17,624 views.

United Kingdom #0
Okay iv just added the 'Run' ability to my MUD. I added everything like it said changed everything like it said checked and doubled checked and thats all fine. Compiled it went through no bother, but as soon as i double click smaug.exe to start it after booting i get this...


8 [main] smaug 3576 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION

7022 [main] smaug 3576 open_stackdumpfile: Dumping stack trace to saug.exe.stackdump


Then the whole thing stops working...
Can anyone help me? Iv went through what i added and it seems to be fine from what i can tell that is.

Heres a link to the 'Run' snippet http://www.angelfire.com/vt2/seymour/run.txt

Any help would be much appreciated, Thanks

Rash
USA #1
Aside from the fact that this Seymour guy is distributing it without consent, you're also using it in an environment it hasn't been tested in. So I can't really say for sure what might be causing it. Is there any way you can get a more detailed error dump than this?
United Kingdom #2
Well heres what the stackdump has:


Exception: STATUS_ACCESS_VIOLATION at eip=610BA4C1
eax=00000000 ebx=00000001 ecx=FFFFFFFF edx=00000001 esi=FFFFFFFF edi=00000001
ebp=002299F8 esp=002299F4 program=C:\cygwin\home\rash\Smaug\area\smaug.exe
cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
Stack trace:
Frame     Function  Args
002299F8  610BA4C1  (00000001, 0022AE6E, 0041202A, 00000001)
0022AE88  610C1294  (610CB020, 0022AEA0, 00412010, 0022AF50)
0022AF18  610B9661  (0022D400, 00412010, 00000000, 0040FEE8)
0022E418  00413335  (0A384B98, 0022F8D3, 0A3841A8, 0022F070)
0022F888  004C8060  (0A384B98, 0022F8D3, 00580E70, 0022F784)
0022FCE8  0047C631  (00586230, 00000000, 00000039, 0022FD28)
0022FDB0  0047B6BA  (00000001, 0A041648, 0A040330, 77DD8639)
0022FF40  61005018  (610CFEE0, FFFFFFFE, 00000020, 610CFE04)
0022FF90  610052ED  (00000000, 00000000, 00000000, 80576C70)
0022FFB0  00563841  (0047B2CF, 037F0009, 0022FFF0, 77E7EB69)
0022FFC0  0040103C  (00000000, 00000001, 7FFDF000, F6567CF4)
0022FFF0  77E7EB69  (00401000, 00000000, 78746341, 00000020)
End of stack trace


I dont know what that means...
Iv went through the entire code checking everything i did and everything is as it should be it compiles perfect and everything just when i try to start it...

any ideas? anyone?

Rash

(Oh yeah Samson, thats my site... i put that there for now so people could see what run i had in.. im not giving it away its coming down shortly... thankx for pointing it out tho...)
Australia Forum Administrator #3
Try turning on debugging information (-g) in the Makefile. Then you might get function names in the traceback.