View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0005974 | Spring engine | General | public | 2018-05-05 10:21 | 2018-05-05 10:39 | ||||
Reporter | hokomoko | ||||||||
Assigned To | Kloot | ||||||||
Priority | normal | Severity | crash | Reproducibility | have not tried | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0005974: Crash on game start, locally compiled maintenance on mingw | ||||||||
Description | This is a DEBUG build. backtrace is weird, I've checked the addresses of vars in that line and they're all in sane places in the stack. I'll continue investigating, just putting it here if anyone has ideas. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 11732.0x2ba8] fastmath::sqrt_sse (x=26217862) at E:/programming/spring_maintenance/rts/System/FastMath.h:70 70 __m128 vec = _mm_set_ss(x); (gdb) bt #0 fastmath::sqrt_sse (x=26217862) at E:/programming/spring_maintenance/rts/System/FastMath.h:70 #1 0x00c4b219 in math::sqrt (x=26217862) at E:/programming/spring_maintenance/rts/System/FastMath.h:218 #2 0x00d2a769 in float3::distance (this=0x1c95faa4, f=...) at E:/programming/spring_maintenance/rts/System/float3.h:390 0000003 0x0067e039 in Patch::Tessellate (this=0x2b459aa4, camPos=..., viewRadius=100, shadowPass=false) at E:\programming\spring_maintenance\rts\Map\SMF\ROAM\Patch.cpp:496 0000004 0x0068123a in CRoamMeshDrawer::<lambda(int)>::operator()(int) const (__closure=0x46968068, pi=21) at E:\programming\spring_maintenance\rts\Map\SMF\ROAM\RoamMeshDrawer.cpp:357 0000005 0x0068382d in std::_Function_handler<void(int), CRoamMeshDrawer::Tessellate(std::vector<Patch>&, const CCamera*, int, bool)::<lambda(int)> >::_M_invoke(const std::_Any_data &, <unknown type in c:\Games\spring\engine\99-dev\spring.exe, CU 0x3a369f0, DIE 0x3a9ce22>) (__functor=..., __args#0=<unknown type in c:\Games\spring\engine\99-dev\spring.exe, CU 0x3a369f0, DIE 0x3a9ce22>) at C:/mingw-w64/i686-5.4.0-posix-sjlj-rt_v5-rev0/mingw32/i686-w64-mingw32/include/c++/functional:1871 #6 0x00da9b00 in std::function<void (int)>::operator()(int) const (this=0x2b04005c, __args#0=21) at C:/mingw-w64/i686-5.4.0-posix-sjlj-rt_v5-rev0/mingw32/i686-w64-mingw32/include/c++/functional:2267 #7 0x00683ddb in ForTaskGroup<CRoamMeshDrawer::Tessellate(std::vector<Patch>&, const CCamera*, int, bool)::<lambda(int)>&>::ExecuteStep(void) (this=0x2b040038) at E:/programming/spring_maintenance/rts/System/Threading/ThreadPool.h:620 #8 0x00bc405f in ITaskGroup::ExecuteLoop (this=0x2b040038, tid=1, wffCall=false) at E:/programming/spring_maintenance/rts/System/Threading/ThreadPool.h:135 #9 0x0083611f in ThreadPool::DoTask (tid=1, async=false) at E:\programming\spring_maintenance\rts\System\Threading\ThreadPool.cpp:170 0000010 0x008369d3 in ThreadPool::WorkerLoop (tid=1, async=false) at E:\programming\spring_maintenance\rts\System\Threading\ThreadPool.cpp:234 #11 0x00ec506f in std::_Bind<void (*(int, bool))(int, bool)>::__call<void, , 0u, 1u>(std::tuple<>&&, std::_Index_tuple<0u, 1u>) (this=0x14a34a60, __args=<unknown type in c:\Games\spring\engine\99-dev\spring.exe, CU 0x688348d, DIE 0x690f895>) at C:/mingw-w64/i686-5.4.0-posix-sjlj-rt_v5-rev0/mingw32/i686-w64-mingw32/include/c++/functional:1074 0000012 0x00ec5147 in std::_Bind<void (*(int, bool))(int, bool)>::operator()<, void>() (this=0x14a34a60) at C:/mingw-w64/i686-5.4.0-posix-sjlj-rt_v5-rev0/mingw32/i686-w64-mingw32/include/c++/functional:1133 ---Type <return> to continue, or q <return> to quit--- 0000013 0x00df774b in std::_Bind_simple<std::_Bind<void (*(int, bool))(int, bool)> ()>::_M_invoke<>(std::_Index_tuple<>) ( this=0x14a34a60) at C:/mingw-w64/i686-5.4.0-posix-sjlj-rt_v5-rev0/mingw32/i686-w64-mingw32/include/c++/functional:1531 0000014 0x00df77b6 in std::_Bind_simple<std::_Bind<void (*(int, bool))(int, bool)> ()>::operator()() (this=0x14a34a60) at C:/mingw-w64/i686-5.4.0-posix-sjlj-rt_v5-rev0/mingw32/i686-w64-mingw32/include/c++/functional:1520 #15 0x00eedc26 in std::thread::_Impl<std::_Bind_simple<std::_Bind<void (*(int, bool))(int, bool)> ()> >::_M_run() ( this=0x14a34a54) at C:/mingw-w64/i686-5.4.0-posix-sjlj-rt_v5-rev0/mingw32/i686-w64-mingw32/include/c++/thread:115 #16 0x010b9c80 in execute_native_thread_routine () #17 0x14a34994 in ?? () | ||||||||
Steps To Reproduce | I've tested with Zero-K and examplemod.sdd on AlienDesert. I suspect it will happen on all games and all maps | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2018-05-05 10:21 | hokomoko | New Issue | |
2018-05-05 10:38 | hokomoko | Changeset attached | => spring develop ac9f2cf7 |
2018-05-05 10:39 | hokomoko | Assigned To | => Kloot |
2018-05-05 10:39 | hokomoko | Status | new => resolved |
2018-05-05 10:39 | hokomoko | Resolution | open => fixed |
2018-05-05 10:39 | hokomoko | Note Added: 0019078 |