You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The segfault occurs in llama_grammar_init -- still digging into it, but wanted to at least log the bug.
This is not a regression, and is different from previous grammar-related segfault errors in the past.
This probably affects the server, and represents a vector to crash the server with a malformed request.
Ideally we should be able to catch left-recursion situations and hopefully either continue gracefully, or at the very least fail with an intelligent error message.
The text was updated successfully, but these errors were encountered:
Using latest master branch on OSX Sonoma 14.2.1 (23C71), M1 Macbook Pro.
When parsing grammars that contain left-recursion, the application parses with a segfault.
Example:
Results in:
The segfault occurs in
llama_grammar_init
-- still digging into it, but wanted to at least log the bug.This is not a regression, and is different from previous grammar-related segfault errors in the past.
This probably affects the server, and represents a vector to crash the server with a malformed request.
Ideally we should be able to catch left-recursion situations and hopefully either continue gracefully, or at the very least fail with an intelligent error message.
The text was updated successfully, but these errors were encountered: