public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hjl.tools at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/31186] Some dirent/io tests don't work on xfs
Date: Fri, 29 Dec 2023 18:56:20 +0000	[thread overview]
Message-ID: <bug-31186-131-efV6dXmlrM@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-31186-131@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=31186

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> ---
From the first __getdents64 call:

Breakpoint 2, __readdir_unlocked (dirp=dirp@entry=0x5655a5b0)
    at ../sysdeps/unix/sysv/linux/readdir.c:32
32      {
(gdb) next
33        int saved_errno = errno;
(gdb) 
37            if (dirp->offset >= dirp->size)
(gdb) 
39                ssize_t bytes = __getdents64 (dirp->fd, dirp->data,
(gdb) 
41                if (bytes <= 0)
(gdb) 
51                dirp->size = bytes;
(gdb) 
54                dirp->offset = 0;
(gdb) 
78            if (!in_ino_t_range (inp->dp64.d_ino))
(gdb) 
88                __set_errno (EOVERFLOW);
(gdb) p inp->dp64.d_ino
$1 = 6442498605
(gdb)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

  parent reply	other threads:[~2023-12-29 18:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-22 16:18 [Bug libc/31186] New: " hjl.tools at gmail dot com
2023-12-29 13:29 ` [Bug libc/31186] " adhemerval.zanella at linaro dot org
2023-12-29 15:49 ` hjl.tools at gmail dot com
2023-12-29 18:32 ` adhemerval.zanella at linaro dot org
2023-12-29 18:56 ` hjl.tools at gmail dot com [this message]
2023-12-29 19:25 ` adhemerval.zanella at linaro dot org
2023-12-29 19:42 ` adhemerval.zanella at linaro dot org
2023-12-29 20:00 ` adhemerval.zanella at linaro dot org
2023-12-29 21:53 ` hjl.tools at gmail dot com
2023-12-29 23:52 ` sam at gentoo dot org
2023-12-30 12:29 ` fw at deneb dot enyo.de
2024-01-02 18:06 ` adhemerval.zanella at linaro dot org
2024-01-05  8:33 ` sam at gentoo dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-31186-131-efV6dXmlrM@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).