-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
Description
You will find below the log:
Loading translation file /home/Mame/language/English/strings.mo
Reading translation file: 1 strings, original table at word offset 7, translated table at word offset 9
Loaded 0 translated string from file
Starting plugin data...
Attempting load of mame.ini
Parsing mame.ini
Attempting load of mame.ini
Parsing mame.ini
Available videodrivers: x11 wayland KMSDRM dummy
Current Videodriver: x11
Display #0
Renderdrivers:
opengl (0x0)
opengles2 (0x0)
software (0x0)
Available audio drivers:
pulseaudio
alsa
sndio
pipewire
dsp
disk
dummy
Build version: 0.248 (unknown)
Build architecure:
Build defines 1: SDLMAME_UNIX=1 SDLMAME_X11=1 SDLMAME_LINUX=1
Build defines 1: LSB_FIRST=1 PTR64=1
SDL/OpenGL defines: SDL_COMPILEDVERSION=2020 USE_OPENGL=1
Compiler defines A: __GNUC__=11 __GNUC_MINOR__=2 __GNUC_PATCHLEVEL__=0 __VERSION__="11.2.0"
Compiler defines B: __amd64__=1 __x86_64__=1 __unix__=1
Compiler defines C: __USE_FORTIFY_LEVEL=0
Enter init_monitors
Adding monitor screen0 (1920 x 1080)
Leave init_monitors
Enter sdlwindow_init
Using SDL multi-window OpenGL driver (SDL 2.0+)
Hints:
SDL_FRAMEBUFFER_ACCELERATION (NULL)
SDL_RENDER_DRIVER (NULL)
SDL_RENDER_OPENGL_SHADERS (NULL)
SDL_RENDER_SCALE_QUALITY (NULL)
SDL_RENDER_VSYNC (NULL)
SDL_VIDEO_X11_XVIDMODE (NULL)
SDL_VIDEO_X11_XINERAMA (NULL)
SDL_VIDEO_X11_XRANDR (NULL)
SDL_GRAB_KEYBOARD (NULL)
SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS (NULL)
SDL_IOS_IDLE_TIMER_DISABLED (NULL)
SDL_IOS_ORIENTATIONS (NULL)
SDL_XINPUT_ENABLED (NULL)
SDL_GAMECONTROLLERCONFIG (NULL)
SDL_JOYSTICK_ALLOW_BACKGROUND_EVENTS (NULL)
SDL_ALLOW_TOPMOST (NULL)
SDL_TIMER_RESOLUTION (NULL)
SDL_RENDER_DIRECT3D_THREADSAFE (NULL)
SDL_VIDEO_ALLOW_SCREENSAVER (NULL)
SDL_ACCELEROMETER_AS_JOYSTICK (NULL)
SDL_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK (NULL)
SDL_VIDEO_WIN_D3DCOMPILER (NULL)
SDL_VIDEO_WINDOW_SHARE_PIXEL_FORMAT (NULL)
SDL_VIDEO_MAC_FULLSCREEN_SPACES (NULL)
SDL_MOUSE_RELATIVE_MODE_WARP (NULL)
SDL_RENDER_DIRECT3D11_DEBUG (NULL)
SDL_VIDEO_HIGHDPI_DISABLED (NULL)
SDL_WINRT_PRIVACY_POLICY_URL (NULL)
SDL_WINRT_PRIVACY_POLICY_LABEL (NULL)
SDL_WINRT_HANDLE_BACK_BUTTON (NULL)
Leave sdlwindow_init
Enter sdl_info::create
OpenGL: Intel
OpenGL: Mesa Intel(R) UHD Graphics 620 (KBL GT2)
OpenGL: 4.6 (Compatibility Profile) Mesa 22.0.5
OpenGL: texture rectangle supported
OpenGL: non-power-of-2 textures supported (new method)
OpenGL: vertex buffer supported
OpenGL: pixel buffers supported
OpenGL: framebuffer object supported
OpenGL: GLSL supported, but disabled
OpenGL: max texture size 16384 x 16384
Leave renderer_ogl::create
Audio: Start initialization
Audio: Driver is pulseaudio
Audio: frequency: 48000, channels: 2, samples: 256
sdl_create_buffers: creating stream buffer of 25600 bytes
Audio: End initialization
Keyboard: Start initialization
Input: Adding keyboard #1: System keyboard (device id: System keyboard)
Keyboard: Registered System keyboard
Keyboard: End initialization
Mouse: Start initialization
Input: Adding mouse #1: System mouse (device id: System mouse)
Mouse: Registered System mouse
Mouse: End initialization
Lightgun: Begin initialization
Lightgun: End initialization
Joystick: Start initialization
Joystick: End initialization
Searching font Liberation Sans in -/home/Mame/fonts path/s
Matching font: 0x5616ad2d5340
:: invalid BIOS "0", reverting to default
WARNING: the machine might not run correctly.
Optional memory region ':screen' not found
Starting No Driver Loaded ':'
(missing dependencies; rescheduling)
Starting Video Screen ':screen'
Starting No Driver Loaded ':'
Checking for icons in directory icons
No candidate icons found for machines
Attempting to parse: default.cfg
Attempting to parse: ___empty.cfg
Soft reset
drc_cache: RWX pages supported
OpenGL: VBO supported
OpenGL: PBO supported
OpenGL: FBO supported
OpenGL: using vid filter: 1
drc_cache: RWX pages supported
drc_cache: RWX pages supported
unzip: opened archive file /home/Mame/Mame_Arcade/roms/mushisam.zip
unzip: found /home/Mame/Mame_Arcade/roms/mushisam.zip ECD
unzip: /home/Mame/Mame_Arcade/roms/mushisam.zip has no ZIP64 ECD locator
unzip: read /home/Mame/Mame_Arcade/roms/mushisam.zip central directory
unzip: closing archive file /home/Mame/Mame_Arcade/roms/mushisam.zip and sending to cache
unzip: found /home/Mame/Mame_Arcade/roms/mushisam.zip in cache
unzip: closing archive file /home/Mame/Mame_Arcade/roms/mushisam.zip and sending to cache
unzip: found /home/Mame/Mame_Arcade/roms/mushisam.zip in cache
unzip: closing archive file /home/Mame/Mame_Arcade/roms/mushisam.zip and sending to cache
unzip: found /home/Mame/Mame_Arcade/roms/mushisam.zip in cache
unzip: closing archive file /home/Mame/Mame_Arcade/roms/mushisam.zip and sending to cache
drc_cache: RWX pages supported
drc_cache: RWX pages supported
sdl_kill: closing audio
Enter sdlwindow_exit
Leave sdlwindow_exit
Attempting load of mame.ini
Parsing mame.ini
Attempting load of mame.ini
Parsing mame.ini
Attempting load of vertical.ini
Attempting load of arcade.ini
drc_cache: RWX pages supported
Attempting load of raster.ini
Attempting load of source/cv1k.ini
Attempting load of mushisam.ini
drc_cache: RWX pages supported
Available videodrivers: x11 wayland KMSDRM dummy
Current Videodriver: x11
Display #0
Renderdrivers:
opengl (0x0)
opengles2 (0x0)
software (0x0)
Available audio drivers:
pulseaudio
alsa
sndio
pipewire
dsp
disk
dummy
Build version: 0.248 (unknown)
Build architecure:
Build defines 1: SDLMAME_UNIX=1 SDLMAME_X11=1 SDLMAME_LINUX=1
Build defines 1: LSB_FIRST=1 PTR64=1
SDL/OpenGL defines: SDL_COMPILEDVERSION=2020 USE_OPENGL=1
Compiler defines A: __GNUC__=11 __GNUC_MINOR__=2 __GNUC_PATCHLEVEL__=0 __VERSION__="11.2.0"
Compiler defines B: __amd64__=1 __x86_64__=1 __unix__=1
Compiler defines C: __USE_FORTIFY_LEVEL=0
Enter init_monitors
Adding monitor screen0 (1920 x 1080)
Leave init_monitors
Enter sdlwindow_init
Using SDL multi-window OpenGL driver (SDL 2.0+)
Hints:
SDL_FRAMEBUFFER_ACCELERATION (NULL)
SDL_RENDER_DRIVER (NULL)
SDL_RENDER_OPENGL_SHADERS (NULL)
SDL_RENDER_SCALE_QUALITY (NULL)
SDL_RENDER_VSYNC (NULL)
SDL_VIDEO_X11_XVIDMODE (NULL)
SDL_VIDEO_X11_XINERAMA (NULL)
SDL_VIDEO_X11_XRANDR (NULL)
SDL_GRAB_KEYBOARD (NULL)
SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS (NULL)
SDL_IOS_IDLE_TIMER_DISABLED (NULL)
SDL_IOS_ORIENTATIONS (NULL)
SDL_XINPUT_ENABLED (NULL)
SDL_GAMECONTROLLERCONFIG (NULL)
SDL_JOYSTICK_ALLOW_BACKGROUND_EVENTS (NULL)
SDL_ALLOW_TOPMOST (NULL)
SDL_TIMER_RESOLUTION (NULL)
SDL_RENDER_DIRECT3D_THREADSAFE (NULL)
SDL_VIDEO_ALLOW_SCREENSAVER (NULL)
SDL_ACCELEROMETER_AS_JOYSTICK 0
SDL_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK (NULL)
SDL_VIDEO_WIN_D3DCOMPILER (NULL)
SDL_VIDEO_WINDOW_SHARE_PIXEL_FORMAT (NULL)
SDL_VIDEO_MAC_FULLSCREEN_SPACES (NULL)
SDL_MOUSE_RELATIVE_MODE_WARP (NULL)
SDL_RENDER_DIRECT3D11_DEBUG (NULL)
SDL_VIDEO_HIGHDPI_DISABLED (NULL)
SDL_WINRT_PRIVACY_POLICY_URL (NULL)
SDL_WINRT_PRIVACY_POLICY_LABEL (NULL)
SDL_WINRT_HANDLE_BACK_BUTTON (NULL)
Leave sdlwindow_init
Enter sdl_info::create
Leave renderer_ogl::create
Audio: Start initialization
Audio: Driver is pulseaudio
Audio: frequency: 48000, channels: 2, samples: 256
sdl_create_buffers: creating stream buffer of 25600 bytes
Audio: End initialization
Keyboard: Start initialization
Input: Adding keyboard #1: System keyboard (device id: System keyboard)
Keyboard: Registered System keyboard
Keyboard: End initialization
Mouse: Start initialization
Input: Adding mouse #1: System mouse (device id: System mouse)
Mouse: Registered System mouse
Mouse: End initialization
Lightgun: Begin initialization
Lightgun: End initialization
Joystick: Start initialization
Joystick: End initialization
Searching font Liberation Sans in -/home/Mame/fonts path/s
Matching font: 0x5616ad29be40
unzip: opened archive file /home/Mame/Mame_Arcade/roms/mushisam.zip
unzip: found /home/Mame/Mame_Arcade/roms/mushisam.zip ECD
unzip: /home/Mame/Mame_Arcade/roms/mushisam.zip has no ZIP64 ECD locator
unzip: read /home/Mame/Mame_Arcade/roms/mushisam.zip central directory
unzip: closing archive file /home/Mame/Mame_Arcade/roms/mushisam.zip and sending to cache
unzip: found /home/Mame/Mame_Arcade/roms/mushisam.zip in cache
unzip: opened archive file /home/Mame/Mame_Arcade/roms/mushisam.zip
unzip: closing archive file /home/Mame/Mame_Arcade/roms/mushisam.zip and sending to cache
unzip: found /home/Mame/Mame_Arcade/roms/mushisam.zip in cache
unzip: opened archive file /home/Mame/Mame_Arcade/roms/mushisam.zip
unzip: closing archive file /home/Mame/Mame_Arcade/roms/mushisam.zip and sending to cache
unzip: found /home/Mame/Mame_Arcade/roms/mushisam.zip in cache
unzip: opened archive file /home/Mame/Mame_Arcade/roms/mushisam.zip
unzip: closing archive file /home/Mame/Mame_Arcade/roms/mushisam.zip and sending to cache
:: invalid BIOS "0", reverting to default
WARNING: the machine might not run correctly.
Optional memory region ':screen' not found
Starting Mushihime-Sama (2004/10/12.MASTER VER.) ':'
(missing dependencies; rescheduling)
Starting Hitachi SH-3 (big) ':maincpu'
Starting Epson RTC-9701-JE RTC/EEPROM ':eeprom'
Starting Serial Flash ':game'
Starting Video Screen ':screen'
[:screen] :screen: Deprecated legacy Old Style screen configured (MCFG_SCREEN_VBLANK_TIME), please use MCFG_SCREEN_RAW_PARAMS instead.
Starting palette ':palette'
Starting Speaker ':mono'
(missing dependencies; rescheduling)
Starting Yamaha YMZ770C AMMS-A ':ymz770'
Starting EPIC12 Blitter ':blitter'
Starting Mushihime-Sama (2004/10/12.MASTER VER.) ':'
(missing dependencies; rescheduling)
Starting Speaker ':mono'
Starting Mushihime-Sama (2004/10/12.MASTER VER.) ':'
Attempting to parse: default.cfg
Attempting to parse: mushisam.cfg
Soft reset
[:maincpu] ':maincpu' (00000006): unmapped internal write to ffffff84 = 0000a500 & 0000ffff (unk)
[:maincpu] ':maincpu' (00000006): unmapped internal write to ffffff84 = 0000a507 & 0000ffff (unk)
[:maincpu] ':maincpu' (00000006): unmapped internal write to ffffff84 = 5a000000 & ffff0000 (unk)
[:maincpu] ':maincpu' (00000006): unmapped internal write to ffffff80 = 01120000 & ffff0000 (unk)
[:maincpu] ':maincpu' (00000006): unmapped internal write to 04000010 = 80000000 & ffff0000
[:maincpu] ':maincpu' (00000006): unmapped internal write to ffffff60 = c0080000 & ffff0000 (unk)
[:maincpu] ':maincpu' (00000006): unmapped internal write to ffffff60 = 000039f0 & 0000ffff (unk)
[:maincpu] ':maincpu' (00000006): unmapped internal write to ffffff64 = 95510000 & ffff0000 (unk)
[:maincpu] ':maincpu' (00000006): unmapped internal write to ffffff64 = 0000fdd7 & 0000ffff (unk)
[:maincpu] ':maincpu' (00000006): unmapped internal write to ffffff68 = 543c0000 & ffff0000 (unk)
[:maincpu] ':maincpu' (00000006): unmapped internal write to ffffff70 = 0000a560 & 0000ffff (unk)
[:maincpu] ':maincpu' (00000006): unmapped internal write to ffffff70 = a5000000 & ffff0000 (unk)
[:maincpu] ':maincpu' (00000006): unmapped internal write to ffffff6c = 0000a510 & 0000ffff (unk)
[:maincpu] ':maincpu' (00000006): unmapped internal write to ffffe880 = 00000000 & ffff0000 (unk)
[:maincpu] ':maincpu' (00000006): unmapped internal write to 04000104 = aaaa0000 & ffff0000 (PCCR)
[:maincpu] ':maincpu' (00000006): unmapped internal write to 04000104 = 0000aaaa & 0000ffff (PDCR)
[:maincpu] ':maincpu' (00000006): unmapped internal write to 04000114 = aaaa0000 & ffff0000 (PLCR)
[:maincpu] ':maincpu' (00000006): unmapped internal write to 04000110 = a5440000 & ffff0000 (PJCR)
[:maincpu] ':maincpu' (00000006): unmapped internal write to 04000108 = 19440000 & ffff0000 (PECR)
[:maincpu] ':maincpu' (00000006): unmapped io memory write to A0 = 00000000000000FF & FFFFFFFFFFFFFFFF
[:maincpu] ':maincpu' (00000006): unmapped internal write to 04000108 = 00000009 & 0000ffff (PFCR)
[:maincpu] ':maincpu' (00000006): unmapped internal write to 0400010c = 00000000 & ffff0000 (PGCR)
[:maincpu] ':maincpu' (00000006): unmapped internal write to 0400010c = 00000000 & 0000ffff (PHCR)
[:maincpu] ':maincpu' (00000006): unmapped internal write to 04000114 = 00000000 & 0000ffff (SCPCR)
[:maincpu] sh4_rtc_timer_callback uses m_m[] with SH3
GL texture: copy 0, shader 0, dynamic 0, 320x240 320x240 [RGB32, Equal: 1, Palette: 0,
scale 1x1, border 0, pitch 512,320/16384], bytes/pix 4
GL texture: copy 0, shader 0, dynamic 0, 320x240 320x240 [RGB32, Equal: 1, Palette: 0,
scale 1x1, border 0, pitch 512,320/16384], bytes/pix 4
[:maincpu] ':maincpu' (00000094): INTC internal write to 04000014 = 00000430 & 0000ffff (IPRC)
[:maincpu] ':maincpu' (0c002c60): unmapped internal read from ffffffec mask ffffffff
[:maincpu] ':maincpu' (0c002c60): unmapped internal write to ffffffec = 00000008 & ffffffff (unk)
[:maincpu] ':maincpu' (000000e8): unmapped internal write to ffffffec = 00000001 & ffffffff (unk)
[:] unknown serial_rtc_eeprom_w access offset 02 data 01
[:blitter] Detected firmware version D
[:blitter] Detected firmware version D
[:blitter] Detected firmware version D
[:] unknown serial_rtc_eeprom_w access offset 02 data fe
[:maincpu] ':maincpu' (0c04eddc): TMU internal write to fffffe90 = 00000000 & 0000ff00 (SH3_TOCR_TSTR_ADDR)
[:maincpu] ':maincpu' (0c0598e6): TMU internal write to fffffe90 = 00000200 & 0000ff00 (SH3_TOCR_TSTR_ADDR)
[:maincpu] ':maincpu' (0c04ee22): INTC internal read from fffffee0 mask 0000ffff (SH3_ICR0_IPRA_ADDR - 00000000)
[:maincpu] ':maincpu' (0c04ee22): INTC internal write to fffffee0 = 00000100 & 0000ffff (SH3_ICR0_IPRA_ADDR - IPRA)
[:maincpu] setting priorities TMU0 0 TMU1 1 TMU2 0 RTC 0
[:maincpu] ':maincpu' (0c0023d4): unmapped internal read from 04000004 mask ff000000 (IRR0)
[:maincpu] ':maincpu' (0c0023d4): unmapped internal write to 04000004 = 00000000 & ff000000 (IRR0)
[:maincpu] ':maincpu' (0c000100): unmapped internal read from ffffffd4 mask ffffffff (SH3 EXPEVT - 00000160)
[:maincpu] ':maincpu' (0c002890): unmapped internal read from ffffffd0 mask ffffffff (SH3 TRA - 0000003c)
[:maincpu] ':maincpu' (0c16144c): unmapped internal read from ffffffec mask ffffffff
[:maincpu] ':maincpu' (0c16144c): unmapped internal write to ffffffec = 00000009 & ffffffff (unk)
Segmentation fault (core dumped)
Thanks
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
MistyDreams commentedon Sep 29, 2022
not having any issues here on manjaro linux x64 with cave and mame0248..
angelosa commentedon Sep 29, 2022
Where's the stack trace provided with
SYMBOLS=1
at compile time, the log provided is useless.wwark commentedon Sep 30, 2022
I have compiled mame with SYMBOLS=1, the mamebin is now 1.4Go
I tried the new build with those settings on mame.ini.
CORE DEBUGGING OPTIONS
verbose 1
log 0
oslog 1
debug 0
update_in_pause 0
debugscript
debuglog 1
The logs generated is the same without stack trace. Maybe I didn't check at the right place.
Thanks for your help !
MistyDreams commentedon Sep 30, 2022
type gdb --args ./mame mushisam
at the debugger prompt type run
when it drops back to the debugger type bt full
wwark commentedon Sep 30, 2022
Thank you for your return.
Last logs of run:
(gdb) bt full
angelosa commentedon Sep 30, 2022
Does it happens without drc? Call to NMI is weird, I don't think neither cv1k nor sh3 should really call it at all.
gdb --args ./mame mushisam -nodrc
wwark commentedon Oct 1, 2022
it works with the option -nodrc
firewave commentedon Oct 8, 2022
It very much looks like a NULL reference. Running it in
valgrind
should expose the usage of the bad pointer -valgrind ./mame mushisam -nodrc
.wwark commentedon Oct 9, 2022
with valgrind and -nodrc option the game starts without issue it is just long.
Below the vagrind command without -nodrc parameter
MistyDreams commentedon Oct 9, 2022
Are you using a intel cpu processor by any chance? Compile with this.
make ARCHOPTS_C = -mcmodel=large ARCHOPTS_CXX = -mcmodel=large REGENIE=1
angelosa commentedon Oct 10, 2022
Yeah, it's definitely calling a SH4 NMI while being a SH3[BE].
mame/src/mame/misc/cv1k.cpp
Line 234 in efbb202
I wonder if casting this to actual
sh3be_device
fixes the issue.MistyDreams commentedon Oct 10, 2022
I cant reproduce this if Jaunty gcc is setting it to small could cause issues on Intel. its more eliminate that possibility
wwark commentedon Oct 10, 2022
Yes I have an Intel CPU.
I will compile with the options provided let you know !
Thanks for your time
MistyDreams commentedon Oct 12, 2022
I just posted info on my mame box I use thought it had a amd but is is an intel.
Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz (ivybridge) it doesnt have the issue on manjaro.
firewave commentedon Nov 2, 2022
No issues reported with ASAN or UBSAN on Ubuntu 20.04 with 0.249 compiled with Clang 14 with DRC on or off. I only played like a minute though.
Kaede573 commentedon Jan 29, 2023
Hello,
I am running into the same issue (with Ubuntu 22.04 however) - immediate crash when running mushisam, unless I use -nodrc.
MAME 0.251 compiled from sources using gcc ("make -j17").
I have given a try at "make -j17 SYMBOLS=1 ARCHOPTS_C=-mcmodel=large ARCHOPTS_CXX=-mcmodel=large REGENIE=1" for compiling (since I noticed there was no feedback for it), it makes no difference.
CPU: i5-12600KF.
gcc: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
I ran it with gdb / ran bt full also, however the info seems 99% identical to what was posted for 0.249, so I would rather not clutter the thread and post it, please let me know if it's useful anyway.
angelosa commentedon May 26, 2024
Duplicate of #9186