This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/9686] New: readdir fails to see all files in directory on XFS filesystem


This has occurred on a LFS-like system,using the following: linux-2.6.28,
glibc-2.8_20081222 and binutils-2.19. I first observed the problem when build
xorg-server (X11R7.4) complained about not finding pixman, even though
pixman-1-0.13.2 was indeed installed. I then issued pkg-config --modversion
pixman-1 which found no package pixman-1, even though
/usr/lib/pkgconfig/pixman-1.pc was indeed present. So, I wrote a simple c
program to test directory listings using glibc readdir and found that it
consistently does not find one file in a directory (if there are enough files
contained in it), giving the error:
 "Value too large for defined data type" (errno: 75). I say, "enough files"
here, because this error does not happen for every directory: for directories
with only a few files, no problem, but for directories such as /usr/bin and
/usr/lib (and /usr/lib/pkgconfig) it does. 

The c code to demonstrate this strange behavior is as follows
(build with: cc -o test_readdir test_readdir.c):
-----------------------------------------------------------------------------
// test_readdir.c

#include <sys/types.h>
#include <string.h>
#include <dirent.h>
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>

void list_dir(const char *dir_name) {
    struct dirent *dent;

    DIR *dir = opendir(dir_name);

    if (!dir) {
        printf("Invalid/non-existent directory: %s\n", dir_name, strerror (errno));
        return;
    }
    printf("Files in %s:\n", dir_name);

    while ((dent = readdir (dir))) {
        printf("file: %s rc: %s\n", dent->d_name, strerror (errno));
    }
    printf("Finished with rc: %s (%d)\n", strerror (errno), errno);
}
int main(int argc, char *argv[]) {
    char *dir_name;

    if (argc > 1)
        dir_name = (char*) argv[1];
    else
        dir_name = (char*) "/usr/lib/pkgconfig";

    list_dir(dir_name);

    return(0);
}
---------------------------------------------------------------------------
Here is an "ls" listing of /usr/lib/pkgconfig:
---------------------------------------------------------------------------
-rw-r--r-- 1 root root 232 2008-12-26 19:08 pixman-1.pc
-rw-r--r-- 1 root root 355 2008-12-26 08:17 xorg-server.pc
-rw-r--r-- 1 root root 166 2008-12-26 08:00 fontutil.pc
-rw-r--r-- 1 root root 207 2008-12-26 07:50 dri.pc
-rw-r--r-- 1 root root 202 2008-12-26 07:50 glu.pc
-rw-r--r-- 1 root root 216 2008-12-26 07:50 glut.pc
-rw-r--r-- 1 root root 201 2008-12-26 07:50 glw.pc
-rw-r--r-- 1 root root 189 2008-12-26 07:50 gl.pc
-rw-r--r-- 1 root root 334 2008-12-26 07:41 directfb-internal.pc
-rw-r--r-- 1 root root 337 2008-12-26 07:41 directfb.pc
-rw-r--r-- 1 root root 336 2008-12-26 07:40 direct.pc
-rw-r--r-- 1 root root 232 2008-12-26 07:40 fusion.pc
-rw-r--r-- 1 root root 211 2008-12-26 07:32 xbitmaps.pc
-rw-r--r-- 1 root root 227 2008-12-26 07:32 xcb-keysyms.pc
-rw-r--r-- 1 root root 272 2008-12-26 07:32 xcb-renderutil.pc
-rw-r--r-- 1 root root 241 2008-12-26 07:32 xcb-reply.pc
-rw-r--r-- 1 root root 286 2008-12-26 07:32 xcb-wm.pc
-rw-r--r-- 1 root root 251 2008-12-26 07:32 xcb-icccm.pc
-rw-r--r-- 1 root root 249 2008-12-26 07:32 xcb-image.pc
-rw-r--r-- 1 root root 260 2008-12-26 07:32 xcb-property.pc
-rw-r--r-- 1 root root 224 2008-12-26 07:32 xcb-atom.pc
-rw-r--r-- 1 root root 232 2008-12-26 07:32 xcb-aux.pc
-rw-r--r-- 1 root root 240 2008-12-26 07:32 xcb-event.pc
-rw-r--r-- 1 root root 250 2008-12-26 07:30 pciaccess.pc
-rw-r--r-- 1 root root 275 2008-12-26 07:30 xxf86vm.pc
-rw-r--r-- 1 root root 270 2008-12-26 07:30 xxf86misc.pc
-rw-r--r-- 1 root root 285 2008-12-26 07:30 xxf86dga.pc
-rw-r--r-- 1 root root 256 2008-12-26 07:30 xvmc.pc
-rw-r--r-- 1 root root 244 2008-12-26 07:29 xv.pc
-rw-r--r-- 1 root root 244 2008-12-26 07:29 xtst.pc
-rw-r--r-- 1 root root 245 2008-12-26 07:29 xtrap.pc
-rw-r--r-- 1 root root 258 2008-12-26 07:29 xscrnsaver.pc
-rw-r--r-- 1 root root 263 2008-12-26 07:29 xres.pc
-rw-r--r-- 1 root root 268 2008-12-26 07:29 xrandr.pc
-rw-r--r-- 1 root root 290 2008-12-26 07:29 xprintapputil.pc
-rw-r--r-- 1 root root 269 2008-12-26 07:28 xprintutil.pc
-rw-r--r-- 1 root root 245 2008-12-26 07:28 xkbui.pc
-rw-r--r-- 1 root root 244 2008-12-26 07:28 xkbfile.pc
-rw-r--r-- 1 root root 258 2008-12-26 07:28 xinerama.pc
-rw-r--r-- 1 root root 248 2008-12-26 07:28 xi.pc
-rw-r--r-- 1 root root 294 2008-12-26 07:27 xft.pc
-rw-r--r-- 1 root root 265 2008-12-26 07:27 xfontcache.pc
-rw-r--r-- 1 root root 281 2008-12-26 07:27 xfont.pc
-rw-r--r-- 1 root root 253 2008-12-26 07:26 xevie.pc
-rw-r--r-- 1 root root 312 2008-12-26 07:25 xcursor.pc
-rw-r--r-- 1 root root 274 2008-12-26 07:25 xdamage.pc
-rw-r--r-- 1 root root 263 2008-12-26 07:25 xrender.pc
-rw-r--r-- 1 root root 291 2008-12-26 07:25 xcomposite.pc
-rw-r--r-- 1 root root 256 2008-12-26 07:25 xfixes.pc
-rw-r--r-- 1 root root 275 2008-12-26 07:24 xaw6.pc
-rw-r--r-- 1 root root 275 2008-12-26 07:24 xaw7.pc
-rw-r--r-- 1 root root 278 2008-12-26 07:24 xaw8.pc
-rw-r--r-- 1 root root 242 2008-12-26 07:22 xp.pc
-rw-r--r-- 1 root root 229 2008-12-26 07:22 xpm.pc
-rw-r--r-- 1 root root 242 2008-12-26 07:22 xmu.pc
-rw-r--r-- 1 root root 238 2008-12-26 07:22 xmuu.pc
-rw-r--r-- 1 root root 283 2008-12-26 07:21 xt.pc
-rw-r--r-- 1 root root 246 2008-12-26 07:20 sm.pc
-rw-r--r-- 1 root root 217 2008-12-26 07:20 oldx.pc
-rw-r--r-- 1 root root 216 2008-12-26 07:20 lbxutil.pc
-rw-r--r-- 1 root root 225 2008-12-26 07:19 ice.pc
-rw-r--r-- 1 root root 244 2008-12-26 07:19 libfs.pc
-rw-r--r-- 1 root root 204 2008-12-26 07:19 fontenc.pc
-rw-r--r-- 1 root root 238 2008-12-26 07:19 dmx.pc
-rw-r--r-- 1 root root 237 2008-12-26 07:18 windowswm.pc
-rw-r--r-- 1 root root 231 2008-12-26 07:18 applewm.pc
-rw-r--r-- 1 root root 249 2008-12-26 07:18 xext.pc
-rw-r--r-- 1 root root 295 2008-12-26 07:18 x11.pc
-rw-r--r-- 1 root root 226 2008-12-26 07:18 x11-xcb.pc
-rw-r--r-- 1 root root 246 2008-12-26 07:13 xcb-composite.pc
-rw-r--r-- 1 root root 237 2008-12-26 07:13 xcb-damage.pc
-rw-r--r-- 1 root root 220 2008-12-26 07:13 xcb-dpms.pc
-rw-r--r-- 1 root root 217 2008-12-26 07:13 xcb-glx.pc
-rw-r--r-- 1 root root 265 2008-12-26 07:13 xcb.pc
-rw-r--r-- 1 root root 223 2008-12-26 07:13 xcb-randr.pc
-rw-r--r-- 1 root root 226 2008-12-26 07:13 xcb-record.pc
-rw-r--r-- 1 root root 226 2008-12-26 07:13 xcb-render.pc
-rw-r--r-- 1 root root 224 2008-12-26 07:13 xcb-res.pc
-rw-r--r-- 1 root root 241 2008-12-26 07:13 xcb-screensaver.pc
-rw-r--r-- 1 root root 223 2008-12-26 07:13 xcb-shape.pc
-rw-r--r-- 1 root root 217 2008-12-26 07:13 xcb-shm.pc
-rw-r--r-- 1 root root 220 2008-12-26 07:13 xcb-sync.pc
-rw-r--r-- 1 root root 223 2008-12-26 07:13 xcb-xevie.pc
-rw-r--r-- 1 root root 237 2008-12-26 07:13 xcb-xf86dri.pc
-rw-r--r-- 1 root root 247 2008-12-26 07:13 xcb-xfixes.pc
-rw-r--r-- 1 root root 232 2008-12-26 07:13 xcb-xinerama.pc
-rw-r--r-- 1 root root 228 2008-12-26 07:13 xcb-xlib.pc
-rw-r--r-- 1 root root 226 2008-12-26 07:13 xcb-xprint.pc
-rw-r--r-- 1 root root 223 2008-12-26 07:13 xcb-xtest.pc
-rw-r--r-- 1 root root 227 2008-12-26 07:13 xcb-xvmc.pc
-rw-r--r-- 1 root root 222 2008-12-26 07:13 xcb-xv.pc
-rw-r--r-- 1 root root 169 2008-12-26 07:10 pthread-stubs.pc
-rw-r--r-- 1 root root 240 2008-12-26 07:10 xdmcp.pc
-rw-r--r-- 1 root root 232 2008-12-26 07:10 xau.pc
-rw-r--r-- 1 root root 231 2008-12-26 07:10 xtrans.pc
-rw-r--r-- 1 root root 215 2008-12-26 07:10 xcb-proto.pc
-rw-r--r-- 1 root root 210 2008-12-26 07:10 xproxymngproto.pc
-rw-r--r-- 1 root root 208 2008-12-26 07:10 xproto.pc
-rw-r--r-- 1 root root 190 2008-12-26 07:10 xineramaproto.pc
-rw-r--r-- 1 root root 196 2008-12-26 07:09 xf86vidmodeproto.pc
-rw-r--r-- 1 root root 190 2008-12-26 07:09 xf86rushproto.pc
-rw-r--r-- 1 root root 190 2008-12-26 07:09 xf86miscproto.pc
-rw-r--r-- 1 root root 196 2008-12-26 07:09 xf86driproto.pc
-rw-r--r-- 1 root root 188 2008-12-26 07:09 xf86dgaproto.pc
-rw-r--r-- 1 root root 196 2008-12-26 07:09 xf86bigfontproto.pc
-rw-r--r-- 1 root root 182 2008-12-26 07:09 xextproto.pc
-rw-r--r-- 1 root root 186 2008-12-26 07:09 xcmiscproto.pc
-rw-r--r-- 1 root root 188 2008-12-26 07:09 windowswmproto.pc
-rw-r--r-- 1 root root 184 2008-12-26 07:09 videoproto.pc
-rw-r--r-- 1 root root 195 2008-12-26 07:09 trapproto.pc
-rw-r--r-- 1 root root 192 2008-12-26 07:09 scrnsaverproto.pc
-rw-r--r-- 1 root root 190 2008-12-26 07:09 resourceproto.pc
-rw-r--r-- 1 root root 186 2008-12-26 07:09 renderproto.pc
-rw-r--r-- 1 root root 187 2008-12-26 07:09 recordproto.pc
-rw-r--r-- 1 root root 184 2008-12-26 07:09 randrproto.pc
-rw-r--r-- 1 root root 198 2008-12-26 07:09 printproto.pc
-rw-r--r-- 1 root root 178 2008-12-26 07:09 kbproto.pc
-rw-r--r-- 1 root root 184 2008-12-26 07:09 inputproto.pc
-rw-r--r-- 1 root root 178 2008-12-26 07:09 glproto.pc
-rw-r--r-- 1 root root 184 2008-12-26 07:09 fontsproto.pc
-rw-r--r-- 1 root root 192 2008-12-26 07:09 fontcacheproto.pc
-rw-r--r-- 1 root root 182 2008-12-26 07:09 fixesproto.pc
-rw-r--r-- 1 root root 180 2008-12-26 07:09 evieproto.pc
-rw-r--r-- 1 root root 180 2008-12-26 07:09 dmxproto.pc
-rw-r--r-- 1 root root 185 2008-12-26 07:09 damageproto.pc
-rw-r--r-- 1 root root 187 2008-12-26 07:09 compositeproto.pc
-rw-r--r-- 1 root root 188 2008-12-26 07:09 bigreqsproto.pc
-rw-r--r-- 1 root root 188 2008-12-26 07:09 applewmproto.pc
-rw-r--r-- 1 root root 385 2008-12-25 18:55 guile-1.8.pc
-rw-r--r-- 1 root root 272 2008-12-25 18:49 fontconfig.pc
-rw-r--r-- 1 root root 234 2008-12-25 18:49 blkid.pc
-rw-r--r-- 1 root root 233 2008-12-25 18:49 e2p.pc
-rw-r--r-- 1 root root 231 2008-12-25 18:49 ext2fs.pc
-rw-r--r-- 1 root root 225 2008-12-25 18:49 uuid.pc
-rw-r--r-- 1 root root 255 2008-12-25 18:49 com_err.pc
-rw-r--r-- 1 root root 257 2008-12-25 18:49 ss.pc
-rw-r--r-- 1 root root 290 2008-12-25 18:03 libcroco-0.6.pc
-rw-r--r-- 1 root root 258 2008-12-25 18:02 libexslt.pc
-rw-r--r-- 1 root root 248 2008-12-25 18:02 libxslt.pc
-rw-r--r-- 1 root root 259 2008-12-25 18:01 libxml-2.0.pc
-rw-r--r-- 1 root root 317 2008-12-25 17:49 libcgraph.pc
-rw-r--r-- 1 root root 243 2008-12-25 17:49 libgvc.pc
-rw-r--r-- 1 root root 317 2008-12-25 17:49 libagraph.pc
-rw-r--r-- 1 root root 271 2008-12-25 17:49 libpathplan.pc
-rw-r--r-- 1 root root 216 2008-12-25 17:49 libcdt.pc
-rw-r--r-- 1 root root 315 2008-12-25 17:49 libgraph.pc
-rw-r--r-- 1 root root 212 2008-12-25 17:45 fftw3.pc
-rw-r--r-- 1 root root 243 2008-12-25 17:43 sndfile.pc
-rw-r--r-- 1 root root 242 2008-12-25 17:41 samplerate.pc
-rw-r--r-- 1 root root 293 2008-12-25 17:40 neon.pc
-rw-r--r-- 1 root root 260 2008-12-25 17:40 lua.pc
-rw-r--r-- 1 root root 342 2008-12-25 17:39 speexdsp.pc
-rw-r--r-- 1 root root 296 2008-12-25 17:39 speex.pc
-rw-r--r-- 1 root root 269 2008-12-25 16:37 ogg.pc
-rw-r--r-- 1 root root 255 2008-12-25 16:36 atk.pc
-rw-r--r-- 1 root root 212 2008-12-25 16:34 audiofile.pc
-rw-r--r-- 1 root root 207 2008-12-25 16:33 mad.pc
-rw-r--r-- 1 root root 252 2008-12-25 16:32 taglib_c.pc
-rw-r--r-- 1 root root 220 2008-12-25 16:32 taglib.pc
-rw-r--r-- 1 root root 272 2008-12-25 16:30 gio-2.0.pc
-rw-r--r-- 1 root root 309 2008-12-25 16:30 gio-unix-2.0.pc
-rw-r--r-- 1 root root 288 2008-12-25 16:30 gmodule-2.0.pc
-rw-r--r-- 1 root root 287 2008-12-25 16:30 gmodule-export-2.0.pc
-rw-r--r-- 1 root root 266 2008-12-25 16:30 gmodule-no-export-2.0.pc
-rw-r--r-- 1 root root 240 2008-12-25 16:30 gobject-2.0.pc
-rw-r--r-- 1 root root 240 2008-12-25 16:30 gthread-2.0.pc
-rw-r--r-- 1 root root 343 2008-12-25 16:30 glib-2.0.pc
-rw-r--r-- 1 root root 233 2008-12-25 16:27 glib.pc
-rw-r--r-- 1 root root 230 2008-12-25 16:27 gmodule.pc
-rw-r--r-- 1 root root 232 2008-12-25 16:27 gthread.pc
lrwxrwxrwx 1 root root  11 2008-12-25 16:25 libpng.pc -> libpng12.pc
-rw-r--r-- 1 root root 241 2008-12-25 16:25 libpng12.pc
-rw-r--r-- 1 root root 242 2008-12-25 16:24 libdrm.pc
-rw-r--r-- 1 root root 261 2008-12-25 16:22 libpcrecpp.pc
-rw-r--r-- 1 root root 270 2008-12-25 16:22 libpcre.pc
-rw-r--r-- 1 root root 278 2008-12-25 16:19 freetype2.pc
-rw-r--r-- 1 root root 240 2008-12-25 07:32 libcrypto.pc
-rw-r--r-- 1 root root 255 2008-12-25 07:32 libssl.pc
-rw-r--r-- 1 root root 265 2008-12-25 07:32 openssl.pc
-rw-r--r-- 1 root root 236 2008-12-25 07:17 libvolume_id.pc
-rw-r--r-- 1 root root 216 2008-12-25 07:17 libudev.pc
------------------------------------------------------------------------------
and here is the output of test_readdir:
------------------------------------------------------------------------------
# ./test            
Files in /usr/lib/pkgconfig:
file: . rc: Success
file: .. rc: Success
file: xcb-xtest.pc rc: Success
file: xcb-xv.pc rc: Success
file: x11.pc rc: Success
file: x11-xcb.pc rc: Success
file: applewm.pc rc: Success
file: gl.pc rc: Success
file: libudev.pc rc: Success
file: libvolume_id.pc rc: Success
file: libcrypto.pc rc: Success
file: libssl.pc rc: Success
file: openssl.pc rc: Success
file: freetype2.pc rc: Success
file: windowswm.pc rc: Success
file: libpcre.pc rc: Success
file: libpcrecpp.pc rc: Success
file: libdrm.pc rc: Success
file: libpng12.pc rc: Success
file: libpng.pc rc: Success
file: glib.pc rc: Success
file: gmodule.pc rc: Success
file: gthread.pc rc: Success
file: glib-2.0.pc rc: Success
file: gobject-2.0.pc rc: Success
file: gmodule-2.0.pc rc: Success
file: gmodule-export-2.0.pc rc: Success
file: gmodule-no-export-2.0.pc rc: Success
file: gthread-2.0.pc rc: Success
file: gio-2.0.pc rc: Success
file: gio-unix-2.0.pc rc: Success
file: taglib_c.pc rc: Success
file: taglib.pc rc: Success
file: mad.pc rc: Success
file: audiofile.pc rc: Success
file: atk.pc rc: Success
file: ogg.pc rc: Success
file: speex.pc rc: Success
file: speexdsp.pc rc: Success
file: lua.pc rc: Success
file: neon.pc rc: Success
file: samplerate.pc rc: Success
file: sndfile.pc rc: Success
file: fftw3.pc rc: Success
file: libcdt.pc rc: Success
file: libgraph.pc rc: Success
file: libagraph.pc rc: Success
file: libpathplan.pc rc: Success
file: libgvc.pc rc: Success
file: libcgraph.pc rc: Success
file: libxml-2.0.pc rc: Success
file: libxslt.pc rc: Success
file: libexslt.pc rc: Success
file: libcroco-0.6.pc rc: Success
file: com_err.pc rc: Success
file: ss.pc rc: Success
file: e2p.pc rc: Success
file: uuid.pc rc: Success
file: ext2fs.pc rc: Success
file: blkid.pc rc: Success
file: fontconfig.pc rc: Success
file: guile-1.8.pc rc: Success
file: applewmproto.pc rc: Success
file: bigreqsproto.pc rc: Success
file: compositeproto.pc rc: Success
file: damageproto.pc rc: Success
file: dmxproto.pc rc: Success
file: evieproto.pc rc: Success
file: fixesproto.pc rc: Success
file: fontcacheproto.pc rc: Success
file: fontsproto.pc rc: Success
file: glproto.pc rc: Success
file: inputproto.pc rc: Success
file: kbproto.pc rc: Success
file: printproto.pc rc: Success
file: randrproto.pc rc: Success
file: recordproto.pc rc: Success
file: renderproto.pc rc: Success
file: resourceproto.pc rc: Success
file: scrnsaverproto.pc rc: Success
file: trapproto.pc rc: Success
file: videoproto.pc rc: Success
file: windowswmproto.pc rc: Success
file: xcmiscproto.pc rc: Success
file: xextproto.pc rc: Success
file: xf86bigfontproto.pc rc: Success
file: xf86dgaproto.pc rc: Success
file: xf86driproto.pc rc: Success
file: xf86miscproto.pc rc: Success
file: xf86rushproto.pc rc: Success
file: xf86vidmodeproto.pc rc: Success
file: xineramaproto.pc rc: Success
file: xproto.pc rc: Success
file: xproxymngproto.pc rc: Success
file: xcb-proto.pc rc: Success
file: xtrans.pc rc: Success
file: xau.pc rc: Success
file: xdmcp.pc rc: Success
file: pthread-stubs.pc rc: Success
file: xcb.pc rc: Success
file: xcb-xlib.pc rc: Success
file: xcb-composite.pc rc: Success
file: xcb-damage.pc rc: Success
file: xcb-dpms.pc rc: Success
file: xcb-glx.pc rc: Success
file: xcb-randr.pc rc: Success
file: xcb-record.pc rc: Success
file: xcb-render.pc rc: Success
file: xcb-res.pc rc: Success
file: xcb-screensaver.pc rc: Success
file: xcb-shape.pc rc: Success
file: xcb-shm.pc rc: Success
file: xcb-sync.pc rc: Success
file: xcb-xevie.pc rc: Success
file: xcb-xf86dri.pc rc: Success
file: xcb-xfixes.pc rc: Success
file: xcb-xinerama.pc rc: Success
file: xcb-xprint.pc rc: Success
file: xcb-xvmc.pc rc: Success
file: xext.pc rc: Success
file: dmx.pc rc: Success
file: fontenc.pc rc: Success
file: libfs.pc rc: Success
file: ice.pc rc: Success
file: lbxutil.pc rc: Success
file: oldx.pc rc: Success
file: sm.pc rc: Success
file: xt.pc rc: Success
file: xmu.pc rc: Success
file: xmuu.pc rc: Success
file: xpm.pc rc: Success
file: xp.pc rc: Success
file: xaw6.pc rc: Success
file: xaw7.pc rc: Success
file: xaw8.pc rc: Success
file: xfixes.pc rc: Success
file: xcomposite.pc rc: Success
file: xrender.pc rc: Success
file: xdamage.pc rc: Success
file: xcursor.pc rc: Success
file: xevie.pc rc: Success
file: xfont.pc rc: Success
file: xfontcache.pc rc: Success
file: xft.pc rc: Success
file: xi.pc rc: Success
file: xinerama.pc rc: Success
file: xkbfile.pc rc: Success
file: xkbui.pc rc: Success
file: xprintutil.pc rc: Success
file: xprintapputil.pc rc: Success
file: xrandr.pc rc: Success
file: xres.pc rc: Success
file: xscrnsaver.pc rc: Success
file: xtrap.pc rc: Success
file: xtst.pc rc: Success
file: xv.pc rc: Success
file: xvmc.pc rc: Success
file: xxf86dga.pc rc: Success
file: xxf86misc.pc rc: Success
file: xxf86vm.pc rc: Success
file: pciaccess.pc rc: Success
file: xcb-atom.pc rc: Success
file: xcb-aux.pc rc: Success
file: xcb-event.pc rc: Success
file: xcb-property.pc rc: Success
file: xcb-icccm.pc rc: Success
file: xcb-image.pc rc: Success
file: xcb-keysyms.pc rc: Success
file: xcb-reply.pc rc: Success
file: xcb-wm.pc rc: Success
file: xcb-renderutil.pc rc: Success
file: xbitmaps.pc rc: Success
file: direct.pc rc: Success
file: fusion.pc rc: Success
file: directfb.pc rc: Success
file: directfb-internal.pc rc: Success
file: dri.pc rc: Success
file: glu.pc rc: Success
file: glw.pc rc: Success
file: glut.pc rc: Success
file: fontutil.pc rc: Success
file: xorg-server.pc rc: Success
Finished with rc: Value too large for defined data type (75)
--------------------------------------------------------------------------
The file pixman-1.pc is not found.

--------------------------------------------------------------------------
Another simple demonstration: create a directory and create a whole bunch of
empty files as follows:

mkdir ttt
for n in {1..168}; do touch ttt/$n;done

and issue test_readdir ttt. For {1..N}, N=1,2,..167, it works fine, but for
N=168, file "ttt/168" is not found and errno=75 is set. Detele ttt/168 and it
works again, add again an arbitrary file and it fails. Very peculiar.

-- 
           Summary: readdir fails to see all files in directory on XFS
                    filesystem
           Product: glibc
           Version: 2.8
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: jpsinthemix at verizon dot net
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=9686

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]