NVHTarGzip
NVHTarGzip copied to clipboard
Multithreading issue in unTarGzipFileAtPath
Getting a
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSProgress resignCurrent]: NSProgress was not the current progress on this thread <NSThread: 0x170263a40>{number = 1, name = main}'
*** First throw call stack:
(0x18328022c 0x194f4c0e4 0x18328016c 0x184274ae4 0x100083494 0x1000919fc 0x100144fd4 0x100144f94 0x100149c28 0x183237544 0x1832355ec 0x183160f74 0x18cbbb6fc 0x187d62d94 0x1000960fc 0x1955f6a08)
libc++abi.dylib: terminating with uncaught exception of type NSException
when running multiple instances in parallel. Commenting out NSProgress works around this.
Error is in NVHTarGzip.m:131, git master a few days ago.
+1
I have an application where I need to start a second instance before stopping the first, and I ran into this today.
+1
+1 Trying to unarchive large files on the main thread does not seem to be a good idea.