https://bugs.winehq.org/show_bug.cgi?id=38695
Bug ID: 38695 Summary: valgrind shows uninitialized memory in dlls/gdi32/freetype.c:WineEngInit() (win64) Product: Wine Version: 1.7.44 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase, valgrind, win64 Severity: normal Priority: P2 Component: gdi32 Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com Distribution: ---
Shows up in a lot of tests, I see that function mentioned 4662 times in the whole log :)
==3240== Conditional jump or move depends on uninitialised value(s) ==3240== at 0x5E4EC9A: faces_equal (freetype.c:1383) ==3240== by 0x5E4F095: insert_face_in_family_list (freetype.c:1440) ==3240== by 0x5E4FA34: load_face (freetype.c:1576) ==3240== by 0x5E4FB20: load_face (freetype.c:1589) ==3240== by 0x5E4FF17: load_font_list_from_cache (freetype.c:1668) ==3240== by 0x5E594BA: WineEngInit (freetype.c:4141) ==3240== by 0x5E693FE: DllMain (gdiobj.c:658) ==3240== by 0x5E8E63E: __wine_spec_dll_entry (dll_entry.c:40) ==3240== by 0x4C4240F: call_dll_entry_point (loader.c:185) ==3240== by 0x4C45000: MODULE_InitDLL (loader.c:1080) ==3240== by 0x4C45401: process_attach (loader.c:1169) ==3240== by 0x4C453AA: process_attach (loader.c:1161) ==3240== by 0x4C453AA: process_attach (loader.c:1161) ==3240== by 0x4C453AA: process_attach (loader.c:1161) ==3240== by 0x4C4ABF5: attach_process_dlls (loader.c:2797) ==3240== by 0x4419D96: ??? (port.c:60) ==3240== Uninitialised value was created by a client request ==3240== at 0x4C3A971: mark_block_uninitialized (heap.c:208) ==3240== by 0x4C3AB20: initialize_block (heap.c:239) ==3240== by 0x4C400AD: RtlAllocateHeap (heap.c:1716) ==3240== by 0x5E4F685: load_face (freetype.c:1530) ==3240== by 0x5E4FB20: load_face (freetype.c:1589) ==3240== by 0x5E4FF17: load_font_list_from_cache (freetype.c:1668) ==3240== by 0x5E594BA: WineEngInit (freetype.c:4141) ==3240== by 0x5E693FE: DllMain (gdiobj.c:658) ==3240== by 0x5E8E63E: __wine_spec_dll_entry (dll_entry.c:40) ==3240== by 0x4C4240F: call_dll_entry_point (loader.c:185) ==3240== by 0x4C45000: MODULE_InitDLL (loader.c:1080) ==3240== by 0x4C45401: process_attach (loader.c:1169) ==3240== by 0x4C453AA: process_attach (loader.c:1161) ==3240== by 0x4C453AA: process_attach (loader.c:1161) ==3240== by 0x4C453AA: process_attach (loader.c:1161) ==3240== by 0x4C4ABF5: attach_process_dlls (loader.c:2797) ==3240== by 0x4419D96: ??? (port.c:60) ==3240==