Bug 2035572 - Core dump when selecting working ROMs
Summary: Core dump when selecting working ROMs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mame
Version: 35
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Julian Sikorski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-24 18:33 UTC by Andrea Musuruane
Modified: 2022-01-07 01:16 UTC (History)
1 user (show)

Fixed In Version: mame-0.239-1.fc35
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-01-07 01:16:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Andrea Musuruane 2021-12-24 18:33:44 UTC
Description of problem:
Core dumped when performing a search

Version-Release number of selected component (if applicable):
mame-0.238-1.fc35.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Run mame
2. Select working ROMs (or search for a ROMs, etc)
3. Core dump

Actual results:
$ mame
/usr/include/c++/11/bits/stl_vector.h:1045: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = ui::menu_item; _Alloc = std::allocator<ui::menu_item>; std::vector<_Tp, _Alloc>::reference = ui::menu_item&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__n < this->size()' failed.
Annullato (core dump creato)


Expected results:
Show working ROMs

Additional info:
-

Comment 1 Julian Sikorski 2021-12-28 07:25:12 UTC
While I have an idea what might be causing this, I cannot reproduce this issue. If I go to working category in the left pane and go up and down the rom list in the middle pane, nothing bad happens. Is this what is causing the crash for you?

Comment 2 Andrea Musuruane 2021-12-28 09:23:46 UTC
As soon as I select the working category, mame crashes with a core dump on my system.

Comment 3 Julian Sikorski 2021-12-28 12:03:46 UTC
Please may you try this scratch build once it completes:
https://koji.fedoraproject.org/koji/taskinfo?taskID=80563176
?

Comment 4 Andrea Musuruane 2021-12-28 13:55:02 UTC
This build is working fine. Thanks!

Comment 5 Julian Sikorski 2021-12-28 13:58:28 UTC
Good to hear. The problem is that the fix is to change the default compiler flags. I have requested an exception:
https://pagure.io/packaging-committee/issue/1075

Comment 6 Fedora Update System 2021-12-29 16:33:54 UTC
FEDORA-2021-a23bce82ce has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-a23bce82ce

Comment 7 Fedora Update System 2021-12-29 16:34:07 UTC
FEDORA-2021-67079e2fe4 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-67079e2fe4

Comment 8 Fedora Update System 2021-12-30 01:28:54 UTC
FEDORA-2021-a23bce82ce has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-a23bce82ce`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-a23bce82ce

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

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

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

Comment 10 Fedora Update System 2022-01-07 01:10:45 UTC
FEDORA-2021-67079e2fe4 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2022-01-07 01:16:19 UTC
FEDORA-2021-a23bce82ce has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.