Details
-
Task
-
Status: Confirmed (View Workflow)
-
Major
-
Resolution: Unresolved
Description
The task to fix that we can run all mtr tests with a MariaDB server compiled with
UBSAN (UndefinedBehaviorSanitizer) and TSAN (ThreadSanitizer) and fix all run time errors (if possible).
gcc --fsanitize=undefined works at least with gcc 7.5.0 and up.
Attachments
Issue Links
- blocks
-
MDBF-741 Remove the gcc UBSAN builder to use the clang based UBSAN
-
- Open
-
- includes
-
CONC-711 UBSAN: client_mpvio_write_packet through pointer to incorrect function
-
- Open
-
-
MDEV-31379 Undefined behavior in the reference Ed25519 implementation
-
- Closed
-
-
MDEV-34507 UBSAN: mysys/hash.c:197:20: runtime error: call to function get_sys_var_length
-
- Stalled
-
-
MDEV-34508 UBSAN: mf_keycache.c:5950:11: runtime error: call to function init_simple_key_cache
-
- Stalled
-
-
MDEV-34509 UBSAN: call to function option_cmp(my_option*, my_option*) through pointer to incorrect function type
-
- Stalled
-
-
MDEV-34510 UBSAN: crc32 x86 - integer overflow
-
- Closed
-
-
MDEV-34511 UBSAN: qsort based function argument mismatch
-
- Open
-
-
MDEV-34512 UBSAN system variable type mismatches
-
- Open
-
-
MDEV-34607 UBSAN downcast of address X which does not point to an object of type 'Field_num' in Type_handler_long::make_conversion_table_field
-
- Open
-
- is part of
-
MDEV-33073 always green buildbot
-
- In Progress
-
- relates to
-
MDEV-21341 Fix UBSAN failures
-
- Confirmed
-
-
MDEV-22742 UBSAN: Many overflow issues in strings/decimal.c - runtime error: signed integer overflow: x * y cannot be represented in type 'long long int' (on optimized builds)
-
- Closed
-
-
MDEV-24193 UBSAN: sql/sql_acl.cc:9985:29: runtime error: member access within null pointer of type 'struct TABLE' , ASAN: use-after-poison in handle_grant_table
-
- Confirmed
-
-
MDEV-24198 UBSAN: sql/sql_type_int.h:91:42: runtime error: shift exponent 255 is too large for 64-bit type 'long long unsigned int' (on optimized builds)
-
- Open
-
-
MDEV-24510 Assertion `tmp != ((long long) 0x8000000000000000LL)' failed in TIME_from_longlong_datetime_packed & UBSAN: runtime error: negation of -9223372036854775808 cannot be represented in type 'long long int'
-
- Closed
-
-
MDEV-26272 The macro MASTER_INFO_VAR invokes undefined behaviour
-
- Closed
-
-
MDEV-26814 UBSAN: runtime error: applying non-zero offset 18446744073709551584 to null pointer on JSON_ARRAY_INSERT, runtime error: pointer index expression with base 0x000000000001 overflowed to 0xffffffffffffffe1
-
- Confirmed
-
-
MDEV-26817 runtime error: index 24320 out of bounds for type 'json_string_char_classes [128] *and* ASAN: global-buffer-overflow on address ... READ of size 4 on SELECT JSON_VALID
-
- Closed
-
-
MDEV-26839 UBSAN: null pointer passed as argument 2, which is declared to never be null in maria/ma_key.c on ALTER
-
- Confirmed
-
-
MDEV-26840 UBSAN: load of value 3200171710, which is not a valid value for type 'geometry_type' in sql/unireg.cc on ALTER
-
- Open
-
-
MDEV-33157 runtime error: call to function wsrep_plugin_init(void*) through pointer to incorrect function type
-
- Closed
-
-
MDEV-33158 The macro MYSQL_THDVAR_ULONG leads to undefined behaviour, calling mysql_sys_var_long
-
- Confirmed
-
-
MDEV-33159 The macro my_offsetof() invokes undefined behaviour
-
- Confirmed
-
-
MDEV-33160 show_status_array() calls various functions via incompatible pointer
-
- Closed
-
-
MDEV-28374 UBSAN: runtime error: signed integer overflow: 10000000000000 * 10000000000000 cannot be represented in type 'long long int' in sql/sql_analyse.cc
-
- Confirmed
-
-
MDEV-29473 UBSAN: Signed integer overflow: X * Y cannot be represented in type 'int' in strings/dtoa.c
-
- Closed
-
-
MDEV-34348 MariaDB is violating clang-16 -Wcast-function-type-strict
-
- Stalled
-