From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 02 11:43:08 2013 Received: (at submit) by debbugs.gnu.org; 2 Jul 2013 15:43:08 +0000 Received: from localhost ([127.0.0.1]:52657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uu2jT-0005JZ-Rk for submit@debbugs.gnu.org; Tue, 02 Jul 2013 11:43:08 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42291) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UtxwE-0005tq-B5 for submit@debbugs.gnu.org; Tue, 02 Jul 2013 06:35:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Utxw5-0005NW-Mh for submit@debbugs.gnu.org; Tue, 02 Jul 2013 06:35:52 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53720) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Utxw5-0005NQ-Bs for submit@debbugs.gnu.org; Tue, 02 Jul 2013 06:35:49 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43950) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Utxvz-0002IR-RL for bug-coreutils@gnu.org; Tue, 02 Jul 2013 06:35:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Utxvv-0005Le-Vj for bug-coreutils@gnu.org; Tue, 02 Jul 2013 06:35:43 -0400 Received: from mail-qc0-x229.google.com ([2607:f8b0:400d:c01::229]:45650) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Utxvv-0005LR-E1 for bug-coreutils@gnu.org; Tue, 02 Jul 2013 06:35:39 -0400 Received: by mail-qc0-f169.google.com with SMTP id c10so3583651qcz.0 for ; Tue, 02 Jul 2013 03:35:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=sqRDSF40gfr5LOppJdbNoDBYM9z2yNdriIFmcdv9Vpk=; b=P5y2T8NFn/lp2V4jIPywitWH+sLspQNV3yKmUUjTtPkVeBuYQ8SHlBKFELhjscIzHQ S3BJGT7cE+QwaJuxZiMm2msu3f+E1N144TQprVSerl78dJ+IU94Y+3MfAC2OSqZMv3av H1YbjK8gnBlPtJj+nisYrXd8wVkDExX1Oe0t8cjWp/pdXPm9LCzWVaS+RIasRwOJkBXS 52+q+O3yBJyXSYENuebDCOKTN0vuSviRT0pVRYk+JSHEQahGac8n4x0IAguTsC998PWM gTsMHi0a1gXcWwVkWEu0boUQ1p1AdAJpd5R4mUCQkSm50L8jQDcyJG0aDWUW74NuW81e htNg== MIME-Version: 1.0 X-Received: by 10.224.74.72 with SMTP id t8mr37310624qaj.74.1372761338664; Tue, 02 Jul 2013 03:35:38 -0700 (PDT) Received: by 10.49.14.198 with HTTP; Tue, 2 Jul 2013 03:35:38 -0700 (PDT) Date: Tue, 2 Jul 2013 12:35:38 +0200 Message-ID: Subject: du -s reports Infinity From: Marek Otahal To: bug-coreutils@gnu.org Content-Type: multipart/alternative; boundary=001a11c3bec0f3e01f04e084e7ab X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 02 Jul 2013 11:43:05 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.3 (----) --001a11c3bec0f3e01f04e084e7ab Content-Type: text/plain; charset=UTF-8 (please CC) Hello, I'd like to report a bug/regression in du's behavior, where it returns Infinity (exit status 0) with the -s option. Version: $ yaourt -Qo /usr/bin/du /usr/bin/du is owned by coreutils 8.21-2 Archlinux, [testing] repo. Output: $ du -s ~ Infinity /home/marek Thanks, Mark -- Marek Otahal :o) --001a11c3bec0f3e01f04e084e7ab Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
(please CC)

He= llo, I'd like to report a bug/regression in du's behavior, where it= returns Infinity (exit status 0) with the -s option.

Version= :
$ yaourt -Qo /usr/bin/du
/usr/bin/du is owned by coreutils 8.21-2
Archlinux, [testing] repo.

Output:
$ du -s ~
In= finity=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /home/marek

T= hanks, Mark



--
Marek Otahal :o)
--001a11c3bec0f3e01f04e084e7ab-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 02 12:47:32 2013 Received: (at 14767) by debbugs.gnu.org; 2 Jul 2013 16:47:32 +0000 Received: from localhost ([127.0.0.1]:52711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uu3jn-0007MV-TF for submit@debbugs.gnu.org; Tue, 02 Jul 2013 12:47:32 -0400 Received: from smtp.cs.ucla.edu ([131.179.128.62]:54280) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uu3jl-0007MG-Rs for 14767@debbugs.gnu.org; Tue, 02 Jul 2013 12:47:30 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id D25F839E8106; Tue, 2 Jul 2013 09:47:23 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CI2oMaqbt5Da; Tue, 2 Jul 2013 09:47:23 -0700 (PDT) Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 70B2E39E8100; Tue, 2 Jul 2013 09:47:23 -0700 (PDT) Message-ID: <51D30408.4010606@cs.ucla.edu> Date: Tue, 02 Jul 2013 09:47:04 -0700 From: Paul Eggert User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 MIME-Version: 1.0 To: Marek Otahal Subject: Re: bug#14767: du -s reports Infinity References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 14767 Cc: 14767@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) On 07/02/13 03:35, Marek Otahal wrote: > $ du -s ~ What's the relevant output of 'strace du -s ~'? From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 02 16:27:07 2013 Received: (at 14767) by debbugs.gnu.org; 2 Jul 2013 20:27:07 +0000 Received: from localhost ([127.0.0.1]:52938 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uu7AG-0005AN-Ji for submit@debbugs.gnu.org; Tue, 02 Jul 2013 16:27:06 -0400 Received: from mail-qc0-f178.google.com ([209.85.216.178]:40471) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uu7A9-00059i-2m for 14767@debbugs.gnu.org; Tue, 02 Jul 2013 16:26:59 -0400 Received: by mail-qc0-f178.google.com with SMTP id c11so3911351qcv.23 for <14767@debbugs.gnu.org>; Tue, 02 Jul 2013 13:26:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=24JvFsd8PPwCxjGgVpljfxdEtVvFcy09HGxjN11f8mQ=; b=b+Vq++Xph2q2GdpT+AEX3I0AnNzEW9cDzonsMuxsiFmTWPW8FFdaMwjpWJTTCZftM5 7tn6t0FM58vO7CF80+WLP9SekiWluKMMJCWoMfbjaxNWt+XpFVuLVChdJBvHg5sZo3ta wa/00vkqOJP5zy0kFz716Zrc0U3ia+i89McF6CNLUs9+p/BPJ7Ny6Q3tplos/eGS75UI JetJqly4gX9nZOH3nSxVibggiXE7OYkCmqqTP3x4ZKwBSaoxC/s8T209TS5MWBs283UU bUM+ODsS+CSwJ8Qt+SV+xAP04ExWD+T9UT0d6VRhxDbOkS9VGoNtM0IQxYbpE31GFrd8 jOnA== MIME-Version: 1.0 X-Received: by 10.224.36.199 with SMTP id u7mr39190220qad.113.1372796811255; Tue, 02 Jul 2013 13:26:51 -0700 (PDT) Received: by 10.49.14.198 with HTTP; Tue, 2 Jul 2013 13:26:51 -0700 (PDT) In-Reply-To: <51D30408.4010606@cs.ucla.edu> References: <51D30408.4010606@cs.ucla.edu> Date: Tue, 2 Jul 2013 22:26:51 +0200 Message-ID: Subject: Re: bug#14767: du -s reports Infinity From: Marek Otahal To: Paul Eggert Content-Type: multipart/alternative; boundary=001a11c1bb7c48d22304e08d2aec X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 14767 Cc: 14767@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a11c1bb7c48d22304e08d2aec Content-Type: text/plain; charset=UTF-8 Ok, I tracked it down a little. The 'Infinity' is correctly inherited from subfolders all the way up, it boils down to a single .xml file, which claims to be 16 exabytes, it obviously isn't :) $file .. on the file is correct and says 'data', $vim can open it and shows some binary... (binary in .xml?) The FS is btrfs (with lzo compression), no failures noticed, nothing interesting in dmesg. Follows the strace on the offending file, Thanks, Mark $ du -s ~ + du -s /home/XXXX Infinity /home/XXXX ++ printf '\033]0;%s@%s:%s\007' XXXX beruska '~' [XXXX@beruska ~]$ set +x + set +x [XXXX@beruska ~]$ du -s ~ Infinity /home/XXXX [XXXX@beruska ~]$ du .kde4/share/apps/kopete/logs/JabberProtocol/XXXX-XXXX@chat-facebook-com /-XXXX@chat-facebook-com.201303.xml 18014398509481976 .kde4/share/apps/kopete/logs/JabberProtocol/XXXX-XXXX@chat-facebook-com /-XXXX@chat-facebook-com.201303.xml [XXXX@beruska ~]$ du -h .kde4/share/apps/kopete/logs/JabberProtocol/XXXX-XXXX@chat-facebook-com /-XXXX@chat-facebook-com.201303.xml 16E .kde4/share/apps/kopete/logs/JabberProtocol/XXXX-XXXX@chat-facebook-com /-XXXX@chat-facebook-com.201303.xml [XXXX@beruska ~]$ strace du .kde4/share/apps/kopete/logs/JabberProtocol/XXXX-XXXX@chat-facebook-com /-XXXX@chat-facebook-com.201303.xml execve("/usr/bin/du", ["du", ".kde4/share/apps/kopete/logs/Jab"...], [/* 58 vars */]) = 0 brk(0) = 0x20d6000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=244700, ...}) = 0 mmap(NULL, 244700, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f9a442bf000 close(3) = 0 open("/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \33\2\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=2035252, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9a442be000 mmap(NULL, 3852848, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9a43d2d000 mprotect(0x7f9a43ed0000, 2097152, PROT_NONE) = 0 mmap(0x7f9a440d0000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a3000) = 0x7f9a440d0000 mmap(0x7f9a440d6000, 14896, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f9a440d6000 close(3) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9a442bd000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9a442bc000 arch_prctl(ARCH_SET_FS, 0x7f9a442bd700) = 0 mprotect(0x7f9a440d0000, 16384, PROT_READ) = 0 mprotect(0x619000, 4096, PROT_READ) = 0 mprotect(0x7f9a442fb000, 4096, PROT_READ) = 0 munmap(0x7f9a442bf000, 244700) = 0 brk(0) = 0x20d6000 brk(0x20f7000) = 0x20f7000 open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=2215504, ...}) = 0 mmap(NULL, 2215504, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f9a43b10000 close(3) = 0 open("/etc/mtab", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9a442fa000 read(3, "rootfs / rootfs rw 0 0\nproc /pro"..., 1024) = 1024 read(3, "odev,noexec,relatime,memory 0 0\n"..., 1024) = 1024 read(3, "s=lzo,ssd,space_cache,inode_cach"..., 1024) = 573 read(3, "", 1024) = 0 close(3) = 0 munmap(0x7f9a442fa000, 4096) = 0 stat("/", {st_mode=S_IFDIR|0555, st_size=202, ...}) = 0 stat("/dev", {st_mode=S_IFDIR|0755, st_size=3480, ...}) = 0 stat("/run", {st_mode=S_IFDIR|0755, st_size=700, ...}) = 0 stat("/", {st_mode=S_IFDIR|0555, st_size=202, ...}) = 0 stat("/sys/kernel/security", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0 stat("/dev/shm", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=40, ...}) = 0 stat("/sys/fs/cgroup", {st_mode=S_IFDIR|0755, st_size=240, ...}) = 0 brk(0x2118000) = 0x2118000 stat("/sys/fs/cgroup/systemd", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0 stat("/sys/fs/pstore", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0 stat("/sys/fs/cgroup/cpuset", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0 stat("/sys/fs/cgroup/cpu,cpuacct", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0 stat("/sys/fs/cgroup/memory", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0 stat("/sys/fs/cgroup/devices", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0 stat("/sys/fs/cgroup/freezer", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0 brk(0x213b000) = 0x213b000 stat("/sys/fs/cgroup/net_cls", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0 stat("/sys/fs/cgroup/blkio", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0 stat("/proc/sys/fs/binfmt_misc", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0 stat("/sys/kernel/config", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0 stat("/dev/hugepages", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0 stat("/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=540, ...}) = 0 stat("/boot", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0 brk(0x215e000) = 0x215e000 stat("/boot/efi", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0 stat("/var", {st_mode=S_IFDIR|0755, st_size=106, ...}) = 0 stat("/home", {st_mode=S_IFDIR|0555, st_size=40, ...}) = 0 stat("/mnt/win8", {st_mode=S_IFDIR|0755, st_size=65536, ...}) = 0 stat("/mnt/ubuntu", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/mnt/store", {st_mode=S_IFDIR|0755, st_size=198, ...}) = 0 stat("/run/user/1000/gvfs", {st_mode=S_IFDIR|0500, st_size=0, ...}) = 0 brk(0x2181000) = 0x2181000 newfstatat(AT_FDCWD, ".kde4/share/apps/kopete/logs/JabberProtocol/XXXX-XXXX@chat-facebook-com /-XXXX@chat-facebook-com.201303.xml", {st_mode=S_IFREG|0644, st_size=2576, ...}, AT_SYMLINK_NOFOLLOW) = 0 fstat(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 13), ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9a442fa000 write(1, "18014398509481976\t.kde4/share/ap"..., 13618014398509481976 .kde4/share/apps/kopete/logs/JabberProtocol/XXXX-XXXX@chat-facebook-com /-XXXX@chat-facebook-com.201303.xml ) = 136 close(1) = 0 munmap(0x7f9a442fa000, 4096) = 0 close(2) = 0 exit_group(0) = ? +++ exited with 0 +++ On Tue, Jul 2, 2013 at 6:47 PM, Paul Eggert wrote: > On 07/02/13 03:35, Marek Otahal wrote: > > $ du -s ~ > > What's the relevant output of 'strace du -s ~'? > -- Marek Otahal :o) --001a11c1bb7c48d22304e08d2aec Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Ok, I tracked it down a litt= le.

The 'Infinity' is correctly inherited from subfol= ders all the way up, it boils down to a single .xml file, which claims to b= e 16 exabytes, it obviously isn't :)

$file .. on the file is correct and says 'data',
$vim can open it and shows some binary... (binary in .xml?)

The FS is btrfs (with lzo compression), no failures noticed, nothing inter= esting in dmesg.

Follows the strace on the offending file,
Thanks, Mark<= br>
$ du -s ~
+ du -s /home/XXXX
Infinity=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 /home/XXXX
++ printf '\033]0;%s@%s:%s\007' XX= XX beruska '~'
[XXXX@beruska ~]$ set +x
+ set +x
[XXXX@beruska ~]$ du -s ~
Infinity=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 /home/XXXX
[XXXX@beruska ~]$ du .kde4/share/apps/kope= te/logs/JabberProtocol/XXXX-XXXX@chat-facebook-com/-XXXX@chat-facebook-com.= 201303.xml
18014398509481976=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 .kde4/s= hare/apps/kopete/logs/JabberProtocol/XXXX-XXXX@chat-facebook-com/-XXXX@chat= -facebook-com.201303.xml
[XXXX@beruska ~]$ du -h .kde4/share/apps/kopete/logs/JabberProtocol/XXXX-XX= XX@chat-facebook-com/-XXXX@chat-facebook-com.201303.xml
16E=C2=A0=C2=A0= =C2=A0=C2=A0 .kde4/share/apps/kopete/logs/JabberProtocol/XXXX-XXXX@chat-fac= ebook-com/-XXXX@chat-facebook-com.201303.xml
[XXXX@beruska ~]$ strace du .kde4/share/apps/kopete/logs/JabberProtocol/XXX= X-XXXX@chat-facebook-com/-XXXX@chat-facebook-com.201303.xml
execve("= ;/usr/bin/du", ["du", ".kde4/share/apps/kopete/logs/Jab= "...], [/* 58 vars */]) =3D 0
brk(0)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D 0x20d6000
acc= ess("/etc/ld.so.preload", R_OK)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D= -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache"= , O_RDONLY|O_CLOEXEC) =3D 3
fstat(3, {st_mode=3DS_IFREG|0644, st_size=3D= 244700, ...}) =3D 0
mmap(NULL, 244700, PROT_READ, MAP_PRIVATE, 3, 0) =3D 0x7f9a442bf000
clos= e(3)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D 0
open("/usr/lib/lib= c.so.6", O_RDONLY|O_CLOEXEC) =3D 3
read(3, "\177ELF\2\1\1\3\0\= 0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \33\2\0\0\0\0\0"..., 832) =3D 832
fstat(3, {st_mode=3DS_IFREG|0755, st_size=3D2035252, ...}) =3D 0
mmap(NU= LL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =3D 0x7f9= a442be000
mmap(NULL, 3852848, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYW= RITE, 3, 0) =3D 0x7f9a43d2d000
mprotect(0x7f9a43ed0000, 2097152, PROT_NONE) =3D 0
mmap(0x7f9a440d0000, = 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a30= 00) =3D 0x7f9a440d0000
mmap(0x7f9a440d6000, 14896, PROT_READ|PROT_WRITE,= MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) =3D 0x7f9a440d6000
close(3)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D 0
mmap(NULL, 4096, PRO= T_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =3D 0x7f9a442bd000
= mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = =3D 0x7f9a442bc000
arch_prctl(ARCH_SET_FS, 0x7f9a442bd700) =3D 0
mprotect(0x7f9a440d0000, 1= 6384, PROT_READ) =3D 0
mprotect(0x619000, 4096, PROT_READ)=C2=A0=C2=A0= =C2=A0=C2=A0 =3D 0
mprotect(0x7f9a442fb000, 4096, PROT_READ) =3D 0
mu= nmap(0x7f9a442bf000, 244700)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 =3D 0
brk(0)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D 0x20d6000
brk= (0x20f7000)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 =3D 0x20f7000
open("/usr/lib/locale/locale-archive&quo= t;, O_RDONLY|O_CLOEXEC) =3D 3
fstat(3, {st_mode=3DS_IFREG|0644, st_size= =3D2215504, ...}) =3D 0
mmap(NULL, 2215504, PROT_READ, MAP_PRIVATE, 3, 0) =3D 0x7f9a43b10000
clo= se(3)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D 0
open("/etc/mtab&qu= ot;, O_RDONLY|O_CLOEXEC)=C2=A0=C2=A0 =3D 3
fstat(3, {st_mode=3DS_IFREG|0= 444, st_size=3D0, ...}) =3D 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = =3D 0x7f9a442fa000
read(3, "rootfs / rootfs rw 0 0\nproc /pro"= ..., 1024) =3D 1024
read(3, "odev,noexec,relatime,memory 0 0\n"= ;..., 1024) =3D 1024
read(3, "s=3Dlzo,ssd,space_cache,inode_cach"..., 1024) =3D 573read(3, "", 1024)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 =3D 0
close(3)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D 0munmap(0x7f9a442fa000, 4096)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 =3D 0
stat("/", {st_mode=3DS_IFDIR|0555, st_size=3D202, ...}) =3D 0
= stat("/dev", {st_mode=3DS_IFDIR|0755, st_size=3D3480, ...}) =3D 0=
stat("/run", {st_mode=3DS_IFDIR|0755, st_size=3D700, ...}) = =3D 0
stat("/", {st_mode=3DS_IFDIR|0555, st_size=3D202, ...}) = =3D 0
stat("/sys/kernel/security", {st_mode=3DS_IFDIR|0755, st_size=3D0= , ...}) =3D 0
stat("/dev/shm", {st_mode=3DS_IFDIR|S_ISVTX|0777= , st_size=3D40, ...}) =3D 0
stat("/sys/fs/cgroup", {st_mode=3D= S_IFDIR|0755, st_size=3D240, ...}) =3D 0
brk(0x2118000)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 =3D 0x2118000
stat("/sys/fs/cgroup/systemd", {= st_mode=3DS_IFDIR|0755, st_size=3D0, ...}) =3D 0
stat("/sys/fs/psto= re", {st_mode=3DS_IFDIR|0755, st_size=3D0, ...}) =3D 0
stat("/sys/fs/cgroup/cpuset", {st_mode=3DS_IFDIR|0755, st_size=3D= 0, ...}) =3D 0
stat("/sys/fs/cgroup/cpu,cpuacct", {st_mode=3DS= _IFDIR|0755, st_size=3D0, ...}) =3D 0
stat("/sys/fs/cgroup/memory&q= uot;, {st_mode=3DS_IFDIR|0755, st_size=3D0, ...}) =3D 0
stat("/sys/fs/cgroup/devices", {st_mode=3DS_IFDIR|0755, st_size= =3D0, ...}) =3D 0
stat("/sys/fs/cgroup/freezer", {st_mode=3DS_= IFDIR|0755, st_size=3D0, ...}) =3D 0
brk(0x213b000)=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D 0x213b000
stat("/sys/fs/cgroup/net_cls", {st_mode=3DS_IFDIR|0755, st_size= =3D0, ...}) =3D 0
stat("/sys/fs/cgroup/blkio", {st_mode=3DS_IF= DIR|0755, st_size=3D0, ...}) =3D 0
stat("/proc/sys/fs/binfmt_misc&q= uot;, {st_mode=3DS_IFDIR|0755, st_size=3D0, ...}) =3D 0
stat("/sys/kernel/config", {st_mode=3DS_IFDIR|0755, st_size=3D0, = ...}) =3D 0
stat("/dev/hugepages", {st_mode=3DS_IFDIR|0755, st= _size=3D0, ...}) =3D 0
stat("/tmp", {st_mode=3DS_IFDIR|S_ISVTX= |0777, st_size=3D540, ...}) =3D 0
stat("/boot", {st_mode=3DS_IFDIR|0755, st_size=3D1024, ...}) =3D = 0
brk(0x215e000)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 =3D 0x215e000
stat("/boot/efi", {st_mode= =3DS_IFDIR|0755, st_size=3D1024, ...}) =3D 0
stat("/var", {st_= mode=3DS_IFDIR|0755, st_size=3D106, ...}) =3D 0
stat("/home", {st_mode=3DS_IFDIR|0555, st_size=3D40, ...}) =3D 0<= br>stat("/mnt/win8", {st_mode=3DS_IFDIR|0755, st_size=3D65536, ..= .}) =3D 0
stat("/mnt/ubuntu", {st_mode=3DS_IFDIR|0755, st_size= =3D4096, ...}) =3D 0
stat("/mnt/store", {st_mode=3DS_IFDIR|0755, st_size=3D198, ...}) = =3D 0
stat("/run/user/1000/gvfs", {st_mode=3DS_IFDIR|0500, st_= size=3D0, ...}) =3D 0
brk(0x2181000)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D 0x2181000
newfstatat(AT_FDCW= D, ".kde4/share/apps/kopete/logs/JabberProtocol/XXXX-XXXX@chat-faceboo= k-com/-XXXX@chat-facebook-com.201303.xml", {st_mode=3DS_IFREG|0644, st= _size=3D2576, ...}, AT_SYMLINK_NOFOLLOW) =3D 0
fstat(1, {st_mode=3DS_IFCHR|0600, st_rdev=3Dmakedev(136, 13), ...}) =3D 0mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = =3D 0x7f9a442fa000
write(1, "18014398509481976\t.kde4/share/ap"= ;..., 13618014398509481976=C2=A0=C2=A0 .kde4/share/apps/kopete/logs/JabberP= rotocol/XXXX-XXXX@chat-facebook-com/-XXXX@chat-facebook-com.201303.xml
) =3D 136
close(1)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D 0
munmap(0= x7f9a442fa000, 4096)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 =3D 0
close(2)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D 0exit_group(0)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 =3D ?
+++ exited with 0 +++
=C2=A0


On Tue, Jul 2, 2013 at 6:47 PM, Paul Eggert <eggert@cs.ucla.edu>= ; wrote:
On 07/02/13 03:35, Marek Otahal wrote:
> $ du -s ~

What's the relevant output of 'strace du -s ~'?



--
Marek Otahal :o)
--001a11c1bb7c48d22304e08d2aec-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 02 18:10:19 2013 Received: (at 14767) by debbugs.gnu.org; 2 Jul 2013 22:10:19 +0000 Received: from localhost ([127.0.0.1]:53075 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uu8mA-00088e-Se for submit@debbugs.gnu.org; Tue, 02 Jul 2013 18:10:19 -0400 Received: from smtp.cs.ucla.edu ([131.179.128.62]:41896) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uu8m8-00088N-M7 for 14767@debbugs.gnu.org; Tue, 02 Jul 2013 18:10:17 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 024D939E8100; Tue, 2 Jul 2013 15:10:11 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PXE4bmzqbF1S; Tue, 2 Jul 2013 15:10:10 -0700 (PDT) Received: from [192.168.1.9] (pool-71-108-49-126.lsanca.fios.verizon.net [71.108.49.126]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 9B02239E8008; Tue, 2 Jul 2013 15:10:10 -0700 (PDT) Message-ID: <51D34FBD.9020507@cs.ucla.edu> Date: Tue, 02 Jul 2013 15:10:05 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 MIME-Version: 1.0 To: Marek Otahal Subject: Re: bug#14767: du -s reports Infinity References: <51D30408.4010606@cs.ucla.edu> In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 14767 Cc: 14767@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) On 07/02/2013 01:26 PM, Marek Otahal wrote: > newfstatat(AT_FDCWD, > ".kde4/share/apps/kopete/logs/JabberProtocol/XXXX-XXXX@chat-facebook-com > /-XXXX@chat-facebook-com.201303.xml", {st_mode=S_IFREG|0644, st_size=2576, > ...}, AT_SYMLINK_NOFOLLOW) = 0 This is one of the key system calls, but it's lacking crucial details. What does strace -v say for that syscall? strace -v should give info about st_blksize and st_blocks. From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 02 19:16:24 2013 Received: (at 14767) by debbugs.gnu.org; 2 Jul 2013 23:16:24 +0000 Received: from localhost ([127.0.0.1]:53115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uu9o8-0001Zf-Ah for submit@debbugs.gnu.org; Tue, 02 Jul 2013 19:16:24 -0400 Received: from mail3.vodafone.ie ([213.233.128.45]:12809) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uu9o5-0001ZJ-Si for 14767@debbugs.gnu.org; Tue, 02 Jul 2013 19:16:22 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjkDANhe01Fda955/2dsb2JhbAANTYcLugWCbAMBgRuDFwEBAQQjDwFGEAsNAQoCAgUWCwICCQMCAQIBRQYNAQcBAbFOc5EegSaNYF8HglGBHAOeDo4T Received: from unknown (HELO [192.168.1.79]) ([93.107.222.121]) by mail3.vodafone.ie with ESMTP; 03 Jul 2013 00:16:15 +0100 Message-ID: <51D35F3E.5030505@draigBrady.com> Date: Wed, 03 Jul 2013 00:16:14 +0100 From: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Marek Otahal Subject: Re: bug#14767: du -s reports Infinity References: <51D30408.4010606@cs.ucla.edu> In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 14767 Cc: 14767@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On 07/02/2013 09:26 PM, Marek Otahal wrote: > Ok, I tracked it down a little. > > The 'Infinity' is correctly inherited from subfolders all the way up, it > boils down to a single .xml file, which claims to be 16 exabytes, it > obviously isn't :) Maybe it's file system corruption? What does fsck say about the file system? cheers, Pádraig. From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 23 12:16:02 2013 Received: (at 14767) by debbugs.gnu.org; 23 Jul 2013 16:16:02 +0000 Received: from localhost ([127.0.0.1]:45111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V1fFp-0007GD-Ov for submit@debbugs.gnu.org; Tue, 23 Jul 2013 12:16:02 -0400 Received: from joseki.proulx.com ([216.17.153.58]:46117) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V1fFm-0007Fq-PL; Tue, 23 Jul 2013 12:15:59 -0400 Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id D2D8E211DA; Tue, 23 Jul 2013 10:15:57 -0600 (MDT) Received: by hysteria.proulx.com (Postfix, from userid 1000) id C353B2DC53; Tue, 23 Jul 2013 10:15:57 -0600 (MDT) Date: Tue, 23 Jul 2013 10:15:57 -0600 From: Bob Proulx To: Marek Otahal , 14767@debbugs.gnu.org Subject: Re: bug#14767: du -s reports Infinity Message-ID: <20130723161557.GA22395@hysteria.proulx.com> References: <51D30408.4010606@cs.ucla.edu> <51D34FBD.9020507@cs.ucla.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51D34FBD.9020507@cs.ucla.edu> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 14767 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) tag 14767 + moreinfo thanks Paul Eggert wrote: > Marek Otahal wrote: > > newfstatat(AT_FDCWD, > > ".kde4/share/apps/kopete/logs/JabberProtocol/XXXX-XXXX@chat-facebook-com > > /-XXXX@chat-facebook-com.201303.xml", {st_mode=S_IFREG|0644, st_size=2576, > > ...}, AT_SYMLINK_NOFOLLOW) = 0 > > This is one of the key system calls, but it's lacking > crucial details. What does strace -v say for that syscall? > strace -v should give info about st_blksize and st_blocks. Ping? Bob From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 23 17:35:35 2013 Received: (at 14767) by debbugs.gnu.org; 23 Jul 2013 21:35:35 +0000 Received: from localhost ([127.0.0.1]:45509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V1kF5-0005iT-09 for submit@debbugs.gnu.org; Tue, 23 Jul 2013 17:35:35 -0400 Received: from mail-qe0-f48.google.com ([209.85.128.48]:40372) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V1kF2-0005iB-CQ for 14767@debbugs.gnu.org; Tue, 23 Jul 2013 17:35:33 -0400 Received: by mail-qe0-f48.google.com with SMTP id 2so4732974qea.21 for <14767@debbugs.gnu.org>; Tue, 23 Jul 2013 14:35:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=hmAXLPUToDHK1KmrS9sgfbaBmik40unRM9sn949c9J0=; b=rt9bin3abf4Y2wrJWe+AqNe+5kabkUx8MtIDJmItWuglYg3L6oc965MQNa/QZUdQhS wwj/NP4I/n1svq3fnPglXgqtWb3anDIWJVtwjVW1oOIoW1bjOdW82WaoRrmCP1Zf0VJK Egi3pUVFzdOqGNR35pBNCZ6B7TfwH2dHhVypfOluAx100D1GtMVWgJQC/HpEX5xfJaBa 3jNvR/SHUzViSMn2WtkYLXbtbGbAUE3L4bqg+/0d9+efzi9e9cBhFl6mxWM59A2j0oqx F5xJ5Es8zftZnpY7E6R2NCp6Uz8GcaDPeBgPheVGEHBx2lin81NbVQWELbFxuBFk6SG3 viCQ== MIME-Version: 1.0 X-Received: by 10.229.105.218 with SMTP id u26mr2629969qco.8.1374615326596; Tue, 23 Jul 2013 14:35:26 -0700 (PDT) Received: by 10.49.127.20 with HTTP; Tue, 23 Jul 2013 14:35:26 -0700 (PDT) In-Reply-To: <51D34FBD.9020507@cs.ucla.edu> References: <51D30408.4010606@cs.ucla.edu> <51D34FBD.9020507@cs.ucla.edu> Date: Tue, 23 Jul 2013 23:35:26 +0200 Message-ID: Subject: Re: bug#14767: du -s reports Infinity From: Marek Otahal To: Paul Eggert Content-Type: multipart/alternative; boundary=002354470f0c3eaac504e234920f X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 14767 Cc: 14767@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --002354470f0c3eaac504e234920f Content-Type: text/plain; charset=UTF-8 Hi, thanks for advice and sorry for the delay, I went in wilderness off the internet. On Wed, Jul 3, 2013 at 12:10 AM, Paul Eggert wrote: > On 07/02/2013 01:26 PM, Marek Otahal wrote: > > newfstatat(AT_FDCWD, > > ".kde4/share/apps/kopete/logs/JabberProtocol/XXXX-XXXX@chat-facebook-com > > /-XXXX@chat-facebook-com.201303.xml", {st_mode=S_IFREG|0644, > st_size=2576, > > ...}, AT_SYMLINK_NOFOLLOW) = 0 > > This is one of the key system calls, but it's lacking > crucial details. What does strace -v say for that syscall? > strace -v should give info about st_blksize and st_blocks. > it reports: $ strace -v du ~/.kde4/share/apps/kopete/logs/JabberProtocol/XXXX-XXXX@chat-facebook-com /-XXXX@chat-facebook-com.201303.xml 2>&1 | grep newfstatat newfstatat(AT_FDCWD, "/home/marek/.kde4/share/apps/kopete/logs/JabberProtocol/XXXX-XXXX@chat-facebook-com /-XXXX@chat-facebook-com.201303.xml", {st_dev=makedev(0, 40), st_ino=6369, st_mode=S_IFREG|0644, st_nlink=1, st_uid=1000, st_gid=100, st_blksize=4096, st_blocks=36028797018963952, st_size=2576, st_atime=2013/03/11-21:56:17, st_mtime=2013/03/11-21:56:17, st_ctime=2013/03/11-21:56:17}, AT_SYMLINK_NOFOLLOW) = 0 it reports lots of blocks (btw, i tried defrag in btrfs before). Regarding running fsck, well, it's btrfs, so the fsck is not so matured yet...what can i run for testing? Yet, no errors with the FS are reported/observed. ..it must have been a FS corruption, a cp -a (to /tmp on tmpfs), rm, and cp -a back cycle solved it. $ strace -v du ~/.kde4/share/apps/kopete/logs/JabberProtocol/.... newfstatat(AT_FDCWD, ....., {st_dev=makedev(0, 40), st_ino=569698, st_mode=S_IFREG|0644, st_nlink=1, st_uid=1000, st_gid=100, st_blksize=4096, st_blocks=8, st_size=2576, st_atime=2013/03/11-21:56:17, st_mtime=2013/03/11-21:56:17, st_ctime=2013/07/23-23:30:07}, AT_SYMLINK_NOFOLLOW) = 0 Guys, sorry for the false alarm, and thanks for guidance here! With best regards, Mark -- Marek Otahal :o) --002354470f0c3eaac504e234920f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi, thanks for advice and sorry for the delay, I went in w= ilderness off the internet.


On Wed, Jul 3, 2013 at 12:10 AM, Paul Eggert <eggert= @cs.ucla.edu> wrote:
On 07/02/2013 01:26 PM, M= arek Otahal wrote:
> newfstatat(AT_FDCWD,
> ".kde4/share/apps/kopete/logs/JabberProtocol/XXXX-XXXX@chat-faceb= ook-com
> /-XXXX@chat-facebook-com.201303.xml", {st_mode= =3DS_IFREG|0644, st_size=3D2576,
> ...}, AT_SYMLINK_NOFOLLOW) =3D 0

This is one of the key system calls, but it's lacking
crucial details. =C2=A0What does strace -v say for that syscall?
strace -v should give info about st_blksize and st_blocks.
it reports:

$ strace -v du=C2=A0 ~/.kde4/share/a= pps/kopete/logs/JabberProtocol/XXXX-XXXX@chat-facebook-com/-XXXX@chat-faceb= ook-com.201303.xml 2>&1=C2=A0 | grep newfstatat
newfstatat(AT_FDC= WD, "/home/marek/.kde4/share/apps/kopete/logs/JabberProtocol/XXXX-XXXX= @chat-facebook-com/-XXXX@chat-facebook-com.201303.xml", {st_dev=3Dmake= dev(0, 40), st_ino=3D6369, st_mode=3DS_IFREG|0644, st_nlink=3D1, st_uid=3D1= 000, st_gid=3D100, st_blksize=3D4096, st_blocks=3D36028797018963952, st_siz= e=3D2576, st_atime=3D2013/03/11-21:56:17, st_mtime=3D2013/03/11-21:56:17, s= t_ctime=3D2013/03/11-21:56:17}, AT_SYMLINK_NOFOLLOW) =3D 0

it reports lots of blocks (btw, i trie= d defrag in btrfs before).

Regardi= ng running fsck, well, it's btrfs, so the fsck is not so matured yet...= what can i run for testing? Yet, no errors with the FS are reported/observe= d.
..it must have been a FS corruption, a cp = -a (to /tmp on tmpfs), rm, and cp -a back cycle solved it.

$=C2=A0 = strace -v du=C2=A0 ~/.kde4/share/apps/kopete/logs/JabberProtocol/....
ne= wfstatat(AT_FDCWD, ....., {st_dev=3Dmakedev(0, 40), st_ino=3D569698, st_mod= e=3DS_IFREG|0644, st_nlink=3D1, st_uid=3D1000, st_gid=3D100, st_blksize=3D4= 096, st_blocks=3D8, st_size=3D2576, st_atime=3D2013/03/11-21:56:17, st_mtim= e=3D2013/03/11-21:56:17, st_ctime=3D2013/07/23-23:30:07}, AT_SYMLINK_NOFOLL= OW) =3D 0

Guys, sorry for the false alarm, and t= hanks for guidance here!
With best reg= ards, Mark



--
Marek Otahal = :o)
--002354470f0c3eaac504e234920f-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 23 21:02:40 2013 Received: (at 14767) by debbugs.gnu.org; 24 Jul 2013 01:02:40 +0000 Received: from localhost ([127.0.0.1]:45768 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V1nTT-0006DW-7i for submit@debbugs.gnu.org; Tue, 23 Jul 2013 21:02:39 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57164) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V1nTQ-0006DI-O1; Tue, 23 Jul 2013 21:02:37 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r6O12ZZD028620 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 23 Jul 2013 21:02:35 -0400 Received: from [10.36.116.41] (ovpn-116-41.ams2.redhat.com [10.36.116.41]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r6O12Uk0029334 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 23 Jul 2013 21:02:34 -0400 Message-ID: <51EF27A6.7060809@draigBrady.com> Date: Wed, 24 Jul 2013 02:02:30 +0100 From: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Marek Otahal Subject: Re: bug#14767: du -s reports Infinity References: <51D30408.4010606@cs.ucla.edu> <51D34FBD.9020507@cs.ucla.edu> In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 14767 Cc: 14767@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) tag 14767 notabug close 14767 stop Thanks for the follow up. Pádraig. From unknown Sat Aug 09 13:24:01 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 21 Aug 2013 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator