Ticket #78 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Panic in Lua Update

Reported by: knowknowledge Owned by:
Priority: major Milestone:
Component: Scripting Version:
Keywords: Cc:

Description

PANIC: unprotected error in call to Lua API (error running function `Update': attempt to call a nil value)

#0 0x00007fff8044d3d6 in kill ()
#1 0x00007fff804ed972 in abort ()
#2 0x00007fff804da9b4 in
assert_rtn ()
#3 0x000000010004e48a in Lua::ErrorCatch? (L=<value temporarily unavailable, due to optimizations>) at Source/Utilities?/lua.cpp:274
#4 0x0000000100063a94 in luaD_throw () at deque.tcc:82
#5 0x000000010005f0b9 in lua_error () at deque.tcc:82
#6 0x000000010006ff85 in luaL_error () at deque.tcc:82
#7 0x000000010004be5a in Lua::Call (func=0x10007ce31 "Update", sig=0x10007cb90 "") at Source/Utilities?/lua.cpp:133
#8 0x00000001000180e5 in Simulation::Run (this=0x7fff5fbfdd10) at Source/Engine?/simulation.cpp:142
#9 0x00000001000057c2 in SDL_main (argc=<value temporarily unavailable, due to optimizations>, argv=0x100711840) at Source/main.cpp:209
#10 0x00000001000797b0 in -[SDLMain applicationDidFinishLaunching:] () at deque.tcc:82
#11 0x00007fff819a184e in _nsnote_callback ()
#12 0x00007fff85281a90 in CFXNotificationPost ()
#13 0x00007fff8526e008 in _CFXNotificationPostNotification ()
#14 0x00007fff819987b8 in -[NSNotificationCenter postNotificationName:object:userInfo:] ()
#15 0x00007fff85921832 in -[NSApplication _postDidFinishNotification] ()
#16 0x00007fff85921767 in -[NSApplication _sendFinishLaunchingNotification] ()
#17 0x00007fff859ec719 in -[NSApplication(NSAppleEventHandling) _handleAEOpen:] ()
#18 0x00007fff859ec395 in -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] ()
#19 0x00007fff819d014a in -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] ()
#20 0x00007fff819cff7a in _NSAppleEventManagerGenericHandler ()
#21 0x00007fff830c8323 in aeDispatchAppleEvent ()
#22 0x00007fff830c821c in dispatchEventAndSendReply ()
#23 0x00007fff830c8123 in aeProcessAppleEvent ()
#24 0x00007fff8003e741 in AEProcessAppleEvent ()
#25 0x00007fff858f1481 in _DPSNextEvent ()
#26 0x00007fff858f0bed in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#27 0x00007fff858b68d3 in -[NSApplication run] ()
#28 0x0000000100079e03 in main () at deque.tcc:82

I don't know what Update was trying to call, but there are limited possibilities:
moreTraffic
updateHUD
godmode?

Change History

comment:1 Changed 3 years ago by knowknowledge

  • Status changed from new to closed
  • Resolution set to fixed

Resolved as fixed.

Note: See TracTickets for help on using tickets.