In beta 13.2.0.230, when I "SELECT *" from a table in a 12.2.0.1 DB that contains a custom data type, I get an AV and Toad crashes. There's no .el generated and I can't copy from the error popup.
If I select every column individually except the custom data type, it works fine. If I select all of the columns including the custom data type, I get: "List index out of bounds (26270)". The "SELECT *" causes the AV.
I can't offer a repeatable piece of code because the table is in the repository for Oracle EM 13.3. It's SYSMAN.EM_EVENT_BUS_TABLE. The column name is USER_DATA with a data type of EM_EV_BUS_MSG, and that type object is in the SYSMAN_TYPES schema with a local synonym in the SYSMAN schema. The other anomaly about this table is it contains an ANYDATA column as well.
I don't normally need to view this table data, except I'm looking to upgrade the repository to 19c and this column is flagged as needing some TLC prior to the upgrade.
I tried to see if there was any ANYDATA columns in that type, or its multiple levels of subtypes, but I gave up. There's >50 type dependencies on the TYPE spec and >100 on the body.
I'll be content with waiting to test out your fix.
But there could be an ANYDATA buried in there. But I think it's more likely to be nested types with a mix of standard types and arrays of other user-defined types.
Frankly, it looks like a mess to me. It seems something with a JSON or XML structure would have been more straightforward...