libretro / flycast

Flycast is a multiplatform Sega Dreamcast emulator. NOTE: No longer actively developed, use upstream repo for libretro from now on - https://github.com/flyinghead/flycast
http://reicast.com
GNU General Public License v2.0
152 stars 77 forks source link

Android Crash on Subsequent Loads after core Update #1116

Open sagman76 opened 2 years ago

sagman76 commented 2 years ago

After updating to the latest core on my Shield Tablet. It loads once but after exiting RA then trying to load Flycast again it just crashes on launch of RA. Log file below which shows a Nvmem warning.. Reverted back to 0.1 for now as that solves the issue. retroarch2021_12_0817_10_07 (1).log

Using old --libretro behavior. Setting libretro_directory to "/data/user/0/com.retroarch/cores/" instead. RetroArch 1.9.14 (Git b078d52) === Build ======================================= Capabilities: NEON VFPv3 VFPv4 [INFO] Built: Dec 7 2021 [INFO] Version: 1.9.14 [INFO] Git: b078d52 [INFO] ================================================= [Input]: Found input driver: "android". Environ: SET_PIXEL_FORMAT: RGB565. [Core]: Version of libretro API: 1, Compiled against API: 1 [Audio]: Set audio input rate to: 48000.00 Hz. [Video]: Set video size to: 720x720. [Video]: Starting threaded video driver ... Android EGL: GLES version = 2. [EGL] Falling back to eglGetDisplay [EGL]: EGL version: 1.4 [GL]: Found GL context: "egl_android". [GL]: Detecting screen resolution: 0x0. [EGL]: Current context: 0x9b31da80. [GL]: Vendor: NVIDIA Corporation, Renderer: NVIDIA Tegra. [GL]: Version: OpenGL ES 3.2 NVIDIA 361.00. [GL]: Using resolution 1920x1200. [GL]: Default shader backend found: glsl. [Shader driver]: Using GLSL shader backend. [GL]: Stock GLSL shaders will be used. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. Setting up menu pipeline shaders for XMB ... [GLSL]: Compiling ribbon shader.. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GLSL]: Compiling simple ribbon shader.. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GLSL]: Compiling snow shader.. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GLSL]: Compiling modern snow shader.. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GLSL]: Compiling bokeh shader.. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GLSL]: Compiling snowflake shader.. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GL]: Using 4 textures. [GL]: Loaded 1 program(s). [Joypad]: Found joypad driver: "android". [Font]: Using font rendering backend: "stb-unicode". [Video]: Found display server: "android". [OpenSL]: Requested audio latency: 128 ms. [OpenSL]: Setting audio latency: Block size = 512, Blocks = 48, Total = 24576 ... [Display]: Found display driver: "gl". [Font]: Using font rendering backend: "stb-unicode". [Font]: Using font rendering backend: "stb-unicode". [Font]: Using font rendering backend: "stb-unicode". [Font]: Using font rendering backend: "stb-unicode". [Font]: Using font rendering backend: "stb-unicode". [SRAM]: SRAM will not be saved. [Playlist]: Loading history file: "/storage/emulated/0/Android/data/com.retroarch/files/content_history.lpl". [Playlist]: Loading history file: "/storage/emulated/0/Android/data/com.retroarch/files/content_music_history.lpl". [Playlist]: Loading history file: "/storage/emulated/0/Android/data/com.retroarch/files/content_image_history.lpl". [Playlist]: Loading favorites file: "/storage/emulated/0/Android/data/com.retroarch/files/content_favorites.lpl". [Font]: Using font rendering backend: "stb-unicode". [Font]: Using font rendering backend: "stb-unicode". [Font]: Using font rendering backend: "stb-unicode". [Core]: Using content: "/storage/CE90B75F90B74D29/Hyperspin/Roms/Sega Dreamcast/roms/Cannon Spike (USA).chd". [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds. [Core]: Unloading core.. [Core]: Unloading core symbols.. Threaded video stats: Frames pushed: 195, Frames dropped: 0. RetroArch 1.9.14 (Git b078d52) === Build ======================================= Capabilities: NEON VFPv3 VFPv4 [INFO] Built: Dec 7 2021 [INFO] Version: 1.9.14 [INFO] Git: b078d52 [INFO] ================================================= jni_thread_destruct() [Input]: Found input driver: "android". [Core]: Loading dynamic libretro core from: "/data/user/0/com.retroarch/cores/flycast_libretro_android.so" [Overrides]: Core-specific overrides found at "/sdcard/RetroArch/config/Flycast/Flycast.cfg". [Overrides]: No content-dir-specific overrides found at "/sdcard/RetroArch/config/Flycast/roms.cfg". [Overrides]: Game-specific overrides found at "/sdcard/RetroArch/config/Flycast/Cannon Spike (USA).cfg". [Overrides]: Game-specific overrides stacking on top of previous overrides. [Config]: Appending config "/sdcard/RetroArch/config/Flycast/Flycast.cfg". [Config]: Appending config "/sdcard/RetroArch/config/Flycast/Cannon Spike (USA).cfg".

Environ: GET_LANGUAGE: "0".

[Remaps]: Remap directory: "/storage/emulated/0/RetroArch/config/remaps". [Remaps]: Core-specific remap found at "/storage/emulated/0/RetroArch/config/remaps/Flycast/Flycast.rmp". [Overrides]: Redirecting save file to "/storage/emulated/0/RetroArch/saves/Cannon Spike (USA).srm". [Overrides]: Redirecting save state to "/storage/emulated/0/RetroArch/states/Cannon Spike (USA).state".

shell/libretro/libretro.cpp:256 N[BOOT]: retro_init

Environ: SET_PIXEL_FORMAT: XRGB8888.

[Content]: Content loading skipped. Implementation will load it on its own. shell/libretro/libretro.cpp:1518 N[BOOT]: retro_load_game: /storage/CE90B75F90B74D29/Hyperspin/Roms/Sega Dreamcast/roms/Cannon Spike (USA).chd

Environ: SYSTEM_DIRECTORY: "/storage/emulated/0/RetroArch/system".

Environ: SET_SAVE_STATE_IN_BACKGROUND: yes. File extension is: .chd Environ: GET_PREFERRED_HW_RENDER, video driver name: gl. Environ: GET_PREFERRED_HW_RENDER - Context callback set to RETRO_HW_CONTEXT_OPENGL. Environ: SET_HW_RENDER, context type: gl. Requesting OpenGLES3 context. Reached end of SET_HW_RENDER. core/hw/mem/_vmem.cpp:485 W[VMEM]: Warning! nvmem is DISABLED (due to failure or not being built-in core/hw/mem/_vmem.cpp:485 W[VMEM]: Warning! nvmem is DISABLED (due to failure or not being built-in Verify Failed : !sh4_int_bCpuRun in Sh4_int_Reset -> /builds/libretro/flycast-upstream/core/hw/sh4/interpr/sh4_interpreter.cpp : 92 shell/libretro/libretro.cpp:2773 E[COMMON]: DEBUGBREAK!