#757199 [icedove] [32bit] getdents() = EOVERFLOW - Mail & Extensions inaccessible when profile folder resides on large XFS or BTRFS volume with 64bit inodes

Package:
icedove
Source:
thunderbird
Submitter:
Marcel Partap
Date:
2023-04-25 08:54:07 UTC
Severity:
important
Tags:
#757199#5
Date:
2014-08-05 21:05:13 UTC
From:
To:
--- Please enter the report below this line. ---
After migrating my home directory to a 1.8TiB XFS partition, I could not
access my emails anymore. Icedove would open, but all extensions from
the profile folder were missing. The accounts were listed with the name
crossed out in the folder pane - yet the INBOX of my POP3 account (and a
single subfolder) would show up (including the mail contained
therein)... Rsyncing the profile folder from my backup one time after
another and trying various things kept me busy for most of the day...
with an AUFS union set up merging the backup root partition (ro) and
/tmp (rw), the same profile folder did work!
Digging deeper I finally found the right clues to identify the problem
cause: xfs uses 64-bit inodes by default for volumes >1TiB (and I think
BTRFS does now, too).. Icedove chokes on those.

The failing 32bit-getdents() call in strace:

With the very same profile folder bind-mounted into ~/.icedove on an
ext4 (using 32bit-inodes):

chromium seemingly had the problem:


64-bit icedove reportedly does work with xfs/inode64..

Running a 32bit distro with >1TeraByte partitions is probably rather
uncommon so I couldn't find a bug reported for this upstream..
just something similar (?) fixed up 4 years ago..

Sorry, no idea where exactly the relevant file is, I tried to check out
the source but it was beyond me. For now bind mounting my profile^^

#Best Regards!MPartap

Debian Release: jessie/sid
   99 unstable        ftp.uni-stuttgart.de
   99 stable          http.kali.org
  500 unstable        qgis.org
  500 unstable        debian.netcologne.de
  500 testing         debian.yeasoft.net
  500 testing         debian.netcologne.de
  500 stable          dl.google.com
  500 stable          debs.unvanquished.net
  500 stable          debian.netcologne.de
  500 squeeze         packages.devstructure.com
  500 sid             neurodebian.ovgu.de
  500 sid             linux.dropbox.com
  500 olivia          packages.linuxmint.com
  500 jessie          ppa.quickbuild.pearsoncomputing.net
  500 data            neurodebian.ovgu.de
  100 unstable        deb-multimedia.org
  100 experimental    debian.netcologne.de
    1 trusty          ppa.launchpad.net
    1 raring          ppa.launchpad.net
    1 raring          mirror.netcologne.de
    1 quantal         mirror.netcologne.de
    1 precise         ppa.launchpad.net
    1 precise         mirror.netcologne.de
    1 oneiric-getdeb  mirrors.dotsrc.org
    1 oneiric         ppa.launchpad.net
    1 natty-getdeb    mirrors.dotsrc.org
    1 karmic          ppa.launchpad.net
--- Package information. ---
Depends                               (Version) | Installed
===============================================-+-===================
fontconfig                                      | 2.11.0-5
psmisc                                          | 22.21-2
debianutils                           (>= 1.16) | 4.4
libasound2                          (>= 1.0.16) | 1.0.28-1
libatk1.0-0                         (>= 1.12.4) | 2.12.0-1
libc6                                 (>= 2.15) | 2.19-7
libcairo2                        (>= 1.10.2-2~) | 1.12.16-2
libdbus-1-3                          (>= 1.0.2) | 1.8.6-1
libdbus-glib-1-2                      (>= 0.78) | 0.102-1
libevent-2.0-5               (>= 2.0.10-stable) | 2.0.21-stable-1
libffi6                              (>= 3.0.4) | 3.1-2
libfontconfig1                        (>= 2.11) | 2.11.0-5
libfreetype6                         (>= 2.2.1) | 2.5.2-1
libgcc1                            (>= 1:4.1.1) | 1:4.9.1-4
libgdk-pixbuf2.0-0                  (>= 2.22.0) | 2.30.7-1
libglib2.0-0                        (>= 2.37.3) | 2.40.0-3
libgtk2.0-0                         (>= 2.24.0) | 2.24.24-1
libhunspell-1.3-0                    (>= 1.3.3) | 1.3.3-2
libnspr4                          (>= 2:4.10.3) | 2:4.10.6-1
libnss3                             (>= 2:3.16) | 2:3.16.3-1
libpango-1.0-0                      (>= 1.14.0) | 1.36.3-1
libpangocairo-1.0-0                 (>= 1.14.0) | 1.36.3-1
libpangoft2-1.0-0                   (>= 1.14.0) | 1.36.3-1
libpixman-1-0                       (>= 0.25.2) | 0.32.6-1
libsqlite3-0                         (>= 3.7.7) | 3.8.5-2
libstartup-notification0               (>= 0.8) | 0.12-3
libstdc++6                             (>= 4.9) | 4.9.1-4
libvpx1                              (>= 1.3.0) | 1.3.0-2
libx11-6                                        | 2:1.6.2-2
libxext6                                        | 2:1.3.2-1
libxrender1                                     | 1:0.9.8-1
libxt6                                          | 1:1.1.4-1
zlib1g                             (>= 1:1.2.0) | 1:1.2.8.dfsg-1


Recommends               (Version) | Installed
==================================-+-===========
myspell-en-us                      | 1:3.3.0-4
 OR hunspell-dictionary            |
 OR myspell-dictionary             |


Suggests              (Version) | Installed
===============================-+-===========
fonts-lyx                       | 2.0.6-1
libgssapi-krb5-2                | 1.12.1+dfsg-6

#757199#10
Date:
2014-08-24 12:50:21 UTC
From:
To:
severity 757199 important
thanks

Hello Marcel,

due your not typical partition layout with the big XFS usage I set the
severity to important. We have to investigate this issue deeper.
Propably we have to set up a similar system to readjust this issue. Any
help is appreciated.

Regards
Carsten