2025-07-18 04:14 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0005421Spring engineGeneralpublic2017-01-30 17:42
Reportersnorkellingcactus 
Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionfixed 
Product Version103.0 
Target VersionFixed in Version 
Summary0005421: Recieved SIGABRT (Aborted) at engine init
DescriptionHi.
 When i start spring always get aborted and sometimes shows an extra log line saying that it fail when throwing an instance of lua longjmp*.

 I picked a random map and game. In attached info i run th game nota 1.90r, map Titan v2 and IA Bug:easy. I also tried other maps and games like zerok.

 I build it from source, at versions 103.0,103.1 and git master with no custom cflags or march exept for the last try where i turned CMAKE_BUILD_TYPE=DEBUG and added -g cflag for debugging.

I have no experience with debugging, but i tried gdb for fist time, and i think the problem is related with the lua interpreter.

Thanks
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0016986

abma (administrator)

just a guess:

SIGABRT + Mesa DRI Intel(R) Ironlake Mobile: very likely a gfx related crash.

if so, there is very likely output of dmesg could help already.

you could try to set DebugGL=1 in springsettings.cfg and/or try to run spring with MESA_XSYNC=1 spring for a better stacktrace.

(see http://www.mesa3d.org/envvars.html)

~0016990

snorkellingcactus (reporter)

Yes. Seems you are right.
I do not have dmesg/printk support in the kernel. In a while i will enable it and attach it.

~0017002

snorkellingcactus (reporter)

Hi.

I recompiled the kernel with printk support. I also will attach other info like spring launched with swrast and some package versions of my system.

I run dmesg after launch spring.

Thanks you.

~0017003

snorkellingcactus (reporter)

kernel 4.9.0
gcc 5.4.0

lua 5.1.5

mesa 12.0.4
--disable-asm --enable-osmesa --with-dri-drivers=i915,i965 --with-gallium-drivers=swrast --with-vulkan-drivers=intel --disable-libglvnd --with-egl-platforms=x11,drm,surfaceless --with-pic --enable-dri --enable-egl --enable-gbm --enable-gles1 --enable-gles2 --enable-shader-cache --enable-shared-glapi --disable-glx-read-only-text --disable-omx --enable-gallium-llvm --disable-llvm-shared-libs --disable-opencl --disable-opencl-icd --enable-texture-float --disable-va --disable-vdpau --enable-dri3 --enable-glx --enable-glx-tls --disable-xa --disable-xvmc --with-sha1=libcrypto

DevIL 1.7.8
 --disable-exr --enable-ILU --enable-ILUT --enable-jpeg --enable-png --without-libsquish --without-nvtt --disable-allegro --enable-asm --disable-jp2 --disable-lcms --disable-mng --enable-opengl --disable-sdl --disable-tiff --enable-shm --enable-render --enable-x11 --without-examples

xf86-video-intel 2.99.917_p20160704
--enable-xvmc --disable-dga --disable-xaa --enable-udev --enable-backlight --enable-dri --enable-dri1 --enable-dri2 --enable-dri3 --enable-kms --enable-sna --enable-ums --enable-uxa --with-default-dri=3 --disable-debug --disable-tools --disable-backlight-helper --disable-wc-mmap --with-default-accel=sna

SDL 2.0.5
-DALSA:BOOL=TRUE -DOSS:BOOL=TRUE -DRPATH:BOOL=FALSE -DARTS:BOOL=FALSE -DESD:BOOL=FALSE -DINPUT_TSLIB:BOOL=FALSE -DNAS:BOOL=FALSE -DVIDEO_MIR:BOOL=FALSE -DX11_SHARED:BOOL=TRUE -DVIDEO_X11:BOOL=TRUE -DVIDEO_X11_XCURSOR:BOOL=TRUE -DVIDEO_X11_XINERAMA:BOOL=TRUE -DVIDEO_X11_XINPUT:BOOL=TRUE -DVIDEO_X11_XRANDR:BOOL=TRUE -DVIDEO_X11_XSCRNSAVER:BOOL=TRUE -DVIDEO_X11_XSHAPE:BOOL=TRUE -DVIDEO_X11_XVM:BOOL=TRUE -DVIDEO_OPENGL:BOOL=TRUE -DVIDEO_OPENGLES:BOOL=TRUE -DPULSEAUDIO:BOOL=TRUE -DPULSEAUDIO_SHARED:BOOL=TRUE -DVIDEO_WAYLAND:BOOL=FALSE -DWAYLAND_SHARED:BOOL=FALSE

glu 9.0.0
glew 1.13.0

~0017005

Kloot (developer)

I suspect you have (or the game you are playing contains) a Lua widget that issues Spring.SendCommands("ctrlpanel"), which under certain conditions can cause problems.

If so, commenting out the line or disabling the widget should help.

~0017009

snorkellingcactus (reporter)

Thanks you. I will check it.

~0017154

Anonymous (viewer)

Fix 580be124d590f5a8e53f03b106b2fca71c8daabd committed to develop branch: probably fix 0005421, repo: spring changeset id: 7862
+Notes

-Issue History
Date Modified Username Field Change
2016-12-22 12:21 snorkellingcactus New Issue
2016-12-22 12:21 snorkellingcactus File Added: spring-under-gdb
2016-12-23 04:16 abma Status new => feedback
2016-12-23 04:16 abma Note Added: 0016986
2016-12-23 13:35 snorkellingcactus File Added: spring-init-debuggl-xsync
2016-12-23 13:35 snorkellingcactus Note Added: 0016990
2016-12-23 13:35 snorkellingcactus Status feedback => new
2016-12-26 19:27 snorkellingcactus File Added: dmesg
2016-12-26 19:27 snorkellingcactus Note Added: 0017002
2016-12-26 19:27 snorkellingcactus File Added: spring_init_swrast
2016-12-26 19:28 snorkellingcactus Note Added: 0017003
2016-12-27 16:02 Kloot Note Added: 0017005
2016-12-29 17:09 snorkellingcactus Note Added: 0017009
2017-01-30 17:42 Changeset attached => spring develop 580be124
2017-01-30 17:42 Anonymous Note Added: 0017154
2017-01-30 17:42 Anonymous Status new => resolved
2017-01-30 17:42 Anonymous Resolution open => fixed
+Issue History