Hangs and crashes

Hello!
I have two main issues with my system:

Firefox
Carsh report
I tried both the normal package and the flatpak package. The same error occurs randomly. Firefox crashes and I have to restore my session.

Start/Shutdown
Sometimes, but not so often the system hangs when shutdown (more often after rebuild switch) or directly after logging in to GNOME.

Can anyone please have a look at my config and see if I need to change anything?

Regards, Jonatan

I doubt very much that the nix config is interesting, especially if it’s running as a flakpak. Is the crash always at the same point in the crash report?

ok, yes the crash report signature is the same every time: [@ __vfscanf_internal ]

I more meant the whole stack, i.e. it looks like it is crashing to due some bug in collecting telemetry: Manage technical and interaction data collection settings in Firefox | Mozilla Support might be worth trying to disable that and seeing if the crashes stop.

Thanks, I will try disabling Firefox Data collection!