Technical support > Linux

ufo2map segmentation fault

(1/1)

apo:
Hi,

In Debian I build the maps for UFO:AI 2.5 from source. This works most of the time. However on i386 (32bit) and rarely even on amd64 (64bit) I get a segmentation fault, something like

/usr/bin/ufo2map -v 4 -nice 19 -quant 4 -soft maps/oriental.map
> build/maps.mk:46: recipe for target 'base/maps/oriental.bsp' failed
> make[2]: *** [base/maps/oriental.bsp] Segmentation fault

Is this a known issue and possibly fixed in the 2.6 branch? Is there a compile time option to increase the verbosity of ufo2map?
You should be able to reproduce this with the official Debian package (ufoai-maps) https://tracker.debian.org/pkg/ufoai-maps.
I'm reporting this issue because there is currently an open Debian bug #860680 https://bugs.debian.org/860680 and I would like to fix it.

Any ideas?

geever:

--- Quote from: apo on April 19, 2017, 07:40:14 pm ---Any ideas?

--- End quote ---

I'm not a map-compiler guru, but it would be nice to see a backtrace for the investigation, maybe even a coredump*. http://ufoai.org/wiki/Debugging#gdb

(*though I'm afraid that coredump is going to be huge.)

-geever

apo:
It turned out that there was an uninitialized variable but it got already fixed

https://sourceforge.net/p/ufoai/code/ci/bae827ba025ff1d3a56b402c27aa84401914acc4/

All good now :)

geever:
Thanks! I backported the fix to ufoai_2.5 branch.

-geever

Navigation

[0] Message Index

Go to full version