BUG #18772: Segfaul i Greek stemming

Started by PG Bug reporting formover 1 year ago2 messagesbugs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

The following bug has been logged on the website:

Bug reference: 18772
Logged by: Markus
Email address: doppelbauer@gmx.net
PostgreSQL version: 13.18
Operating system: CentOS
Description:

SELECT TO_TSVECTOR('greek','Κάι, δαίνετε! Είμαι σε φύγητη, έλεγε και θα
καφήσω! Ω, φάι! Καίχομνια, φύγνια! Παιδιά, φάχα, φάχα. Γεια. Γεια.');

-> segfaults in dict_snowball.so

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: PG Bug reporting form (#1)
Re: BUG #18772: Segfaul i Greek stemming

PG Bug reporting form <noreply@postgresql.org> writes:

SELECT TO_TSVECTOR('greek','Κάι, δαίνετε! Είμαι σε φύγητη, έλεγε και θα
καφήσω! Ω, φάι! Καίχομνια, φύγνια! Παιδιά, φάχα, φάχα. Γεια. Γεια.');
-> segfaults in dict_snowball.so

Hmm ... I see that in PG v13, but not in v14 and up. The fix likely
came from snowball tag v2.0.0 or v2.1.0, which we incorporated during
the v14 cycle. We certainly wouldn't back-patch those whole commits,
and it's hard to get excited about seeing whether it's possible to
tease out a change that would avoid this crash while not changing the
stemmer's semantics. Especially so when v13 is less than a year from
EOL. I'd recommend updating to v14 or later if you need that stemmer.

regards, tom lane