-
Notifications
You must be signed in to change notification settings - Fork 31
Description
Windows users of libpg-query@16.2.0 via SafeQL have reported crashes:
Error code 0xC0000409 (STATUS_STACK_BUFFER_OVERRUN)
Error code 0xC0000409 (aka error code 3221226505) (aka STATUS_STACK_BUFFER_OVERRUN) occurred when linting SQL with errors in it (missing commas and parentheses):
Researching a bit led me to this:
How do you diagnose the exception code 0xc0000409 on Windows? | Stack Overflow
0xc0000409 means STATUS_STACK_BUFFER_OVERRUN.
In other words, something in your program is writing past the current stack frame, corrupting data on the stack. The program has detected this and rather than let it continue, has thrown an exception.
Error code 0xE06D7363
Error code 0xE06D7363 (aka error code 3765269347) occurred when linting Prisma SQL code (code currently unknown):
Research led to this:
C++ Loadlibrary() error 3765269347
The diagnostic is that the DllMain() function inside the DLL died due to an unhandled C++ exception
I am wondering whether this is a general problem or deficiency with how libpg-query is built on Windows, or whether it's an issue with how SafeQL is interacting with libpg-query?
Last libpg-query Windows PRs: