>
> 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 am running 64bit openSuse 11.4 with the latest updates. I use git to
> get the latest viking source and use --enable-geocaches when I run the
> configure script. (I have tried it without the --enable-geocaches and
> get the same results.) I have also attached the data file I have been
> using.
>

I think there is a problem with curl on 64bit machines.

Check:
dmesg | segf

I get:
[22390.404743] viking[12378]: segfault at 31 ip 00007fac8df0eb82 sp 
00007fac7cb0e968 error 6 in libcurl-gnutls.so.4.2.0[7fac8dee8000+55000]

Also see:

https://sourceforge.net/mailarchive/message.php?msg_id=26555526

+ possibly related.

https://sourceforge.net/tracker/?func=detail&aid=3206628&group_id=83870&atid=570954


Try running in a debugger and set a breakpoint on 'alarmfunc' (this is in 
libcurl = hostip.c)

I don't believe it will crash until doing 'next' from that point

A way to personally workaround this is:

diff --cc src/curl_download.c
index cdb5e1c,cdb5e1c..2c604d9
@@@ -45,6 -45,6 +45,8 @@@
  #include "globals.h"
  #include "curl_download.h"
  
++#include <signal.h>
++
  gchar *curl_download_user_agent = NULL;
  
  /*
@@@ -149,6 -149,6 +151,9 @@@ void curl_download_uninit(
  
  int curl_download_uri ( const char *uri, FILE *f, DownloadMapOptions 
*options, DownloadFileOptions *file_options, void *handle )
  {
++  // stop crashing //
++  sigignore(SIGALRM);
++
    CURL *curl;
    struct curl_slist *curl_send_headers = NULL;
    CURLcode res = CURLE_FAILED_INIT;


I don't think our use of curl is incorrect, so it's surprising *not* to see 
other programs having issues with curl.

I need to dig / communicate further if I have the time......

HTH.

                                          
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Viking-devel mailing list
Viking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viking-devel
Viking home page: http://viking.sf.net/

Reply via email to