NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.1k stars 14.07k forks source link

Getting segmentation fault on running lxappearance #163760

Open wiredhikari opened 2 years ago

wiredhikari commented 2 years ago
Checklist
Project name

nix search name:

current version: desired version:

Notify maintainers

maintainers:

Note for maintainers

Please tag this issue in your PR.

wernerb commented 2 years ago

Confirmed

romildo commented 2 years ago

lxappearance is working for me.

There are no details of the failure in this issue report. Please, be more specific.

hanckmann commented 2 years ago

I have the same issue and will fill in the bug report with more details.

Describe the bug

lxappearance crashes when trying to start the application.

Steps To Reproduce

Steps to reproduce the behavior:

  1. install lxappearance
  2. run lxappearance

Expected behavior

The GUI application should start.

Additional context

This is the output from the terminal:

> lxappearance 
/nix/store/ikl21vjfq900ccbqg1xasp83kadw6q8y-glibc-2.32-46/lib/libc.so.6: version `GLIBC_2.33' not found (required by /nix/store/xlipjicsv9kcdkjba86yl9xrnvx721g7-gvfs-1.50.2/lib/gio/modules/libgvfsdbus.so)
Failed to load module: /nix/store/xlipjicsv9kcdkjba86yl9xrnvx721g7-gvfs-1.50.2/lib/gio/modules/libgvfsdbus.so
[1]    21649 segmentation fault (core dumped)  lxappearance

Notify maintainers

@hinton @romildo

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.18.14-zen1, NixOS, 22.05 (Quokka), 22.05.2485.3d47bbaa26e`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.8.1`
 - channels(root): `"nixos-22.05"`
 - channels(patrick): `"home-manager"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
romildo commented 2 years ago

Looks the same issue as https://github.com/NixOS/nixpkgs/issues/166054

evils commented 1 year ago

since that's closed, this is probably a separate issue

i'm getting segfault without the glibc line (on sway)

(built with dontStrip = true; on lxappearance and libX11)

> result/bin/lxappearance
[1]    3971364 segmentation fault (core dumped)  result/bin/lxappearance
(gdb) bt full
#0  0x0000000000e9e660 in ?? ()
No symbol table info available.
#1  0x00007fd592cf092d in XInternAtom (dpy=0xeb3590, name=name@entry=0x40a389 "_LXSESSION", onlyIfExists=onlyIfExists@entry=1) at IntAtom.c:175
        atom = <optimized out>
        sig = 140555279423217
        idx = -825010704
        n = 32766
        rep = {type = 192 '\300', pad1 = 106 'j', sequenceNumber = 37578, length = 32725, atom = 15405728, pad2 = 0, pad3 = 1, pad4 = 0, pad5 = 0, pad6 = 0}
#2  0x0000000000405cee in check_lxsession () at lxappearance.c:89
No locals.
#3  main (argc=<optimized out>, argv=<optimized out>) at lxappearance.c:643
        err = 0x0
        b = <optimized out>
(gdb)

i tried to build from the 5 year newer source from github, but couldn't get the build working

is there another GUI app that works on sway i can use to select a cursor theme?

LudovicoPiero commented 1 year ago

GDK_BACKEND=x11 lxappearance fixed the issue for me

midirhee12 commented 1 week ago

Confirmed on sway and river (wlroots).