Re: [Rd] Crash/bug when calling match on latin1 strings

2021-10-11 Thread Martin Maechler
> Rui Barradas > on Mon, 11 Oct 2021 07:41:51 +0100 writes: > Hello, > R 4.1.1 on Ubuntu 20.04. > I can reproduce this error but not ~90% of the time, only the 1st time I > run the script. > If I run other (terminal) commands before rerunning the R script it

Re: [Rd] Crash/bug when calling match on latin1 strings

2021-10-10 Thread Rui Barradas
Hello, R 4.1.1 on Ubuntu 20.04. I can reproduce this error but not ~90% of the time, only the 1st time I run the script. If I run other (terminal) commands before rerunning the R script it sometimes segfaults again but once again very far from 90% of the time. rui@rui:~/tmp$ R -q -f rhelp.R

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

2021-10-10 Thread Travers Ching
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) I searched bugzilla but didn't see anything. Apologies if this is alrea