{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "",
    "ClosedDate": null,
    "CommentCount": 0,
    "Custom": null,
    "Description": "using (ZipFile comprimido = new ZipFile())                 {                     comprimido.Comment = \"Compresion generada por el servicio \" + fechaActual.ToString(\"yyyy-MM-dd HH:mm\");                     comprimido.AddDirectory(registro.Path);                     comprimido.MaxOutputSegmentSize = 1024 * 1024 * 50;                     if (!registro.SobreEscribir && System.IO.File.Exists(archivo))                     {                         System.IO.File.Delete(archivo);                     }                     comprimido.Save(archivo);                                    }\n \n \n \nwhere \"registro\" is a datarow from typed data source, \"archivo\" is a filename of the zip file, and \"fechaActual\" is an instance from DateTime.Now, when i use this code with directories with a lot of sub folders and files (small, midle and big sized files),  it runs until the process stop(or get into wait state). i tried to verify the problem in the souce code of Ionic.Zip dll, and  when the zip process get blocked (always get blocked in the same file), i press pause in my depurator and the current line that shows  me is _newlyCompressedBlob.WaitOne();  at Line 930, at file ParallelDeflateOutputStream.cs, it doesn&acute;t happen when I use step by step debbugging, in this case the process finish the zip file without errors.\n \nWhen i tried solve the problem, i deleted the file where the processes stuck, but the process get blocked in another file,",
    "LastUpdatedDate": "2015-02-03T04:22:39.053-08:00",
    "PlannedForRelease": "",
    "ReleaseVisibleToPublic": false,
    "Priority": {
      "Name": "Low",
      "Severity": 50,
      "Id": 1
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2011-09-16T12:21:50.067-07:00",
    "Status": {
      "Name": "Proposed",
      "Id": 1
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "ZipFile.Save method get blocked into WaitOne()",
    "Type": {
      "Name": "Issue",
      "Id": 3
    },
    "VoteCount": 15,
    "Id": 14252
  },
  "FileAttachments": [],
  "Comments": [
    {
      "Message": "The problem was solved with the solution that you give me. \r\n\r\nParallelDeflateThreshold = -1;\r\n\r\nNow if you like the my files to reproduce this inssue please tell me\r\n\r\nThanks",
      "PostedDate": "2011-09-16T13:08:58.943-07:00",
      "Id": -2147483648
    },
    {
      "Message": "Thanks for super rapid response! I ran into the same problem getting blocked on a single file with the latest version and this ParallelDeflateThreshhold change got me past it for now.\r\n\r\nMany thanks for the great library! \r\nBryan\r\n",
      "PostedDate": "2011-09-17T00:16:45.69-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2011-10-05T10:17:59.83-07:00",
      "Id": -2147483648
    },
    {
      "Message": "I had the same problem.  For fun, I tried releasing the wait (ParallelDeflateOutputStream.cs line 930):\r\n\r\n      _newlyCompressedBlob.WaitOne(3000);\t\t// return in 3000 ms [3 sec] if no signal\r\n\r\nbut the code just continues to loop in the enclosing do/while.   No surprise there since I don't grok the code.\r\nSo far turning off parallel deflation with the \"ParallelDeflateThreshold = -1\" fix is working fine.  Thanks for all the great work on this lib!\r\n",
      "PostedDate": "2011-10-05T10:23:33.58-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2012-01-31T09:20:25.3-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2012-02-16T05:24:59.01-08:00",
      "Id": -2147483648
    },
    {
      "Message": "Hello,\r\n\r\nI have code and files allowing to reproduce this issue.\r\nWhere can I send them to help the resolution of this issue? \r\n\r\nWe really would like to be able to use parallel deflate, because we are using dot net zip to make backups : while a backup is running, we have to stop our application.",
      "PostedDate": "2012-02-16T05:48:09.24-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2012-02-17T05:16:16.573-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2012-03-02T11:17:21.44-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2012-04-17T07:52:49.22-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2012-04-17T08:19:07.1-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2012-07-10T11:02:15.38-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2012-12-26T01:23:06.813-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-02-05T03:39:20.25-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-02-05T03:39:43.39-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-02-21T18:43:02.203-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-06-13T05:41:09.55-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-08-26T12:58:08.72-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2014-08-20T19:40:53.413-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2014-10-14T01:02:02.68-07:00",
      "Id": -2147483648
    },
    {
      "Message": "does patch 14368 (http://dotnetzip.codeplex.com/SourceControl/list/patches) resolve this issue?",
      "PostedDate": "2015-02-03T04:22:39.053-08:00",
      "Id": -2147483648
    }
  ]
}