NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.05k stars 14.09k forks source link

Enlightenment debugging feature broken #34136

Open coretemp opened 6 years ago

coretemp commented 6 years ago

Issue description

When terminology crashes, eina_btlog (name of an executable is missing), so their debugging instructions cannot be followed currently without also installing enlightenment.efl.

(The below script is generated when terminology crashes)

#!/bin/sh

eina_btlog << EOF
/nix/store/s6853k35zwqq5ip6bh174s7fk2gy6xb8-efl-1.20.3/lib/libeina.so.1  0x7f483ca7b909 0x7f483ca55000
/nix/store/s6853k35zwqq5ip6bh174s7fk2gy6xb8-efl-1.20.3/lib/libeina.so.1  0x7f483ca7c621 0x7f483ca55000
/nix/store/s6853k35zwqq5ip6bh174s7fk2gy6xb8-efl-1.20.3/lib/libeina.so.1  0x7f483ca7d9a3 0x7f483ca55000
/nix/store/s6853k35zwqq5ip6bh174s7fk2gy6xb8-efl-1.20.3/lib/libeo.so.1    0x7f483b3d459f 0x7f483b3c7000
/nix/store/s6853k35zwqq5ip6bh174s7fk2gy6xb8-efl-1.20.3/lib/libeo.so.1    0x7f483b3d04a3 0x7f483b3c7000
/nix/store/s6853k35zwqq5ip6bh174s7fk2gy6xb8-efl-1.20.3/lib/libeo.so.1    0x7f483b3d5a29 0x7f483b3c7000
/nix/store/s6853k35zwqq5ip6bh174s7fk2gy6xb8-efl-1.20.3/lib/libelementary.so.1   0x7f483d1cbddb 0x7f483cf30000
/nix/store/s6853k35zwqq5ip6bh174s7fk2gy6xb8-efl-1.20.3/lib/libeina.so.1  0x7f483ca721c3 0x7f483ca55000
/nix/store/s6853k35zwqq5ip6bh174s7fk2gy6xb8-efl-1.20.3/lib/libeina.so.1  0x7f483ca721a7 0x7f483ca55000
/nix/store/s6853k35zwqq5ip6bh174s7fk2gy6xb8-efl-1.20.3/lib/libeina.so.1  0x7f483ca72ce5 0x7f483ca55000
/nix/store/s6853k35zwqq5ip6bh174s7fk2gy6xb8-efl-1.20.3/lib/libelementary.so.1   0x7f483d1cbc66 0x7f483cf30000
/nix/store/s6853k35zwqq5ip6bh174s7fk2gy6xb8-efl-1.20.3/lib/libeo.so.1    0x7f483b3d6c85 0x7f483b3c7000
/nix/store/s6853k35zwqq5ip6bh174s7fk2gy6xb8-efl-1.20.3/lib/libeo.so.1    0x7f483b3cf86d 0x7f483b3c7000
/nix/store/s6853k35zwqq5ip6bh174s7fk2gy6xb8-efl-1.20.3/lib/libeo.so.1    0x7f483b3d5f48 0x7f483b3c7000
/nix/store/s6853k35zwqq5ip6bh174s7fk2gy6xb8-efl-1.20.3/lib/libeo.so.1    0x7f483b3da08b 0x7f483b3c7000
/nix/store/s6853k35zwqq5ip6bh174s7fk2gy6xb8-efl-1.20.3/lib/libeo.so.1    0x7f483b3d6c85 0x7f483b3c7000
/nix/store/s6853k35zwqq5ip6bh174s7fk2gy6xb8-efl-1.20.3/lib/libeo.so.1    0x7f483b3d6c85 0x7f483b3c7000
/nix/store/s6853k35zwqq5ip6bh174s7fk2gy6xb8-efl-1.20.3/lib/libevas.so.1  0x7f483c20efcd 0x7f483c18b000
/nix/store/s6853k35zwqq5ip6bh174s7fk2gy6xb8-efl-1.20.3/lib/libeo.so.1    0x7f483b3d6c85 0x7f483b3c7000
/nix/store/s6853k35zwqq5ip6bh174s7fk2gy6xb8-efl-1.20.3/lib/libevas.so.1  0x7f483c21fc44 0x7f483c18b000
/nix/store/s6853k35zwqq5ip6bh174s7fk2gy6xb8-efl-1.20.3/lib/libeo.so.1    0x7f483b3d6c85 0x7f483b3c7000
/nix/store/s6853k35zwqq5ip6bh174s7fk2gy6xb8-efl-1.20.3/lib/libeo.so.1    0x7f483b3d6c85 0x7f483b3c7000
/nix/store/s6853k35zwqq5ip6bh174s7fk2gy6xb8-efl-1.20.3/lib/libelementary.so.1   0x7f483d18f2d4 0x7f483cf30000
/nix/store/s6853k35zwqq5ip6bh174s7fk2gy6xb8-efl-1.20.3/lib/libeo.so.1    0x7f483b3d6c85 0x7f483b3c7000
/nix/store/s6853k35zwqq5ip6bh174s7fk2gy6xb8-efl-1.20.3/lib/libeo.so.1    0x7f483b3d6c85 0x7f483b3c7000
/nix/store/s6853k35zwqq5ip6bh174s7fk2gy6xb8-efl-1.20.3/lib/libeo.so.1    0x7f483b3cf86d 0x7f483b3c7000
/nix/store/s6853k35zwqq5ip6bh174s7fk2gy6xb8-efl-1.20.3/lib/libeo.so.1    0x7f483b3d616d 0x7f483b3c7000
/run/current-system/sw/bin/terminology   0x447196 0x400000
/run/current-system/sw/bin/terminology   0x4488b8 0x400000
/run/current-system/sw/bin/terminology   0x414b95 0x400000
/run/current-system/sw/bin/terminology   0x40ccff 0x400000
/nix/store/xzx1bv1d7z4mgg6sg6ly0jx609qvka4x-glibc-2.25-49/lib/libc.so.6  0x7f48391cd560 0x7f48391ad000
/run/current-system/sw/bin/terminology   0x40cd3a 0x400000
EOF

On execution of the above program, I get many lines with:

flag provided but not defined: -f
usage: addr2line binary

meaning that their debugging instructions to create a kind of stack trace also do not work.

Technical details

stale[bot] commented 4 years ago

Thank you for your contributions.

This has been automatically marked as stale because it has had no activity for 180 days.

If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.

Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse.
  3. Ask on the #nixos channel on irc.freenode.net.