Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
06726 Core Critical (emulation) Sometimes Oct 20, 2017, 02:02 Oct 20, 2017, 02:11
Tester wuemura View Status Public Platform MAME (Self-compiled)
Assigned To Resolution Duplicate OS Linux (64-bit)
Status [?] Closed Driver
Version 0.190 Fixed in Version Build Debug
Fixed in Git Commit Github Pull Request #
Summary 06726: Segmentation fault at BIOS start
Description MAME received signal SIGSEGV, Segmentation fault at startup
This changes with cheat on and off.
cheat on

Thread 1 "mame64d" received signal SIGSEGV, Segmentation fault.
cheat_manager::frame_update ()
    at ../../../../../src/frontend/mame/cheat.cpp:1374
1374 cheat->frame_update();
(gdb) bt
#0 cheat_manager::frame_update ()
    at ../../../../../src/frontend/mame/cheat.cpp:1374
#1 0x000055555ddfe946 in delegate_base<void>::operator() ()
    at ../../../../../src/lib/util/delegate.h:544
#2 running_machine::call_notifiers ()
    at ../../../../../src/emu/machine.cpp:849
#3 0x000055555de969ab in video_manager::frame_update ()
    at ../../../../../src/emu/video.cpp:236
#4 0x000055555de5b076 in screen_device::vblank_end ()
    at ../../../../../src/emu/screen.cpp:1551
#5 0x000055555de5fc3d in screen_device::device_timer ()
    at ../../../../../src/emu/screen.cpp:975
#6 0x000055555de555a9 in device_t::timer_expired ()
    at ../../../../../src/emu/device.h:520
#7 device_scheduler::execute_timers ()
    at ../../../../../src/emu/schedule.cpp:902
#8 device_scheduler::timeslice () at ../../../../../src/emu/schedule.cpp:530
#9 0x000055555de05778 in running_machine::run ()
    at ../../../../../src/emu/machine.cpp:357
#10 0x000055555ba7a552 in mame_machine_manager::execute ()
    at ../../../../../src/frontend/mame/mame.cpp:229
#11 0x000055555bb16d05 in cli_frontend::start_execution ()
    at ../../../../../src/frontend/mame/clifront.cpp:257
#12 0x000055555bb1729e in cli_frontend::execute ()
    at ../../../../../src/frontend/mame/clifront.cpp:273
#13 0x000055555ba78323 in emulator_info::start_frontend ()
    at ../../../../../src/frontend/mame/mame.cpp:329
#14 0x0000555559277c46 in main () at ../../../../../src/osd/sdl/sdlmain.cpp:216

cheat off
Thread 1 "mame64d" received signal SIGSEGV, Segmentation fault.
0x000055555badc696 in std::__invoke_impl<unsigned int, unsigned int (mame_ui_manager::* const&)(render_container&), mame_ui_manager*&, render_container&> ()
    at /usr/include/c++/6/functional:227
227 return ((*std::forward<_Tp>(__t)).*__f)(std::forward<_Args>(__args)...);
(gdb) bt
#0 0x000055555badc696 in std::__invoke_impl<unsigned int, unsigned int (mame_ui_manager::* const&)(render_container&), mame_ui_manager*&, render_container&>
    () at /usr/include/c++/6/functional:227
#1 std::__invoke<unsigned int (mame_ui_manager::* const&)(render_container&), mame_ui_manager*&, render_container&> () at /usr/include/c++/6/functional:251
#2 std::_Mem_fn_base<unsigned int (mame_ui_manager::*)(render_container&), true>::operator()<mame_ui_manager*&, render_container&> ()
    at /usr/include/c++/6/functional:604
#3 std::_Bind<std::_Mem_fn<unsigned int (mame_ui_manager::*)(render_container&)> (mame_ui_manager*, std::_Placeholder<1>)>::__call<unsigned int, render_container&, 0ul, 1ul>(std::tuple<render_container&>&&, std::_Index_tuple<0ul, 1ul>) ()
    at /usr/include/c++/6/functional:934
#4 std::_Bind<std::_Mem_fn<unsigned int (mame_ui_manager::*)(render_container&)> (mame_ui_manager*, std::_Placeholder<1>)>::operator()<render_container&, unsigned int>(render_container&) () at /usr/include/c++/6/functional:993
#5 std::_Function_handler<unsigned int (render_container&), std::_Bind<std::_Mem_fn<unsigned int (mame_ui_manager::*)(render_container&)> (mame_ui_manager*, std::_Placeholder<1>)> >::_M_invoke(std::_Any_data const&, render_container&) ()
    at /usr/include/c++/6/functional:1717
#6 0x000055555bad6329 in std::function<unsigned int (render_container&)>::operator()(render_container&) const () at /usr/include/c++/6/functional:2127
#7 mame_ui_manager::update_and_render ()
    at ../../../../../src/frontend/mame/ui/ui.cpp:414
---Type <return> to continue, or q <return> to quit---
#8 0x000055555ba78385 in emulator_info::draw_user_interface ()
    at ../../../../../src/frontend/mame/mame.cpp:340
#9 0x000055555de96839 in video_manager::frame_update ()
    at ../../../../../src/emu/video.cpp:220
#10 0x000055555de5b076 in screen_device::vblank_end ()
    at ../../../../../src/emu/screen.cpp:1551
#11 0x000055555de5fc3d in screen_device::device_timer ()
    at ../../../../../src/emu/screen.cpp:975
#12 0x000055555de555a9 in device_t::timer_expired ()
    at ../../../../../src/emu/device.h:520
#13 device_scheduler::execute_timers ()
    at ../../../../../src/emu/schedule.cpp:902
#14 device_scheduler::timeslice () at ../../../../../src/emu/schedule.cpp:530
#15 0x000055555de05778 in running_machine::run ()
    at ../../../../../src/emu/machine.cpp:357
#16 0x000055555ba7a552 in mame_machine_manager::execute ()
    at ../../../../../src/frontend/mame/mame.cpp:229
#17 0x000055555bb16d05 in cli_frontend::start_execution ()
    at ../../../../../src/frontend/mame/clifront.cpp:257
#18 0x000055555bb1729e in cli_frontend::execute ()
    at ../../../../../src/frontend/mame/clifront.cpp:273
#19 0x000055555ba78323 in emulator_info::start_frontend ()
    at ../../../../../src/frontend/mame/mame.cpp:329
#20 0x0000555559277c46 in main () at ../../../../../src/osd/sdl/sdlmain.cpp:216
Steps To Reproduce ./mame64d komanigx, MAME opens and closes with segmentation fault.
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems
Attached Files
 
Relationships
duplicate of 06121Resolved  konamigx: System GX BIOS crashed 
Notes
1
User avatar
No.14303
Tafoid
Administrator
Oct 20, 2017, 02:10
Already reported. Marked as duplicate of 06121.
As reminded before, avoid duplication by searching the database fully before posting!

Closing.