https://bugs.winehq.org/show_bug.cgi?id=46694
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #2 from Zebediah Figura z.figura12@gmail.com --- (In reply to Timothy Pearson from comment #1)
Changing the statement to read as follows resolves the crash:
if (-1 <= tunion->typelib_idx)
Is this change correct in the context of widl design?
Sorry for the late reply, but no. -1 is meant as a sentinel to say that the index hasn't been assigned yet.
From the backtrace, I guess the union's name is probably NULL. But I don't know
why this would happen on ppc64el specifically. If this bug is still present in current Wine (in particular I wonder if 732f67ed3 made a difference), can you please attach a log of the output generated when running the offending command with the additional option "-d 0x3f"?