bugGNU tar - Bugs: bug #63123, Regression in master version after...

 
 

bug #63123: Regression in master version after race condition fix

Submitter:  None
Submitted:  Wed 28 Sep 2022 04:09:30 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  gray
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 11 Feb 2023 12:24:21 PM UTC, comment #3: 

Thank you. This is fixed in commits 5e8a915b16c5f06d2a16d98cdc2af666199caabb and edf38d13a47becec81b2c3a2b74f54771e1cbee4.

Sergey Poznyakoff <gray>
Group administrator
Fri 11 Nov 2022 10:35:47 AM UTC, comment #2: 

Unfortunately, when adding commit 17debecd, extracting the attached tarball makes tar hang. The tarball is taken from https://go.dev/src/archive/tar/testdata/. When the commit isn't applied, then tar fails, which is the expected result of extracting the tarball.

Danilo Spinella <danyspin97>
Sat 22 Oct 2022 05:13:16 PM UTC, comment #1: 
Sergey Poznyakoff <gray>
Group administrator
Wed 28 Sep 2022 04:09:30 PM UTC, original submission:  

Commit 79d1ac38c19faad64f0e993180bf1ad27f217072 has been backported to openSUSE and therefore lead to a user discovering the regression, as described in https://bugzilla.suse.com/show_bug.cgi?id=1203600 .

I have tried both from clean 1.34 tar sources and from the latest git version. The former works fine, the latter contains the regression as expected.

To reproduce:

mkdir test-tar
cp /etc/hosts test-tar
cd test-tar
tar cf ../test.tar .
cd ..
mkdir test-unpack
tar xvf test.tar -C test-unpack/
tar -xv --unlink-first  -f test.tar -C test-unpack/

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #53944:  pax-global-records.tar added by danyspin97 (7KiB - application/x-tar - Tarball used in the go test suite)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by danyspin97 (Updated the item)
  • -email is unavailable- added by gray (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-04-18 gray StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2023-02-11 gray StatusFixed Ready For Test
    2022-11-11 danyspin97 Attached File- Added pax-global-records.tar, #53944
    2022-10-22 gray StatusNone Fixed
        Assigned toNone gray

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code