-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ported to Loongson3A6000, start screen is shown but got segment fault when initializing sound #13072
Comments
Start the game looping, the initial screen is shown But got segment fault when starting the game ` Hints: |
The build command is:
Because loongson compiler doesn't support the -m64 option, so I remove the -m64 option from the build script
|
MAME version
0.272
System information
CPU: Loongson-3A6000-HV
Audio device: Loongson Technology LLC HDA (High Definition Audio)
Video card: Loongson LG110
INI configuration details
No response
Emulated system/software
No response
Incorrect behaviour
Successfully built MAME on a Loongson3A6000 computer.
The start screen is displayed but got segment fault when initializing sound.
The gdb backtrace is:
(gdb) backtrace
#0 0x0000000000000078 in ?? ()
#1 0x0000000121d58d40 in util::detail::delegate_base<delegate_late_bind, void, sound_stream&, std::vector<read_stream_view, std::allocator<read_stream_view> > const&, std::vector<write_stream_view, std::allocator<write_stream_view> >&>::operator() (this=0x124b1c000, this=0x124b1c000, args#2=std::vector of length 1, capacity 1 = {...},
args#1=std::vector of length 0, capacity 0, args#0=...) at ../../../../../src/lib/util/delegate.h:760
#2 sound_stream::update_view (this=this@entry=0x124b1bee0, start=..., end=..., outputnum=, outputnum@entry=0) at ../../../../../src/emu/sound.cpp:742
#3 0x0000000121d5905c in sound_stream::update (this=0x124b1bee0) at ../../../../../src/emu/attotime.h:100
#4 0x000000012012d6e0 in non-virtual thunk to dac_byte_device_base::write(unsigned char) () at /usr/include/c++/8/ext/new_allocator.h:86
#5 0x0000000120c9bb44 in devcb_write<unsigned char, (unsigned char)255>::operator()(unsigned int, unsigned char, unsigned char) ()
at /usr/include/c++/8/bits/shared_ptr_base.h:404
#6 0x00000001202bce94 in addressable_latch_device::update_bit (this=0x1241dff00) at ../../../../../src/devices/machine/74259.cpp:216
#7 addressable_latch_device::enable_w (state=0, this=0x1241dff00) at ../../../../../src/devices/machine/74259.cpp:184
#8 addressable_latch_device::write_bit (d=, offset=, this=0x1241dff00) at ../../../../../src/devices/machine/74259.cpp:153
#9 addressable_latch_device::write_d0 (this=0x1241dff00, offset=, data=) at ../../../../../src/devices/machine/74259.cpp:241
#10 0x0000000120c3f534 in tms99xx_device::cru_output_operation (this=0x1241cd500) at ../../../../../src/lib/util/coretmpl.h:594
#11 0x0000000120c4534c in tms99xx_device::execute_run (this=0x1241cd500) at ../../../../../src/devices/cpu/tms9900/tms9900.cpp:1254
#12 0x0000000121d2b560 in device_execute_interface::run (this=0x1241cd7f0) at ../../../../../src/emu/diexec.h:189
#13 device_scheduler::timeslice (this=this@entry=0xffffff6128) at ../../../../../src/emu/schedule.cpp:456
#14 0x0000000121cc1e34 in running_machine::run (this=this@entry=0xffffff0ef0, quiet=quiet@entry=false) at ../../../../../src/emu/machine.cpp:348
#15 0x000000012273bee0 in mame_machine_manager::execute (this=this@entry=0x124059e20) at ../../../../../src/frontend/mame/mame.cpp:288
#16 0x00000001227e0c74 in cli_frontend::start_execution (this=this@entry=0xffffff6938, manager=manager@entry=0x124059e20, args=std::vector of length 3, capacity 3 = {...})
at ../../../../../src/frontend/mame/clifront.cpp:277
#17 0x00000001227e106c in cli_frontend::execute (this=this@entry=0xffffff6938, args=std::vector of length 3, capacity 3 = {...})
at ../../../../../src/frontend/mame/clifront.cpp:293
#18 0x00000001227385cc in emulator_info::start_frontend (options=..., osd=..., args=std::vector of length 3, capacity 3 = {...})
at ../../../../../src/frontend/mame/mame.cpp:453
#19 0x00000001200d3b68 in main (argc=, argv=) at ../../../../../src/osd/sdl/sdlmain.cpp:100
(gdb)
Expected behaviour
Switch to game screen.
Steps to reproduce
No response
Additional details
No response
The text was updated successfully, but these errors were encountered: