curl-library
RE: libcurl in JNI context
Date: Thu, 14 Jul 2005 01:12:49 -0700
OS is actually the most interesting part. The problem happens only on
solaris so far. I was not able to reproduce it on windows, linux, and
aix.
And the same problem happens with libcurl 7.12.2, 7.13.1, and 7.14.0.
I think strace is a good idea... only problem is that doing strace
against java (tomcat) can be very tricky, as you said.
If strace does not give me much info, I will debug libcurl.
Thanks,
Andy
-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Daniel Stenberg
Sent: Wednesday, July 13, 2005 11:53 PM
To: libcurl development
Subject: Re: libcurl in JNI context
On Wed, 13 Jul 2005, Lai, Andy wrote:
> I ran purify and I did not see any memory corruption caused by
libcurl. Yet
> I do not understand why calling curl_easy_perform will cause JVM to go
down
> at a later point of time.
>
> Any help, suggestion, or advice is greatly appreciated.
What OS? What libcurl version?
I really think you should start figuring out the "goes down siliently"
part.
Why exactly does is stop. When you know that I think you have a better
chance
to understand or figure out what libcurl's part in that might be.
Personally I like using 'strace' or similar to figure out such things,
but in
a server environment like this it might be tricky.
And no, I don't have any sensisble ideas why this happens, but then JVMs
are
not within my area of expertise.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2005-07-14