bug-parallel
[Top][All Lists]
Advanced

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

--xargs -0 fails on ~255 KiB of paths


From: Will M
Subject: --xargs -0 fails on ~255 KiB of paths
Date: Thu, 30 Apr 2020 20:43:15 -0700

I'm running the latest GNU Parallel from Homebrew on Mac OS 10.15 "Catalina". I was testing the speed of commands and used /usr/local as a test case as it contains Homebrew and lots of files and it led to parallel saying I found a bug.

I tried to isolate it down. 'a.gz' has @ symbols and for some reason causes a bug with fewer characters, while 'b.gz' does not and needs more characters to cause a bug.

Interestingly the directory path is exactly 32 characters, it succeeds if the directory path is 31 characters.

% parallel --version
GNU parallel 20200422
[snip]

% uname -a
Darwin MacBook-Pro.local 19.2.0 Darwin Kernel Version 19.2.0: Sat Nov  9 03:47:04 PST 2019; root:xnu-6153.61.1~20/RELEASE_X86_64 x86_64

To replicate:
1. Make a directory, with the following name
/tmp/012345678901234567890123456
2. Gunzip both a.gz and b.gz and move them into it
3. Run the following with both 'a' and 'b'. Shown running with 'a'"
< a parallel --xargs -0 stat > /dev/null

Leads to:
parallel: This should not happen. You have found a bug.
Please contact <address@hidden> and follow
https://www.gnu.org/software/parallel/man.html#REPORTING-BUGS

Include this in the report:
* The version number: 20200422
* The bugid: open3-GLOB(0x7fbaadb67280)
(Then *lots* of text!)

Attachment: b.gz
Description: GNU Zip compressed data

Attachment: a.gz
Description: GNU Zip compressed data


reply via email to

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