From tr@ver@c @end|ng |rom gm@||@com  Mon Oct 11 07:05:49 2021
From: tr@ver@c @end|ng |rom gm@||@com (Travers Ching)
Date: Sun, 10 Oct 2021 22:05:49 -0700
Subject: [Rd] Crash/bug when calling match on latin1 strings
Message-ID: <CAPLMX9FKNS2Hf9BNcArWL_GrEkggxOd04-b+rfHtEAceCpH9dA@mail.gmail.com>

Here's a brief example:

# A bunch of words in UTF8; replace *'s
words <- readLines("h****://pastebin.c**/raw/MFCQfhpY", encoding = "UTF-8")
words2 <- iconv(words, "utf-8", "latin1")
gctorture(TRUE)
y <- match(words2, words2)
<The program crashes / segfaults ~90% of the time>

I searched bugzilla but didn't see anything. Apologies if this is already
reported.

The bug appears in both R-devel and the release, but doesn't seem to affect
R 4.0.5.

	[[alternative HTML version deleted]]



[Rd] Crash/bug when calling match on latin1 strings
Travers Ching