#1151496 localsearch: extractor crash loop on corrupt .abw (GError double free)

Package:
localsearch
Source:
localsearch
Description:
metadata database, indexer and search tool - metadata extractors
Submitter:
boxabc1
Date:
2026-10-20 21:53:02 UTC
Severity:
normal
Tags:
#1151496#5
Date:
2026-10-20 21:49:45 UTC
From:
To:
Since 3.11.2, localsearch-extractor-3 segfaults on any .abw file that is neither XML nor valid gzip. It restarts, picks the same file, crashes again. Loops every ~2 s while the file exists.

Reproducer:
{ printf '\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\x03'; head -c 3000 /dev/urandom; } > badgz.abw
localsearch extract badgz.abw

Ubuntu report: https://launchpad.net/bugs/2168518

Workaround: delete or rename the offending file.

Awaiting upstream review before proposed a Debian patch.