On Tue, 18 Apr 2006, Adam Waltman wrote:
k13 coreutils-5.94 # src/shred --remove --zero adam adam1
Segmentation fault
It seems that he shred itself is the culprit.
I have no real experience in programming in Linux,
but I have installed gdb and tried to squeeze something out of it
without any success. Could you instruct me how to trace this segfault?
You might try
$ gdb -x <( printf "run\nbt" ) --args src/shred --remove --zero adam adam1
and look at the stack trace, or
$ strace src/shred --remove --zero adam adam1
and look what shred does just before crashing.
Cheers,
Phil
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils