R session crashes with segfault when 'match' function is called passing a POSIXlt object as 'table' argument, e.g. :
# match(<anything>,<POSIXlt>) --> segfault
d <- as.POSIXlt('2018-01-01')
# of course the same happens with %in%
0 %in% d
# Error reported on LINUX console
*** caught segfault ***
address 0x16dc2, cause 'memory not mapped'
This is not supposed to happen. Probably an exception should/could be thrown, but the session should not crash.
Tested on R 3.5.0 on Linux, and 3.5.1 on Windows
This has been fixed 3 days ago, by Kurt Hornik w svn rev 75224.