Upgrade from 5.7.43-47 to 8.0.33-25 fails in dd::upgrade_57::fill_dd_and_finalize (both percona servers)

Hello there.
During upgrade I encountered error that seems to be similar to bug: Bug #88042 (fixed in 8.0.4).
the process is trivial.
restore data directory from 5.7 backup
startup 8.0.33-25 executables
The error log (relevant part):

stack_bottom = 7fb49ce7e150 thread_stack 0x100000
/usr/sbin/mysqld(my_print_stacktrace(unsigned char const*, unsigned long)+0x29) [0x55885098a3a9]
/usr/sbin/mysqld(print_fatal_signal(int)+0x291) [0x55884f3ef991]
/usr/sbin/mysqld(handle_fatal_signal+0xa5) [0x55884f3efb35]
/lib64/libc.so.6(+0x36e40) [0x7fb4a1293e40]
/usr/sbin/mysqld(+0x2d51fe5) [0x558850dfafe5]
/usr/sbin/mysqld(dict_load_table(char const*, bool, dict_err_ignore_t, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const*)+0x866) [0x558850dfd3a6]
/usr/sbin/mysqld(dict_table_open_on_name(char const*, bool, bool, dict_err_ignore_t)+0x3a3) [0x558850dbee13]
/usr/sbin/mysqld(dd_upgrade_table(THD*, char const*, char const*, dd::Table*, TABLE*)+0xc60) [0x558850e22710]
/usr/sbin/mysqld(+0x28b809f) [0x55885096109f]
/usr/sbin/mysqld(+0x28bf75e) [0x55885096875e]
/usr/sbin/mysqld(dd::upgrade_57::migrate_all_frm_to_dd(THD*, char const*, bool)+0x633) [0x5588509692e3]
/usr/sbin/mysqld(dd::upgrade_57::fill_dd_and_finalize(THD*)+0xfa) [0x558850957f3a]
/usr/sbin/mysqld(+0x1436bde) [0x55884f4dfbde]
/usr/sbin/mysqld(+0x2ed2873) [0x558850f7b873]
/lib64/libc.so.6(+0x830ca) [0x7fb4a12e00ca]
/lib64/libc.so.6(+0xfb5ec) [0x7fb4a13585ec]

Any thoughts? ideas?
Thanks.

Looks like mysqld crashes when trying to open a specific table. There is likely corruption in the ibd file.
If you are able to identify which table this is, you can try to see if you can trigger mysqld to crash on reading from the table with:

SELECT * FROM <suspect_table>

If you want to try to repair it before doing the upgrade, you can do:

ALTER TABLE <suspect_table> ENGINE=InnoDB;

And if mysqld still crashes after doing the ALTER, then you’ll likely have to upgrade using logical dump / load, for example from mydumper or mysql-shell

Hello,
Thank you very much. I
've able to startup using the same data directory from backup on 5.7 however the upgrade process is failing If there is corruption it would be corrupted in both versions isn’t?

Evgeni

Forgot to add another part of the log:
"
2023-09-13T17:06:56.824282Z 1 [System] [MY-011012] [Server] Starting upgrade of data directory.
2023-09-13T17:06:56.824300Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2023-09-13T17:07:01.629682Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2023-09-13T17:07:01Z UTC - mysqld got signal 11 ;
Most likely, you have hit a bug, but this error can also be caused by malfunctioning hardware.
BuildID[sha1]=ca49d76ef174ee7e1c54a2f96f416aa56b1c07aa
Server Version: 8.0.33-25 Source distribution
"
and there is coming stack trace .

Thanks.

Update.
I found the tables and it seems I do hit bug but different one:
There is tables that prevent me from upgrade.
I don’t see any reason.

CREATE TABLE f1 (
id bigint(20) unsigned NOT NULL AUTO_INCREMENT,
text varchar(255) COLLATE ascii_bin NOT NULL,
PRIMARY KEY (id),
FULLTEXT KEY text (text)
) ENGINE=InnoDB AUTO_INCREMENT=112 DEFAULT CHARSET=ascii COLLATE=ascii_bin

CREATE TABLE f2 (
id int(10) unsigned NOT NULL,
text varchar(255) CHARACTER SET ascii COLLATE ascii_bin NOT NULL,
PRIMARY KEY (id),
FULLTEXT KEY text (text)
) ENGINE=InnoDB DEFAULT CHARSET=latin1

What do you think?

Thanks!