TASEmulators / TASEmulators/BizHawk

C++ error while running MAME libretro in open advanced

Open
#3,803 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

re: Libretro Repro: Affects 2.9.1 Repro: Patch pending
Dominant language
C#
Stars
2.8k
Forks
468
PR merge metrics
No merged PRs in 30d

Description

Summary

When I tried to run MAME 0.259 libretro on open advanced I got a microsoft visual runtime library error assertion failed, If somebody know how to fix this issue please let me know.

Repro
  1. I opened "Open Advanced" on file tab
  2. I selected the MAME libretro
  3. Then when I launch a game or no game I then got this error for some reason
Error message
Microsoft Visual C++ Runtime Library

Assertion failed!

Program: ...
File: LibretroBridge.cpp
Line: 456

Expression: id < sizeof (analog)

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts

(Press Retry to debug the application - JIT must be enabled)

Host env.
  • BizHawk 2.9.1; Win10 Pro 19044.1288 Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz 3.29 GHz

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure through Open Advanced with the MAME 0.259 libretro core, then inspect LibretroBridge.cpp at line 456 and the reported id < sizeof (analog) assertion. Done means identifying the triggering input or bridge condition and confirming that launching with or without a game no longer raises the Microsoft Visual C++ assertion.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.