System hangs up with demanding task and Firefox open

Hi, it happened to me three times that my Macbook Air M1 8GB crashed while doing a demanding task (compiling a package with cargo/rust) and browsing the web with firefox.
The laptop was unusable and I had to force shut it down by pressing the dedicated button.
I tried running asahi-diagnose but didn’t see anything related to the crash datetime.
Can I investigate in another way?

Could be this problem Hector Martin: "Folks, if you are having stability/etc issues wit…" - Treehouse Mastodon

Ok, the next time it happens i’ll try to report bug. Thanks!