> > > > Viking runs fine, then after 5 to 10 minutes it crashes. If I run > > viking and not move the map viking will run all night, it is after I > > move the map that it will crash. >
I think I've finally worked it out - yay! After much Googling + investigation The issue is that Viking has *never* been using curl correctly, see http://curl.haxx.se/libcurl/c/curl_easy_setopt.html The fix is: diff --git a/src/curl_download.c b/src/curl_download.c index cdb5e1c..afb4723 100644 --- a/src/curl_download.c +++ b/src/curl_download.c @@ -162,6 +162,7 @@ int curl_download_uri ( const char *uri, FILE *f, DownloadMapOptions *options, D } if (vik_verbose) curl_easy_setopt ( curl, CURLOPT_VERBOSE, 1 ); + curl_easy_setopt ( curl, CURLOPT_NOSIGNAL, 1 ); // Yep, we're a multi-threaded program so don't let signals mess it up! curl_easy_setopt ( curl, CURLOPT_URL, uri ); curl_easy_setopt ( curl, CURLOPT_WRITEDATA, f ); curl_easy_setopt ( curl, CURLOPT_WRITEFUNCTION, curl_write_func); Also see: https://sourceforge.net/tracker/index.php?func=detail&aid=3206628&group_id=83870&atid=570954 I'll put this in the master soon.... I think this will need to go into 1.0 + 1.1 as well. Mark: If you can try it out for extra confirmation this fixes it that would be great. Be Seeing You - Rob. If at first you don't succeed, then skydiving isn't for you. ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Viking-devel mailing list Viking-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/viking-devel Viking home page: http://viking.sf.net/