inky icon indicating copy to clipboard operation
inky copied to clipboard

Segfault on Linux

Open MusicalArtist12 opened this issue 7 months ago • 9 comments

OS: Arch Linux x86_64 Version: Linux 6.14.9-zen1-1-zen CPU: Intel(R) Core(TM) i5-8500 (6) @ 4.10 GHz GPU: NVIDIA GeForce GTX 1070 RAM: 46.98 GiB

Window Manager: Hyprland

Installed from the aur package inky

Full output:

julia:~/ $ inky                                                                                                                              [10:06:31]
Testing!
[1]    91585 segmentation fault (core dumped)  inky
julia:~/ $                                                                                                                                   [10:06:34]

I'll dig into the code base myself, and try compiling it too instead of using the aur package.

MusicalArtist12 avatar Jun 13 '25 17:06 MusicalArtist12

Possibly same issue here, but it only segfaults when the window is maximized. Ubuntu 24.04 GNOME. Might be that Hyprland, being a tiling wm, immediately maximizes the window and hence it crashes on startup? Or I'm running into a different segfault :)

silversquirl avatar Jun 16 '25 20:06 silversquirl

Ah! Possible duplicate of #520

silversquirl avatar Jun 16 '25 20:06 silversquirl

I also get the same behavior. Using the AUR package, when maximizing the window I get: fish: Job 1, 'inky' terminated by signal SIGSEGV (Address boundary error)

I'm on electron 1:36-1 from Arch official repos, and the referenced issue suggests the electron bug was fixed back in version 30; do we know if this is a regression in electron? Based on a quick look at their issue tracker I don't see anything related to this more recent than the original issue from 2024, so I'm wondering if the problem may lay elsewhere this time.

@MusicalArtist12 if you ended up compiling Inky yourself, did it end up fixing this issue for you?

realitychemist avatar Jun 18 '25 20:06 realitychemist

On Arch I can confirm the issue to be fixed when compiling Inky with electron 30.0.6

admjohnj avatar Jun 22 '25 08:06 admjohnj

how did u get 47 gigs of ram, I only got a Pentium and 2gigs of ddr3 on my arch desktop (same issue btw)

3dgoose avatar Jul 27 '25 20:07 3dgoose

how did u get 47 gigs of ram, I only got a Pentium and 2gigs of ddr3 on my arch desktop (same issue btw)

My girlfriend recently upgraded to ddr5 and gave me her old sticks...

MusicalArtist12 avatar Jul 27 '25 22:07 MusicalArtist12

lol my old sticks are just 248mb of ddr2

3dgoose avatar Jul 28 '25 22:07 3dgoose

For potential future readers: until this is resolved, you may consider simply going back to 0.14.1

Daniel-Wittgenstein avatar Oct 19 '25 10:10 Daniel-Wittgenstein

Compiling with NPM works

3dgoose avatar Oct 20 '25 11:10 3dgoose