Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multithreading issue in unTarGzipFileAtPath #11

Open
bk138 opened this issue Aug 28, 2015 · 3 comments
Open

Multithreading issue in unTarGzipFileAtPath #11

bk138 opened this issue Aug 28, 2015 · 3 comments

Comments

@bk138
Copy link

bk138 commented Aug 28, 2015

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.

@jordaaash
Copy link

jordaaash commented Dec 1, 2015

+1

I have an application where I need to start a second instance before stopping the first, and I ran into this today.

@jtmilne
Copy link

jtmilne commented Feb 25, 2016

+1

@sumit-anantwar
Copy link

sumit-anantwar commented Aug 3, 2017

+1
Trying to unarchive large files on the main thread does not seem to be a good idea.

raho pushed a commit to raho/NVHTarGzip that referenced this issue Jan 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants