[MDEV-27415] main.json_normalize and main.json_equals fail with UBSAN runtime error Created: 2022-01-03 Updated: 2022-05-11 Resolved: 2022-05-11 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | JSON, Tests |
| Affects Version/s: | 10.7 |
| Fix Version/s: | 10.7.5, 10.8.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | UBSAN | ||
| Environment: |
cmake /data/src/10.7 -DCMAKE_INSTALL_PREFIX=/data/bld/10.7-ubsan-nightly -DPLUGIN_TOKUDB=NO -DPLUGIN_COLUMNSTORE=NO -DPLUGIN_XPAND=NO -DPLUGIN_OQGRAPH=NO -DPLUGIN_MROONGA=NO -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_BUILD_TYPE=Debug -DWITH_UBSAN=YES -DPLUGIN_SPIDER=NO -DMYSQL_MAINTAINER_MODE=WARN -DWITH_SAFEMALLOC=OFF -DWITH_ZLIB=bundled -DWITH_SSL=bundled -DWITH_PCRE=bundled "-DCMAKE_C_FLAGS=-Og -march=native -mtune=native" "-DCMAKE_CXX_FLAGS=-Og -march=native -mtune=native" -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ && make -j6 && make install |
||
| Description |
|
The tests only exist in 10.7+. I have no information whether the root cause affects earlier versions.
Also happens on 10.8 branch. |