Open ProchaLu opened 4 months ago
Using the research strategy from issue #261, I've decoded the error code 3221226505
to the hex code 0xC0000409
, which is more googlable.
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.
I've also reported this in a new libpg-query
issue, to surface the crashes over there too:
Describe the bug SafeQL throws wrong errors with
libpg-query@16.2.0
on Windows and MacOS.Issue also reported in VSCode ESlint repo:
Misleading errors:
user
instead ofusers
)users.id
)ON
)On macOS ESlint throws these errors:
On Windows ESlint throws an error code 127 "command not found"
On Windows with these issues, the ESLint VSCode extension crashes after 5 times in 3 minutes
To Reproduce
git clone https://github.com/ProchaLu/safeql-eslint-broken
.env
variablesExpected behavior The expected behavior would be that SafeQL throws correct errors.
incorrect table name (
user
instead ofusers
)missing comma (should be after
users.id
) The error should lead to the missing comma.curly brackets instead of parentheses (after
ON
) The error should lead to the wrong use of curly brackets.OS: Windows PostgreSQL version 15.7