2025-06-14 04:53 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0006192Spring engineGeneralpublic2019-04-01 22:41
Reporterabma 
Assigned ToKloot 
PrioritynormalSeveritycrashReproducibilityhave not tried
StatusresolvedResolutionfixed 
Product Version104.0 +git 
Target VersionFixed in Version104.0 +git 
Summary0006192: crash at start in rts/lib/lua/src/lobject.cpp:123
Descriptionspring 104.0.1-1667-gaebb40d develop

f=-000001] [LoadScreen::SetLoadMessage] text="Parsing Map Information"
[f=-000001] Warning: [OPENGL_DEBUG] id=1 source=SHADER_COMPILER type=OTHER severity=UNKNOWN msg="Shader Stats: SGPRS: 16 VGPRS: 8 Code Size: 176 LDS: 0 Scratch: 0 Max Waves: 8 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0"
[f=-000001] Warning: [OPENGL_DEBUG] id=2 source=SHADER_COMPILER type=OTHER severity=UNKNOWN msg="LLVM diagnostic (remark): <unknown>:0:0: 2 instructions in function"

Thread 1 "spring-main" received signal SIGSEGV, Segmentation fault.
__strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:120
120 ../sysdeps/x86_64/multiarch/../strlen.S: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
0 __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:120
1 0x0000555555bd8dd6 in pushstr (L=L@entry=0x5555995ee048, str=0x2 <error: Cannot access memory at address 0x2>) at rts/lib/lua/src/lobject.cpp:105
2 0x0000555555bd9209 in luaO_pushvfstring (L=L@entry=0x5555995ee048, fmt=0x555555eae099 " (%s)", fmt@entry=0x555555eae078 "[gl.%s(type, func, ...)] error %i (%s)", argp=argp@entry=0x7fffffffd0c8)
    at rts/lib/lua/src/lobject.cpp:123
3 0x0000555555bce5be in lua_pushvfstring (L=L@entry=0x5555995ee048, fmt=fmt@entry=0x555555eae078 "[gl.%s(type, func, ...)] error %i (%s)", argp=argp@entry=0x7fffffffd0c8) at rts/lib/lua/src/lapi.cpp:479
4 0x0000555555bcf952 in luaL_error (L=L@entry=0x5555995ee048, fmt=fmt@entry=0x555555eae078 "[gl.%s(type, func, ...)] error %i (%s)") at rts/lib/lua/src/lauxlib.cpp:91
5 0x000055555584548c in LuaOpenGL::BeginEnd (L=0x5555995ee048) at rts/Lua/LuaOpenGL.cpp:1648
6 0x0000555555bd4da1 in luaD_precall (L=L@entry=0x5555995ee048, func=0x555599b85320, nresults=nresults@entry=0) at rts/lib/lua/src/ldo.cpp:320
7 0x0000555555be2b8b in luaV_execute (L=L@entry=0x5555995ee048, nexeccalls=<optimized out>, nexeccalls@entry=1) at rts/lib/lua/src/lvm.cpp:613
8 0x0000555555bd51b5 in luaD_call (L=0x5555995ee048, L@entry=<error reading variable: value has been optimized out>, func=0x555599b85250, func@entry=<error reading variable: value has been optimized out>,
    nResults=<error reading variable: value has been optimized out>) at rts/lib/lua/src/ldo.cpp:378
9 0x0000555555bd463d in luaD_rawrunprotected (L=0x5555995ee048, f=<optimized out>, ud=<optimized out>) at rts/lib/lua/src/ldo.cpp:116
10 0x0000555555bd536d in luaD_pcall (L=L@entry=0x5555995ee048, func=func@entry=0x555555bcd830 <f_call(lua_State*, void*)>, u=u@entry=0x7fffffffd360, old_top=192, ef=<optimized out>) at rts/lib/lua/src/ldo.cpp:464
11 0x0000555555bcef55 in lua_pcall (L=L@entry=0x5555995ee048, nargs=<optimized out>, nresults=nresults@entry=-1, errfunc=errfunc@entry=0) at rts/lib/lua/src/lapi.cpp:833
12 0x0000555555bd0d68 in luaB_pcall (L=0x5555995ee048) at rts/lib/lua/src/lbaselib.cpp:377
13 0x0000555555bd4da1 in luaD_precall (L=L@entry=0x5555995ee048, func=0x555599b85240, nresults=nresults@entry=-1) at rts/lib/lua/src/ldo.cpp:320
14 0x0000555555be2b8b in luaV_execute (L=L@entry=0x5555995ee048, nexeccalls=<optimized out>, nexeccalls@entry=1) at rts/lib/lua/src/lvm.cpp:613
15 0x0000555555bd51b5 in luaD_call (L=0x5555995ee048, L@entry=<error reading variable: value has been optimized out>, func=0x555599b851a0, func@entry=<error reading variable: value has been optimized out>,
    nResults=<error reading variable: value has been optimized out>) at rts/lib/lua/src/ldo.cpp:378
16 0x0000555555bd463d in luaD_rawrunprotected (L=0x5555995ee048, f=<optimized out>, ud=<optimized out>) at rts/lib/lua/src/ldo.cpp:116
17 0x0000555555bd536d in luaD_pcall (L=L@entry=0x5555995ee048, func=func@entry=0x555555bcd830 <f_call(lua_State*, void*)>, u=u@entry=0x7fffffffd540, old_top=16, ef=<optimized out>) at rts/lib/lua/src/ldo.cpp:464
18 0x0000555555bcef55 in lua_pcall (L=L@entry=0x5555995ee048, nargs=nargs@entry=0, nresults=nresults@entry=0, errfunc=errfunc@entry=0) at rts/lib/lua/src/lapi.cpp:833
19 0x000055555581923e in CLuaHandle::ScopedLuaCall::ScopedLuaCall (_popErrFunc=false, _errFuncIdx=0, _nOutArgs=0, _nInArgs=0, func=0x555556116740 <CLuaIntro::DrawLoadScreen()::cmdStr> "DrawLoadScreen",
    state=0x5555995ee048, handle=0x555598dfcda0, this=<synthetic pointer>) at rts/Lua/LuaHandle.cpp:326
20 CLuaHandle::RunCallInTraceback (this=0x555598dfcda0, L=0x5555995ee048, hs=<optimized out>, ts=0x7fffffffd630, inArgs=0, outArgs=0, errFuncIndex=0, popErrorFunc=false) at rts/Lua/LuaHandle.cpp:412
21 0x00005555558199c8 in CLuaHandle::RunCallInTraceback (this=this@entry=0x555598dfcda0, L=0x5555995ee048, hs=..., inArgs=inArgs@entry=0, outArgs=outArgs@entry=0, errFuncIndex=errFuncIndex@entry=0, popErrFunc=false)
    at rts/Lua/LuaHandle.cpp:422
22 0x0000555555835abb in CLuaHandle::RunCallIn (outArgs=0, inArgs=0, hs=..., L=<optimized out>, this=0x555598dfcda0) at rts/Lua/LuaHandle.h:364
23 CLuaIntro::DrawLoadScreen (this=0x555598dfcda0) at rts/Lua/LuaIntro.cpp:328
24 0x00005555556fe8b3 in CLoadScreen::Draw (this=0x5555990bc740) at rts/Game/LoadScreen.cpp:289
25 0x00005555556ff5c7 in CLoadScreen::SetLoadMessage (this=this@entry=0x5555990bc740, text="Parsing Map Information", replaceLast=<optimized out>, replaceLast@entry=false) at rts/Game/LoadScreen.cpp:322
26 0x00005555556d724f in CGame::LoadMap (this=<optimized out>, mapFileName="maps/DeltaSiegeDry.smf") at /usr/include/c++/8/bits/basic_string.h:252
27 0x00005555556dc9e3 in CGame::LoadGame (this=0x7fff2c014840, mapFileName="maps/DeltaSiegeDry.smf") at rts/Game/Game.cpp:372
28 0x00005555556ff3ca in CLoadScreen::Init (this=0x5555990bc740) at rts/Game/LoadScreen.cpp:136
29 0x00005555556ff4d9 in CLoadScreen::CreateDeleteInstance (mapFileName=..., modFileName=..., saveFile=<optimized out>) at rts/Game/LoadScreen.cpp:183
30 0x0000555555708269 in CPreGame::UpdateClientNet (this=<optimized out>) at rts/Game/PreGame.cpp:385
31 0x0000555555709408 in CPreGame::Update (this=0x5555990d7360) at rts/Game/PreGame.cpp:182
32 0x0000555555aea740 in SpringApp::Update (this=this@entry=0x7fffffffe630) at rts/System/SpringApp.cpp:771
33 0x0000555555aedd98 in SpringApp::Run (this=this@entry=0x7fffffffe630) at rts/System/SpringApp.cpp:810
34 0x0000555555ad7000 in Run (argc=1, argv=0x7fffffffe7e8) at rts/System/Main.cpp:43
35 0x00005555556916ec in main (argc=1, argv=0x7fffffffe7e8) at rts/System/Main.cpp:94
TagsNo tags attached.
Checked infolog.txt for ErrorsYes
Attached Files

-Relationships
+Relationships

-Notes

~0019907

Kloot (developer)

type-safety bug, the %i had to be a %d
+Notes

-Issue History
Date Modified Username Field Change
2019-04-01 21:20 abma New Issue
2019-04-01 21:21 abma File Added: infolog.txt
2019-04-01 21:22 abma Description Updated View Revisions
2019-04-01 21:22 abma Checked infolog.txt for lua Errors Yes => |Yes|
2019-04-01 22:41 Kloot Assigned To => Kloot
2019-04-01 22:41 Kloot Status new => resolved
2019-04-01 22:41 Kloot Resolution open => fixed
2019-04-01 22:41 Kloot Fixed in Version => 104.0 +git
2019-04-01 22:41 Kloot Note Added: 0019907
+Issue History