I implemented a simple RSS feed aggregator. I used code like... let data = try! Data(contentsOf: feedURL)
or let session = URLSession(configuration: URLSessionConfiguration.default) let task = session.dataTask(with: url, completionHandler: completionHandler) task.resume() ...to fetch the data. While my application worked perfectly when running on macOS, when I tried to run it on Ubuntu it started crashing randomly with errors like... *** Error in `bin/….': double free or corruption (fasttop): 0x00007f3880000ff0 *** Aborted or Illegal instruction etc. When I switched to KituraRequest (in place of URLSession), the application started running correctly on Ubuntu as well. Are there any issues with the implementation of Foundation for Linux? -g. PS: I am using swift 4.0
_______________________________________________ swift-users mailing list swift-users@swift.org https://lists.swift.org/mailman/listinfo/swift-users