Rosettea / Hilbish

🌓 The Moon-powered shell! A comfy and extensible shell for Lua fans! 🌺 ✨
https://rosettea.github.io/Hilbish/
MIT License
499 stars 23 forks source link

fix: hilbish may segfault on startup #236

Closed TorchedSammy closed 1 year ago

TorchedSammy commented 1 year ago

i do not know the exact reason, but sometimes on startup hilbish will segfault for some reason. since this only happens when i open up my terminal it quickly flashes away so that doesnt allow me to fully read the stack trace. what is known is that it is related to bait (i think)

TorchedSammy commented 1 year ago

ok turns out it's because tym (my terminal) with a daemon resizes right on startup, which would then cause hilbish to try and emit a signal.resize hook, but it segfaults because bait doesnt get initialized yet