[Gluster-devel] Segfault at cache read_dir

Anush Shetty anush at gluster.com
Tue Nov 24 13:18:39 UTC 2009


On Tue, Nov 24, 2009 at 5:30 PM, Dongmin Yu <min at hostway.co.kr> wrote:
> Hello,
>
>
>
> To isolate the issue, I created a simple test case.
>
>
>
> void readdir_test()
>
> {
>
>     struct dirent *dirp = NULL;
>
> glusterfs_dir_t dirfd = NULL;
>
> char *path = "/hs2/m/min001";
>
>     dirfd = glusterfs_opendir( path );
>
>     while( (dirp = glusterfs_readdir(dirfd)) != NULL ) {
>
>         printf("%s\n", dirp->d_name );
>
>     }
>
>     glusterfs_closedir( dirfd );
>
> }
>
>
>
> I’m using CentOS 64bit. The configuration was not the issue.



Can you please paste the server/client volume files here ?

-
Anush





More information about the Gluster-devel mailing list