Tao,

On 10/11/2012 05:46 AM, tao yu wrote:
> any updates?
> 
> On Sat, Sep 29, 2012 at 11:25 AM, tao yu <yut...@gmail.com> wrote:
> 
>> Robin:
>>
>> I am developing the kpfs (FUSE) by using liboauth.
>>
>> I meet a crash in libcurl for the signal issue.
>>
>> http://code.google.com/p/kpfs/issues/detail?id=4
>>
>> Please check the crash.log in this link:
>>
>> http://code.google.com/p/kpfs/issues/attachmentText?id=4&aid=40000000&name=crash.txt&token=_LMkRmjAgYIZh_fwvfcBQ07Y3n4%3A1348887001083

These crash-reports are almost never useful unless generated by software
built with the C compiler's "-g" flag. You need to generate a proper
backtrace.

On a hunch, this issue might be caused by using NSS in a FUSE thread
from kernel context.


>  * When NSS is initialized from main(), subsequent calls to
>  * libNSS functions from the fuse/kernel context will result 
>  * in unexpected behaviour.
>  *
>  * The problem is that the NSS context is destroyed when
>  * the main program exits. 
>  *
>  * If NSS is not initialized before the main program exits but
>  * instead initialized from the fuse/kernel context, everything
>  * works as expected.

[..]
>> And I see liboauth add (src/oauth_http.c)

You are not supposed to use any of the oauth_http_*() curl wrappers for
anything other than testing. - see the Note in the header-file or
documentation
http://liboauth.sourceforge.net/oauth_8h.html#a1e6e64ef010fb626a90446d21d119872

best,
robin

-- 
You received this message because you are subscribed to the Google Groups 
"OAuth" group.
To post to this group, send email to oauth@googlegroups.com.
To unsubscribe from this group, send email to 
oauth+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/oauth?hl=en.

Reply via email to