Menu

#3 VM crashes when I call finalize()

open
nobody
None
5
2007-02-19
2007-02-19
Anonymous
No

I am scrapping data from a site that relies heavily on cookies. I realized that in cURL the cookies do not get written to a specified file unless the finalize() method is called and another object of CURLGLUE is created to access the cookies contents and access other pages in the site. The bug that occurs when I do this is that the VM crashes when trying to release the resources it used to get curl running. Why does that happen ? Sample of the code I used that causes this problem:

cg.finalize();

CurlGlue cg = new CurlGlue();

// More cURL code below
// VM crashes while this code is running

Discussion


Log in to post a comment.

MongoDB Logo MongoDB