win32ss / supermium

Chromium fork for Windows XP/2003 and up
https://win32subsystem.live/supermium/
BSD 3-Clause "New" or "Revised" License
2.39k stars 81 forks source link

Crash on 32-bit XP when calling window.queryLocalFonts #289

Open mlaunois opened 8 months ago

mlaunois commented 8 months ago

When a script calls window.queryLocalFonts in a secure context and the user clicks on Allow, the browser silently crashes with a 0xC0000005 exception on 32-bit Windows XP

For reference the function works fine with the 32-bit build on 64-bit Windows 7

That's what I get when I attempt to debug Supermium with x32dbg:

image

win32ss commented 8 months ago

It is is a general GDI issue. This particular code was written after GDI was deprecated and assumes DirectWrite. I am now writing a GDI version of the offending code.