https://bugs.winehq.org/show_bug.cgi?id=51853
--- Comment #16 from m0rvj johnpgoodman@gmail.com --- I'm so confused. The packages from winehq for ubuntu version 7.0rc1 fix the crash but printing does not happen. I downloaded the latest git and checked out 7.0rc1 and built it. When I build it myself I get a crash still. That shouldn't happen, they should be the same!
Anyway assuming something in 7.0rc1 has fixed the crash, we can focus on the lack of printing. Looking at the regression commit it appears to me that there is an error in the return variable in info.c line 1824 which reads: ret = config->pDrvDeviceCapabilities(NULL /* FIXME */, pDevice, fwCapability, pOutput, pDevMode);
However I think pPort should be the second return variable not pDevice.
I also note that in line 1814 int ret was previously INT ret. So the return values will all be 4 bytes out? (I'm new to C so please forgive any ignorance here.)