Page 1 of 2

wolf104 exception errors. :(

Posted: Tue Mar 28, 2006 10:33 pm
by grazzy
about 90% of the games Im trying to play/replay are causing exception errors. :(

my roms are ok, as normal mame 104 runs everything ok. I have tried many of the video settings (hwstretch, direct3d, etcetc), and none of them seem to make a difference.

Games that I know that work are total carnage (watched the replay), wboy, wbmlb.

Games that dont work: gauntlet series, pacman (lol), street fighter *, etcetc, tons of them.

What usually happens is the "OK" screen loads, I type OK, I get a black screen with a blue box in the top left corner, I hit enter, and bam, exception error.

heres an example:

C:\wolf>mameip104.exe tmnt

-----------------------------------------------------
Exception at EIP=122B61E8: ACCESS VIOLATION
While attempting to write memory at 122B61E8
-----------------------------------------------------
EAX=FFFFFE06 EBX=FFFFFF00 ECX=00000010 EDX=FFFFFF00
ESI=0092E908 EDI=FFFFFE06 EBP=00000000 ESP=0012FD9C

C:\wolf>mameip104.exe wboy
Average FPS: 59.999249 (245 frames)

as you can see, tmnt doesnt work, but wboy does.. :/

any ideas? its freaking me out.. I want to watch some of the recordings!. :-)

amd64 3200+ under winxp.

Thanks.

Posted: Tue Mar 28, 2006 10:40 pm
by LN2
test any game/romset without recording or playback of an inp first....just to be 100% sure it's ok....not just a rom check.

Posted: Tue Mar 28, 2006 10:41 pm
by mahlemiut
Does this happen with other versions of MAME or MAME Plus? TMNT certainly works fine here.

Posted: Wed Mar 29, 2006 12:33 am
by The TJT
Maybe your PC fan doesn't work properly.
Maybe your harddrive has problems, some of the roms located at bad sector. Try moving mame folder from c to d for example.

Posted: Wed Mar 29, 2006 12:51 am
by Weehawk
mahlemiut wrote:Does this happen with other versions of MAME or MAME Plus?
grazzy wrote:...normal mame 104 runs everything ok.
I started getting the black screen with the little blue box in the upper left corner in WolfMAME .103. Stays like that until I press "Esc" or "Enter", then proceeds normally.

Haven't tried .104 or other MAME versions.

Posted: Wed Mar 29, 2006 3:01 am
by Phil Lamat
Very rare, but I sometimes get this "access violation" message ;
last example :
http://marp.retrogames.com/inp/0/a/3/kb ... wolf92.zip

Note : I also have an Athlon

Posted: Wed Mar 29, 2006 3:22 am
by mahlemiut
Weehawk wrote:I started getting the black screen with the little blue box in the upper left corner in WolfMAME .103. Stays like that until I press "Esc" or "Enter", then proceeds normally.
That'll happen for anyone. As far as I know, it's a bug with Visual C++ 2005.

Posted: Wed Mar 29, 2006 11:17 am
by Caseh
Hi Grazzy,

Sadly I had the exact same problem and odly enough we both have the exact same processor. I started a thread here viewtopic.php?t=12394&start=0&postdays= ... highlight= to try and resolve it but never did. Some older versions of mame worked fine and others didn't.

In the end I formatted and went back to win2k instead of XP, solved all my problems and XP is crap anyway. :wink:

Posted: Wed Mar 29, 2006 11:43 am
by DRN
I had this problem almost a year ago and still have it today, mostly with Toobin but it affects other games as well. Haze came up with the solution that it's a bug in MAME.

The original thread can be found here

viewtopic.php?t=12143&highlight=

Posted: Wed Mar 29, 2006 12:03 pm
by grazzy
Ok, so I guess the conclusion its a mame bug.. but only a wolfmame bug? Like I said, normal mame runs everything fine.

Maybe is there some way the person who compiles wolfmame can try it with less optimizations.. maybe thats the culprit? Or maybe theres a non VC++ wolfmame? I dunno, just throwing out questions here. :)

Just sort of sucks cant watch a lot of the inputs. :(

Oh well. Maybe next version will work better. :-)

Thanks for all the help.

Posted: Wed Mar 29, 2006 5:39 pm
by mahlemiut
I use VC++ 2005 Express Edition to compile, mostly because it fails to compile in GCC 3.4.2. Actually, it causes GCC to completely fall over. There is something similar under VC++ as well, but that was fixed by using a compiler directive to disable optimisations at that particular statement.

Not sure about completely disabling optimisations, as I'm sure people will want as much speed as possible. Finding the particular problem won't be easy either, as I can't reproduce the crash at all. I'll have a look at disabling general optimisations (there are no CPU specific optimisations in VC2005) and see if it makes a major difference in speed or not.

Posted: Thu Mar 30, 2006 10:13 am
by zlk
I just bought a computer with an AMD processor and was having the same problems. Make sure that DEP is only running on essential windows processes and I think it will cure the problem.

Right click on "my computer"
Go to properties
Go to advanced
Go to performance and click settings
Go to Data Execution Prevention
Click the top option so it is only running on essential Windows programs and services only.

I hope that works for you. 8)

Posted: Thu Mar 30, 2006 11:46 am
by grazzy
^^^

This worked for me. This was a clean install of XP and I forgot to turn that shitty DEP off.

Stupid Microsoft, stupid AMD. :)

Thanks, hope it works for others as well.. (so its not a mame problem...)

Posted: Thu Mar 30, 2006 12:48 pm
by Phil Lamat
Still "access violation" crash trying for example to playback :
http://marp.retrogames.com/inp/0/a/3/kb ... wolf92.zip

Posted: Thu Mar 30, 2006 3:16 pm
by grazzy
Phil Lamat wrote:Still "access violation" crash trying for example to playback :
http://marp.retrogames.com/inp/0/a/3/kb ... wolf92.zip
where exactly is it supposed to crash? I just d/led it and ran it for about 10 seconds, and the playback was going fine.. Should I wait longer to test?

that dep did see to fix all my problems though..