Details
-
Bug
-
Status: In Testing (View Workflow)
-
Critical
-
Resolution: Unresolved
-
N/A
-
Not for Release Notes
-
Q4/2025 Server Maintenance, Q4/2025 Server Development
Description
MDEV-37690 Was fixed and tested as fixed in v6:
|
MDEV-35915-6 CS 12.2.0 ed3c63488a1613377d92ee3ade3fe6870e39b4db (Debug, Clang 21.1.0-20250811) Build 24/09/2025 |
12.2.0-dbg>CREATE TABLE t AS SELECT 0 QUERY;
|
Query OK, 1 row affected (0.017 sec)
|
Records: 1 Duplicates: 0 Warnings: 0
|
However, now in v7/v8 we have the same bug return:
|
MDEV-35915-7 CS 12.2.0 87e89a3e8300009e00c1c480ffbb2062db9a87ec (Debug, Clang 21.1.3-20250923) Build 14/10/2025 |
12.2.0-dbg>CREATE TABLE t AS SELECT 0 QUERY;
|
ERROR 2026 (HY000): TLS/SSL error: The TLS connection was non-properly terminated.
|
Even the MTR test added in MDEV-37690 crashes:
|
MDEV-35915-8 CS 12.2.0 c7ea08421d34fa7d45e27919a869ade968bd88c4 (Debug, Clang 21.1.3-20250923) Build 20/10/2025 |
/test/MDEV-35915_8_MD201025-mariadb-12.2.0-linux-x86_64-dbg/mariadb-test$ ./mtr rocksdb.global_temporary_table
|
Logging: ./mtr rocksdb.global_temporary_table
|
VS config:
|
vardir: /test/MDEV-35915_8_MD201025-mariadb-12.2.0-linux-x86_64-dbg/mariadb-test/var
|
Checking leftover processes...
|
Removing old var directory...
|
Creating var directory '/test/MDEV-35915_8_MD201025-mariadb-12.2.0-linux-x86_64-dbg/mariadb-test/var'...
|
Checking supported features...
|
MariaDB Version 12.2.0-MariaDB-debug
|
- SSL connections supported
|
- binaries are debug compiled
|
- binaries built with wsrep patch
|
Collecting tests...
|
Installing system database...
|
|
|
==============================================================================
|
|
|
TEST RESULT TIME (ms) or COMMENT
|
--------------------------------------------------------------------------
|
|
|
worker[01] Using MTR_BUILD_THREAD 300, with reserved ports 19000..19029
|
rocksdb.global_temporary_table 'write_committed' [ fail ]
|
Test ended at 2025-10-20 10:43:06
|
|
|
CURRENT_TEST: rocksdb.global_temporary_table
|
mysqltest: At line 3: query 'create table t as select 0 query' failed: <Unknown> (2013): Lost connection to server during query
|
|
|
The result from queries just before the failure was:
|
# MDEV-37690 SIGSEGV on CREATE TABLE ... AS SELECT
|
create table t as select 0 query;
|
|
|
Server [mysqld.1 - pid: 2585197, winpid: 2585197, exit: 256] failed during test run
|
Server log from this test:
|
----------SERVER LOG START-----------
|
$ /test/MDEV-35915_8_MD201025-mariadb-12.2.0-linux-x86_64-dbg/bin/mariadbd --defaults-group-suffix=.1 --defaults-file=/test/MDEV-35915_8_MD201025-mariadb-12.2.0-linux-x86_64-dbg/mariadb-test/var/my.cnf --log-output=file --loose-rocksdb_write_policy=write_committed --plugin-load=ha_rocksdb.so --default-storage-engine=rocksdb --log-bin=master-bin --binlog-format=row --core-file --loose-debug-sync-timeout=300
|
...
|
2025-10-20 10:43:06 0 [Note] /test/MDEV-35915_8_MD201025-mariadb-12.2.0-linux-x86_64-dbg/bin/mariadbd: ready for connections.
|
Version: '12.2.0-MariaDB-debug-log' socket: '/test/MDEV-35915_8_MD201025-mariadb-12.2.0-linux-x86_64-dbg/mariadb-test/var/tmp/mysqld.1.sock' port: 19000 MariaDB Server
|
----------SERVER LOG END-------------
|
|
|
- found 'core' (0/5)
|
Core generated by '/test/MDEV-35915_8_MD201025-mariadb-12.2.0-linux-x86_64-dbg/bin/mariadbd'
|
Attachments
Issue Links
- is caused by
-
MDEV-35915 Implement Global temporary tables
-
- Stalled
-
- relates to
-
MDEV-37690 SIGSEGV and UBSAN null-pointer-use in myrocks::Rdb_transaction_impl::prepare on CREATE TABLE ... AS SELECT
-
- Closed
-