Closed neoedmund closed 2 years ago
NullOOJavaAI
if(1)return;
void CSoundSource::PlayStream(IAudioChannel* channel, const std::string& file, float volume)
guessing: fail to play ogg stuff but caught by jvm?
log:
[t=00:00:20.459564][f=0000031] Loaded atmosphere CEGs config for map: DSDR 4.0 An irrecoverable stack overflow has occurred. [t=00:00:23.159680][f=0000112] [CrashHandler] Error: Segmentation fault in Spring 105.1.1-930-g9c7558c BAR105 [t=00:00:23.159713][f=0000112] [CrashHandler] Error: Halted Stacktrace for Spring 105.1.1-930-g9c7558c BAR105 (SIGSEGV) using libunwind: Please check if any of your loaded .so files has enabled executable stack (see man page execstack(8)) [t=00:00:23.412006][f=0000112] [CrashHandler] Error: <00> ./springrts/spring-bar105/rts/System/Platform/Linux/CrashHandler.cpp:907 CrashHandler::HaltedStacktrace(siginfo_t*, ucontext_t*, char const*) [t=00:00:23.412030][f=0000112] [CrashHandler] Error: [00] 0x694bf4 /xxxx/spring-bar105/rts/System/Platform/Linux/CrashHandler.cpp:907 [t=00:00:23.412035][f=0000112] [CrashHandler] Error: <01> ./springrts/spring-bar105/rts/System/Platform/Linux/CrashHandler.cpp:935 CrashHandler::CleanupStacktrace(int) [t=00:00:23.412039][f=0000112] [CrashHandler] Error: <01> 0x695263 /xxxx/spring-bar105/rts/System/Platform/Linux/CrashHandler.cpp:935 [t=00:00:23.412044][f=0000112] [CrashHandler] Error: <01> ./springrts/spring-bar105/rts/System/Platform/Linux/CrashHandler.cpp:997 CrashHandler::HandleSignal(int, siginfo_t*, void*) [t=00:00:23.412048][f=0000112] [CrashHandler] Error: [01] 0x695263 /xxxx/spring-bar105/rts/System/Platform/Linux/CrashHandler.cpp:997 [t=00:00:23.412053][f=0000112] [CrashHandler] Error: <02> /opt/jdk-17/lib/server/libjvm.so(+0xcb8949) [0x7f6843cb8949] PosixSignals::chained_handler(int, siginfo*, void*) [clone .part.0] [t=00:00:23.412057][f=0000112] [CrashHandler] Error: [02] 0xcb8949 ??:? [t=00:00:23.412061][f=0000112] [CrashHandler] Error: <03> /opt/jdk-17/lib/server/libjvm.so(JVM_handle_linux_signal+0x256) [0x7f6843cb93a6] JVM_handle_linux_signal [t=00:00:23.412065][f=0000112] [CrashHandler] Error: <03> 0xcb93a6 ??:? [t=00:00:23.412069][f=0000112] [CrashHandler] Error: <04> /lib/x86_64-linux-gnu/libpthread.so.0(+0x14140) [0x7f69e72a6140] __restore_rt [t=00:00:23.412073][f=0000112] [CrashHandler] Error: <04> 0x14140 ??:? [t=00:00:23.412078][f=0000112] [CrashHandler] Error: <05> /lib/x86_64-linux-gnu/libc.so.6(+0x163077) [0x7f69e65f2077] __nss_database_lookup [t=00:00:23.412082][f=0000112] [CrashHandler] Error: [05] 0x163077 ??:? [t=00:00:23.412087][f=0000112] [CrashHandler] Error: <06> ./springrts/spring-bar105/rts/System/Sound/OpenAL/OggStream.h:16 COggStream::operator=(COggStream const&) [t=00:00:23.412091][f=0000112] [CrashHandler] Error: <06> 0x6f14ee /xxxx/spring-bar105/rts/System/Sound/OpenAL/OggStream.h:16 [t=00:00:23.412105][f=0000112] [CrashHandler] Error: <06> ./springrts/spring-bar105/rts/System/Sound/OpenAL/SoundSource.cpp:293 CSoundSource::PlayStream(IAudioChannel*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, float) [t=00:00:23.412110][f=0000112] [CrashHandler] Error: [06] 0x6f14ee /xxxx/spring-bar105/rts/System/Sound/OpenAL/SoundSource.cpp:293 [t=00:00:23.412115][f=0000112] [CrashHandler] Error: <07> ./springrts/spring-bar105/rts/System/Sound/OpenAL/AudioChannel.cpp:194 AudioChannel::StreamPlay(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, float, bool) [t=00:00:23.412120][f=0000112] [CrashHandler] Error: [07] 0x6e2e74 /xxxx/spring-bar105/rts/System/Sound/OpenAL/AudioChannel.cpp:194 [t=00:00:23.412124][f=0000112] [CrashHandler] Error: <08> .../include/c++/10/bits/basic_string.h:187 std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_data() const [t=00:00:23.412129][f=0000112] [CrashHandler] Error: <08> 0x394afb /usr/include/c++/10/bits/basic_string.h:187 [t=00:00:23.412134][f=0000112] [CrashHandler] Error: <08> .../include/c++/10/bits/basic_string.h:222 std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_is_local() const [t=00:00:23.412138][f=0000112] [CrashHandler] Error: <08> 0x394afb /usr/include/c++/10/bits/basic_string.h:222 [t=00:00:23.412143][f=0000112] [CrashHandler] Error: <08> .../include/c++/10/bits/basic_string.h:231 std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_dispose() [t=00:00:23.412148][f=0000112] [CrashHandler] Error: <08> 0x394afb /usr/include/c++/10/bits/basic_string.h:231 [t=00:00:23.412153][f=0000112] [CrashHandler] Error: <08> .../include/c++/10/bits/basic_string.h:658 std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() [t=00:00:23.412157][f=0000112] [CrashHandler] Error: <08> 0x394afb /usr/include/c++/10/bits/basic_string.h:658 [t=00:00:23.412162][f=0000112] [CrashHandler] Error: <08> ./springrts/spring-bar105/rts/Lua/LuaUnsyncedCtrl.cpp:600 LuaUnsyncedCtrl::PlaySoundStream(lua_State*) [t=00:00:23.412167][f=0000112] [CrashHandler] Error: [08] 0x394afb /xxxx/spring-bar105/rts/Lua/LuaUnsyncedCtrl.cpp:600 [t=00:00:23.412171][f=0000112] [CrashHandler] Error: <09> ./springrts/spring-bar105/rts/lib/lua/src/ldo.cpp:321 luaD_precall(lua_State*, lua_TValue*, int) [t=00:00:23.412176][f=0000112] [CrashHandler] Error: [09] 0x719a70 /xxxx/spring-bar105/rts/lib/lua/src/ldo.cpp:321 [t=00:00:23.412181][f=0000112] [CrashHandler] Error: <10> ./springrts/spring-bar105/rts/lib/lua/src/lvm.cpp:620 luaV_execute(lua_State*, int) [t=00:00:23.412185][f=0000112] [CrashHandler] Error: [10] 0x728e54 /xxxx/spring-bar105/rts/lib/lua/src/lvm.cpp:620 [t=00:00:23.412190][f=0000112] [CrashHandler] Error: <11> ./springrts/spring-bar105/rts/lib/lua/src/ldo.cpp:378 luaD_call(lua_State*, lua_TValue*, int) [t=00:00:23.412195][f=0000112] [CrashHandler] Error: [11] 0x719ed5 /xxxx/spring-bar105/rts/lib/lua/src/ldo.cpp:378 [t=00:00:23.412202][f=0000112] [CrashHandler] Error: <12> ./springrts/spring-bar105/rts/lib/lua/src/ldo.cpp:119 luaD_rawrunprotected(lua_State*, void (*)(lua_State*, void*), void*) [t=00:00:23.412206][f=0000112] [CrashHandler] Error: [12] 0x7193fe /xxxx/spring-bar105/rts/lib/lua/src/ldo.cpp:119 [t=00:00:23.412211][f=0000112] [CrashHandler] Error: <13> ./springrts/spring-bar105/rts/lib/lua/src/ldo.cpp:464 luaD_pcall(lua_State*, void (*)(lua_State*, void*), void*, long, long) [t=00:00:23.412215][f=0000112] [CrashHandler] Error: [13] 0x71a1b0 /xxxx/spring-bar105/rts/lib/lua/src/ldo.cpp:464 [t=00:00:23.412220][f=0000112] [CrashHandler] Error: <14> ./springrts/spring-bar105/rts/lib/lua/src/lapi.cpp:833 lua_pcall(lua_State*, int, int, int) [t=00:00:23.412225][f=0000112] [CrashHandler] Error: [14] 0x713a25 /xxxx/spring-bar105/rts/lib/lua/src/lapi.cpp:833 [t=00:00:23.412229][f=0000112] [CrashHandler] Error: <15> ./springrts/spring-bar105/rts/lib/lua/src/lbaselib.cpp:378 luaB_pcall(lua_State*) [t=00:00:23.412234][f=0000112] [CrashHandler] Error: [15] 0x715a18 /xxxx/spring-bar105/rts/lib/lua/src/lbaselib.cpp:378 [t=00:00:23.412239][f=0000112] [CrashHandler] Error: <16> ./springrts/spring-bar105/rts/lib/lua/src/ldo.cpp:321 luaD_precall(lua_State*, lua_TValue*, int) [t=00:00:23.412243][f=0000112] [CrashHandler] Error: [16] 0x719a70 /xxxx/spring-bar105/rts/lib/lua/src/ldo.cpp:321 [t=00:00:23.412248][f=0000112] [CrashHandler] Error: <17> ./springrts/spring-bar105/rts/lib/lua/src/lvm.cpp:620 luaV_execute(lua_State*, int) [t=00:00:23.412252][f=0000112] [CrashHandler] Error: [17] 0x728e54 /xxxx/spring-bar105/rts/lib/lua/src/lvm.cpp:620 [t=00:00:23.412257][f=0000112] [CrashHandler] Error: <18> ./springrts/spring-bar105/rts/lib/lua/src/ldo.cpp:378 luaD_call(lua_State*, lua_TValue*, int) [t=00:00:23.412262][f=0000112] [CrashHandler] Error: [18] 0x719ed5 /xxxx/spring-bar105/rts/lib/lua/src/ldo.cpp:378 [t=00:00:23.412266][f=0000112] [CrashHandler] Error: <19> ./springrts/spring-bar105/rts/lib/lua/src/ldo.cpp:119 luaD_rawrunprotected(lua_State*, void (*)(lua_State*, void*), void*) [t=00:00:23.412271][f=0000112] [CrashHandler] Error: [19] 0x7193fe /xxxx/spring-bar105/rts/lib/lua/src/ldo.cpp:119 [t=00:00:23.412275][f=0000112] [CrashHandler] Error: <20> ./springrts/spring-bar105/rts/lib/lua/src/ldo.cpp:464 luaD_pcall(lua_State*, void (*)(lua_State*, void*), void*, long, long) [t=00:00:23.412280][f=0000112] [CrashHandler] Error: [20] 0x71a1b0 /xxxx/spring-bar105/rts/lib/lua/src/ldo.cpp:464 [t=00:00:23.412284][f=0000112] [CrashHandler] Error: <21> ./springrts/spring-bar105/rts/lib/lua/src/lapi.cpp:833 lua_pcall(lua_State*, int, int, int) [t=00:00:23.412289][f=0000112] [CrashHandler] Error: [21] 0x713a25 /xxxx/spring-bar105/rts/lib/lua/src/lapi.cpp:833 [t=00:00:23.412296][f=0000112] [CrashHandler] Error: <22> ./springrts/spring-bar105/rts/Lua/LuaHandle.cpp:329 CLuaHandle::RunCallInTraceback(lua_State*, LuaHashString const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, int, int, int, bool) [t=00:00:23.412301][f=0000112] [CrashHandler] Error: <22> 0x2d73e7 /xxxx/spring-bar105/rts/Lua/LuaHandle.cpp:329 [t=00:00:23.412306][f=0000112] [CrashHandler] Error: <22> ./springrts/spring-bar105/rts/Lua/LuaHandle.cpp:413 CLuaHandle::RunCallInTraceback(lua_State*, LuaHashString const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, int, int, int, bool) [t=00:00:23.412310][f=0000112] [CrashHandler] Error: [22] 0x2d73e7 /xxxx/spring-bar105/rts/Lua/LuaHandle.cpp:413 [t=00:00:23.412315][f=0000112] [CrashHandler] Error: <23> ./springrts/spring-bar105/rts/Lua/LuaHandle.cpp:423 CLuaHandle::RunCallInTraceback(lua_State*, LuaHashString const&, int, int, int, bool) [t=00:00:23.412320][f=0000112] [CrashHandler] Error: [23] 0x2d7a98 /xxxx/spring-bar105/rts/Lua/LuaHandle.cpp:423 [t=00:00:23.412324][f=0000112] [CrashHandler] Error: <24> ./springrts/spring-bar105/rts/Lua/LuaHandle.cpp:658 CLuaHandle::GameFrame(int) [t=00:00:23.412329][f=0000112] [CrashHandler] Error: [24] 0x2e3d76 /xxxx/spring-bar105/rts/Lua/LuaHandle.cpp:658 [t=00:00:23.412333][f=0000112] [CrashHandler] Error: <25> .../include/c++/10/bits/stl_vector.h:919 (discriminator 4) std::vector<CEventClient*, std::allocator<CEventClient*> >::size() const [t=00:00:23.412338][f=0000112] [CrashHandler] Error: <25> 0x5ee460 /usr/include/c++/10/bits/stl_vector.h:919 (discriminator 4) [t=00:00:23.412343][f=0000112] [CrashHandler] Error: <25> ./springrts/spring-bar105/rts/System/EventHandler.cpp:461 (discriminator 4) void IterateEventClientList<std::vector<CEventClient*, std::allocator<CEventClient*> >, void (CEventClient::*)(int), int&>(std::vector<CEventClient*, std::allocator<CEventClient*> >&, void (CEventClient::* const&)(int), int&) [t=00:00:23.412348][f=0000112] [CrashHandler] Error: [25] 0x5ee460 /xxxx/spring-bar105/rts/System/EventHandler.cpp:461 (discriminator 4) [t=00:00:23.412352][f=0000112] [CrashHandler] Error: <26> ./springrts/spring-bar105/rts/System/EventHandler.cpp:505 CEventHandler::GameFrame(int) [t=00:00:23.412357][f=0000112] [CrashHandler] Error: [26] 0x5e7d20 /xxxx/spring-bar105/rts/System/EventHandler.cpp:505 [t=00:00:23.412361][f=0000112] [CrashHandler] Error: <27> ./springrts/spring-bar105/rts/Game/Game.cpp:1752 CGame::SimFrame() [t=00:00:23.412366][f=0000112] [CrashHandler] Error: [27] 0x186ba2 /xxxx/spring-bar105/rts/Game/Game.cpp:1752 [t=00:00:23.412371][f=0000112] [CrashHandler] Error: <28> ./springrts/spring-bar105/rts/Net/NetCommands.cpp:568 CGame::ClientReadNet() [t=00:00:23.412375][f=0000112] [CrashHandler] Error: [28] 0x2b4960 /xxxx/spring-bar105/rts/Net/NetCommands.cpp:568 [t=00:00:23.412380][f=0000112] [CrashHandler] Error: <29> .../include/c++/10/bits/atomic_base.h:426 std::__atomic_base<bool>::load(std::memory_order) const [t=00:00:23.412387][f=0000112] [CrashHandler] Error: <29> 0x18d2d5 /usr/include/c++/10/bits/atomic_base.h:426 [t=00:00:23.412391][f=0000112] [CrashHandler] Error: <29> .../include/c++/10/atomic:87 std::atomic<bool>::operator bool() const [t=00:00:23.412396][f=0000112] [CrashHandler] Error: <29> 0x18d2d5 /usr/include/c++/10/atomic:87 [t=00:00:23.412401][f=0000112] [CrashHandler] Error: <29> ./springrts/spring-bar105/rts/Game/Game.cpp:1210 CGame::Update() [t=00:00:23.412405][f=0000112] [CrashHandler] Error: [29] 0x18d2d5 /xxxx/spring-bar105/rts/Game/Game.cpp:1210 [t=00:00:23.412410][f=0000112] [CrashHandler] Error: <30> ./springrts/spring-bar105/rts/System/SpringApp.cpp:806 (discriminator 2) SpringApp::Update() [t=00:00:23.412415][f=0000112] [CrashHandler] Error: [30] 0x61596d /xxxx/spring-bar105/rts/System/SpringApp.cpp:806 (discriminator 2) [t=00:00:23.412419][f=0000112] [CrashHandler] Error: <31> .../include/c++/10/bits/atomic_base.h:426 std::__atomic_base<bool>::load(std::memory_order) const [t=00:00:23.412424][f=0000112] [CrashHandler] Error: <31> 0x618bd8 /usr/include/c++/10/bits/atomic_base.h:426 [t=00:00:23.412429][f=0000112] [CrashHandler] Error: <31> .../include/c++/10/atomic:87 std::atomic<bool>::operator bool() const [t=00:00:23.412433][f=0000112] [CrashHandler] Error: <31> 0x618bd8 /usr/include/c++/10/atomic:87 [t=00:00:23.412438][f=0000112] [CrashHandler] Error: <31> ./springrts/spring-bar105/rts/System/SpringApp.cpp:845 SpringApp::Run() [t=00:00:23.412442][f=0000112] [CrashHandler] Error: [31] 0x618bd8 /xxxx/spring-bar105/rts/System/SpringApp.cpp:845 [t=00:00:23.412447][f=0000112] [CrashHandler] Error: <32> ./springrts/spring-bar105/rts/System/Main.cpp:47 Run(int, char**) [t=00:00:23.412452][f=0000112] [CrashHandler] Error: [32] 0x602983 /xxxx/spring-bar105/rts/System/Main.cpp:47 [t=00:00:23.412456][f=0000112] [CrashHandler] Error: <33> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea) [0x7f69e64b5d0a] __libc_start_main [t=00:00:23.412461][f=0000112] [CrashHandler] Error: <33> 0x26d0a ??:? [t=00:00:23.412466][f=0000112] [CrashHandler] Error: <34> .../spring(_start+0x2a) [0x565509b7af8a] _start [t=00:00:23.412471][f=0000112] [CrashHandler] Error: <34> 0x166f8a ??:? [t=00:00:23.412510][f=0000112] [WatchDog::DeregisterThread] deregistering controls for thread [main]
sorry, I should post to engine repo https://github.com/beyond-all-reason/spring/issues/260
NullOOJavaAI
if(1)return;
to 1st line ofvoid CSoundSource::PlayStream(IAudioChannel* channel, const std::string& file, float volume)
will make game run OK.guessing: fail to play ogg stuff but caught by jvm?
log: