Taskwarrior seems to be broken: verification + debugging help?

Hi all! Before opening a PR I want to make sure that the package taskwarrior is indeed broken.

Resulting from this find I have two questions:

  • Could somebody else verify as well that this indeed shows a seg-fault?
  • It looks like to be an error in de stdlib dependency afaik, but I am not extremely familiar with C++ debugging. Does anybody have additional pointers (pun intended)?
gdb debugging
➜ nix-shell -p pkgs.gdb pkgs.tasksh pkgs.taskwarrior

[nix-shell:~]$ which task

[nix-shell:~]$ gdb

This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.

(gdb) file /nix/store/wjzarj754yqmsy3jshwzv6fq9sca95vy-taskwarrior-2.6.2/bin/task
Reading symbols from /nix/store/wjzarj754yqmsy3jshwzv6fq9sca95vy-taskwarrior-2.6.2/bin/task...
(No debugging symbols found in /nix/store/wjzarj754yqmsy3jshwzv6fq9sca95vy-taskwarrior-2.6.2/bin/task)
(gdb) run
Starting program: /nix/store/wjzarj754yqmsy3jshwzv6fq9sca95vy-taskwarrior-2.6.2/bin/task /nix/store/wjzarj754yqmsy3jshwzv6fq9sca95vy-taskwarrior-2.6.2/bin/task

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/nix/store/46m4xx889wlhsdj72j38fnlyyvvvvbyb-glibc-2.37-8/lib/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff794bd47 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) () from /nix/store/843dqq10jdkalr2yazaz6drx334visrb-gcc-12.2.0-lib/lib/libstdc++.so.6

Please provide more information about your Nix version, use GitHub for issues and ping the maintainers of TaskWarrior.

Finally, on:

❯ nixos-version
23.11pre533083.e462c9172c68 (Tapir)

TaskWarrior works fine.

Thank you for your quick response and pointers. I’ll open an issue instead

EDIT: Failure: running taskwarrior (2.6.2) on NixOS Stoat (23.05) results in segmentation fault · Issue #259550 · NixOS/nixpkgs · GitHub