Skip to content
This repository was archived by the owner on Oct 22, 2021. It is now read-only.

Thread X: exc_bad_access code=1 on line 73 in SwiftOperation.swift #28

Open
markogrbic95 opened this issue May 12, 2018 · 1 comment
Open

Comments

@markogrbic95
Copy link

I'm having an issue when calling the list function from a background thread. I'm using the _session.list function exactly as in the examples and I'm calling that function in a while loop to check for files on server every N seconds. I'm waiting for every list function to finish before calling it again in the loop.

The issue happens on line 73 in file SwiftOperation.swift.

self.currentStream?.close()

The program breaks after a short amount of time with error: Thread X: exc_bad_access code=1 (X = thread number, never equal to 1 obviously since I call it in a non main thread).

Has anyone had this issue, or by any chance already solved it? Thank you.

@markogrbic95
Copy link
Author

I'm linking the stackoverflow question to this issue, maybe the answer will pop up there.

https://stackoverflow.com/questions/50317138/rebekka-ftp-framework-exc-bad-access-code-1-address-0x0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant