Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.4(EOL), 10.5, 10.6, 10.7(EOL), 10.8(EOL), 10.9(EOL), 10.10(EOL), 10.11
Description
This bug blocks ASAN/UBSAN testing of the Spider Engine.
Steps to reproduce:
Build server as ASAN/UBSAN build. Attempt to load Spider engine.
10.7.0 1bc82aaf0a7746c0921a94034aff2d51f0d75cd0 (Debug) |
10.7.0-dbg>INSTALL PLUGIN spider SONAME 'ha_spider.so';
|
ERROR 1126 (HY000): Can't open shared library '/test/UBASAN_MD060921-mariadb-10.7.0-linux-x86_64-dbg/lib/plugin/ha_spider.so' (errno: 2, undefined symbol: _ZTI12ha_partition)
|
The file is there:
$ ls -lh /test/UBASAN_MD060921-mariadb-10.7.0-linux-x86_64-dbg/lib/plugin/ha_spider.so
|
-rw-r--r-- 1 roel roel 39M Sep 6 06:00 /test/UBASAN_MD060921-mariadb-10.7.0-linux-x86_64-dbg/lib/plugin/ha_spider.so
|
$ cat BUILD_CMD_CMAKE
|
cmake . -DWITH_SSL=bundled -DCMAKE_BUILD_TYPE=Debug -DBUILD_CONFIG=mysql_release -DWITH_TOKUDB=0 -DWITH_JEMALLOC=no -DFEATURE_SET=community -DDEBUG_EXTNAME=OFF -DWITH_EMBEDDED_SERVER=0 -DENABLE_DOWNLOADS=1 -DDOWNLOAD_BOOST=1 -DWITH_BOOST=/tmp/boost_805116 -DENABLED_LOCAL_INFILE=1 -DENABLE_DTRACE=0 -DWITH_PERFSCHEMA_STORAGE_ENGINE=1 -DWITH_ZLIB=bundled -DWITH_ROCKSDB=1 -DWITH_PAM=ON -DFORCE_INSOURCE_BUILD=1 -DWITH_ASAN=ON -DWITH_ASAN_SCOPE=ON -DWITH_UBSAN=ON -DWSREP_LIB_WITH_ASAN=ON -DCMAKE_CXX_FLAGS=-static-libasan -DMYSQL_MAINTAINER_MODE=OFF
|
Present in 10.5 and 10.7. Likely same in older versions also.
Attachments
Issue Links
- causes
-
MDEV-31421 spider/bugfix.mdev_26541 fails post-test check
-
- Closed
-
- relates to
-
MDEV-30191 SIGSEGV & heap-use-after-free in spider_db_print_item_type, SIGABRT in __cxa_pure_virtual/spider_db_print_item_type, Got error 128 "Out of memory in engine", 56/112 memory not freed, and Assertion `fixed()' failed in Item_sp_variable::val_str on SP call
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Link | This issue blocks TODO-3120 [ TODO-3120 ] |
Link | This issue relates to TODO-3120 [ TODO-3120 ] |
Link | This issue relates to TODO-3120 [ TODO-3120 ] |
Link |
This issue blocks |
Link | This issue relates to TODO-3120 [ TODO-3120 ] |
Priority | Blocker [ 1 ] | Major [ 3 ] |
Affects Version/s | 10.5 [ 23123 ] |
Fix Version/s | 10.5 [ 23123 ] |
Description |
This bug blocks ASAN/UBSAN testing of the Spider Engine.
Steps to reproduce: Build server as ASAN/UBSAN build. Attempt to load Spider engine. {noformat:title=10.7.0 1bc82aaf0a7746c0921a94034aff2d51f0d75cd0 (Debug)} 10.7.0-dbg>INSTALL PLUGIN spider SONAME 'ha_spider.so'; ERROR 1126 (HY000): Can't open shared library '/test/UBASAN_MD060921-mariadb-10.7.0-linux-x86_64-dbg/lib/plugin/ha_spider.so' (errno: 2, undefined symbol: _ZTI12ha_partition) {noformat} The file is there: {noformat} $ ls -lh /test/UBASAN_MD060921-mariadb-10.7.0-linux-x86_64-dbg/lib/plugin/ha_spider.so -rw-r--r-- 1 roel roel 39M Sep 6 06:00 /test/UBASAN_MD060921-mariadb-10.7.0-linux-x86_64-dbg/lib/plugin/ha_spider.so {noformat} {noformat} $ cat BUILD_CMD_CMAKE cmake . -DWITH_SSL=bundled -DCMAKE_BUILD_TYPE=Debug -DBUILD_CONFIG=mysql_release -DWITH_TOKUDB=0 -DWITH_JEMALLOC=no -DFEATURE_SET=community -DDEBUG_EXTNAME=OFF -DWITH_EMBEDDED_SERVER=0 -DENABLE_DOWNLOADS=1 -DDOWNLOAD_BOOST=1 -DWITH_BOOST=/tmp/boost_805116 -DENABLED_LOCAL_INFILE=1 -DENABLE_DTRACE=0 -DWITH_PERFSCHEMA_STORAGE_ENGINE=1 -DWITH_ZLIB=bundled -DWITH_ROCKSDB=1 -DWITH_PAM=ON -DFORCE_INSOURCE_BUILD=1 -DWITH_ASAN=ON -DWITH_ASAN_SCOPE=ON -DWITH_UBSAN=ON -DWSREP_LIB_WITH_ASAN=ON -DCMAKE_CXX_FLAGS=-static-libasan -DMYSQL_MAINTAINER_MODE=OFF {noformat} Present in 10.6 and 10.7. Likely same in older versions also. |
This bug blocks ASAN/UBSAN testing of the Spider Engine.
Steps to reproduce: Build server as ASAN/UBSAN build. Attempt to load Spider engine. {noformat:title=10.7.0 1bc82aaf0a7746c0921a94034aff2d51f0d75cd0 (Debug)} 10.7.0-dbg>INSTALL PLUGIN spider SONAME 'ha_spider.so'; ERROR 1126 (HY000): Can't open shared library '/test/UBASAN_MD060921-mariadb-10.7.0-linux-x86_64-dbg/lib/plugin/ha_spider.so' (errno: 2, undefined symbol: _ZTI12ha_partition) {noformat} The file is there: {noformat} $ ls -lh /test/UBASAN_MD060921-mariadb-10.7.0-linux-x86_64-dbg/lib/plugin/ha_spider.so -rw-r--r-- 1 roel roel 39M Sep 6 06:00 /test/UBASAN_MD060921-mariadb-10.7.0-linux-x86_64-dbg/lib/plugin/ha_spider.so {noformat} {noformat} $ cat BUILD_CMD_CMAKE cmake . -DWITH_SSL=bundled -DCMAKE_BUILD_TYPE=Debug -DBUILD_CONFIG=mysql_release -DWITH_TOKUDB=0 -DWITH_JEMALLOC=no -DFEATURE_SET=community -DDEBUG_EXTNAME=OFF -DWITH_EMBEDDED_SERVER=0 -DENABLE_DOWNLOADS=1 -DDOWNLOAD_BOOST=1 -DWITH_BOOST=/tmp/boost_805116 -DENABLED_LOCAL_INFILE=1 -DENABLE_DTRACE=0 -DWITH_PERFSCHEMA_STORAGE_ENGINE=1 -DWITH_ZLIB=bundled -DWITH_ROCKSDB=1 -DWITH_PAM=ON -DFORCE_INSOURCE_BUILD=1 -DWITH_ASAN=ON -DWITH_ASAN_SCOPE=ON -DWITH_UBSAN=ON -DWSREP_LIB_WITH_ASAN=ON -DCMAKE_CXX_FLAGS=-static-libasan -DMYSQL_MAINTAINER_MODE=OFF {noformat} Present in 10.5 and 10.7. Likely same in older versions also. |
Priority | Major [ 3 ] | Critical [ 2 ] |
Status | Open [ 1 ] | Confirmed [ 10101 ] |
Priority | Critical [ 2 ] | Major [ 3 ] |
Labels | ASAN affects-tests ubsan | ASAN affects-tests not-10.3 ubsan |
Affects Version/s | 10.4 [ 22408 ] |
Fix Version/s | 10.4 [ 22408 ] |
Status | Confirmed [ 10101 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Stalled [ 10000 ] |
Status | Stalled [ 10000 ] | In Progress [ 3 ] |
Summary | Undefined symbol: _ZTI12ha_partition when attempting to use ha_spider.so in ASAN+UBSAN builds | Undefined symbol: _ZTI12ha_partition when attempting to use ha_spider.so in UBSAN builds |
Link |
This issue blocks |
Link | This issue blocks TODO-3120 [ TODO-3120 ] |
Status | In Progress [ 3 ] | Stalled [ 10000 ] |
Link | This issue blocks TODO-2756 [ TODO-2756 ] |
Labels | ASAN affects-tests not-10.3 ubsan | ASAN UBSAN affects-tests not-10.3 |
Workflow | MariaDB v3 [ 124827 ] | MariaDB v4 [ 143705 ] |
Link | This issue blocks TODO-2756 [ TODO-2756 ] |
Link | This issue blocks TODO-3120 [ TODO-3120 ] |
Fix Version/s | 10.7 [ 24805 ] |
Priority | Major [ 3 ] | Critical [ 2 ] |
Affects Version/s | 10.8 [ 26121 ] | |
Affects Version/s | 10.9 [ 26905 ] | |
Affects Version/s | 10.10 [ 27530 ] | |
Affects Version/s | 10.11 [ 27614 ] |
Fix Version/s | 10.8 [ 26121 ] | |
Fix Version/s | 10.9 [ 26905 ] | |
Fix Version/s | 10.10 [ 27530 ] |
Labels | ASAN UBSAN affects-tests not-10.3 | UBSAN affects-tests not-10.3 |
Link | This issue relates to TODO-3120 [ TODO-3120 ] |
Link |
This issue relates to |
Assignee | Nayuta Yanagisawa [ JIRAUSER47117 ] | Yuchen Pei [ JIRAUSER52627 ] |
Status | Stalled [ 10000 ] | In Progress [ 3 ] |
Assignee | Yuchen Pei [ JIRAUSER52627 ] | Alexey Botchkov [ holyfoot ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Assignee | Alexey Botchkov [ holyfoot ] | Yuchen Pei [ JIRAUSER52627 ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Priority | Critical [ 2 ] | Major [ 3 ] |
Fix Version/s | 10.4.28 [ 28509 ] | |
Fix Version/s | 10.5.19 [ 28511 ] | |
Fix Version/s | 10.6.12 [ 28513 ] | |
Fix Version/s | 10.7.8 [ 28515 ] | |
Fix Version/s | 10.8.7 [ 28517 ] | |
Fix Version/s | 10.9.5 [ 28519 ] | |
Fix Version/s | 10.10.3 [ 28521 ] | |
Fix Version/s | 10.11.2 [ 28523 ] | |
Fix Version/s | 11.0.1 [ 28548 ] | |
Fix Version/s | 10.4 [ 22408 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Fix Version/s | 10.6 [ 24028 ] | |
Fix Version/s | 10.7 [ 24805 ] | |
Fix Version/s | 10.8 [ 26121 ] | |
Fix Version/s | 10.9 [ 26905 ] | |
Fix Version/s | 10.10 [ 27530 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Link |
This issue causes |
I confirm that the bug is reproducible on 10.4 and10.5 but not on 10.3.