In case this wasn't obvious and implied by your post, the error in the code is exactly where the seg fault occurs:
hugin/src/hugin-2021.0.0/src/hugin_base/hugin_utils/utils.cpp:475 475 if (strlen(xdgDataDir) == 0) Seg faults often indicate a bug in a distant place, that may be hard to identify from the location of the seg fault. But not this time. The coding error is right there and obvious. The part I don't know enough about is the hugin build time option: USE_XDG_DIRS I don't know which official builds of hugin have that defined (the Fedora build I'm using doesn't). As you discovered, if hugin is built with that build time option, but the environment variable that depends on is not present, then it crashes. The line of code you identified is clearly intended to check for lack of that environment variable (to fall back on alternate behavior) but checks incorrectly. -- A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ --- You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group. To unsubscribe from this group and stop receiving emails from it, send an email to hugin-ptx+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/819f98dc-1003-4d47-82fa-0b60c2d3d724n%40googlegroups.com.