dduan / Just

Swift HTTP for Humans
MIT License
1.4k stars 134 forks source link

Crash coming from Just? #84

Open nbortolussi opened 7 years ago

nbortolussi commented 7 years ago

I got this crash in my Crashlytics panel that is supposedly coming from Just. Any ideas?

Crashed: com.apple.root.user-initiated-qos EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000000

Crashed: com.apple.root.user-initiated-qos
0  libswiftCore.dylib             0x100b85a90 _hidden#18733_ (__hidden#18756_:540)
1  Just                           0x1007c0c8c specialized _VariantDictionaryStorage.nativeUpdateValue(B, forKey : A) -> B? (Just.swift)
2  Just                           0x1007d5878 specialized HTTP.makeTask(URLRequest, configuration : TaskConfiguration) -> URLSessionDataTask? (Just.swift)
3  Just                           0x1007d5eec specialized HTTP.request(HTTPMethod, url : URLComponentsConvertible, params : [String : Any], data : [String : Any], json : Any?, headers : [String : String], files : [String : HTTPFile], auth : (username : String, password : String)?, cookies : [String : String], redirects : Bool, timeout : Double?, urlQuery : String?, requestBody : Data?, asyncProgressHandler : (HTTPProgress) -> ()?, asyncCompletionHandler : (HTTPResult) -> ()?) -> HTTPResult (Just.swift)
4  Just                           0x1007bdb88 protocol witness for JustAdaptor.request(HTTPMethod, url : URLComponentsConvertible, params : [String : Any], data : [String : Any], json : Any?, headers : [String : String], files : [String : HTTPFile], auth : (username : String, password : String)?, cookies : [String : String], redirects : Bool, timeout : Double?, urlQuery : String?, requestBody : Data?, asyncProgressHandler : (HTTPProgress) -> ()?, asyncCompletionHandler : (HTTPResult) -> ()?) -> HTTPResult in conformance HTTP (Just.swift)
5  Just                           0x1007bc580 JustOf.delete(URLComponentsConvertible, params : [String : Any], data : [String : Any], json : Any?, headers : [String : String], files : [String : HTTPFile], auth : (String, String)?, cookies : [String : String], allowRedirects : Bool, timeout : Double?, urlQuery : String?, requestBody : Data?, asyncProgressHandler : (HTTPProgress) -> ()?, asyncCompletionHandler : (HTTPResult) -> ()?) -> HTTPResult + 768
6  Just                           0x1007bbc68 JustOf.get(URLComponentsConvertible, params : [String : Any], data : [String : Any], json : Any?, headers : [String : String], files : [String : HTTPFile], auth : (String, String)?, cookies : [String : String], allowRedirects : Bool, timeout : Double?, urlQuery : String?, requestBody : Data?, asyncProgressHandler : (HTTPProgress) -> ()?, asyncCompletionHandler : (HTTPResult) -> ()?) -> HTTPResult + 92