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: GroovyMame crashing - unhandled st11logic_error exception  (Read 5028 times)

0 Members and 1 Guest are viewing this topic.

MtothaJ

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19
  • Last login:May 08, 2016, 01:12:53 pm
  • I want to build my own arcade controls!
GroovyMame crashing - unhandled st11logic_error exception
« on: March 27, 2016, 12:31:55 pm »
I often get the following crash when running GroovyMame:

Caught unhandled St11logic_error exception: basic_string::_M_construct null not valid

Usually what also happens is that in game the game would freeze up for a moment before continuing on.

Any ideas on this?

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1547
  • Last login:July 25, 2025, 04:09:52 pm
  • retro maniac
Re: GroovyMame crashing - unhandled st11logic_error exception
« Reply #1 on: March 27, 2016, 02:42:20 pm »
I had the same problem on XP x32 when I start mame without any game. No problem if I start mame.exe [game]

Check latest GIT, might be already fixed (if it's official mame problem).

MtothaJ

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19
  • Last login:May 08, 2016, 01:12:53 pm
  • I want to build my own arcade controls!
Re: GroovyMame crashing - unhandled st11logic_error exception
« Reply #2 on: March 28, 2016, 03:19:26 am »
I get this regardless of whether I go in through the mame executable or straight into a game via the command line.

THe game freezes and stuttering can be heard. It would then resume as normal only to freeze up again in a few moments.

MtothaJ

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19
  • Last login:May 08, 2016, 01:12:53 pm
  • I want to build my own arcade controls!
Re: GroovyMame crashing - unhandled st11logic_error exception
« Reply #3 on: March 29, 2016, 03:04:58 am »
I seemed to have resolved my problems with stuttering / momentary freezes in games by enabling triplebuffer and multithreading. I also have vsync on.

I still get the unhandled st11logic_error exception from time to time when exiting Groovymame but that is not a big deal.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: GroovyMame crashing - unhandled st11logic_error exception
« Reply #4 on: March 29, 2016, 10:28:27 am »
I seemed to have resolved my problems with stuttering / momentary freezes in games by enabling triplebuffer and multithreading. I also have vsync on.

I still get the unhandled st11logic_error exception from time to time when exiting Groovymame but that is not a big deal.

I remind getting that error, last month or so, I'd say it got fixed when updating the whole MAME folder from baseline.

Multithreading/triplebuffer is a compromise setup that should only be used when the target refresh is not achieved or the cpu can't keep up with emulation.
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

MtothaJ

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19
  • Last login:May 08, 2016, 01:12:53 pm
  • I want to build my own arcade controls!
Re: GroovyMame crashing - unhandled st11logic_error exception
« Reply #5 on: March 29, 2016, 11:04:09 am »
I seemed to have resolved my problems with stuttering / momentary freezes in games by enabling triplebuffer and multithreading. I also have vsync on.

I still get the unhandled st11logic_error exception from time to time when exiting Groovymame but that is not a big deal.

I remind getting that error, last month or so, I'd say it got fixed when updating the whole MAME folder from baseline.

Multithreading/triplebuffer is a compromise setup that should only be used when the target refresh is not achieved or the cpu can't keep up with emulation.

The CPU I am using is a Pentium G4400 (2 core 3.3Ghz, 1151 Skylake socket). I would think that this should be sufficent for MAME however I intend to upgrade the CPU in the future and when I do I will post back whether the stuttering / freezing is resolved using the standard settings.

In any case, since I am using the ASIO sound I understand that Multithreading should be left on regardless.

Tetsuo1981

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:July 20, 2017, 02:33:04 pm
  • I want to build my own arcade machine!!
Re: GroovyMame crashing - unhandled st11logic_error exception
« Reply #6 on: November 25, 2016, 02:46:39 am »
Bumping his thread cos I've received this error on normal, groovy and UI versions of mame all with the same error message on 2 PC's running different versions of windows. Only happens when I try to quit back from a game to the game select screen and only when I use my joystick setup button combo, using the keyboard everything works fine. Googling the error throws up notuch related to mame and loads about other programme. Anyone got any ideas or solutions?

Cheers

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1547
  • Last login:July 25, 2025, 04:09:52 pm
  • retro maniac