[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gluster-devel] Segfault at cache read_dir
From: |
Anush Shetty |
Subject: |
Re: [Gluster-devel] Segfault at cache read_dir |
Date: |
Tue, 24 Nov 2009 18:48:39 +0530 |
On Tue, Nov 24, 2009 at 5:30 PM, Dongmin Yu <address@hidden> 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