Continuing to poke at this a bit today. /usr/bin/mstflint has been
stripped. So no usefule backtrace in the core file I generated. But
running under ltrace, I see the SIGSEGV delivered right after a
getenv("MFT_DEBUG") returns NULL. Setting MFT_DEBUG in the process's
environment to 999999 gets at least a hint of where it was:
$ export MFT_DEBUG=999999
$ mstflint --version
mstflint, mstflint 4.33.0, Git SHA Hash: d431e08
$ sudo -E mstflint -d d8:00.0 query full
in mtcr_pciconf_open function. mf->vsec_type: 0
FUNCTIONAL VSC Supported
MTCR_UL: mtcr_pciconf_open: mf->pxir_vsec_supp: 0
Segmentation fault
$
I do have a core file if that would help.
This hasn't stopped me getting my project done. Running the binaries
from bookworm's mstflint 4.21.0+1-1 package got my ROM flashed. So,
while bug is marked important for broken functionality, it is not
urgent for the submitter at all.
Thanks!
- Aaron