[Gluster-devel] Segfault at client3_3_create_cbk() when calling fops->create
Anand Avati
anand.avati at gmail.com
Thu Oct 11 23:00:56 UTC 2012
On Thu, Oct 11, 2012 at 3:48 PM, Gustavo Bervian Brand
<gugabrand at gmail.com>wrote:
>
>
>
>> The frame which you used for doing the STACK_WIND(create) was probably
>> unwound by the time the create_cbk came back from the server? This is the
>> most common/likely cause..
>>
>>
> You mean that the frame of readv/readv_cbk (where I'm calling the WIND
> to create/open) is already gone, even if there was no UNWIND yet?
> If this is the case, how can I avoid that? I am doing a
> STACK_WIND(create or open) by the end of the readv_cbk, I tried increase
> the refcount of the frame, but there was no effect.
>
>
So you are using the frame pointer in readv_cbk to do the STACK_WIND of
create or open. But are you sure you are not unwinding the same frame right
after the STACK_WIND?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20121011/c005bc80/attachment-0001.html>
More information about the Gluster-devel
mailing list