Current Behavior
Build Environment
Building on commit a02ba9d
Build command:
cmake -B build -S cemu -GNinja -DENABLE_VCPKG=OFF -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_EXE_LINKER_FLAGS_INIT="-fuse-ld=lld" -DCMAKE_SHARED_LINKER_FLAGS_INIT="-fuse-ld=lld" -DCMAKE_C_FLAGS_INIT="-flto=thin -g" -DCMAKE_CXX_FLAGS_INIT="-flto=thin -g"
cmake --build build
I have ensured that I have no missing build dependencies nor runtime dependencies installed on my system right now; I check the cmake output and nothing is missing.
Error
The program gives me the following error when I go to start it:
Error: signal 6:
/usr/lib/libc.so.6(+0x9a29c) [0x7f7c52e9a29c]
/usr/lib/libc.so.6(+0x3e8f0) [0x7f7c52e3e8f0]
/usr/lib/libc.so.6(+0x9a29c) [0x7f7c52e9a29c]
/usr/lib/libc.so.6(gsignal+0x20) [0x7f7c52e3e7d0]+0x20) [0x7f7c52e3e7d0]
/usr/lib/libc.so.6(abort+0x26) [0x7f7c52e25681]+0x26) [0x7f7c52e25681]
/usr/lib/libstdc++.so.6(+0x9ac50) [0x7f7c5329ac50]
/usr/lib/libstdc++.so.6(+0xb673a) [0x7f7c532b673a]
/usr/lib/libstdc++.so.6(_ZSt10unexpectedv+0) [0x7f7c5329a5e9]+0) [0x7f7c5329a5e9]
/usr/lib/libstdc++.so.6(+0xb69f6) [0x7f7c532b69f6]
./Cemu_(SDLControllerProvider::InitSDL()+0x21a) [0x5569252be67a]
./Cemu_(SDLControllerProvider::event_thread()+0x30) [0x5569252bd830]
./Cemu_(void std::__invoke_impl<void, void (SDLControllerProvider::*)(), SDLControllerProvider*>(std::__invoke_memfun_deref, void (SDLControllerProvider::*&&)(), SDLControllerProvider*&&)+0x41) [0x5569252bf7e1]
./Cemu_(std::__invoke_result<void (SDLControllerProvider::*)(), SDLControllerProvider*>::type std::__invoke<void (SDLControllerProvider::*)(), SDLControllerProvider*>(void (SDLControllerProvider::*&&)(), SDLControllerProvider*&&)+0x1d) [0x5569252bf74d]
./Cemu_(void std::thread::_Invoker<std::tuple<void (SDLControllerProvider::*)(), SDLControllerProvider*> >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>)+0x31) [0x5569252bf721]
./Cemu_(std::thread::_Invoker<std::tuple<void (SDLControllerProvider::*)(), SDLControllerProvider*> >::operator()()+0x15) [0x5569252bf6e5]
./Cemu_(std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (SDLControllerProvider::*)(), SDLControllerProvider*> > >::_M_run()+0x19) [0x5569252bf5c9]
/usr/lib/libstdc++.so.6(+0xeb919) [0x7f7c532eb919]
/usr/lib/libc.so.6(+0x981b9) [0x7f7c52e981b9]
/usr/lib/libc.so.6(+0x11d21c) [0x7f7c52f1d21c]
-----------------------------------------
Game info
-----------------------------------------
Not running
-----------------------------------------
Active PPC instance
-----------------------------------------
Not active
-----------------------------------------
PPC threads
-----------------------------------------
None active
GDB gives the following backtrace:
Thread 13 "SDL_events" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffdcbfb6c0 (LWP 34316)]
__pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
44 return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
(gdb) bt
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1 0x00007ffff369a363 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89
#2 0x00007ffff363e7d0 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3 0x00007ffff3625681 in __GI_abort () at abort.c:77
#4 0x00007ffff3a9ac50 in __gnu_cxx::__verbose_terminate_handler () at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/vterminate.cc:95
#5 0x00007ffff3ab673a in __cxxabiv1::__terminate (handler=<optimized out>) at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:48
#6 0x00007ffff3a9a5e9 in std::terminate () at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:58
#7 0x00007ffff3ab69f6 in __cxxabiv1::__cxa_throw (obj=<optimized out>, tinfo=0x7ffff3cc38d0 <typeinfo for std::runtime_error>, dest=0x7ffff3acf110 <std::runtime_error::~runtime_error()>)
at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/eh_throw.cc:98
#8 0x000055555664067a in SDLControllerProvider::InitSDL () at /home/hurricane/git/cemu/src/input/api/SDL/SDLControllerProvider.cpp:132
#9 0x000055555663f830 in SDLControllerProvider::event_thread (this=0x555556fbe010) at /home/hurricane/git/cemu/src/input/api/SDL/SDLControllerProvider.cpp:292
#10 0x00005555566417e1 in std::__invoke_impl<void, void (SDLControllerProvider::*)(), SDLControllerProvider*>
(__f=@0x555556f3a2e0: (void (SDLControllerProvider::*)(class SDLControllerProvider * const)) 0x55555663f800 <SDLControllerProvider::event_thread()>, __t=@0x555556f3a2d8: 0x555556fbe010)
at /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/16.1.1/../../../../include/c++/16.1.1/bits/invoke.h:76
#11 0x000055555664174d in std::__invoke<void (SDLControllerProvider::*)(), SDLControllerProvider*>
(__fn=@0x555556f3a2e0: (void (SDLControllerProvider::*)(class SDLControllerProvider * const)) 0x55555663f800 <SDLControllerProvider::event_thread()>, __args=@0x555556f3a2d8: 0x555556fbe010)
at /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/16.1.1/../../../../include/c++/16.1.1/bits/invoke.h:98
#12 0x0000555556641721 in std::thread::_Invoker<std::tuple<void (SDLControllerProvider::*)(), SDLControllerProvider*> >::_M_invoke<0ul, 1ul> (this=0x555556f3a2d8)
at /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/16.1.1/../../../../include/c++/16.1.1/bits/std_thread.h:303
#13 0x00005555566416e5 in std::thread::_Invoker<std::tuple<void (SDLControllerProvider::*)(), SDLControllerProvider*> >::operator() (this=0x555556f3a2d8)
at /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/16.1.1/../../../../include/c++/16.1.1/bits/std_thread.h:310
#14 0x00005555566415c9 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (SDLControllerProvider::*)(), SDLControllerProvider*> > >::_M_run (this=0x555556f3a2d0)
at /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/16.1.1/../../../../include/c++/16.1.1/bits/std_thread.h:255
#15 0x00007ffff3aeb919 in std::execute_native_thread_routine (__p=0x555556f3a2d0) at /usr/src/debug/gcc/gcc/libstdc++-v3/src/c++11/thread.cc:105
#16 0x00007ffff36981b9 in start_thread (arg=<optimized out>) at pthread_create.c:454
#17 0x00007ffff371d21c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
Expected Behavior
For Cemu to launch.
Steps to Reproduce
- Be on Arch Linux, latest everything
- git clone Cemu and setup up a build with Clang + LLD + ThinLTO
- Build Cemu
System Info (Optional)
Arch Linux
KDE 6.6.5
Mesa 26.1.2-2
Clang + LLVM 22.1.5
glibc 2.43+r22+g8362e8ce10b2
GCC 16.1.1+r12+g301eb08fa2c5
SDL2 2.32.10
SDL3 3.4.8
SDL2-Compat (Tried it with this as well) 2.32.68
Emulation Settings (Optional)
No response
Logs (Optional)
No response
Current Behavior
Build Environment
Building on commit a02ba9d
Build command:
I have ensured that I have no missing build dependencies nor runtime dependencies installed on my system right now; I check the cmake output and nothing is missing.
Error
The program gives me the following error when I go to start it:
GDB gives the following backtrace:
Expected Behavior
For Cemu to launch.
Steps to Reproduce
System Info (Optional)
Arch Linux
KDE 6.6.5
Mesa 26.1.2-2
Clang + LLVM 22.1.5
glibc 2.43+r22+g8362e8ce10b2
GCC 16.1.1+r12+g301eb08fa2c5
SDL2 2.32.10
SDL3 3.4.8
SDL2-Compat (Tried it with this as well) 2.32.68
Emulation Settings (Optional)
No response
Logs (Optional)
No response