Displaying 2 results from an estimated 2 matches for "match_transform".
Did you mean:
match&transform
2018 Aug 31
2
Segfault when performing match on POSIXlt object
Hi All,
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
match(0,d)
# 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,
2018 Aug 31
0
Segfault when performing match on POSIXlt object
...RTED ERROR ON LINUX: *** caught segfault *** address
> 0x16dc2, cause 'memory not mapped'
> Verified on 3.5.0 on linux, 3.5.1 on Windows.
Confirmed (Linux, I think all version >= 3.4.0, but not in R
3.3.3 (or earlier, presumably).
Note the segfault happens inspite of the match_transform() utility
which explicitly checks for "POSIXlt" and the code comment which
says that "POSIXlt" should have been transformed to character,
but seems to fail in recent versions of R.
> I think this could be a bug, since even if that match
> operation makes no sense...