<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I implemented a simple RSS feed aggregator. I used code like...<div class=""><br class=""><div class="">let data = try! Data(contentsOf: feedURL)</div></div><div class=""><br class=""></div><div class="">or</div><div class=""><br class=""></div><div class="">let session = URLSession(configuration: URLSessionConfiguration.default)</div><div class="">let task = session.dataTask(with: url, completionHandler: completionHandler)<br class="">task.resume()</div><div class=""><br class=""></div><div class="">...to fetch the data.</div><div class=""><br class=""></div><div class="">While my application worked perfectly when running on macOS, when I tried to run</div><div class="">it on Ubuntu it started crashing <i class="">randomly</i> with errors like...</div><div class=""><br class=""></div><div class="">*** Error in `bin/….': double free or corruption (fasttop): 0x00007f3880000ff0 ***<br class="">Aborted</div><div class=""><br class=""></div><div class="">or</div><div class=""><br class=""></div><div class="">Illegal instruction</div><div class=""><br class=""></div><div class="">etc.</div><div class=""><br class=""></div><div class="">When I switched to KituraRequest (in place of URLSession), the application started</div><div class="">running correctly on Ubuntu as well.</div><div class=""><br class=""></div><div class="">Are there any issues with the implementation of Foundation for Linux?</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">-g.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">PS: I am using swift 4.0</div><div class=""><br class=""></div></body></html>