2025-07-20 16:04 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004275Spring engineGeneralpublic2014-01-15 14:52
Reporterabma 
Assigned Toabma 
PrioritynormalSeveritycrashReproducibilityhave not tried
StatusresolvedResolutionduplicate 
Product Version96.0.1+git 
Target Version97.0Fixed in Version 
Summary0004275: SIGFPE in lobject.cpp:92
DescriptionError: Floating point exception (SIGFPE) in spring 96.0.1-160-g4956e18 gmlremove (Debug)
Error: Stacktrace for Spring 96.0.1-160-g4956e18 gmlremove (Debug):
Error: <0> /lib/x86_64-linux-gnu/libpthread.so.0(+0xfbb0) [0x7f4f9ce3abb0]
Error: <1> /lib/x86_64-linux-gnu/libc.so.6(+0x42b57) [0x7f4f997c7b57]
Error: <2> /usr/include/boost/smart_ptr/shared_ptr.hpp:276
Error: <3> /home/abma/dev/spring/develop/rts/Menu/alphanum.hpp:129
Error: <4> /usr/include/boost/signals2/detail/foreign_ptr.hpp:101 (discriminator 1)
Error: <5> /var/tmp/home/dev/spring/develop/rts/Lua/LuaUtils.cpp:447
Error: <6> /var/tmp/home/dev/spring/develop/rts/Lua/LuaUtils.cpp:445
Error: <7> /var/tmp/home/dev/spring/develop/rts/Lua/LuaUtils.cpp:445
Error: <8> /var/tmp/home/dev/spring/develop/rts/Lua/LuaUtils.cpp:479
Error: <9> /var/tmp/home/dev/spring/develop/rts/Lua/LuaParser.cpp:231
Error: <10> /var/tmp/home/dev/spring/develop/rts/Rendering/GL/FBO.cpp:123
Error: <11> /usr/include/c++/4.8/bits/stl_vector.h:646
Error: <12> /var/tmp/home/dev/spring/develop/rts/Rendering/CommandDrawer.cpp:789
Error: <13> /var/tmp/home/dev/spring/develop/rts/Rendering/Env/AdvWater.cpp:213
Error: <14> /var/tmp/home/dev/spring/develop/rts/Rendering/Env/BasicSky.cpp:323
Error: <15> /var/tmp/home/dev/spring/develop/rts/Rendering/DebugDrawerAI.cpp:273 (discriminator 1)
Error: <16> /var/tmp/home/dev/spring/develop/rts/Rendering/DebugDrawerAI.cpp:319
Error: <17> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f4f997a6de5]
Error: <18> ??:?
Error: [ErrorMessageBox][1] msg="Spring has crashed:
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
duplicate of 0004274resolvedjK SIGFPE in lobject.cpp:92 
+Relationships

-Notes

~0012698

cleanrock (reporter)

Did you do something to trigger this crash ?

~0012699

abma (administrator)

sigfpe! i'm starting the menu...


will do a full BT soon

~0012700

abma (administrator)

(gdb) bt full
#0 0x00007ffff4285b57 in overflow_value (negative=0) at strtod_l.c:189
No locals.
#1 __GI_____strtod_l_internal (nptr=0x134 <Address 0x134 out of bounds>, endptr=0x7fffffffd518,
    group=<optimized out>, loc=<optimized out>) at strtod_l.c:1002
        exp_limit = <optimized out>
        exp_negative = 0
        negative = 0
        num = {3826282807, 140737488343328, 140737488343344, 13302540, 140737488343328,
          140737488343344, 1389784256821013266, 1389784256821013266, 140737488343376, 0, 0,
          140737290392181, 140737293338432, 81936, 81920, 140737289949833, 0, 140737289931687,
          140737488343440, 140737488343456, 176128, 14824239, 140737488343512, 140737488343504,
          140737488343520, 140737290392181, 140737293338432, 163856, 163840, 140737289949833, 0,
          140737289931687, 92960, 140737488343600, 204800, 140737488343600, 140737488343624,
          140737488343616, 140737488343632, 13302540, 0, 140737488343696, 1389784256830439488,
          1389784256830439488, 11529215046068469760, 13302570, 1389784256, 140737351923324,
          140737488343728, 24, 140737488344096, 77, 2780106507, 140737351925376, 0, 11, 43439164,
          140737289415960, 140737289407684}
        numsize = <optimized out>
        exponent = 49
        base = <optimized out>
        den = {140737289415960, 0, 81920, 140737289419536, 140737488343952, 29990648, 0,
          140737353807096, 140737353875456, 4686276, 140737289469168, 140737488343920,
          140737488344464, 140737488344464, 140737488343928, 140737488343920, 140737488343936,
          13302540, 0, 140737488344000, 1389784256831677799, 1389784256831677799, 140737488343968,
---Type <return> to continue, or q <return> to quit---
          13302570, 1389784256, 140737488344016, 140737488344032, 140737488344016,
          140737488344032, 5960730, 175, 140737488344032, 14853937, 140737488344144,
          140737488344064, 14853908, 249685176, 27031744, 140737488344192, 14852334, 27, 0, 0, 0,
          1389784256831677624, 14820923, 1389784256831677799, 140737293334368, 160, 2, 240, 3, 0,
          0, 0, 0, 219043332109, 30414384, 30414384}
        densize = <optimized out>
        retval = {8024296641265664}
        bits = 0
        cp = 0x1cd0cdc "8bd3bb05b698c9ae6772d722c4cd.sdp"
        tp = <optimized out>
        startp = <optimized out>
        start_of_digits = <optimized out>
        expp = <optimized out>
        dig_no = 1
        int_no = 1
        lead_zero = 0
        c = 56 '8'
        decimal = 0x7ffff43c7eec <dot.2486> "."
        decimal_len = 1
        thousands = 0x0
        grouping = <optimized out>
        cnt = <optimized out>
        current = <optimized out>
        __PRETTY_FUNCTION__ = "____strtod_l_internal"
---Type <return> to continue, or q <return> to quit---
        lowc = <optimized out>
#2 0x0000000000e19326 in luaO_str2d (s=0x1cd0cd8 "6e498bd3bb05b698c9ae6772d722c4cd.sdp",
    result=0x7fffffffd544) at rts/lib/lua/src/lobject.cpp:92
        endptr = 0x1c9a680 ""
0000003 0x0000000000e25411 in luaV_tonumber (obj=0x1d01640, n=0x7fffffffd580)
    at rts/lib/lua/src/lvm.cpp:41
        num = 0
0000004 0x0000000000e09024 in lua_isnumber (L=0x1c9a680, idx=-1) at rts/lib/lua/src/lapi.cpp:264
        n = {value = {gc = 0x14f641071, p = 0x14f641071, n = 3,82628275e+09, b = 1331957873},
          tt = 30414400}
        o = 0x1d01640
0000005 0x0000000000825f07 in CheckForNaNsReal (L=0x1c9a680, path=...) at rts/Lua/LuaUtils.cpp:447
        __FUNCTION__ = "CheckForNaNsReal"
        table = 7
        foundNaNs = false
#6 0x0000000000825ed4 in CheckForNaNsReal (L=0x1c9a680, path=...) at rts/Lua/LuaUtils.cpp:445
        key = 0x1e4dd08 "53"
        subpath = {static npos = <optimized out>,
          _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
            _M_p = 0x1e4ddb8 "/var/tmp/home/dev/spring/develop/cache/96dev-develop/ArchiveCache.lua: archives.53."}}
        __FUNCTION__ = "CheckForNaNsReal"
        table = 5
---Type <return> to continue, or q <return> to quit---
        foundNaNs = false
#7 0x0000000000825ed4 in CheckForNaNsReal (L=0x1c9a680, path=...) at rts/Lua/LuaUtils.cpp:445
        key = 0x1c8fea8 "archives"
        subpath = {static npos = <optimized out>,
          _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
            _M_p = 0x1e4d468 "/var/tmp/home/dev/spring/develop/cache/96dev-develop/ArchiveCache.lua: archives."}}
        __FUNCTION__ = "CheckForNaNsReal"
        table = 3
        foundNaNs = false
#8 0x00000000008260e5 in LuaUtils::CheckTableForNaNs (L=0x1c9a680, table=1, name=...)
    at rts/Lua/LuaUtils.cpp:479
        __FUNCTION__ = "CheckTableForNaNs"
        foundNaNs = false
#9 0x0000000000796f6a in LuaParser::Execute (this=0x7fffffffdd70) at rts/Lua/LuaParser.cpp:229
        __PRETTY_FUNCTION__ = "bool LuaParser::Execute()"
        code = {static npos = <optimized out>,
          _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
            _M_p = 0x7fffe8094028 "local archiveCache = {\n\n\tinternalver = 9,\n\n\tarchives = { -- count = 1069\n\t\t{\n\t\t\tname = \"003b71f264a41d4f1ae34088b040a4af.sdp\",\n\t\t\tpath = \"/home/abma/.spring/packages/\",\n\t\t\tmodified = \"1378453722\",\n\t\t"...}}
        codeLabel = {static npos = <optimized out>,
---Type <return> to continue, or q <return> to quit---
          _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
            _M_p = 0x1c99ef8 "/var/tmp/home/dev/spring/develop/cache/96dev-develop/ArchiveCache.lua"}}
        error = 0
0000010 0x0000000000d2a31b in CArchiveScanner::ReadCacheData (this=0x1c99fe0, filename=...)
    at rts/System/FileSystem/ArchiveScanner.cpp:803
        archiveCache = {path = {static npos = <optimized out>,
            _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x0}}, isValid = 48, parser = 0x7fffffffdca0,
          L = 0x7fffffffdbe0, refnum = 0}
        ver = 32767
        brokenArchives = {path = {static npos = <optimized out>,
            _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x5 <Address 0x5 out of bounds>}}, isValid = 169, parser = 0x0,
          L = 0x7ffff7faf600, refnum = 5}
        p = {fileName = {static npos = <optimized out>,
            _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
              _M_p = 0x1c99ef8 "/var/tmp/home/dev/spring/develop/cache/96dev-develop/ArchiveCache.lua"}}, fileModes = {static npos = <optimized out>,
            _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x1c9a588 "r"}}, textChunk = {static npos = <optimized out>,
            _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fi---Type <return> to continue, or q <return> to quit---
elds>}, <No data fields>},
              _M_p = 0x7ffff4e283f8 <std::string::_Rep::_S_empty_rep_storage+24> ""}},
          accessModes = {static npos = <optimized out>,
            _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x1c9a5b8 "b"}}, valid = false, initDepth = -1, L = 0x1c9a680,
          tables = {_M_t = {
              _M_impl = {<std::allocator<std::_Rb_tree_node<LuaTable*> >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<LuaTable*> >> = {<No data fields>}, <No data fields>},
                _M_key_compare = {<std::binary_function<LuaTable*, LuaTable*, bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x0,
                  _M_left = 0x7fffffffdda8, _M_right = 0x7fffffffdda8}, _M_node_count = 0}}},
          rootRef = -2, currentRef = -2, lowerKeys = true, lowerCppKeys = true, errorLog = {
            static npos = <optimized out>,
            _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
              _M_p = 0x7ffff4e283f8 <std::string::_Rep::_S_empty_rep_storage+24> ""}},
          accessedFiles = {_M_t = {
              _M_impl = {<std::allocator<std::_Rb_tree_node<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >> = {<No data fields>}, <No data fields>},
                _M_key_compare = {<std::binary_function<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x0,
---Type <return> to continue, or q <return> to quit---
                  _M_left = 0x7fffffffddf0, _M_right = 0x7fffffffddf0}, _M_node_count = 0}}},
          static currentParser = 0x0}
        archives = {path = {static npos = <optimized out>,
            _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7ffff7fc1000 ""}}, isValid = 41, parser = 0x7ffff4b413c8,
          L = 0x4015d8, refnum = 0}
#11 0x0000000000d26f74 in CArchiveScanner::CArchiveScanner (this=0x1c99fe0)
    at rts/System/FileSystem/ArchiveScanner.cpp:353
        file = <unvollständiger Typ>
        datadirs = @0x7fffffffdfb0: {<std::_Vector_base<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >> = {
            _M_impl = {<std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> = {<__gnu_cxx::new_allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0,
              _M_end_of_storage = 0x0}}, <No data fields>}
        scanDirs = {<std::_Vector_base<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >> = {
            _M_impl = {<std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> = {<__gnu_cxx::new_allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> = {<No data fields>}, <No data fields>}, _M_start = 0x7fffffffdf0f,
              _M_finish = 0x7ffff4bdfba6 <std::string::reserve(unsigned long)+102>,
              _M_end_of_storage = 0x0}}, <No data fields>}
---Type <return> to continue, or q <return> to quit---
0000012 0x0000000000d489b3 in FileSystemInitializer::Initialize ()
    at rts/System/FileSystem/FileSystemInitializer.cpp:38
No locals.
0000013 0x0000000000cd1bf9 in SpringApp::Initialize (this=0x7fffffffe270)
    at rts/System/SpringApp.cpp:243
        __PRETTY_FUNCTION__ = "bool SpringApp::Initialize()"
        __FUNCTION__ = "Initialize"
0000014 0x0000000000cd791d in SpringApp::Run (this=0x7fffffffe270) at rts/System/SpringApp.cpp:881
        __FUNCTION__ = "Run"
#15 0x0000000000ca727d in Run (argc=1, argv=0x7fffffffe458) at rts/System/Main.cpp:48
        app = {cmdline = 0x1a39fc0}
        ret = -1
        err = 0x0
        __FUNCTION__ = "Run"
#16 0x0000000000ca7ae5 in main (argc=1, argv=0x7fffffffe458) at rts/System/Main.cpp:108
No locals.

~0012701

abma (administrator)

Last edited: 2014-01-15 12:16

View 3 revisions

oO broken stacktrace first time?! / wrong thread maybe?!


note: internal stacktrace vs gdb

~0012702

cleanrock (reporter)

Summary text should probably be changed.
+Notes

-Issue History
Date Modified Username Field Change
2014-01-15 06:50 abma New Issue
2014-01-15 07:18 cleanrock Note Added: 0012698
2014-01-15 07:19 cleanrock Assigned To => cleanrock
2014-01-15 07:19 cleanrock Status new => feedback
2014-01-15 11:46 abma Note Added: 0012699
2014-01-15 11:46 abma Status feedback => assigned
2014-01-15 12:10 abma Note Added: 0012700
2014-01-15 12:11 abma Note Added: 0012701
2014-01-15 12:11 abma Note Edited: 0012701 View Revisions
2014-01-15 12:12 abma Relationship added related to 0004274
2014-01-15 12:16 abma Note Edited: 0012701 View Revisions
2014-01-15 13:34 cleanrock Assigned To cleanrock =>
2014-01-15 13:34 cleanrock Status assigned => new
2014-01-15 13:35 cleanrock Note Added: 0012702
2014-01-15 14:52 abma Summary SIGFPE in alphanum.hpp:129 => SIGFPE in lobject.cpp:92
2014-01-15 14:52 abma Relationship replaced duplicate of 0004274
2014-01-15 14:52 abma Status new => resolved
2014-01-15 14:52 abma Resolution open => duplicate
2014-01-15 14:52 abma Assigned To => abma
+Issue History