NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.81k stars 13.91k forks source link

gnunet-fs-gtk: Segmentation fault (core dumped) #121436

Open davidak opened 3 years ago

davidak commented 3 years ago

Describe the bug I started any program provided by gnunet-gtk in a review of https://github.com/NixOS/nixpkgs/pull/110606 and noticed that gnunet-fs-gtk crashes.

Here is the end of an strace:

Click to expand ``` [pid 113192] futex(0x1732180, FUTEX_WAIT_PRIVATE, 35, {tv_sec=0, tv_nsec=499999794} [pid 113183] futex(0x7fc8e6b032b0, FUTEX_WAKE_PRIVATE, 1 [pid 113187] futex(0x7fc8e6b032b0, FUTEX_WAIT_PRIVATE, 2, NULL [pid 113183] <... futex resumed>) = 0 [pid 113187] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 113187] futex(0x7fc8e6b032b0, FUTEX_WAKE_PRIVATE, 1) = 0 [pid 113187] write(7, "\1\0\0\0\0\0\0\0", 8) = 8 [pid 113187] futex(0x1732180, FUTEX_WAIT_PRIVATE, 35, {tv_sec=0, tv_nsec=499999799} [pid 113183] getpid() = 113183 [pid 113183] openat(AT_FDCWD, "/proc/113183/maps", O_RDONLY) = 17 [pid 113183] fstat(17, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 [pid 113183] read(17, "00400000-0040c000 r--p 00000000 "..., 1024) = 1024 [pid 113183] read(17, "000 00:00 0 \n7fc8a8021000-7fc8ac"..., 1024) = 1024 [pid 113183] read(17, "00000000 00:00 0 \n7fc8ccde8000-7"..., 1024) = 1024 [pid 113183] read(17, "qbs3386sfgha7d9864fqq56q32cp-lib"..., 1024) = 1024 [pid 113183] read(17, "e/2q1jcmnsqd2hsa61f1d0cq0x6qas2b"..., 1024) = 1024 [pid 113183] read(17, "d42d2000 r--p 00000000 08:02 128"..., 1024) = 1024 [pid 113183] read(17, "gsettings-schemas/elementary-ter"..., 1024) = 1024 [pid 113183] read(17, "b000 r--p 00000000 08:02 1127658"..., 1024) = 1024 [pid 113183] read(17, "864fqq56q32cp-librsvg-2.50.1/lib"..., 1024) = 1024 [pid 113183] read(17, "00000 08:02 5248077 "..., 1024) = 1024 [pid 113183] read(17, "e-volume-monitor.so\n7fc8d440e000"..., 1024) = 1024 [pid 113183] read(17, "6e11fe74b0a5d4ac55294c5319294-x8"..., 1024) = 1024 [pid 113183] read(17, "53znr3m-fc-cache/3c76bb81ba368cf"..., 1024) = 1024 [pid 113183] read(17, "dc186fa3d40ca966e62936147d5-x86_"..., 1024) = 1024 [pid 113183] read(17, "/a975a7c3cc9163968ce097bcfae8b96"..., 1024) = 1024 [pid 113183] read(17, "6qfhpgaaqbc1ny-gvfs-1.46.2/lib/g"..., 1024) = 1024 [pid 113183] read(17, "0-7fc8d4daf000 ---p 00000000 00:"..., 1024) = 1024 [pid 113183] read(17, " /nix/store/1jn6apz0f"..., 1024) = 1024 [pid 113183] read(17, "009000 08:02 3412117 "..., 1024) = 1024 [pid 113183] read(17, "1.3.7/lib/libvorbisfile.so.3.3.8"..., 1024) = 1024 [pid 113183] read(17, "0003000 08:02 11667383 "..., 1024) = 1024 [pid 113183] read(17, "j4m12x6lby1cpjbh6rkjq28fkp36ki-z"..., 1024) = 1024 [pid 113183] read(17, "ib/libgranite.so.5.5.0\n7fc8d577d"..., 1024) = 1024 [pid 113183] read(17, " /nix/store/k6gdgvbrbxa5wvkv7v2"..., 1024) = 1024 [pid 113183] read(17, "re/giraqfv2hijv9jlnss4y7rrmsny4q"..., 1024) = 1024 [pid 113183] read(17, "00 08:02 4332736 "..., 1024) = 1024 [pid 113183] read(17, "entary-files-4.5.0/lib/gtk-3.0/m"..., 1024) = 1024 [pid 113183] read(17, "001000 08:02 5332402 "..., 1024) = 1024 [pid 113183] read(17, "ldc4z6bmn2f24lc-libidn2-2.3.0/li"..., 1024) = 1024 [pid 113183] read(17, " /nix/store/yslp97531"..., 1024) = 1024 [pid 113183] read(17, "c8e3084000-7fc8e309c000 r-xp 000"..., 1024) = 1024 [pid 113183] read(17, "s.so.1\n7fc8e30be000-7fc8e30c1000"..., 1024) = 1024 [pid 113183] read(17, "dd86g7q-gcc-10.2.0-lib/lib/libst"..., 1024) = 1024 [pid 113183] read(17, "imqkz6w-brotli-1.0.9-lib/lib/lib"..., 1024) = 1024 [pid 113183] read(17, "00004000 08:02 9525650 "..., 1024) = 1024 [pid 113183] read(17, "/libsystemd.so.0.30.0\n7fc8e4ecb0"..., 1024) = 1024 [pid 113183] read(17, "-7fc8e4f1f000 rw-p 00050000 08:0"..., 1024) = 1024 [pid 113183] read(17, " /nix/store/pby9yzkvp4sdxnn182"..., 1024) = 1024 [pid 113183] read(17, "-1.1.3/lib/libXdmcp.so.6.0.0\n7fc"..., 1024) = 1024 [pid 113183] read(17, "y9yzkvp4sdxnn182nj3cww2gshnmp1-l"..., 1024) = 1024 [pid 113183] read(17, "nsly9983sza5j4c-libdatrie-2019-1"..., 1024) = 1024 [pid 113183] read(17, "7fc8e5162000-7fc8e5166000 r--p 0"..., 1024) = 1024 [pid 113183] read(17, "9fa42k-icu4c-68.2/lib/libicui18n"..., 1024) = 1024 [pid 113183] read(17, "oup-2.4.so.1.11.0\n7fc8e56ae000-7"..., 1024) = 1024 [pid 113183] read(17, "91 /nix/store"..., 1024) = 1024 [pid 113183] read(17, "s36m091540bacp455j1363b3n-at-spi"..., 1024) = 1024 [pid 113183] read(17, "c8e57eb000-7fc8e57ed000 r--p 000"..., 1024) = 1024 [pid 113183] read(17, "419183 /nix/s"..., 1024) = 1024 [pid 113183] read(17, "98000 rw-p 00077000 08:02 664277"..., 1024) = 1024 [pid 113183] read(17, "0bv8s9jxiy-glibc-2.32-40/lib/lib"..., 1024) = 1024 [pid 113183] read(17, "0-7fc8e58e0000 r-xp 00007000 08:"..., 1024) = 1024 [pid 113183] read(17, " /nix/store/93j8bk08ckr0b9i2g"..., 1024) = 1024 [pid 113183] read(17, "9b3000-7fc8e59c8000 r--p 0006900"..., 1024) = 1024 [pid 113183] read(17, "09 /nix/store"..., 1024) = 1024 [pid 113183] read(17, "libxcb-render.so.0.0.0\n7fc8e59f6"..., 1024) = 1024 [pid 113183] read(17, "0kfm1kz82v2icrsa-libxcb-1.14/lib"..., 1024) = 1024 [pid 113183] read(17, " 08:02 5905192 "..., 1024) = 1024 [pid 113183] read(17, ".3.2/lib/libEGL.so.1.1.0\n7fc8e5a"..., 1024) = 1024 [pid 113183] read(17, "7fc8e5b24000 rw-p 000a8000 08:02"..., 1024) = 1024 [pid 113183] read(17, "ore/9pkwzjki9z9qa6vbkz2hnvd60lz0"..., 1024) = 1024 [pid 113183] read(17, ".1.4/lib/libXinerama.so.1.0.0\n7f"..., 1024) = 1024 [pid 113183] read(17, ":02 4472304 /"..., 1024) = 1024 [pid 113183] read(17, "3f7iz7c4kn-libXcomposite-0.4.5/l"..., 1024) = 1024 [pid 113183] read(17, "-7fc8e5b84000 r--p 00000000 08:0"..., 1024) = 1024 [pid 113183] read(17, " /nix/store/w1gfgziqiw9kpqv"..., 1024) = 1024 [pid 113183] read(17, "1.19.0/lib/libwayland-cursor.so."..., 1024) = 1024 [pid 113183] read(17, "7000-7fc8e5bb8000 rw-p 00010000 "..., 1024) = 1024 [pid 113183] read(17, "00-7fc8e5c02000 r--p 00000000 08"..., 1024) = 1024 [pid 113183] read(17, "7q04s239i3hkzidi00v24h0l985w-tra"..., 1024) = 1024 [pid 113183] read(17, "sy-at-spi2-atk-2.38.0/lib/libatk"..., 1024) = 1024 [pid 113183] read(17, "11.so.6.4.0\n7fc8e5e89000-7fc8e5e"..., 1024) = 1024 [pid 113183] read(17, "-libXi-1.7.10/lib/libXi.so.6.1.0"..., 1024) = 1024 [pid 113183] read(17, "000 08:02 3543050 "..., 1024) = 1024 [pid 113183] read(17, "e-2.10.4/lib/libfreetype.so.6.17"..., 1024) = 1024 [pid 113183] read(17, "r-xp 00008000 08:02 2896783 "..., 1024) = 1024 [pid 113183] read(17, "507011 /nix/st"..., 1024) = 1024 [pid 113183] read(17, " /nix/store/v8q6nxyppy1m"..., 1024) = 1024 [pid 113183] read(17, "010000 08:02 2793143 "..., 1024) = 1024 [pid 113183] read(17, "4757925 /nix/"..., 1024) = 1024 [pid 113183] read(17, "nj8qyybsb2amzymy89bg8h1ld-libsod"..., 1024) = 1024 [pid 113183] read(17, "\n7fc8e61f8000-7fc8e632f000 r--p "..., 1024) = 1024 [pid 113183] read(17, "2000 08:02 5775455 "..., 1024) = 1024 [pid 113183] read(17, "lib/libltdl.so.7.3.1\n7fc8e637800"..., 1024) = 1024 [pid 113183] read(17, "00 08:02 2896753 "..., 1024) = 1024 [pid 113183] read(17, "79-libgcrypt-1.9.2/lib/libgcrypt"..., 1024) = 1024 [pid 113183] read(17, "v8s9jxiy-glibc-2.32-40/lib/libdl"..., 1024) = 1024 [pid 113183] read(17, "ppy1myi3rxni2080bv8s9jxiy-glibc-"..., 1024) = 1024 [pid 113183] read(17, " /nix/store/45qs1bg1y"..., 1024) = 1024 [pid 113183] read(17, "ibc-2.32.so\n7fc8e694f000-7fc8e69"..., 1024) = 1024 [pid 113183] read(17, " 0 \n7fc8e6979000-7fc8e6998000 r-"..., 1024) = 1024 [pid 113183] read(17, "p 00000000 08:02 9988714 "..., 1024) = 1024 [pid 113183] read(17, "b29dyjg0qan421hnpnl-glib-2.66.8/"..., 1024) = 1024 [pid 113183] read(17, "22p3dw-gdk-pixbuf-2.42.2/lib/lib"..., 1024) = 1024 [pid 113183] read(17, "m4884b-cairo-1.16.0/lib/libcairo"..., 1024) = 1024 [pid 113183] read(17, "cairo-1.16.0/lib/libcairo-gobjec"..., 1024) = 1024 [pid 113183] read(17, "000000 08:02 3160495 "..., 1024) = 1024 [pid 113183] read(17, "fkxg21rq38cbwhjrs8nyh4ih1-pango-"..., 1024) = 1024 [pid 113183] read(17, ".4800.3\n7fc8e6fbc000-7fc8e6fbf00"..., 1024) = 1024 [pid 113183] read(17, "0001a000 08:02 6377272 "..., 1024) = 1024 [pid 113183] read(17, "k-3.so.0.2404.23\n7fc8e70e4000-7f"..., 1024) = 1024 [pid 113183] read(17, "8e78a9000 rw-p 00000000 00:00 0 "..., 1024) = 1024 [pid 113183] read(17, " r--p 00000000 08:02 4757712 "..., 1024) = 1024 [pid 113183] read(17, "x/store/pm5z72hzcbc08qb336wkhmx9"..., 1024) = 1024 [pid 113183] read(17, "/nix/store/pm5z72hzcbc08qb336wkh"..., 1024) = 1024 [pid 113183] read(17, "e/pm5z72hzcbc08qb336wkhmx9b6mn29"..., 1024) = 1024 [pid 113183] read(17, "0-7fc8e791c000 r--p 00036000 08:"..., 1024) = 1024 [pid 113183] read(17, "08qb336wkhmx9b6mn29fr-gnunet-0.1"..., 1024) = 1024 [pid 113183] read(17, "lib-2.66.8/lib/libgmodule-2.0.so"..., 1024) = 1024 [pid 113183] read(17, "-p 0009d000 08:02 3095054 "..., 1024) = 1024 [pid 113183] close(17) = 0 [pid 113183] munmap(0x7fc8d43a7000, 147496) = 0 [pid 113183] munmap(0x7fc8d43cc000, 147496) = 0 [pid 113183] munmap(0x7fc8d438a000, 116048) = 0 [pid 113183] munmap(0x7fc8d4386000, 132) = 0 [pid 113183] munmap(0x7fc8d4387000, 8384) = 0 [pid 113183] openat(AT_FDCWD, "/nix/store/vy1n86p63cgv9z8djwjiyb9k6sfcs4kf-gnunet-gtk-0.14.0/share/gnunet//GNUnet GTK/locale//en_US.UTF-8/LC_MESSAGES/gnunet-gtk.mo", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 113183] openat(AT_FDCWD, "/nix/store/vy1n86p63cgv9z8djwjiyb9k6sfcs4kf-gnunet-gtk-0.14.0/share/gnunet//GNUnet GTK/locale//en_US.utf8/LC_MESSAGES/gnunet-gtk.mo", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 113183] openat(AT_FDCWD, "/nix/store/vy1n86p63cgv9z8djwjiyb9k6sfcs4kf-gnunet-gtk-0.14.0/share/gnunet//GNUnet GTK/locale//en_US/LC_MESSAGES/gnunet-gtk.mo", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 113183] openat(AT_FDCWD, "/nix/store/vy1n86p63cgv9z8djwjiyb9k6sfcs4kf-gnunet-gtk-0.14.0/share/gnunet//GNUnet GTK/locale//en.UTF-8/LC_MESSAGES/gnunet-gtk.mo", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 113183] openat(AT_FDCWD, "/nix/store/vy1n86p63cgv9z8djwjiyb9k6sfcs4kf-gnunet-gtk-0.14.0/share/gnunet//GNUnet GTK/locale//en.utf8/LC_MESSAGES/gnunet-gtk.mo", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 113183] openat(AT_FDCWD, "/nix/store/vy1n86p63cgv9z8djwjiyb9k6sfcs4kf-gnunet-gtk-0.14.0/share/gnunet//GNUnet GTK/locale//en/LC_MESSAGES/gnunet-gtk.mo", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 113183] --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x48} --- [pid 113192] <... futex resumed>) = ? [pid 113193] <... futex resumed>) = ? [pid 113191] <... futex resumed>) = ? [pid 113188] <... futex resumed>) = ? [pid 113187] <... futex resumed>) = -1 ENOENT (No such file or directory) [pid 113185] <... poll resumed> ) = ? [pid 113195] <... poll resumed> ) = ? [pid 113194] <... futex resumed>) = ? [pid 113190] <... futex resumed>) = ? [pid 113186] <... poll resumed> ) = ? [pid 113194] +++ killed by SIGSEGV (core dumped) +++ [pid 113186] +++ killed by SIGSEGV (core dumped) +++ [pid 113195] +++ killed by SIGSEGV (core dumped) +++ [pid 113193] +++ killed by SIGSEGV (core dumped) +++ [pid 113192] +++ killed by SIGSEGV (core dumped) +++ [pid 113191] +++ killed by SIGSEGV (core dumped) +++ [pid 113190] +++ killed by SIGSEGV (core dumped) +++ [pid 113188] +++ killed by SIGSEGV (core dumped) +++ [pid 113187] +++ killed by SIGSEGV (core dumped) +++ [pid 113185] +++ killed by SIGSEGV (core dumped) +++ +++ killed by SIGSEGV (core dumped) +++ Segmentation fault (core dumped) ```

To Reproduce Steps to reproduce the behavior:

  1. gnunet-fs-gtk

Expected behavior no crash

Notify maintainers @pstn @vrthra @fricklerhandwerk (who fixed the build last)

Metadata

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:
fricklerhandwerk commented 3 years ago
[pid 113183] openat(AT_FDCWD, "/nix/store/vy1n86p63cgv9z8djwjiyb9k6sfcs4kf-gnunet-gtk-0.14.0/share/gnunet//GNUnet GTK/locale//en/LC_MESSAGES/gnunet-gtk.mo", O_RDONLY) = -1 ENOENT (No such file or directory)

gnunet-gtk-0.14.0/share/gnunet//GNUnet GTK/locale//en/LC_MESSAGES/gnunet-gtk.mo is missing.

davidak commented 3 years ago

Here is it for de, but no en: /nix/store/vy1n86p63cgv9z8djwjiyb9k6sfcs4kf-gnunet-gtk-0.14.0/share/locale/de/LC_MESSAGES/gnunet-gtk.mo