moxin-org / moly

Moly: an AI LLM GUI app in pure Rust
https://www.moxin.app
Apache License 2.0
150 stars 19 forks source link

Crash in Makepad code when switching models and panels. #176

Open jmbejar opened 3 months ago

jmbejar commented 3 months ago

We received this issue report. It is a frontend/Makepad issue.

Playing Moxin app on MacOS that I built today from main branch. Model switching between Llama3 8B and Llama3.1 8B. I crashed the app when I expand/reduce left side panel (I think), I am not sure if this is new / old bug. Here is the terminal log trace:

thread 'main' panicked at ~/.cargo/git/checkouts/makepad-db22a2cacd5610d7/6eba48b/draw/vector/src/trapezoidator/mod.rs:257:48: index out of bounds: the len is 9 but the index is 9 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

jmbejar commented 3 months ago

This is a known issue that is likely related with changes in Makepad fonts rendering. It is expected to have an update on this is the following days, so we will check when we have the updated version of the framework.