[Bug 52492] stack overflow from GdipFlattenPath

WineHQ Bugzilla wine-bugs at winehq.org
Sun Jan 30 21:50:04 CST 2022


https://bugs.winehq.org/show_bug.cgi?id=52492

--- Comment #2 from Rob F <rjfeuerbach at gmail.com> ---
Thanks for following up.  So I'm on MacOS 11.6.2, using clang and the wine64
build.  I'm not sure which compile options you are referring to, but in case it
is how configure is being called, it is:

CC=clang CXX=clang++ GPHOTO2_CFLAGS=-I/usr/local/opt/libgphoto2/include
-I/usr/local/opt/libgphoto2/include/gphoto2
GPHOTO2_PORT_CFLAGS=-I/usr/local/opt/libgphoto2/include
-I/usr/local/opt/libgphoto2/include/gphoto2 
SDL2_CFLAGS=-I/usr/local/opt/sdl2/include/SDL2
/Users/feuerrj1/Documents/SW/wine/configure --enable-win64 --without-x
--with-mingw --with-png --with-sdl

The test code I posted generates a number of sucesses, including on one of the
flatten tests, but finally generates a "stack overflow" error for me.  I have
tried replacing the float "==" in gdiplus/graphicspath.c:flatten_bezier with an
"isclose" variation using the FLT_EPSILON and the problem appears fixed. 
However, I'm not sure if this is really the best solution.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list