Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Access Violation  (Read 5437 times)

0 Members and 1 Guest are viewing this topic.

retrorepair

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 252
  • Last login:July 06, 2025, 06:47:43 pm
Access Violation
« on: July 03, 2013, 09:45:41 am »
Randomly getting an access violation with 149 014b and gauntlet.

It usually runs ok for about 10 mins then randomly crashes and throw up the error.

Code: [Select]
-----------------------------------------------------
Exception at EIP=01CD82F0 (not found): ACCESS VIOLATION
While attempting to read memory at 13D01000
-----------------------------------------------------
EAX=13D01000 EBX=00000150 ECX=0001E784 EDX=13E84F18
ESI=00000000 EDI=00000000 EBP=00000002 ESP=00222940
-----------------------------------------------------
Stack crawl:
  00000002: 01CD82F0 (not found)

This is in XP32 shelled to an autohotkey script which runs "groovymame gauntlet" directly. The PC is an old P4 with DDR RAM, though I tested the RAM and it's ok. It looks to me like a RAM issue but I've no idea what most of it means  :-\

Any ideas?
My arcade racing setup:
My Youtube Channel: http://www.youtube.com/user/RetroRepair
My Twitter: http://twitter.com/retrorepair

retrorepair

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 252
  • Last login:July 06, 2025, 06:47:43 pm
Re: Access Violation
« Reply #1 on: July 03, 2013, 10:00:24 am »
For the record I just tried 147 and does the same thing, here's the error from this attempt:


Code: [Select]
SwitchRes: [gauntlet] (1) horizontal (336x240@59.92)->(672x240@59.92)

-----------------------------------------------------
Exception at EIP=01C8ACC0 (not found): ACCESS VIOLATION
While attempting to read memory at 15691000
-----------------------------------------------------
EAX=15691000 EBX=00000170 ECX=0000F590 EDX=158A87C0
ESI=00000000 EDI=00000000 EBP=00000002 ESP=00222920
-----------------------------------------------------
Stack crawl:
  00000002: 01C8ACC0 (not found)
My arcade racing setup:
My Youtube Channel: http://www.youtube.com/user/RetroRepair
My Twitter: http://twitter.com/retrorepair

Ansa89

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 377
  • Last login:December 09, 2016, 10:40:11 am
Re: Access Violation
« Reply #2 on: July 03, 2013, 10:09:06 am »
Have you tried with official mame build?
Earth could be the hell of another world

JDFan

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3448
  • Last login:March 03, 2025, 10:29:54 am
  • I want to build my own arcade controls!
Re: Access Violation
« Reply #3 on: July 03, 2013, 10:22:58 am »
Randomly getting an access violation with 149 014b and gauntlet.

This is in XP32 shelled to an autohotkey script which runs "groovymame gauntlet" directly. The PC is an old P4 with DDR RAM, though I tested the RAM and it's ok. It looks to me like a RAM issue but I've no idea what most of it means  :-\

Any ideas?

That type of error usually means that the program tried to read\write to a memory location that it was not assigned to be using by the system (which can corrupt the system - so the OS shuts down the program and puts up the error notification.) - could be that the game is using more than the 2GB. that windows programs are assigned ( Does GroovyMame's exe support the >2GB address space allocation ) If it does try using process explorer or similar to set it to App can handle >2GB address space so windows will allow it more memory if that setting is not already active ) - If GroovyMame does not support the setting try using MameUI64 ( I use it and it does support the setting) and see if you still get the error.

retrorepair

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 252
  • Last login:July 06, 2025, 06:47:43 pm
Re: Access Violation
« Reply #4 on: July 03, 2013, 11:03:46 am »
I started to think it was a hardware problem tbh. I just tried vanilla MAME and got a blue screen. Checked event viewer and found ati2mtag which I assume is my BSOD.

Then I came across this:

http://www.techsupportforum.com/forums/f10/cplib-initialization-failed-to-load-the-library-391509.html

Seems to be the same issue I'm having and updating his gfx driver sorted it. Now I can't do that since I'm using Calamity's 6.3 driver for my 9250. I'm going to go into the bios to see if I can disable any onboard video card stuff.
My arcade racing setup:
My Youtube Channel: http://www.youtube.com/user/RetroRepair
My Twitter: http://twitter.com/retrorepair

retrorepair

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 252
  • Last login:July 06, 2025, 06:47:43 pm
Re: Access Violation
« Reply #5 on: July 03, 2013, 11:42:01 am »
Well nothing really in the bios to change so not sure how to proceed. Obviously this doesnt happen with everyone so it's something to do with my setup.
My arcade racing setup:
My Youtube Channel: http://www.youtube.com/user/RetroRepair
My Twitter: http://twitter.com/retrorepair

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 01, 2025, 01:29:14 pm
  • Quote me with care
Re: Access Violation
« Reply #6 on: July 03, 2013, 12:32:15 pm »
Well, ati2mtag.sys is the video driver miniport, which is patched in CRT Emudriver to enable the extra amount of video modes. First, check how many modes are active in your system, theoretically CRT Emudriver 6.5/32-bits is stable with up to 200 modes, but the fact it doesn't crash on my system doesn't mean it can't crash on yours, after all this is a hack and some memory is being overwritten. So try lowering the amount of modes first, to something reasonable. By the way, does it only happen with Gauntlet?

As a side note, one friend of mine started to have similar issues in his cabinet with an ATI 9250 AGP, it started as random crashes upon video mode switching, then it got more frequent and finally it wouldn't enter Windows at all. It turned out the AGP port was broken, probably due to the video card being loose inside his build, damaging the port eventually. I wish it's not the same thing.

Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

retrorepair

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 252
  • Last login:July 06, 2025, 06:47:43 pm
Re: Access Violation
« Reply #7 on: July 03, 2013, 12:49:43 pm »
I only have Gauntlet installed and only 120 modes. Not to say that isn't causing an issue also though I recon it's unlikely.

I'll probably just ditch the ancient P4 and grab a C2D, it'll at least modern enough to be able to stick a PCI-X card in there and just use the 9.3 driver.
My arcade racing setup:
My Youtube Channel: http://www.youtube.com/user/RetroRepair
My Twitter: http://twitter.com/retrorepair