Open sergiobenrocha2 opened 9 years ago
Trying to compile for ARM (odroid U3), and I'm getting segfault, backtrace below (Cannot access memory at address 0x7cfe). I only manage to run mupen with this patch:
diff --git mupen64plus-core/src/plugin/audio_libretro/audio_resampler_driver.c mupen64plus-core/src/plugin/audio_libretro/audio_resampler_driver.c index 2591e9e..95676ff 100644 --- mupen64plus-core/src/plugin/audio_libretro/audio_resampler_driver.c +++ mupen64plus-core/src/plugin/audio_libretro/audio_resampler_driver.c @@ -22,7 +22,7 @@ #include "api/msvc_compat.h" static const rarch_resampler_t *resampler_drivers[] = { - &CC_resampler, + //&CC_resampler, &sinc_resampler, &nearest_resampler, NULL, diff --git mupen64plus-core/src/plugin/audio_libretro/audio_resampler_driver.h mupen64plus-core/src/plugin/audio_libretro/audio_resampler_driver.h index f5e052b..6c20e8d 100644 --- mupen64plus-core/src/plugin/audio_libretro/audio_resampler_driver.h +++ mupen64plus-core/src/plugin/audio_libretro/audio_resampler_driver.h @@ -140,7 +140,7 @@ typedef struct audio_frame_float } audio_frame_float_t; extern rarch_resampler_t sinc_resampler; -extern rarch_resampler_t CC_resampler; +//extern rarch_resampler_t CC_resampler; extern rarch_resampler_t nearest_resampler; #ifndef DONT_HAVE_STRING_LIST
gdb retroarch GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "arm-linux-gnueabihf". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from retroarch...(no debugging symbols found)...done. (gdb) run Starting program: /usr/bin/retroarch [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". RetroArch: parse_config_file: Loading config from: /home/odroid/.config/retroarch/retroarch.cfg. RetroArch: rarch_environment_cb: Environ SET_PIXEL_FORMAT: RGB565. RetroArch: verify_api_version: Version of libretro API: 1 RetroArch: verify_api_version: Compiled against API: 1 RetroArch: audio_monitor_adjust_system_rates: Set audio input rate to: 29975.00 Hz. RetroArch: rarch_main_command: Found shader "/usr/share/libretro/shaders/5xbr-retro.glsl" RetroArch: rarch_main_command: Found shader "/usr/share/libretro/shaders/bead.glsl" RetroArch: rarch_main_command: Found shader "/usr/share/libretro/shaders/blinky.glsl" RetroArch: rarch_main_command: Found shader "/usr/share/libretro/shaders/pixellate.glsl" RetroArch: rarch_main_command: Found shader "/usr/share/libretro/shaders/quilez.glsl" RetroArch: rarch_main_command: Found shader "/usr/share/libretro/shaders/retro-v2.glsl" RetroArch: rarch_main_command: Found shader "/usr/share/libretro/shaders/scanline.glsl" RetroArch: rarch_main_command: Found shader "/usr/share/libretro/shaders/sharp-bilinear.glsl" RetroArch: rarch_main_command: Found shader "/usr/share/libretro/shaders/stock.glsl" RetroArch: init_video: Video @ fullscreen RetroArch [ERROR] :: gfx_ctx_wl_init :: Failed to connect to Wayland server. [New Thread 0xb61fc460 (LWP 8862)] RetroArch: gfx_ctx_xegl_init: [X/EGL]: EGL version: 1.4 RetroArch: gl_init: Found GL context: x-egl RetroArch: gl_init: Detecting screen resolution 1360x768. RetroArch: x11_query_screens: [X11]: Xinerama version: 1.1. RetroArch: x11_get_xinerama_coord: [X11]: Xinerama screens: 1. RetroArch: gfx_ctx_xegl_set_video_mode: [X/EGL]: Using Xinerama on screen #0. RetroArch: gfx_ctx_xegl_set_video_mode: [X/EGL]: X = 0, Y = 0, W = 1360, H = 768. RetroArch: gfx_ctx_xegl_set_video_mode: [X/EGL]: Created context: 0x40000001. RetroArch: gfx_ctx_xegl_set_video_mode: [X/EGL]: Current context: 0x40000001. RetroArch: gfx_ctx_xegl_set_video_mode: [X/EGL]: Using windowed fullscreen. RetroArch: gfx_ctx_xegl_swap_interval: [X/EGL]: eglSwapInterval(1) RetroArch: gl_init: [GL]: Vendor: ARM, Renderer: Mali-400 MP. RetroArch: gl_init: [GL]: Version: OpenGL ES 2.0. RetroArch: gl_query_extension: Querying GL extension: BGRA8888 => exists RetroArch: resolve_extensions: [GL]: BGRA8888 extension found for GLES. RetroArch: gl_query_extension: Querying GL extension: GL_EXT_unpack_subimage => doesn't exist RetroArch: gl_query_extension: Querying GL extension: EXT_sRGB => doesn't exist RetroArch: gl_init: GL: Using resolution 1360x768 RetroArch: gl_init: [GL]: Default shader backend found: glsl. RetroArch: gl_shader_init: [GL]: Using GLSL shader backend. RetroArch [WARN] :: gl_glsl_init :: [GL]: Stock GLSL shaders will be used. RetroArch: compile_program: Found GLSL vertex shader. RetroArch: compile_program: Found GLSL fragment shader. RetroArch: compile_program: Linking GLSL program. RetroArch: compile_program: Found GLSL vertex shader. RetroArch: compile_program: Found GLSL fragment shader. RetroArch: compile_program: Linking GLSL program. RetroArch: compile_program: Found GLSL vertex shader. RetroArch: compile_program: Found GLSL fragment shader. RetroArch: compile_program: Linking GLSL program. RetroArch: gl_init: [GL]: Using 4 textures. RetroArch: gl_init: [GL]: Loaded 1 program(s). RetroArch: add_pad: [udev]: Plugged pad: DragonRise Inc. Generic USB Joystick (0079:0006) on port #0. RetroArch: input_try_autoconfigure_joypad_from_conf: Joypad port #0 (DragonRise Inc. Generic USB Joystick ) configured. RetroArch: add_pad: [udev]: Pad #0 (/dev/input/event3) supports force feedback. RetroArch: add_pad: [udev]: Pad #0 (/dev/input/event3) supports 16 force feedback effects. RetroArch: input_joypad_init_driver: Found joypad driver: "udev". RetroArch: font_renderer_create_default: Using font rendering backend: freetype. RetroArch: x11_suspend_screensaver: Suspending screensaver (X11). RetroArch: rarch_get_cpu_features: [CPUID]: Features: NEON [New Thread 0xb1446460 (LWP 8884)] RetroArch: pulse_init: [PulseAudio]: Requested 24576 bytes buffer, got 18432. RetroArch: rarch_get_cpu_features: [CPUID]: Features: NEON RetroArch: rarch_main_command: SRAM will not be saved. RetroArch: gl_set_nonblock_state: [GL]: VSync => on RetroArch: gfx_ctx_xegl_swap_interval: [X/EGL]: eglSwapInterval(1) RetroArch: rarch_main_command: Loading history file: [/home/odroid/.config/retroarch/retroarch-content-history.txt]. RetroArch: gl_set_nonblock_state: [GL]: VSync => on RetroArch: gfx_ctx_xegl_swap_interval: [X/EGL]: eglSwapInterval(1) RetroArch: pulse_stop: [PulseAudio]: Pausing. RetroArch: buffer_attr_cb: [PulseAudio]: Got new buffer size 22272. RetroArch: buffer_attr_cb: [PulseAudio]: Got new buffer size 26112. RetroArch: buffer_attr_cb: [PulseAudio]: Got new buffer size 29952. RetroArch: rarch_main_init_wrap: Using content: /home/odroid/Games/ROMs/Nintendo 64/Super Mario 64 (USA).n64. [Thread 0xb1446460 (LWP 8884) exited] [Thread 0xb61fc460 (LWP 8862) exited] RetroArch: x11_query_screens: [X11]: Xinerama version: 1.1. RetroArch: x11_get_xinerama_monitor: [X11]: Xinerama screens: 1. RetroArch: gfx_ctx_xegl_destroy: [X/EGL]: Saved monitor #0. RetroArch: video_monitor_compute_fps_statistics: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames. RetroArch: set_paths_redirect: Redirecting save file to "/home/odroid/Games/RetroArch/saves/Super Mario 64 (USA).srm". RetroArch: set_paths_redirect: Redirecting save state to "/home/odroid/Games/RetroArch/saves/Super Mario 64 (USA).state". rarch_main_init: === Build ======================================= Compiler: GCC (4.8.2) 32-bit Built: Mar 17 2015 rarch_main_init: Version: 1.1 rarch_main_init: ================================================= RetroArch: rarch_get_cpu_features: [CPUID]: Features: NEON RetroArch: load_symbols: Loading dynamic libretro from: "/usr/lib/libretro/mupen64plus_libretro.so" RetroArch: rarch_environment_cb: Environ SET_VARIABLES. RetroArch: verify_api_version: Version of libretro API: 1 RetroArch: verify_api_version: Compiled against API: 1 RetroArch: rarch_environment_cb: Environ GET_LOG_INTERFACE. RetroArch: rarch_environment_cb: Environ GET_PERF_INTERFACE. RetroArch: rarch_environment_cb: Environ SET_PIXEL_FORMAT: XRGB8888. RetroArch: rarch_environment_cb: Environ GET_RUMBLE_INTERFACE. RetroArch: rarch_get_cpu_features: [CPUID]: Features: NEON RetroArch: rarch_get_cpu_features: [CPUID]: Features: NEON RetroArch: read_content_file: Loading content file: /home/odroid/Games/ROMs/Nintendo 64/Super Mario 64 (USA).n64. RetroArch [WARN] :: patch_content :: Did not find a valid content patch. RetroArch: read_content_file: CRC32: 0x42c43204 . RetroArch: rarch_environment_cb: Environ GET_VARIABLE mupen64-screensize: RetroArch: rarch_environment_cb: 640x480 RetroArch: rarch_environment_cb: Environ GET_VARIABLE mupen64-gfxplugin: RetroArch: rarch_environment_cb: auto RetroArch: rarch_environment_cb: Environ GET_VARIABLE mupen64-gfxplugin: RetroArch: rarch_environment_cb: auto RetroArch: rarch_environment_cb: Environ GET_VARIABLE mupen64-angrylion-vioverlay: RetroArch: rarch_environment_cb: disabled RetroArch: rarch_environment_cb: Environ GET_VARIABLE mupen64-filtering: RetroArch: rarch_environment_cb: automatic RetroArch: rarch_log_libretro: [libretro DEBUG] :: set glide filtering mode RetroArch: rarch_environment_cb: Environ GET_VARIABLE mupen64-polyoffset-factor: RetroArch: rarch_environment_cb: -3.0 RetroArch: rarch_environment_cb: Environ GET_VARIABLE mupen64-polyoffset-units: RetroArch: rarch_environment_cb: -3.0 RetroArch: rarch_environment_cb: Environ GET_VARIABLE mupen64-astick-deadzone: RetroArch: rarch_environment_cb: 15 RetroArch: rarch_environment_cb: Environ GET_VARIABLE mupen64-gfxplugin-accuracy: RetroArch: rarch_environment_cb: medium RetroArch: rarch_environment_cb: Environ GET_VARIABLE mupen64-virefresh: RetroArch: rarch_environment_cb: 1500 RetroArch: rarch_environment_cb: Environ GET_VARIABLE mupen64-framerate: RetroArch: rarch_environment_cb: original RetroArch: rarch_environment_cb: Environ GET_VARIABLE mupen64-pak1: RetroArch: rarch_environment_cb: none RetroArch: rarch_environment_cb: Environ GET_VARIABLE mupen64-pak2: RetroArch: rarch_environment_cb: none RetroArch: rarch_environment_cb: Environ GET_VARIABLE mupen64-pak3: RetroArch: rarch_environment_cb: none RetroArch: rarch_environment_cb: Environ GET_VARIABLE mupen64-pak4: RetroArch: rarch_environment_cb: none RetroArch: rarch_environment_cb: Environ SET_HW_RENDER. RetroArch: rarch_environment_cb: Requesting OpenGLES2 context. RetroArch: rarch_environment_cb: Environ SYSTEM_DIRECTORY: "/home/odroid/Games/RetroArch/system". RetroArch: rarch_environment_cb: Environ SYSTEM_DIRECTORY: "/home/odroid/Games/RetroArch/system". RetroArch: rarch_log_libretro: [libretro INFO] :: mupen64plus: ROM Database: /home/odroid/Games/RetroArch/system/mupen64plus.ini RetroArch: rarch_log_libretro: [libretro INFO] :: mupen64plus: Unable to open rom database file '/home/odroid/Games/RetroArch/system/mupen64plus.ini'. RetroArch: rarch_log_libretro: [libretro INFO] :: EmuThread: M64CMD_ROM_OPEN RetroArch: rarch_log_libretro: [libretro INFO] :: mupen64plus: SUPER MARIO 64 INI patches applied. RetroArch: rarch_log_libretro: [libretro INFO] :: mupen64plus: Goodname: SUPER MARIO 64 RetroArch: rarch_log_libretro: [libretro INFO] :: mupen64plus: Headername: SUPER MARIO 64 RetroArch: rarch_log_libretro: [libretro INFO] :: mupen64plus: Name: SUPER MARIO 64 RetroArch: rarch_log_libretro: [libretro INFO] :: mupen64plus: MD5: 20B854B239203BAF6C961B850A4A51A2 RetroArch: rarch_log_libretro: [libretro INFO] :: mupen64plus: CRC: 635a2bff 8b022326 RetroArch: rarch_log_libretro: [libretro INFO] :: mupen64plus: Imagetype: .v64 (byteswapped) RetroArch: rarch_log_libretro: [libretro INFO] :: mupen64plus: Rom size: 8388608 bytes (or 8 Mb or 64 Megabits) RetroArch: rarch_log_libretro: [libretro INFO] :: mupen64plus: ClockRate = f RetroArch: rarch_log_libretro: [libretro INFO] :: mupen64plus: Version: 1444 RetroArch: rarch_log_libretro: [libretro INFO] :: mupen64plus: Manufacturer: Nintendo RetroArch: rarch_log_libretro: [libretro INFO] :: mupen64plus: Cartridge_ID: 4d53 RetroArch: rarch_log_libretro: [libretro INFO] :: mupen64plus: Country: USA RetroArch: rarch_log_libretro: [libretro INFO] :: mupen64plus: PC = 80246000 RetroArch: rarch_log_libretro: [libretro INFO] :: mupen64plus: Save type: 0 RetroArch: rarch_log_libretro: [libretro INFO] :: EmuThread: M64CMD_ROM_GET_HEADER RetroArch: init_content: Skipping SRAM load. RetroArch: audio_monitor_adjust_system_rates: Set audio input rate to: 44107.31 Hz. RetroArch: rarch_main_command: Found shader "/usr/share/libretro/shaders/5xbr-retro.glsl" RetroArch: rarch_main_command: Found shader "/usr/share/libretro/shaders/bead.glsl" RetroArch: rarch_main_command: Found shader "/usr/share/libretro/shaders/blinky.glsl" RetroArch: rarch_main_command: Found shader "/usr/share/libretro/shaders/pixellate.glsl" RetroArch: rarch_main_command: Found shader "/usr/share/libretro/shaders/quilez.glsl" RetroArch: rarch_main_command: Found shader "/usr/share/libretro/shaders/retro-v2.glsl" RetroArch: rarch_main_command: Found shader "/usr/share/libretro/shaders/scanline.glsl" RetroArch: rarch_main_command: Found shader "/usr/share/libretro/shaders/sharp-bilinear.glsl" RetroArch: rarch_main_command: Found shader "/usr/share/libretro/shaders/stock.glsl" RetroArch: init_video: Video @ fullscreen RetroArch: find_video_driver: Using HW render, OpenGL driver forced. RetroArch [ERROR] :: gfx_ctx_wl_init :: Failed to connect to Wayland server. [New Thread 0xb61fc460 (LWP 8889)] RetroArch: gfx_ctx_xegl_init: [X/EGL]: EGL version: 1.4 RetroArch: gl_init: Found GL context: x-egl RetroArch: gl_init: Detecting screen resolution 1360x768. RetroArch: x11_query_screens: [X11]: Xinerama version: 1.1. RetroArch: x11_get_xinerama_coord: [X11]: Xinerama screens: 1. RetroArch: gfx_ctx_xegl_set_video_mode: [X/EGL]: Using Xinerama on screen #0. RetroArch: gfx_ctx_xegl_set_video_mode: [X/EGL]: X = 0, Y = 0, W = 1360, H = 768. RetroArch: gfx_ctx_xegl_set_video_mode: [X/EGL]: Created context: 0x40000001. RetroArch: gfx_ctx_xegl_set_video_mode: [X/EGL]: Current context: 0x40000001. RetroArch: gfx_ctx_xegl_set_video_mode: [X/EGL]: Using windowed fullscreen. RetroArch: gfx_ctx_xegl_swap_interval: [X/EGL]: eglSwapInterval(1) RetroArch: gl_init: [GL]: Vendor: ARM, Renderer: Mali-400 MP. RetroArch: gl_init: [GL]: Version: OpenGL ES 2.0. RetroArch: gl_query_extension: Querying GL extension: BGRA8888 => exists RetroArch: resolve_extensions: [GL]: BGRA8888 extension found for GLES. RetroArch: gl_query_extension: Querying GL extension: GL_EXT_unpack_subimage => doesn't exist RetroArch: gl_query_extension: Querying GL extension: EXT_sRGB => doesn't exist RetroArch: gl_init: GL: Using resolution 1360x768 RetroArch: gl_init: [GL]: Default shader backend found: glsl. RetroArch: gl_shader_init: [GL]: Using GLSL shader backend. RetroArch [WARN] :: gl_glsl_init :: [GL]: Stock GLSL shaders will be used. RetroArch: compile_program: Found GLSL vertex shader. RetroArch: compile_program: Found GLSL fragment shader. RetroArch: compile_program: Linking GLSL program. RetroArch: compile_program: Found GLSL vertex shader. RetroArch: compile_program: Found GLSL fragment shader. RetroArch: compile_program: Linking GLSL program. RetroArch: compile_program: Found GLSL vertex shader. RetroArch: compile_program: Found GLSL fragment shader. RetroArch: compile_program: Linking GLSL program. RetroArch: gl_init: [GL]: Using 1 textures. RetroArch: gl_init: [GL]: Loaded 1 program(s). RetroArch: gl_query_extension: Querying GL extension: OES_rgb8_rgba8 => exists RetroArch: gl_init_hw_render: [GL]: Initializing HW render (1024 x 1024). RetroArch: gl_init_hw_render: [GL]: Max texture size: 4096 px, renderbuffer size: 4096 px. RetroArch: add_pad: [udev]: Plugged pad: DragonRise Inc. Generic USB Joystick (0079:0006) on port #0. RetroArch: input_try_autoconfigure_joypad_from_conf: Joypad port #0 (DragonRise Inc. Generic USB Joystick ) configured. RetroArch: add_pad: [udev]: Pad #0 (/dev/input/event3) supports force feedback. RetroArch: add_pad: [udev]: Pad #0 (/dev/input/event3) supports 16 force feedback effects. RetroArch: input_joypad_init_driver: Found joypad driver: "udev". RetroArch: font_renderer_create_default: Using font rendering backend: freetype. RetroArch: x11_suspend_screensaver: Suspending screensaver (X11). RetroArch: rarch_environment_cb: Environ GET_VARIABLE mupen64-gfxplugin: RetroArch: rarch_environment_cb: auto RetroArch: rarch_environment_cb: Environ GET_VARIABLE mupen64-rspplugin: RetroArch: rarch_environment_cb: auto RetroArch: rarch_environment_cb: Environ GET_VARIABLE mupen64-gfxplugin: RetroArch: rarch_environment_cb: auto RetroArch: rarch_environment_cb: Environ GET_VARIABLE mupen64-gfxplugin-accuracy: RetroArch: rarch_environment_cb: medium RetroArch: rarch_environment_cb: Environ GET_VARIABLE mupen64-rspplugin: RetroArch: rarch_environment_cb: auto RetroArch: rarch_environment_cb: Environ GET_VARIABLE mupen64-gfxplugin: RetroArch: rarch_environment_cb: auto RetroArch: rarch_environment_cb: Environ GET_VARIABLE mupen64-rspplugin: RetroArch: rarch_environment_cb: auto RetroArch: rarch_get_cpu_features: [CPUID]: Features: NEON RetroArch: rarch_environment_cb: Environ GET_VARIABLE mupen64-screensize: RetroArch: rarch_environment_cb: 640x480 ReadSpecialSettings: DEFAULT RetroArch: rarch_environment_cb: Environ GET_VARIABLE mupen64-filtering: RetroArch: rarch_environment_cb: automatic RetroArch: rarch_get_cpu_features: [CPUID]: Features: NEON RetroArch: rarch_log_libretro: [libretro INFO] :: NEON detected, using (some) optimized math functions. plugin_start_gfx success. RetroArch: rarch_environment_cb: Environ SET_INPUT_DESCRIPTORS: RetroArch: rarch_environment_cb: RetroPad, User 1, Button "B (bottom)" => "B Button (C-Down)" RetroArch: rarch_environment_cb: RetroPad, User 1, Button "Y (left)" => "(C-Left)" RetroArch: rarch_environment_cb: RetroPad, User 1, Button "Select" => "Change Controls" RetroArch: rarch_environment_cb: RetroPad, User 1, Button "Start" => "START Button" RetroArch: rarch_environment_cb: RetroPad, User 1, Button "D-Pad Up" => "Up (digital)" RetroArch: rarch_environment_cb: RetroPad, User 1, Button "D-Pad Down" => "Down (digital)" RetroArch: rarch_environment_cb: RetroPad, User 1, Button "D-Pad Left" => "Left (digital)" RetroArch: rarch_environment_cb: RetroPad, User 1, Button "D-Pad Right" => "Right (digital)" RetroArch: rarch_environment_cb: RetroPad, User 1, Button "A (right)" => "A Button (C-Right)" RetroArch: rarch_environment_cb: RetroPad, User 1, Button "X (up)" => "(C-Up)" RetroArch: rarch_environment_cb: RetroPad, User 1, Button "L" => "L-Trigger" RetroArch: rarch_environment_cb: RetroPad, User 1, Button "R" => "R-Trigger" RetroArch: rarch_environment_cb: RetroPad, User 1, Button "L2" => "Z-Trigger" RetroArch: rarch_environment_cb: RetroPad, User 1, Button "R2" => "C Buttons Mode" RetroArch: rarch_environment_cb: RetroPad, User 2, Button "B (bottom)" => "B Button (C-Down)" RetroArch: rarch_environment_cb: RetroPad, User 2, Button "Y (left)" => "(C-Left)" RetroArch: rarch_environment_cb: RetroPad, User 2, Button "Select" => "Change Controls" RetroArch: rarch_environment_cb: RetroPad, User 2, Button "Start" => "START Button" RetroArch: rarch_environment_cb: RetroPad, User 2, Button "D-Pad Up" => "Up (digital)" RetroArch: rarch_environment_cb: RetroPad, User 2, Button "D-Pad Down" => "Down (digital)" RetroArch: rarch_environment_cb: RetroPad, User 2, Button "D-Pad Left" => "Left (digital)" RetroArch: rarch_environment_cb: RetroPad, User 2, Button "D-Pad Right" => "Right (digital)" RetroArch: rarch_environment_cb: RetroPad, User 2, Button "A (right)" => "A Button (C-Right)" RetroArch: rarch_environment_cb: RetroPad, User 2, Button "X (up)" => "(C-Up)" RetroArch: rarch_environment_cb: RetroPad, User 2, Button "L" => "L-Trigger" RetroArch: rarch_environment_cb: RetroPad, User 2, Button "R" => "R-Trigger" RetroArch: rarch_environment_cb: RetroPad, User 2, Button "L2" => "Z-Trigger" RetroArch: rarch_environment_cb: RetroPad, User 2, Button "R2" => "C Buttons Mode" RetroArch: rarch_log_libretro: [libretro INFO] :: EmuThread: M64CMD_EXECUTE. RetroArch: rarch_environment_cb: Environ GET_VARIABLE mupen64-cpucore: RetroArch: rarch_environment_cb: dynamic_recompiler RetroArch: rarch_environment_cb: Environ GET_VARIABLE mupen64-disable_expmem: RetroArch: rarch_environment_cb: enabled RetroArch: rarch_log_libretro: [libretro INFO] :: mupen64plus: Memory initialized Gfx RomOpen. ReadSpecialSettings: DEFAULT RetroArch: rarch_environment_cb: Environ GET_VARIABLE mupen64-filtering: RetroArch: rarch_environment_cb: automatic ReadSpecialSettings: SUPER MARIO 64 RetroArch: rarch_environment_cb: Environ GET_VARIABLE mupen64-filtering: RetroArch: rarch_environment_cb: automatic RetroArch: rarch_log_libretro: [libretro INFO] :: Detected RDRAM size: 007fffff RetroArch: rarch_environment_cb: Environ GET_VARIABLE mupen64-screensize: RetroArch: rarch_environment_cb: 640x480 GL_EXT_texture_format_BGRA8888 supported. RetroArch: rarch_log_libretro: [libretro INFO] :: GL_RENDERER: Mali-400 MP Input RomOpen. RetroArch: rarch_log_libretro: [libretro INFO] :: mupen64plus: Starting R4300 emulator: Dynamic Recompiler RetroArch: rarch_log_libretro: [libretro INFO] :: mupen64plus: Init new dynarec RetroArch: rarch_environment_cb: Environ GET_VARIABLE mupen64-screensize: RetroArch: rarch_environment_cb: 640x480 GL_EXT_texture_format_BGRA8888 supported. RetroArch: rarch_get_cpu_features: [CPUID]: Features: NEON [New Thread 0xb1446460 (LWP 8922)] RetroArch: pulse_init: [PulseAudio]: Requested 24576 bytes buffer, got 29952. RetroArch: rarch_get_cpu_features: [CPUID]: Features: NEON RetroArch: gl_set_nonblock_state: [GL]: VSync => on RetroArch: gfx_ctx_xegl_swap_interval: [X/EGL]: eglSwapInterval(1) RetroArch: rarch_main_command: Loading history file: [/home/odroid/.config/retroarch/retroarch-content-history.txt]. RetroArch: gl_set_nonblock_state: [GL]: VSync => on RetroArch: gfx_ctx_xegl_swap_interval: [X/EGL]: eglSwapInterval(1) RetroArch: rarch_environment_cb: Environ (Private) EXEC. RetroArch: gl_set_nonblock_state: [GL]: VSync => on RetroArch: gfx_ctx_xegl_swap_interval: [X/EGL]: eglSwapInterval(1) Cannot access memory at address 0x7cfe Program received signal SIGSEGV, Segmentation fault. Cannot access memory at address 0x7cfe 0xa9cd4720 in ?? () from /usr/lib/libretro/mupen64plus_libretro.so (gdb) bt full #-1 0xa9cd4720 in ?? () from /usr/lib/libretro/mupen64plus_libretro.so No symbol table info available. warning: Unable to restore previously selected frame.
Don't need that patch if you are using clang (3.4)
Trying to compile for ARM (odroid U3), and I'm getting segfault, backtrace below (Cannot access memory at address 0x7cfe). I only manage to run mupen with this patch: