bugGluster - Bugs: bug #22590, crash in fuse_entry_cbk ->...

 
 

bug #22590: crash in fuse_entry_cbk -> strcmp

Submitted by:  LI Daobing <lidaobing>
Submitted on:  Fri 14 Mar 2008 02:31:32 AM UTC  
 
Category: GlusterFSSeverity: 3 - Normal
Priority: 1 - LaterItem Group: Crash
Status: FixedPrivacy: Public
Assigned to: Amar Tumballi <amarts>Originator Name: Amar
Open/Closed: ClosedRelease: 1.4.0
Operating System: NoneReproducibility: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Mon 22 Jun 2009 06:42:55 AM UTC, comment #6:

all the translators in glusterfs now make use of APIs exported by libglusterfs to access inode table & dentry tree.

the codebase has undergone a major change in this direction and this behaviour is no more observed in glusterfs.

--
Gowda

Basavanagowda Kanur <gowda>
Project Member
Fri 29 Aug 2008 08:12:39 PM UTC, comment #5:

Hi Daobing,
can you test http://ftp.zresearch.com/pub/gluster/glusterfs/1.4-qa/glusterfs-1.4.0qa40.tar.gz and let us know if you see similar behavior over curlptrfs ?

If i see no reply, i will be closing the bug in a week (error = TIMEOUT), we can open it whenever the issue is seen.

Amar Tumballi <amarts>
Project MemberIn charge of this item.
Sat 12 Apr 2008 01:40:22 AM UTC, comment #4:

hi LI,
Sorry for the delay. But currently we are more focused on just posix compliant filesystems as backend (but soon we will see this), so couldn't assign this task to anyone. But meanwhile I will postpone it to after 1.3.8 date.

-bulde

Amar Tumballi <amarts>
Project MemberIn charge of this item.
Fri 14 Mar 2008 05:01:00 AM UTC, comment #3:

Hello,

I am tring setup glusterfs over curlftpfs.

and the log:

TLA Repo Revision: glusterfs--mainline--2.5--patch-705
Time : 2008-03-14 10:49:00
Signal Number : 11

glusterfs -f glusterfs-client.vol -l /var/log/glusterfs/glusterfs.log -L WARNING /home/srv/ftp-glfs
volume fuse
type mount/fuse
option direct-io-mode 1
option entry-timeout 1
option attr-timeout 1
option mount-point /home/srv/ftp-glfs
subvolumes track1
end-volume

volume track1
type debug/trace
option debug on
subvolumes posix1
end-volume

volume posix1
type storage/posix
option directory /home/srv/curlftpfs
end-volume

frame : type(1) op(34)

[0xffffe420]
/usr/lib/glusterfs/1.3.8/xlator/mount/fuse.so[0xb7628a8b]
/usr/lib/glusterfs/1.3.8/xlator/debug/trace.so(trace_lookup_cbk+0x8d)[0xb7fb7f9d]
/usr/lib/glusterfs/1.3.8/xlator/storage/posix.so(posix_lookup+0x28e)[0xb7fc7d6e]
/usr/lib/glusterfs/1.3.8/xlator/debug/trace.so(trace_lookup+0xd6)[0xb7fbcb96]
/usr/lib/glusterfs/1.3.8/xlator/mount/fuse.so[0xb7625da4]
/usr/lib/libfuse.so.2[0xb75fb412]
/usr/lib/libfuse.so.2[0xb75fbeb0]
/usr/lib/libfuse.so.2(fuse_session_process+0x26)[0xb75fd6d6]
/usr/lib/glusterfs/1.3.8/xlator/mount/fuse.so[0xb762758b]
/lib/i686/cmov/libpthread.so.0[0xb7f814fb]
/lib/i686/cmov/libc.so.6(clone+0x5e)[0xb7f0593e]
---------

LI Daobing <lidaobing>
Fri 14 Mar 2008 04:46:47 AM UTC, comment #2:

Can you tell me how to reproduce this ? also log from patch-705? (that gives me spec file and the command line you started it with).

Amar Tumballi <amarts>
Project MemberIn charge of this item.
Fri 14 Mar 2008 02:49:45 AM UTC, comment #1:

I can reproduce this bug in tla705

LI Daobing <lidaobing>
Fri 14 Mar 2008 02:31:32 AM UTC, original submission:

version: glusterfs--mainline--2.5--patch-696

backtrace in [2]

in `strcmp (state->fuse_loc.name, fuse_inode->dentry.name)', both of the args in NULL.

[1]
(gdb) p state->fuse_loc
$7 = {loc = {path = 0x8052dc0 "/", ino = 1, inode = 0x808a0d8}, parent = 0x0, inode = 0x808a0d8, name = 0x0}
(gdb) p fuse_inode->dentry
$8 = {inode_list = {next = 0x808a10c, prev = 0x808a10c}, name_hash = {next = 0x808a114, prev = 0x808a114},
inode = 0x808a0d8, name = 0x0, parent = 0x0}

[2]
(gdb) bt
#0 0xb7dedbb8 in strcmp () from /lib/i686/cmov/libc.so.6
#1 0xb75757bb in fuse_entry_cbk (frame=0x808a1d8, cookie=0x808a230, this=0x804d210, op_ret=0, op_errno=0,
inode=0x808a0d8, buf=0xb7530168) at fuse-bridge.c:397
#2 0xb757598b in fuse_lookup_cbk (frame=0x808a1d8, cookie=0x808a230, this=0x804d210, op_ret=0, op_errno=0,
inode=0x808a0d8, stat=0xb7530168, dict=0x0) at fuse-bridge.c:489
#3 0xb7f03f9d in trace_lookup_cbk () from /usr/lib/glusterfs/1.3.8pre2/xlator/debug/trace.so
#4 0xb7f13c4e in posix_lookup (frame=0x808a268, this=0x80514b0, loc=0x808a14c, need_xattr=0) at posix.c:110
#5 0xb7f08b96 in trace_lookup () from /usr/lib/glusterfs/1.3.8pre2/xlator/debug/trace.so
#6 0xb7572ce1 in fuse_getattr (req=0x8052e78, ino=1, fi=0x0) at fuse-bridge.c:601
#7 0xb7548412 in ?? () from /usr/lib/libfuse.so.2
#8 0x08052e78 in ?? ()
#9 0x00000001 in ?? ()
#10 0x00000000 in ?? ()

LI Daobing <lidaobing>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by gowda (Posted a comment)
  • -unavailable- added by amarts (Posted a comment)
  • -unavailable- added by lidaobing (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 22 Jun 2009 09:52:16 AM UTCgowdaOpen/ClosedOpen=>Closed
    Mon 22 Jun 2009 06:42:55 AM UTCgowdaStatusNone=>Fixed
    Fri 29 Aug 2008 08:12:39 PM UTCamartsOriginator Name=>Amar
      Release=>1.4.0
    Sat 12 Apr 2008 01:40:22 AM UTCamartsPriority5 - Normal=>1 - Later
      Assigned toNone=>amarts

    Back to the top


    Powered by Savane 3.1-cleanup1