One Hour One Life Forums

a multiplayer game of parenting and civilization building

You are not logged in.

#1 Re: Fixed Bugs » Segmentation fault on Linux Ubuntu » 2018-06-01 02:22:04

I'm hitting this after pulling today. Backtrace:

[New Thread 0x7ffff1449700 (LWP 18661)]
[New Thread 0x7fffe7948700 (LWP 18663)]
Decompressing took 0.000000 seconds
Loaded 1007 tagged sprites from sprites folder
Loaded 232 sound IDs from sounds folder
Decompressing took 0.005000 seconds
Loaded 728 animations from animations folder
Finished loading animation bank in 0.356000 sec
Decompressing took 0.004000 seconds
Object id 793 (The Apocalypse) seen as an apocalypse trigger
Loaded 956 objects from objects folder
  Auto-generated 582 'used' objects
  Auto-generated 210 'variable' objects
Finished loading object bank in 0.868000 sec
Decompressing took 0.000000 seconds
Loaded 56 categories from categories folder
Finished loading category bank in 1.302000 sec
Decompressing took 0.001000 seconds
Frame rate = 46.860355 frames/second
Loaded 1276 transitions from transitions folder
Auto-generated 612 transitions based on categories

Thread 1 "OneLifeApp" received signal SIGSEGV, Segmentation fault.
initTransBankFinish () at transitionBank.cpp:507
507	                                transCats[n]->objectIDSet.getElementDirect( p );
(gdb) bt
#0  initTransBankFinish () at transitionBank.cpp:507
#1  0x000000000040a97c in drawFrame (inUpdate=<optimized out>) at game.cpp:1471
#2  0x00000000004dd86d in GameSceneHandler::drawScene (this=0x9f67a0) at ../../minorGems/game/platforms/SDL/gameSDL.cpp:3055
#3  0x00000000004b15c4 in callbackDisplay () at ../../minorGems/graphics/openGL/ScreenGL_SDL.cpp:2848
#4  0x00000000004b391f in ScreenGL::start (this=0x7d9930) at ../../minorGems/graphics/openGL/ScreenGL_SDL.cpp:2064
#5  0x00000000004dfabd in mainFunction (inNumArgs=<optimized out>, inArgs=<optimized out>) at ../../minorGems/game/platforms/SDL/gameSDL.cpp:2483
#6  0x00007ffff64d5530 in __libc_start_main () from /nix/store/vn6fkjnfps37wa82ri4mwszwvnnan6sk-glibc-2.25/lib/libc.so.6
#7  0x00000000004079da in _start () at ../sysdeps/x86_64/start.S:120
(gdb) info locals
n = <optimized out>
newTransIDs = {-1, 1018, 0, 1019}
p = 0
transIDs = {-1, 1018, 0, 1019}
transCats = {0x45e, 0x126e320, 0x0, 0x126e410}
patternSize = <optimized out>
numPatternsInTrans = <optimized out>
i = 2
numObjects = 1748
(gdb) frame 1
#1  0x000000000040a97c in drawFrame (inUpdate=<optimized out>) at game.cpp:1471
1471	                        initTransBankFinish();
(gdb) info locals
progress = <optimized out>
(gdb) frame 3
#3  0x00000000004b15c4 in callbackDisplay () at ../../minorGems/graphics/openGL/ScreenGL_SDL.cpp:2848
2848			handler->drawScene();
(gdb) info locals
handler = <optimized out>
h = 0
s = 0x7d9930
(gdb) frame 4
#4  0x00000000004b391f in ScreenGL::start (this=0x7d9930) at ../../minorGems/graphics/openGL/ScreenGL_SDL.cpp:2064
2064	        callbackDisplay();
(gdb) info locals
frameStartSec = 1527819676
frameStartMSec = 159
event = {type = 1 '\001', active = {type = 1 '\001', gain = 0 '\000', state = 1 '\001'}, key = {type = 1 '\001', which = 0 '\000', state = 1 '\001', keysym = {
      scancode = 0 '\000', sym = SDLK_UNKNOWN, mod = KMOD_NONE, unicode = 0}}, motion = {type = 1 '\001', which = 0 '\000', state = 1 '\001', x = 0, y = 0, xrel = 0, yrel = 0}, 
  button = {type = 1 '\001', which = 0 '\000', button = 1 '\001', state = 0 '\000', x = 0, y = 0}, jaxis = {type = 1 '\001', which = 0 '\000', axis = 1 '\001', value = 0}, 
  jball = {type = 1 '\001', which = 0 '\000', ball = 1 '\001', xrel = 0, yrel = 0}, jhat = {type = 1 '\001', which = 0 '\000', hat = 1 '\001', value = 0 '\000'}, jbutton = {
    type = 1 '\001', which = 0 '\000', button = 1 '\001', state = 0 '\000'}, resize = {type = 1 '\001', w = 0, h = 0}, expose = {type = 1 '\001'}, quit = {type = 1 '\001'}, 
  user = {type = 1 '\001', code = 0, data1 = 0x0, data2 = 0x0}, syswm = {type = 1 '\001', msg = 0x0}}
frameTime = <optimized out>
oversleepMSec = 0
(gdb) frame 5
#5  0x00000000004dfabd in mainFunction (inNumArgs=<optimized out>, inArgs=<optimized out>) at ../../minorGems/game/platforms/SDL/gameSDL.cpp:2483
2483	    screen->start();
(gdb) info locals
flags = <optimized out>
sdlResult = <optimized out>
widthFound = 1 '\001'
readWidth = <optimized out>
heightFound = 1 '\001'
readHeight = <optimized out>
fullscreenFound = 1 '\001'
readFullscreen = <optimized out>
fullscreen = <optimized out>
useLargestWindowFound = 1 '\001'
readUseLargestWindow = <optimized out>
useLargestWindow = <optimized out>
frameRateFound = 1 '\001'
readFrameRate = <optimized out>
recordFound = 1 '\001'
readRecordFlag = <optimized out>
recordGame = <optimized out>
speedControlKeysFlag = <optimized out>
outputAllFramesFlag = <optimized out>
blendOutputFramePairsFlag = <optimized out>
testFile = <optimized out>
customData = <optimized out>
hashSalt = <optimized out>
forceBigPointer = <optimized out>
hardToQuitFound = 1 '\001'
readHardToQuit = <optimized out>
languageNameFile = <optimized out>
readTarget = 60
readCounting = <optimized out>

Board footer

Powered by FluxBB