Skip to content

Instantly share code, notes, and snippets.

@zekoz
Created September 19, 2018 21:22
Show Gist options
  • Save zekoz/25eb195e67ab0b267cbd78f243d62359 to your computer and use it in GitHub Desktop.
Save zekoz/25eb195e67ab0b267cbd78f243d62359 to your computer and use it in GitHub Desktop.
freeciv-sdl2.html:1249 Invalid function pointer called with signature 'vi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)
printErr @ freeciv-sdl2.html:1249
emrun_printErr @ freeciv-sdl2.js:944673
nullFunc_vi @ freeciv-sdl2.js:12315
b18 @ freeciv-sdl2.js:938702
_update_unqueue @ freeciv-sdl2.js:183344
_gui_event_loop @ freeciv-sdl2.js:19019
_ui_main @ freeciv-sdl2.js:19397
_client_main @ freeciv-sdl2.js:84467
_main @ freeciv-sdl2.js:19277
asm._main @ freeciv-sdl2.js:944097
callMain @ freeciv-sdl2.js:944468
doRun @ freeciv-sdl2.js:944526
(anonymous) @ freeciv-sdl2.js:944537
setTimeout (async)
run @ freeciv-sdl2.js:944533
runCaller @ freeciv-sdl2.js:944445
removeRunDependency @ freeciv-sdl2.js:1804
finish @ freeciv-sdl2.js:5651
img_onload @ freeciv-sdl2.js:2186
freeciv-sdl2.html:1249 Build with ASSERTIONS=2 for more info.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment