On Tue, Sep 06, 2016 at 07:21:24PM +0100, Ralph Corderoy wrote: > Hi Rob, > > > Incidentally, running "gdb" on the latest Mac OS is a pain--Apple > > thought for some reason that it was a security risk. Running "lldb," > > the default debugger, told me nothing.--Rob > > I haven't tried this, but something like `lldb /path/to/tar' to get > going, then `run tvzf archive.tgz' to kick it off with your arguments. > It should suffer signal 11. Then `thread backtrace all'.
I can reproduce this bug here under the MacPorts gnutar build of tar 1.29. Normally, the default LANG for the system bash is set to en_US.UTF-8 such that... gnutar -zcvf test_data.tar.gz test_data works fine. If I unset LANG on darwin15, I see the hang... $ gnutar -zcvf test_data.tar.gz test_data test_data/ test_data/.noe.tbl.swp test_data/dihedral.tbl test_data/file.nam test_data/io.mc test_data/noe.tbl gnutar: test_data.tar.gz: Cannot write: Broken pipe gnutar: Child died with signal 11 gnutar: Error is not recoverable: exiting now This issue doesn't seem to exist for tar 1.26 on x86_64-apple-darwin15. > > -- > Cheers, Ralph. > https://plus.google.com/+RalphCorderoy