Fix account page SIGSEGV: el_img extern arity mismatch #144
Reference in New Issue
Block a user
Delete Branch "fix/magic-link-flow"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Root cause
account.el declared
el_imgas a 1-arg extern (attrs: String). Every other file and the runtime C implementation use 3 args (src, alt, attrs). When the compiled binary tried to call the 1-arg variant, it passed garbage on the stack → signal 11 (SIGSEGV) on the first HTTP request. The TCP startup probe passed because the server bound to 8080 fine; the crash only hit on request processing.Fix
el_img(src: String, alt: String, attrs: String)account_nav()to 3-arg formTest
Stage: /account should load (previously 503 on every hit)