https://bugs.winehq.org/show_bug.cgi?id=49621
Bug ID: 49621 Summary: Tableau Desktop crashes (apparently inside gdi32.GetFontFileInfo) Product: Wine Version: 5.13 Hardware: x86 URL: https://downloads.tableau.com/tssoftware/TableauDeskto p-64bit-2020-2-2.exe OS: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: xerox.xerox2000x@gmail.com Distribution: ---
sha1sum TableauDesktop-64bit-2020-2-2.exe 33445211ab66cb07990e11468521ca848a23ed7a TableauDesktop-64bit-2020-2-2.exe
Someone reported this crashing on reddit, he copied it over from windows disk, i guess because of failing installer (bug 49620)
For me it crashes too; Looks like for me it chokes in GetFontFileInfo 00d4:Call gdi32.GetFontFileInfo(00370009,00000000,00217fa0,00000018,00000000) ret=7fd5ee6937e3 00d4:trace:seh:dispatch_exception code=c0000005 flags=0 addr=00007FD5F0EB189A ip=f0eb189a tid=00d4
Hack below makes it start for me into login window. Maybe some font-guru could have a look at this.
Note: I tried install various fonts with winetricks but that didn't help either
Hack: diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c index f82a8c1641..1b60f05354 100644 --- a/dlls/gdi32/freetype.c +++ b/dlls/gdi32/freetype.c @@ -8885,6 +8885,8 @@ BOOL WINAPI GetFontFileInfo( DWORD instance_id, DWORD unknown, struct font_filei needed = &required_size;
font = entry->obj; + + if(info) *needed = sizeof(*info) + strlenW(font->fileinfo->path) * sizeof(WCHAR); if (*needed > size) {