In xdr_nfs_fh3(), I see that       fh = (file_handle_v3_t
*)objp->data.data_val;

>From the core stack trace,
(gdb) print *objp
$2 = {data = {data_len = 0, data_val = 0x0}}

So this is the case of a zero-length file handle. This  core is from a
customer site, I do not have a recreate.

I have the core, let me know if you want me to look at any other
information in it.

Regards.
Krishna Harathi

On Wed, May 4, 2016 at 8:26 AM, Soumya Koduri <[email protected]> wrote:

>
>
> On 05/04/2016 08:30 PM, Soumya Koduri wrote:
>
>> Hi Malahal,
>>
>> On 05/04/2016 07:37 PM, Malahal Naineni wrote:
>>
>>> Soumya Koduri [[email protected]] wrote:
>>>
>>>> Hi Krishna,
>>>>
>>>> yes. We had been reported similar issue earlier and Frank submitted a
>>>> patch to fix it [1]. I think the fix is available in V2.3.1 or later
>>>> branches.
>>>>
>>>> Thanks,
>>>> Soumya
>>>>
>>>
>>> Soumya, is this zero length file handle case? If so, can anyone explain
>>> why we got a zero length file handle? (maybe some NFS client bug???)
>>>
>>>
>> yes. It is because of zero length file handle.
>>
>
> Sorry correction. We had suspected that the user could have hit the crash
> because of zero length filehandle. We couldn't debug the core they produced
> because of missing debuginfos.
>
> Krishna,
> Can you confirm it if you happen to have a core.
>
> Thanks,
> Soumya
>
>
> Unfortunately, even we
>
>> couldn't figure out why/how it has happened. We had been reported about
>> this from a user and from code-inspection we found a possible bug in
>> XDR_DECODE & could reproduce the issue by injecting errors via gdb.
>>
>> Krishna,
>> Do you have any insights on when exactly(in what scenarios) you hit this
>> crash?
>>
>> Thanks,
>> Soumya
>>
>> Regards, Malahal.
>>>
>>>
>>>> [1] https://review.gerrithub.io/#/c/263358/
>>>>
>>>> On 04/29/2016 07:09 AM, Krishna Harathi wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> We are using Ganesha 2.3.0, hitting this crash. I see that we have a
>>>>> 2.3.2 as well as other fixes in the main branch. Before I start
>>>>> browsing
>>>>> all the commits, does this stack trace looks familiar, this issue is
>>>>> already fixed in 2.3.2 or later?
>>>>>
>>>>>       #0  0x000000000049abbd in xdr_nfs_fh3 (xdrs=0x7fe288a47bd8,
>>>>>       objp=0x7fe288a483f0) at
>>>>>
>>>>> /home/kharathi/source1/oneblox/repos/packaging/nfs-ganesha-2.3.0/nfs-ganesha-2.3.0/src/Protocols/XDR/xdr_nfs23.c:465
>>>>>       #1  0x000000000049b3f2 in xdr_diropargs3 (xdrs=0x7fe288a47bd8,
>>>>>       objp=0x7fe288a483f0) at
>>>>>
>>>>> /home/kharathi/source1/oneblox/repos/packaging/nfs-ganesha-2.3.0/nfs-ganesha-2.3.0/src/Protocols/XDR/xdr_nfs23.c:835
>>>>>       #2  0x000000000049b6fb in xdr_LOOKUP3args (xdrs=0x0,
>>>>>       objp=0x7fe288a483f0) at
>>>>>
>>>>> /home/kharathi/source1/oneblox/repos/packaging/nfs-ganesha-2.3.0/nfs-ganesha-2.3.0/src/Protocols/XDR/xdr_nfs23.c:1014
>>>>>       #3  0x00007fe29ce88231 in svcauth_none_wrap (auth=0x7fe29d0af680,
>>>>>       req=0x7fe288a48230, xdrs=0x7fe288a47bd8, xdr_func=0x49b6dd
>>>>>       <xdr_LOOKUP3args>, xdr_ptr=0x7fe288a483f0 "")
>>>>>            at
>>>>>
>>>>> /home/kharathi/source1/oneblox/repos/packaging/nfs-ganesha-2.3.0/nfs-ganesha-2.3.0/src/libntirpc/src/svc_auth_none.c:66
>>>>>       #4  0x00007fe29ce8fe3c in svc_vc_getargs (xprt=0x7fe288a47f80,
>>>>>       req=0x7fe288a48230, xdr_args=0x49b6dd <xdr_LOOKUP3args>,
>>>>>       args_ptr=0x7fe288a483f0, u_data=0x7fe288a483e8)
>>>>>            at
>>>>>
>>>>> /home/kharathi/source1/oneblox/repos/packaging/nfs-ganesha-2.3.0/nfs-ganesha-2.3.0/src/libntirpc/src/svc_vc.c:947
>>>>>       #5  0x000000000044e266 in nfs_rpc_get_args
>>>>> (reqnfs=0x7fe288a48228)
>>>>>       at
>>>>>
>>>>> /home/kharathi/source1/oneblox/repos/packaging/nfs-ganesha-2.3.0/nfs-ganesha-2.3.0/src/MainNFSD/nfs_rpc_dispatcher_thread.c:2122
>>>>>       #6  0x000000000044d6eb in thr_decode_rpc_request (context=0x0,
>>>>>       xprt=0x7fe288a47f80) at
>>>>>
>>>>> /home/kharathi/source1/oneblox/repos/packaging/nfs-ganesha-2.3.0/nfs-ganesha-2.3.0/src/MainNFSD/nfs_rpc_dispatcher_thread.c:1869
>>>>>       #7  0x000000000044d891 in thr_decode_rpc_requests
>>>>>       (thr_ctx=0x7fe28980e080) at
>>>>>
>>>>> /home/kharathi/source1/oneblox/repos/packaging/nfs-ganesha-2.3.0/nfs-ganesha-2.3.0/src/MainNFSD/nfs_rpc_dispatcher_thread.c:1915
>>>>>       #8  0x000000000050f338 in fridgethr_start_routine
>>>>>       (arg=0x7fe28980e080) at
>>>>>
>>>>> /home/kharathi/source1/oneblox/repos/packaging/nfs-ganesha-2.3.0/nfs-ganesha-2.3.0/src/support/fridgethr.c:561
>>>>>       #9  0x00007fe29d2beb50 in start_thread () from
>>>>>       /lib/x86_64-linux-gnu/libpthread.so.0
>>>>>       #10 0x00007fe29c99c7bd in clone () from
>>>>> /lib/x86_64-linux-gnu/libc.so.6
>>>>>       #11 0x0000000000000000 in ?? ()
>>>>>       (gdb) print objp
>>>>>       $1 = (nfs_fh3 *) 0x7fe288a483f0
>>>>>       (gdb) print *objp
>>>>>       $2 = {data = {data_len = 0, data_val = 0x0}}
>>>>>       (gdb) print *xdrs
>>>>>       $3 = {x_op = XDR_DECODE, x_ops = 0x7fe29d0adfc0, x_public =
>>>>>       0x7fe288a483e8, x_private = 0x7fe28881c0e0, x_lib = {0x2,
>>>>>       0x7fe288a47f80}, x_base = 0x0, x_v = {vio_base = 0x0, vio_head =
>>>>>       0x0, vio_tail = 0x0, vio_wrap = 0x0},
>>>>>          x_handy = 0, x_flags = 1}
>>>>>
>>>>>
>>>>>
>>>>> Thanks in advance.
>>>>>
>>>>> Regards.
>>>>> Krishna Harathi
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Find and fix application performance issues faster with Applications
>>>>> Manager
>>>>> Applications Manager provides deep performance insights into multiple
>>>>> tiers of
>>>>> your business applications. It resolves application problems quickly
>>>>> and
>>>>> reduces your MTTR. Get your free trial!
>>>>> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Nfs-ganesha-devel mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel
>>>>>
>>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Find and fix application performance issues faster with Applications
>>>> Manager
>>>> Applications Manager provides deep performance insights into multiple
>>>> tiers of
>>>> your business applications. It resolves application problems quickly and
>>>> reduces your MTTR. Get your free trial!
>>>> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
>>>> _______________________________________________
>>>> Nfs-ganesha-devel mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel
>>>>
>>>>
>>>
>>
>> ------------------------------------------------------------------------------
>> Find and fix application performance issues faster with Applications
>> Manager
>> Applications Manager provides deep performance insights into multiple
>> tiers of
>> your business applications. It resolves application problems quickly and
>> reduces your MTTR. Get your free trial!
>> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
>> _______________________________________________
>> Nfs-ganesha-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel
>>
>>
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Nfs-ganesha-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to