Skip to content

Crashes when loading from GUI, but not loading from CLI #107

@DocMAX

Description

@DocMAX

retroarch -L ~/.config/retroarch/cores/pcsx2_libretro.so roms/ps2/Ico.cso

This works, but in GUI it crashes...

[INFO] [Environ] SET_CONTROLLER_INFO.
[INFO] [Environ] SET_INPUT_DESCRIPTORS.
[INFO] [Environ] GET_PREFERRED_HW_RENDER, video driver: "vulkan"...
[INFO] [Environ] GET_PREFERRED_HW_RENDER: RETRO_HW_CONTEXT_VULKAN.
[INFO] [Environ] SET_HW_RENDER, context type: vulkan.
[INFO] [HW] Requesting Vulkan context.
[INFO] [Environ] SET_HW_RENDER_CONTEXT_NEGOTIATION_INTERFACE.
[INFO] [SRAM] Skipping SRAM load.
[INFO] [Core] Version of libretro API: 1, Compiled against API: 1
[INFO] [Core] Geometry: 640x448, Aspect: 1.333, FPS: 59.94, Sample rate: 48000.00 Hz.
[INFO] [Video] Set video size to: 1280x720.
[INFO] [Video] Using HW render, vulkan driver forced.
fish: Job 1, 'retroarch' terminated by signal SIGABRT (Abbruch)

(gdb) bt full
#0  0x00007fff63fb5933 in filestream_close (stream=0x7fff98002) at /home/docmax/github/ps2/libretro/libretro-common/streams/file_stream.c:501
        output = 32767
        fp = 0x7fff63fbe924 <std::unique_lock<std::mutex>::unlock()+64>
#1  0x00007fff6456febc in rfclose (stream=0x7fff98002) at /home/docmax/github/ps2/common/FileSystem.cpp:134
#2  0x00007fff64285015 in CsoFileReader::Close2 (this=0x7fff98002ab0) at /home/docmax/github/ps2/pcsx2/CDVD/CsoFileReader.cpp:185
#3  0x00007fff64284b8b in CsoFileReader::Open2 (this=0x7fff98002ab0, fileName="/home/docmax/roms/ps2/Shadow Of The Colossus.cso") at /home/docmax/github/ps2/pcsx2/CDVD/CsoFileReader.cpp:89
        success = false
#4  0x00007fff64288a57 in ThreadedFileReader::Open (this=0x7fff98002ab0, filename="") at /home/docmax/github/ps2/pcsx2/CDVD/ThreadedFileReader.cpp:306
#5  0x00007fff64281485 in InputIsoFile::Open (this=0x7fff66c395e0 <iso>, srcfile="") at /home/docmax/github/ps2/pcsx2/CDVD/InputIsoFile.cpp:186
#6  0x00007fff6427fa8b in ISOopen (pTitle=0x7fff98006d70 "/home/docmax/roms/ps2/Shadow Of The Colossus.cso") at /home/docmax/github/ps2/pcsx2/CDVD/CDVDisoReader.cpp:53
#7  0x00007fff64277931 in DoCDVDopen () at /home/docmax/github/ps2/pcsx2/CDVD/CDVDcommon.cpp:312
        CurrentSourceType = 0 '\000'
        ret = 32767
#8  0x00007fff642a1217 in VMManager::Initialize (boot_params=...) at /home/docmax/github/ps2/pcsx2/VMManager.cpp:610
        state_to_load = ""
#9  0x00007fff63f8e1bc in cpu_thread_entry (boot_params=...) at /home/docmax/github/ps2/libretro/main.cpp:1740
#10 0x00007fff63f966cc in std::__invoke_impl<void, void (*)(VMBootParameters), VMBootParameters> (__f=@0x55555b8d1ba0: 0x7fff63f8e182 <cpu_thread_entry(VMBootParameters)>) at /usr/include/c++/15.2.1/bits/invoke.h:63
#11 0x00007fff63f965c6 in std::__invoke<void (*)(VMBootParameters), VMBootParameters> (__fn=@0x55555b8d1ba0: 0x7fff63f8e182 <cpu_thread_entry(VMBootParameters)>) at /usr/include/c++/15.2.1/bits/invoke.h:98
#12 0x00007fff63f9650f in std::thread::_Invoker<std::tuple<void (*)(VMBootParameters), VMBootParameters> >::_M_invoke<0ul, 1ul> (this=0x55555b8d1b58) at /usr/include/c++/15.2.1/bits/std_thread.h:303
#13 0x00007fff63f964c8 in std::thread::_Invoker<std::tuple<void (*)(VMBootParameters), VMBootParameters> >::operator() (this=0x55555b8d1b58) at /usr/include/c++/15.2.1/bits/std_thread.h:310
#14 0x00007fff63f96400 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(VMBootParameters), VMBootParameters> > >::_M_run (this=0x55555b8d1b50) at /usr/include/c++/15.2.1/bits/std_thread.h:255
#15 0x00007ffff05002f4 in std::execute_native_thread_routine (__p=0x55555b8d1b50) at /usr/src/debug/gcc/gcc/libstdc++-v3/src/c++11/thread.cc:104
        __t = std::unique_ptr<std::thread::_State> = {get() = 0x55555b8d1b50}
#16 0x00007ffff00a80d6 in ??? () at /usr/lib/libc.so.6
#17 0x00007ffff013b05c in ??? () at /usr/lib/libc.so.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions