Bug #112924 | PSI batch mode assertion error | ||
---|---|---|---|
Submitted: | 1 Nov 2023 16:09 | Modified: | 21 Dec 2023 17:02 |
Reporter: | Pedro Ferreira | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: DML | Severity: | S6 (Debug Builds) |
Version: | 8.2.0 | OS: | Ubuntu (22.04) |
Assigned to: | CPU Architecture: | x86 (x86_64) |
[1 Nov 2023 16:09]
Pedro Ferreira
[3 Nov 2023 11:26]
MySQL Verification Team
Hello Pedro Ferreira, Thank you for the report and feedback. Tried to reproduce on 8.2.0/8.1.0/8.0.35 debug/release build but not seeing any issues. Could you please share exact cmake options used for the build? Thank you. regards, Umesh
[8 Nov 2023 11:25]
Pedro Ferreira
I used these compilation flags with GCC 11.4.0: -DWITH_DEBUG=1 -DWITH_ASAN=ON -DWITH_UBSAN=ON and boost library version 1.77 This is the configuration file: [mysqld] server_id=1 skip-log-bin character_set_server=utf8mb4 collation_server=utf8mb4_0900_bin slow_query_log=ON long_query_time=5 gtid_mode=ON enforce_gtid_consistency=ON log_bin=ON innodb_extend_and_initialize=ON secure-file-priv=""
[15 Nov 2023 9:54]
MySQL Verification Team
Hello Pedro Ferreira, Thank you for the feedback. Observed that debug build is affected. regards, Umesh
[15 Nov 2023 9:55]
MySQL Verification Team
-bt #0 0x00007fb8a1a4eaa1 in pthread_kill () from /lib64/libpthread.so.0 #1 0x00000000040c60c1 in my_write_core(int) () #2 0x000000000334a9c2 in handle_fatal_signal () #3 <signal handler called> #4 0x00007fb89fd98387 in raise () from /lib64/libc.so.6 #5 0x00007fb89fd99a78 in abort () from /lib64/libc.so.6 #6 0x00007fb89fd911a6 in __assert_fail_base () from /lib64/libc.so.6 #7 0x00007fb89fd91252 in __assert_fail () from /lib64/libc.so.6 #8 0x0000000003458c7d in handler::start_psi_batch_mode() () #9 0x000000000357e7f7 in TableRowIterator::StartPSIBatchMode() () #10 0x0000000003598ee4 in FilterIterator::StartPSIBatchMode() () #11 0x000000000329fa11 in PFSBatchMode::PFSBatchMode(RowIterator*) () #12 0x000000000329e852 in Query_expression::ExecuteIteratorQuery(THD*) () #13 0x000000000329ea1c in Query_expression::execute(THD*) () #14 0x0000000003228b26 in Sql_cmd_dml::execute_inner(THD*) () #15 0x000000000323271d in Sql_cmd_dml::execute(THD*) () #16 0x00000000031d13b9 in mysql_execute_command(THD*, bool) () #17 0x00000000031d284f in dispatch_sql_command(THD*, Parser_state*) () #18 0x00000000031d3f63 in dispatch_command(THD*, COM_DATA const*, enum_server_command) () #19 0x00000000031d5c7b in do_command(THD*) () #20 0x000000000333c9b6 in handle_connection () #21 0x00000000048a7ae8 in pfs_spawn_thread () #22 0x00007fb8a1a49ea5 in start_thread () from /lib64/libpthread.so.0 #23 0x00007fb89fe60b2d in clone () from /lib64/libc.so.6 (gdb)
[21 Dec 2023 17:02]
Erlend Dahl
Fixed in the upcoming 8.3.0 under the heading of: Bug#35703114 Assertion `m_psi_batch_mode == PSI_BATCH_MODE_NONE' failed.