[Gambas-user] Issue 410 in gambas: Signal 11 in gb.net.curl

gambas at ...2524... gambas at ...2524...
Tue Mar 19 15:18:08 CET 2013


Comment #14 on issue 410 by r... at ...1740...: Signal 11 in gb.net.curl
http://code.google.com/p/gambas/issues/detail?id=410

While trying to extract a demo project to show the problem I figured out  
the reason for the hangs.
Try attached project, if you don't code a _Read event for a async  
httpclient it hangs, blocking the whole project, until you get grey hairs  
and get bold...
If you comment out the _Read code it works ok.

This was never the case in Gambas2 and earlier Gambas3 versions, you could  
also run it async and fetch the whole result string in the _Finish event.
So I changed my code and it runs now, but the question is, is this by  
design or a bug?
If by design, should it bail out after the Timeout has gone by?
Anyway by having _Read code defined it works ok now, no crashes, also not  
on exit of program, seems the libcurl close bug was not the cause?
Didn't try to get a new valgrind run, will test more first on other distros.


Attachments:
	CurlClose-0.0.1.tar.gz  5.1 KB

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings




More information about the User mailing list