• Bug#1100588: encfs: After the upgrade to libtinyxml2-10_10.1.0, encfs n

    From Thorsten Bonow@21:1/5 to All on Sat Mar 15 20:20:02 2025
    Package: encfs
    Version: 1.9.5-2+b2
    Severity: grave
    Justification: renders package unusable

    Dear Maintainer,

    encfs segfaults on my system:

    $ encfs --verbose ~/.crypt ~/crypt
    VERBOSE Root directory: /home/toto/.crypt/ [main.cpp:686]
    VERBOSE Fuse arguments: (daemon) (threaded) (keyCheck) encfs /home/toto/crypt/ -o use_ino -o default_permissions [main.cpp:687]
    [1] 23164 segmentation fault (core dumped) encfs --verbose ~/.crypt ~/crypt FAIL: 139

    This is a known problem, see https://bbs.archlinux.org/viewtopic.php?id=304049.

    Downgrading to libtinyxml2-10_10.0.0+dfsg-2+b2_amd64.deb fixes the problem for me.

    Over at Arch Linux, a rebuilt of the encfs package (1.9.5-8) was released to fix the bug; it was not treated as a bug in libtinyxml2! See https://gitlab.archlinux.org/archlinux/packaging/packages/encfs/-/commit/2a8b62d76149d7bfa414f0ce581278dab3973263


    -- System Information:
    Debian Release: trixie/sid
    APT prefers unstable
    APT policy: (500, 'unstable')
    Architecture: amd64 (x86_64)

    Kernel: Linux 6.12.17-amd64 (SMP w/4 CPU threads; PREEMPT)
    Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages encfs depends on:
    ii debconf [debconf-2.0] 1.5.91
    ii fuse3 [fuse] 3.17.1~rc1-3
    ii libc6 2.41-5
    ii libfuse2t64 2.9.9-9
    ii libgcc-s1 14.2.0-18
    ii libssl3t64 3.4.1-1
    ii libstdc++6 14.2.0-18
    ii libtinyxml2-10 10.0.0+dfsg-2+b2
    ii mount 2.40.4-5

    encfs recommends no packages.

    encfs suggests no packages.

    -- debconf information:
    * encfs/security-information:

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eduard Bloch@21:1/5 to All on Sun Mar 16 21:50:02 2025
    clone 1100588 -1
    reassign -1 libtinyxml2-10
    retitle -1 libtinyxml2-10: apparent ABI break
    thanks

    Hi,

    see below for the description. I can confirm, with stacktrace. Maybe
    time to create a custom SONAME version?

    Program received signal SIGSEGV, Segmentation fault.
    0x00007ffff78fd6ce in tinyxml2::XMLDocument::Identify(char*, tinyxml2::XMLNode**, bool) () from /lib/x86_64-linux-gnu/libtinyxml2.so.10
    (gdb) bt
    #0 0x00007ffff78fd6ce in tinyxml2::XMLDocument::Identify(char*, tinyxml2::XMLNode**, bool) () from /lib/x86_64-linux-gnu/libtinyxml2.so.10
    #1 0x00007ffff78fe646 in tinyxml2::XMLNode::ParseDeep(char*, tinyxml2::StrPair*, int*) () from /lib/x86_64-linux-gnu/libtinyxml2.so.10
    #2 0x00007ffff78fc2e7 in tinyxml2::XMLDocument::Parse(char const*, unsigned long) () from /lib/x86_64-linux-gnu/libtinyxml2.so.10
    #3 0x00007ffff7f7ba1f in encfs::XmlReader::load (this=<optimized out>, fileName=<optimized out>) at /usr/include/c++/13/bits/basic_string.h:222
    #4 0x00007ffff7f68ed6 in encfs::readV6Config (configFile=0x5555555cbcb0 "/tmp/.crypt/.encfs6.xml", cfg=0x5555555cbe70, info=<optimized out>) at ./encfs/FileUtils.cpp:275
    #5 0x00007ffff7f670d7 in encfs::readConfig_load (nm=nm@entry=0x7ffff7fbe3e0 <encfs::ConfigFileMapping>, path=0x5555555cbcb0 "/tmp/.crypt/.encfs6.xml", config=config@entry=0x5555555cbe70) at ./encfs/FileUtils.cpp:207
    #6 0x00007ffff7f67508 in encfs::readConfig (rootDir="/tmp/.crypt/", config=0x5555555cbe70, cmdConfig="") at /usr/include/c++/13/bits/basic_string.h:222
    #7 0x00007ffff7f75459 in encfs::initFS (ctx=ctx@entry=0x5555555cbcf0, opts=std::shared_ptr<encfs::EncFS_Opts> (use count 1, weak count 0) = {...}) at /usr/include/c++/13/bits/shared_ptr_base.h:1665
    #8 0x0000555555559a92 in main (argc=<optimized out>, argv=<optimized out>) at ./encfs/main.cpp:741

    Best regards,
    Eduard.

    Hallo,
    * Thorsten Bonow [Sat, Mar 15 2025, 07:57:47PM]:
    Package: encfs
    Version: 1.9.5-2+b2
    Severity: grave
    Justification: renders package unusable

    Dear Maintainer,

    encfs segfaults on my system:

    $ encfs --verbose ~/.crypt ~/crypt
    VERBOSE Root directory: /home/toto/.crypt/ [main.cpp:686]
    VERBOSE Fuse arguments: (daemon) (threaded) (keyCheck) encfs /home/toto/crypt/
    -o use_ino -o default_permissions [main.cpp:687]
    [1] 23164 segmentation fault (core dumped) encfs --verbose ~/.crypt ~/crypt
    FAIL: 139

    This is a known problem, see https://bbs.archlinux.org/viewtopic.php?id=304049.

    Downgrading to libtinyxml2-10_10.0.0+dfsg-2+b2_amd64.deb fixes the problem for
    me.

    Over at Arch Linux, a rebuilt of the encfs package (1.9.5-8) was released to fix the bug; it was not treated as a bug in libtinyxml2! See https://gitlab.archlinux.org/archlinux/packaging/packages/encfs/-/commit/2a8b62d76149d7bfa414f0ce581278dab3973263


    -- System Information:
    Debian Release: trixie/sid
    APT prefers unstable
    APT policy: (500, 'unstable')
    Architecture: amd64 (x86_64)

    Kernel: Linux 6.12.17-amd64 (SMP w/4 CPU threads; PREEMPT)
    Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages encfs depends on:
    ii debconf [debconf-2.0] 1.5.91
    ii fuse3 [fuse] 3.17.1~rc1-3
    ii libc6 2.41-5
    ii libfuse2t64 2.9.9-9
    ii libgcc-s1 14.2.0-18
    ii libssl3t64 3.4.1-1
    ii libstdc++6 14.2.0-18
    ii libtinyxml2-10 10.0.0+dfsg-2+b2
    ii mount 2.40.4-5

    encfs recommends no packages.

    encfs suggests no packages.

    -- debconf information:
    * encfs/security-information:

    --
    Soll er sagen, was er will, wenn er was will.
    -- Martin Schulze

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)