spacefm crash on launch

OpenSubmitted by bdju.
Details
2 participants
  • bdju
  • ison
Owner
unassigned
Severity
normal
B
(address . bug-guix@gnu.org)
CEGNLVZQCH70.P2SPGEWBVK7J@masaki
guix (GNU Guix) 9057035d892266c1b90242d06522a642e13b09d79
I am running Guix System

Here is the output after running `spacefm` from my terminal
------------------------------------------------------------------------

(spacefm:28620): SpaceFM-WARNING **: 13:43:17.110: No root settings
found in
/gnu/store/cb0mdkpb2a3x1sylfhkhb8g228hs43cp-spacefm-1.0.6/etc/spacefm/
Setting a root editor in Preferences should remove this warning on
startup. Otherwise commands run as root may present a security risk.
**
GLib:ERROR:../glib-2.62.6/glib/ghash.c:472:g_hash_table_lookup_node:
assertion failed: (!g_atomic_ref_count_compare (&hash_table->ref_count,
0))
Bail out!
GLib:ERROR:../glib-2.62.6/glib/ghash.c:472:g_hash_table_lookup_node:
assertion failed: (!g_atomic_ref_count_compare (&hash_table->ref_count,
0))
zsh: abort spacefm
------------------------------------------------------------------------

When launching with ‘guix environment --pure --ad-hoc spacefm --
spacefm’ instead, it appears successfully.
I
(name . bdju)(address . bdju@tilde.team)
87wnma2yaz.fsf@airmail.cc
Are you using Wayland? If so then there is a workaround. Try launching
it like "WAYLAND_DISPLAY= spacefm" (notice the space). Spacefm doesn't
support Wayland natively.
A similar file manager that does support Wayland is Thunar.

"bdju" via Bug reports for GNU Guix <bug-guix@gnu.org> writes:

Toggle quote (24 lines)
> guix (GNU Guix) 9057035d892266c1b90242d06522a642e13b09d79
> I am running Guix System
>
> Here is the output after running `spacefm` from my terminal
> ------------------------------------------------------------------------
>
> (spacefm:28620): SpaceFM-WARNING **: 13:43:17.110: No root settings
> found in
> /gnu/store/cb0mdkpb2a3x1sylfhkhb8g228hs43cp-spacefm-1.0.6/etc/spacefm/
> Setting a root editor in Preferences should remove this warning on
> startup. Otherwise commands run as root may present a security risk.
> **
> GLib:ERROR:../glib-2.62.6/glib/ghash.c:472:g_hash_table_lookup_node:
> assertion failed: (!g_atomic_ref_count_compare (&hash_table->ref_count,
> 0))
> Bail out!
> GLib:ERROR:../glib-2.62.6/glib/ghash.c:472:g_hash_table_lookup_node:
> assertion failed: (!g_atomic_ref_count_compare (&hash_table->ref_count,
> 0))
> zsh: abort spacefm
> ------------------------------------------------------------------------
>
> When launching with ‘guix environment --pure --ad-hoc spacefm --
> spacefm’ instead, it appears successfully.
B
(name . ison)(address . ison@airmail.cc)
CF2TIJZM6JBT.3EDSK9CPXVVW9@masaki
On Mon Oct 18, 2021 at 9:10 AM CDT, ison wrote:
Toggle quote (1 lines)
> Are you using Wayland?
Yes, I am on Sway.
Toggle quote (3 lines)
> If so then there is a workaround. Try launching
> it like "WAYLAND_DISPLAY= spacefm" (notice the space). Spacefm doesn't
> support Wayland natively.
This works! Thanks.
Toggle quote (1 lines)
> A similar file manager that does support Wayland is Thunar.
I'm all-set for a file manager. I just noticed this problem while
comparing several of them and their performance. I believe pcmanfm,
pcmanfm-qt, thunar, caja, and dolphin all worked okay on Wayland. At the
least they didn't crash on launch.

I guess it sounds like this is an upstream bug then. Not sure if this
should be closed or not. I'll leave that up to someone else to decide.
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send email to 50742@debbugs.gnu.org