Telegram fails to run: SIGSEGV (Address boundary error)

New NixOS install, using sway (wayland). I have telegram-desktop installed via Home Manager.

Attempting to launch telegram gives an immediate crash.

❯ telegram-desktop
fish: Job 1, 'telegram-desktop' terminated by signal SIGSEGV (Address boundary error)

I haven’t been able to find anyone else experiencing this issue, so maybe it’s something I’m missing in my nix configs? Does Telegram require configuration to work under NixOS?

1 Like

Broken by me in use make-binary-wrapper for significant speedups by matklad · Pull Request #225881 · NixOS/nixpkgs · GitHub and fixed on master by telegram-desktop: remove crimes by K900 · Pull Request #228410 · NixOS/nixpkgs · GitHub

1 Like

Broken years ago by trying to do crimes to the wrapper, more like, and only exposed just now.

Awesome! I’ll wait for that update to trickle down then. Thanks for the quick responses!

You can also revert to a slightly older version of nixpkgs for now, it might take a couple of days to get the update in. Eg, if you are using flakes, the following hash should work:

1 Like

re-reading the whole conversation, like mentioned above, the fix is comming :slight_smile:

already in nixos-unstable-small :slight_smile:

( sorry, i posted a previous comment before the edit without reading everything… goes to teach against quick posting :stuck_out_tongue: )