View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0004318 | Spring engine | General | public | 2014-02-22 17:34 | 2014-02-22 22:38 | ||||
Reporter | abma | ||||||||
Assigned To | jK | ||||||||
Priority | normal | Severity | crash | Reproducibility | have not tried | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 96.0.1+git | ||||||||
Target Version | 97.0 | Fixed in Version | |||||||
Summary | 0004318: SIGFPE when running --test-creg on 32bit | ||||||||
Description | (gdb) bt #0 0x082a23ad in operator() (__den=0, __num=0, this=<optimized out>) at /usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/g++-v4/bits/hashtable_policy.h:245 #1 _M_bucket_index (__n=0, __c=0, this=<optimized out>) at /usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/g++-v4/bits/hashtable_policy.h:710 #2 _M_bucket_index (__c=0, this=<optimized out>, __k=<optimized out>) at /usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/g++-v4/bits/hashtable.h:466 0000003 std::__detail::_Map_base<int, std::pair<int const, int>, std::_Select1st<std::pair<int const, int> >, true, std::_Hashtable<int, std::pair<int const, int>, std::allocator<std::pair<int const, int> >, std::_Select1st<std::pair<int const, int> >, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, false, false, true> >::operator[](int&&) (this=this@entry=0x8e96b60 <SDL2_to_SDL1_keysyms>, __k=@0xffffd24c: 0) at /usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/g++-v4/bits/hashtable_policy.h:457 0000004 0x082a2430 in doOnce263::doOnce263 (this=0x8e9956a <_ZL12doOnceVar263>) at ../../rts/System/Platform/SDL1_keysym.h:14 0000005 0x0811c04c in __static_initialization_and_destruction_0 (__initialize_p=<optimized out>, __priority=<optimized out>) at ../../rts/System/Platform/SDL1_keysym.h:263 #6 _GLOBAL__sub_I__ZN15LuaUnsyncedRead11PushEntriesEP9lua_State () at ../../rts/Lua/LuaUnsyncedRead.cpp:2514 #7 0x08ae904d in ?? () #8 0x08100ca6 in _init () #9 0xf7f843e4 in ?? () from /lib32/libc.so.6 Backtrace stopped: previous frame inner to this frame (corrupt stack?) | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
abma (administrator) 2014-02-22 17:34 |
looks a bit like it happens in 32bit only |
abma (administrator) 2014-02-22 17:41 |
yep, 64 bit works: http://buildbot.springrts.com/builders/linux-static-x64/builds/454/steps/test/logs/stdio |
jK (developer) 2014-02-22 18:43 |
why is SIGFPE for headless enabled in release builds? |
abma (administrator) 2014-02-22 22:27 |
good point, i have no clue, investigating... |
abma (administrator) 2014-02-22 22:32 |
CMakeCache.txt for x64 and x32 contains: SIGNAL_NANS:BOOL=OFF |
abma (administrator) 2014-02-22 22:36 Last edited: 2014-02-22 22:38 |
didn't really investigate but it seems that it is some strange unordered_map behaviour: http://stackoverflow.com/questions/8286103/strange-unordered-map-situation http://stackoverflow.com/questions/13580823/sigfpe-when-accessing-unordered-map -> SIGNAL_NANS is disabled -> gcc / unorderded-map bug / wrong usage |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2014-02-22 17:34 | abma | New Issue | |
2014-02-22 17:34 | abma | Note Added: 0012862 | |
2014-02-22 17:41 | abma | Note Added: 0012863 | |
2014-02-22 17:43 | abma | Summary | SIGFPE when running --test-creg => SIGFPE when running --test-creg on 32bit |
2014-02-22 18:43 | jK | Note Added: 0012866 | |
2014-02-22 18:54 | jK | Changeset attached | => spring develop d3c5bcc8 |
2014-02-22 18:54 | jK | Assigned To | => jK |
2014-02-22 18:54 | jK | Status | new => resolved |
2014-02-22 18:54 | jK | Resolution | open => fixed |
2014-02-22 20:01 | jK | Changeset attached | => spring develop 4a7bda2f |
2014-02-22 20:22 | jK | Relationship added | has duplicate 0004315 |
2014-02-22 22:27 | abma | Note Added: 0012874 | |
2014-02-22 22:32 | abma | Note Added: 0012875 | |
2014-02-22 22:36 | abma | Note Added: 0012876 | |
2014-02-22 22:38 | abma | Note Edited: 0012876 | View Revisions |
2014-02-22 22:38 | abma | Note Edited: 0012876 | View Revisions |