Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basemap: GeoDa crashes after open/close several maps using basemap #186

Open
GoogleCodeExporter opened this issue Mar 2, 2016 · 3 comments

Comments

@GoogleCodeExporter
Copy link

Basemap: GeoDa crashes after open/close several maps using basemap

Original issue reported on code.google.com by [email protected] on 30 Jun 2015 at 7:31

@GoogleCodeExporter
Copy link
Author

This is a incompatible issue of libcurl library + a configuration in libcurl 
for multi-threading.

The crash is caused at
0 libcurl.4.dylib 0x00788714 addbyter + 36 
1 libcurl.4.dylib 0x00788881 dprintf_formatf + 289 
2 libcurl.4.dylib 0x0078a207 curl_mvsnprintf + 55 
3 libcurl.4.dylib 0x0077737f Curl_failf + 63 
4 libcurl.4.dylib 0x0076e0e2 Curl_resolv_timeout + 578 

On searching the curl mailing list, I found that I need to compile cURL with 
c-ares enabled. 

Another potential crash point is for multi-threaded libcurl calling -- libcurl 
is called in multi-threads to download tiles. However, when thread is 
terminated and libcurl is still working, there might be a crash.

Solution: CURLOPT_NOSIGNAL should be set to 1 -- " libcurl will not use any 
functions that install signal handlers or any functions that cause signals to 
be sent to the process. This option is here to allow multi-threaded unix 
applications to still set/use all timeout options etc, without risking getting 
signals."

Original comment by [email protected] on 30 Jun 2015 at 7:57

  • Changed state: Started

@GoogleCodeExporter
Copy link
Author

Change status back to Accepted, since the fix hasn't been applied to any new 
build

Original comment by [email protected] on 30 Jun 2015 at 9:24

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

fix has been applied in versions >= 1.7.35

Original comment by [email protected] on 2 Jul 2015 at 5:59

  • Changed state: Started

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant