bugGluster - Bugs: bug #21541, core dump in afr on empty directory

 
 

bug #21541: core dump in afr on empty directory

Submitted by:  None
Submitted on:  Thu 08 Nov 2007 09:33:55 AM UTC  
 
Category: GlusterFSSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Crash
Status: NonePrivacy: Public
Assigned to: Krishna Srinivas <krishnasrinivas>Originator Name: 
Originator Email: -unavailable-Open/Closed: Closed
Release: Operating System: GNU/Linux
Reproducibility: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 19 Nov 2007 05:11:10 AM UTC, comment #3:

Fixed in patch 551 onwards.

Amar Tumballi <amarts>
Project Member
Thu 08 Nov 2007 11:23:52 AM UTC, comment #2:

Ok, here's how to reproduce this: create a directory 'foo' in one of two directories such that 'foo' is not readable by glusterfs (if you're root this is tricky: you need to nfs/cifs mount a directory and set up the perms such that root isn't allowed access, usually because root gets mapped to a non-root user on the nfs/cifs server).

I'm attaching a tar file with the setup - you still need to set up a samba server or something that exports a share, and in that share needs to be a directory 'foo' such that if you do an 'ls /tmp/gfs_bug/dir1/foo' you get 'permission denied':

(file #14337)

ronald <roadrunner>
Thu 08 Nov 2007 10:07:41 AM UTC, comment #1:

Sorry, I messed up - the setup is more complicated (the core is real, unfortunately). I'll post back as soon as I have the simplest setup.

ronald <roadrunner>
Thu 08 Nov 2007 09:33:55 AM UTC, original submission:

Version: glusterfs 1.3.7

Setup: afr on two directories. If one of the directories is empty, then an 'ls' results in a glusterfs SEGV. The relevant info from gdb is:

If you need more info or can't reproduce, please let me know.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #14337:  gfs_bug.tgz added by roadrunner (5KiB - application/x-compressed-tar - Basic setup and scripts, not including samba config)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by amarts (Posted a comment)
  • -unavailable- added by roadrunner (Posted a comment)
  •  

    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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 19 Nov 2007 05:11:10 AM UTCamartsAssigned toNone=>krishnasrinivas
      Open/ClosedOpen=>Closed
    Thu 08 Nov 2007 11:23:52 AM UTCroadrunnerAttached File-=>Added gfs_bug.tgz, #14337

    Back to the top


    Powered by Savane 3.1-cleanup1