[Rd] Segfault when performing match on POSIXlt object
mgiuli@no@m@il @ending from gm@il@com
Fri Aug 31 08:53:02 CEST 2018
I found a possible unexpected behavior when performing match/%in% on
POSIXlt objects, e.g. :
d <- as.POSIXlt('2018-01-01')
# match(<anything>,<POSIXlt>) --> segfault
# consequently also this fails :
0 %in% d
REPORTED ERROR ON LINUX:
*** caught segfault ***
address 0x16dc2, cause 'memory not mapped'
Verified on 3.5.0 on linux, 3.5.1 on Windows.
I think this could be a bug, since even if that match operation makes no
sense, the R session is not supposed to crash with segmentation fault, but
rather throw an exception.
Thanks in advance
[[alternative HTML version deleted]]
More information about the R-devel