Hello, tried to reproduce this issue. Unfortunately no dbgsym package is available for dash.
./build-tmp/src/dash # echo test >&$EMPTY_VARIABLE Speicherzugriffsfehler (Speicherabzug geschrieben) # coredumpctl gdb Core was generated by `./build-tmp/src/dash'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x000055a843b6717f in expredir (n=<optimized out>) at ../../src/eval.c:510 510 fixredir(redir, fn.list->text, 1); (gdb) bt #0 0x000055a843b6717f in expredir (n=<optimized out>) at ../../src/eval.c:510 #1 0x000055a843b680df in evalcommand (cmd=0x55a843d80b58 <stackbase+184>, flags=0) at ../../src/eval.c:733 #2 0x000055a843b6722e in evaltree (n=0x55a843d80b58 <stackbase+184>, flags=0) at ../../src/eval.c:280 #3 0x000055a843b6e4af in cmdloop (top=1) at ../../src/main.c:245 #4 0x000055a843b6572f in main (argc=1, argv=0x7ffc46351418) at ../../src/main.c:178 (gdb) print fn.list $1 = (struct strlist *) 0x1 Attached patch would avoid the crash. Kind regards, Bernhard