bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] Crash in 1.31 when extracting CUDA on macOS


From: Elliott Slaughter
Subject: [Bug-tar] Crash in 1.31 when extracting CUDA on macOS
Date: Tue, 5 Feb 2019 13:55:08 -0800

Hi,

I recently encountered a bug where GNU Tar 1.31 crashes when trying to extract the tarball payload that comes in the CUDA installer for macOS. I've confirmed that reverting to 1.30 fixes the problem.

You can see what we're doing in the code below. There is other code that runs before this but I don't believe it should be significant in any way. If you comment out the "brew tap" line, and change the install line to "brew install gnu-tar", then line 75 will crash:

https://github.com/zdevito/terra/blob/master/travis.sh#L67-L75

Note: Please DON'T run this script on your personal machine, as it overwrites files in /usr. I have not tested whether it crashes while extracting to any other location.

The tap I've created is just reverting the gnu-tar package to version 1.30; I've made no other changes.

You can see an example of the crash at the bottom of this Travis CI log (it's not super informative, unfortunately):

https://travis-ci.org/zdevito/terra/jobs/476980913

If it would be helpful, I may be able to set up a more minimal CI configuration that just exercises the bug. Let me know.

--
Elliott Slaughter

"Don't worry about what anybody else is going to do. The best way to predict the future is to invent it." - Alan Kay

reply via email to

[Prev in Thread] Current Thread [Next in Thread]