This query worked fine in 21c but now fails in 23c (I'm using https://hub.docker.com/r/gvenzl/oracle-free):
select sdo_geometry(wkt => 'GEOMETRYCOLLECTION (
MULTIPOLYGON (((40 40, 20 45, 45 30, 40 40)), ((20 35, 10 30, 10 10, 30 5, 45 20, 20 35), (30 20, 20 15, 20 25, 30 20))),
POINT (40 30)
)
', srid => null)
from DUAL
The failure is:
SQL Error [600] [60000]: ORA-00600: internal error code, arguments: [kghstack_underflow_internal_1], [0x7EFE8247CA08], ["mdfwkt.c":1028], [], [], [], [], [], [], [], [], []
ORA-06512: at "MDSYS.SDO_UTIL", line 7714
ORA-06512: at "MDSYS.SDO_UTIL", line 7802
ORA-06512: at "MDSYS.SDO_GEOMETRY", line 196
ORA-06512: at line 1