• Bug#1067960: dovecot-fts-xapian: crashes, newer versions are even more

    From Ondrej Zary@21:1/5 to All on Fri Mar 29 15:10:01 2024
    Package: dovecot-fts-xapian
    Version: 1.5.5-1+b2
    Severity: important
    Tags: upstream
    X-Debbugs-Cc: zary@gsystem.sk

    Dear Maintainer,
    dovecot-fts-xapian crashes with "Memory too low (text) 'std::bad_alloc'" error when indexing large mailboxes.

    I've compiled and tested 1.7.8 and 1.7.9 but it's not getting any better.
    They introduce major bugs such as excessive debug logging regardless of verbosity configured.
    I've patched that manually but the basic thing - indexing - does not work reliably.
    It was not able to complete indexing of the mailbox (about 18K messages, 18GB) - it stuck on one message with 100% CPU usage (on all cores!) for hours,
    probably an infinite loop.

    This package is so buggy that it's useless.
    Removed it and compiled dovecot-fts-flatcurve (1.0.2) instead (files to create a deb package are already in #1010868).
    It simply works - indexed the mailbox without any problems in a couple of minutes!

    -- System Information:
    Debian Release: 12.5
    APT prefers stable-updates
    APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'oldoldstable-updates'), (500, 'oldoldstable'), (500, 'stable'), (100, 'bookworm-fasttrack'), (100, 'bookworm-backports-staging')
    Architecture: amd64 (x86_64)

    Kernel: Linux 6.1.0-18-amd64 (SMP w/2 CPU threads; PREEMPT)
    Locale: LANG=en_US.UTF-8, LC_CTYPE=sk_SK.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 dovecot-fts-xapian depends on:
    ii dovecot-core [dovecot-abi-2.3.abiv19] 1:2.3.19.1+dfsg1-2.1
    ii libc6 2.36-9+deb12u4
    ii libgcc-s1 12.2.0-14
    ii libicu72 72.1-3
    ii libsqlite3-0 3.40.1-2
    ii libstdc++6 12.2.0-14
    ii libxapian30 1.4.22-1

    dovecot-fts-xapian recommends no packages.

    dovecot-fts-xapian suggests no packages.

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