Bug 875031 - Deadlock condition in TarGZ handling
Summary: Deadlock condition in TarGZ handling
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise WFK Platform 2
Classification: Retired
Component: Arquillian
Version: 2.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ER1
: 2.3.0
Assignee: Rodney Russ
QA Contact: thradec
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-09 11:39 UTC by Karel Piwko
Modified: 2016-08-01 01:05 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
RHEL 6 32bit + Oracle JDK 6, Oracle JDK 7, OpenJDK 7 Windows 2008 32bit + Oracle JDK 6, Oracle JDK 7 Solaris 10 32bit + Oracle JDK 6, Oracle JDK 7
Last Closed: 2013-07-16 11:33:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SHRINKWRAP-433 0 Major Closed Race condition deadlock in TarGz Exporter 2013-07-08 08:35:29 UTC

Description Karel Piwko 2012-11-09 11:39:32 UTC
Description of problem:

ShrinkWrap TarGzExporter implementation contains a race condition which might turn to a deadlock while exporting an archive to TarGz file

Version-Release number of selected component (if applicable):

ShrinkWrap Core 1.0.0/1.0.1.

How reproducible:

Depends on local environment (JDK version, OS version).

Steps to Reproduce:
1. Create a ShrinkWrap archive
2. Export it to TarGz file
3. Load the file as TarInputStream and iterate over entries
  
Actual results:

It hangs.

Expected results:

It iterates correctly.

Additional info:

Comment 2 JBoss JIRA Server 2012-11-16 03:31:47 UTC
Andrew Rubinger <jboss> updated the status of jira SHRINKWRAP-433 to Resolved

Comment 3 JBoss JIRA Server 2012-11-16 03:31:47 UTC
Andrew Rubinger <jboss> made a comment on jira SHRINKWRAP-433

Linked issue removed multithreading.

Comment 4 Marek Novotny 2013-01-10 13:17:09 UTC
This issue was resolved in upstream version 1.1.1 according to https://issues.jboss.org/browse/SHRINKWRAP-433, but that version is not available right now.

Andrew, could you shed some light on it?

Comment 5 JBoss JIRA Server 2013-01-30 07:15:30 UTC
Andrew Rubinger <jboss> updated the status of jira SHRINKWRAP-433 to Closed

Comment 6 Karel Piwko 2013-02-26 16:22:10 UTC
Marek, given the information we have we should update to 1.1.1. It should be compatible for our purposes.

Comment 13 Marek Novotny 2013-03-05 12:21:46 UTC
upgrade was reverted to previous version 1.0.0

Comment 17 Marek Novotny 2013-06-04 14:41:24 UTC
So Shrinkwrap should be update to 1.1.2 according Karel, is that correct?

Comment 18 Karel Piwko 2013-06-04 14:49:10 UTC
Yes, as a dependency of https://bugzilla.redhat.com/show_bug.cgi?id=970494

Comment 21 thradec 2013-06-14 10:28:03 UTC
Verified on 2.3.0.ER1, shrinkwrap version is 1.1.2.

Comment 23 Petr Penicka 2013-07-04 08:15:27 UTC
Edited doc text for wfk 2.3 release notes.


Note You need to log in before you can comment on or make changes to this bug.