Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1927012

Summary: most of the roms do not run anymore on 0228
Product: [Fedora] Fedora Reporter: Davide Corrado <davide.corrado>
Component: mameAssignee: Julian Sikorski <belegdol>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 33CC: belegdol, danielsun3164
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: mame-0.228-2.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-20 01:25:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Davide Corrado 2021-02-09 20:18:19 UTC
Description of problem:
issue started since 0228 package update

Version-Release number of selected component (if applicable):
0228

How reproducible:
mame gng (neo geo roms do work)

Steps to Reproduce:
1.
2.
3.

Actual results:
mame crashes

$ mame gng
/usr/include/c++/10/bits/stl_vector.h:1045: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = unsigned int; _Alloc = std::allocator<unsigned int>; std::vector<_Tp, _Alloc>::reference = unsigned int&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__builtin_expect(__n < this->size(), true)' failed.
Aborted (core dumped)

[konrad@niceleprotto ~]$ mame sf2ce
/usr/include/c++/10/bits/stl_vector.h:1045: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = unsigned int; _Alloc = std::allocator<unsigned int>; std::vector<_Tp, _Alloc>::reference = unsigned int&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__builtin_expect(__n < this->size(), true)' failed.
Aborted (core dumped)




Expected results:

it worked with 0227. not the only package updated during last yum update session

Additional info:

Comment 1 Julian Sikorski 2021-02-09 20:28:14 UTC
Confirmed, sorry about that. It appears to be driver-dependent. On my system tgmj and ikaruga work while umk3 and mvsc crash. I have reported it upstream.

Comment 2 Daniel 2021-02-10 14:58:05 UTC
I have the same issue also.
I found that there is the same issue on https://github.com/mamedev/mame/issues/7760 .

Comment 3 Davide Corrado 2021-02-10 15:18:59 UTC
I guess you found it on github because Julian Sikorski opened it. so it all started from here :-)

Comment 4 Fedora Update System 2021-02-11 07:04:21 UTC
FEDORA-2021-d1f46d62ad has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2021-d1f46d62ad

Comment 5 Fedora Update System 2021-02-11 07:06:40 UTC
FEDORA-2021-3fc6c0d5de has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-3fc6c0d5de

Comment 6 Fedora Update System 2021-02-12 02:11:57 UTC
FEDORA-2021-3fc6c0d5de has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-3fc6c0d5de`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-3fc6c0d5de

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2021-02-12 02:25:43 UTC
FEDORA-2021-d1f46d62ad has been pushed to the Fedora 32 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-d1f46d62ad`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-d1f46d62ad

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Davide Corrado 2021-02-12 08:58:18 UTC
the testing package resolves the issue!

Comment 9 Fedora Update System 2021-02-20 01:25:22 UTC
FEDORA-2021-3fc6c0d5de has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2021-02-20 01:34:15 UTC
FEDORA-2021-d1f46d62ad has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.