Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.6
Description
main.blackhole |
main.blackhole w4 [ fail ] Found warnings/errors in server log file!
|
Test ended at 2025-04-02 00:57:06
|
line
|
/source/sql/sql_select.cc:8618:48: runtime error: -nan is outside the range of representable values of type 'unsigned long long'
|
SUMMARY: UndefinedBehaviorSanitizer: float-cast-overflow /source/sql/sql_select.cc:8618:48
|
^ Found warnings in /build/mysql-test/var/4/log/mysqld.1.err
|
ok
|
|
- saving '/build/mysql-test/var/4/log/main.blackhole/' to '/build/mysql-test/var/log/main.blackhole/'
|
Version: '10.6.22-MariaDB-log' socket: '/build/mysql-test/var/tmp/4/mysqld.1.sock' port: 19090 Source distribution
|
/source/sql/sql_select.cc:8618:48: runtime error: -nan is outside the range of representable values of type 'unsigned long long'
|
#0 0x55d6dcb09079 in best_access_path(JOIN*, st_join_table*, unsigned long long, POSITION const*, unsigned int, bool, double, POSITION*, POSITION*) /source/sql/sql_select.cc:8618:48
|
#1 0x55d6dcbafcf8 in best_extension_by_limited_search(JOIN*, unsigned long long, unsigned int, double, double, unsigned int, unsigned int, unsigned int) /source/sql/sql_select.cc:10980:7
|
#2 0x55d6dcbb03ad in best_extension_by_limited_search(JOIN*, unsigned long long, unsigned int, double, double, unsigned int, unsigned int, unsigned int) /source/sql/sql_select.cc:11086:11
|
#3 0x55d6dcb12c90 in greedy_search(JOIN*, unsigned long long, unsigned int, unsigned int, unsigned int) /source/sql/sql_select.cc:9800:15
|
#4 0x55d6dcb0ffaf in choose_plan(JOIN*, unsigned long long) /source/sql/sql_select.cc:9351:9
|
#5 0x55d6dcab0916 in make_join_statistics(JOIN*, List<TABLE_LIST>&, st_dynamic_array*) /source/sql/sql_select.cc:6127:11
|
#6 0x55d6dca9e2dc in JOIN::optimize_inner() /source/sql/sql_select.cc:2613:7
|
#7 0x55d6dca90597 in JOIN::optimize() /source/sql/sql_select.cc:1927:10
|
#8 0x55d6dca74f0c in mysql_select(THD*, TABLE_LIST*, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) /source/sql/sql_select.cc:5182:19
|
#9 0x55d6dca743b3 in handle_select(THD*, LEX*, select_result*, unsigned long) /source/sql/sql_select.cc:573:10
|
#10 0x55d6dc9c0bbc in execute_sqlcom_select(THD*, TABLE_LIST*) /source/sql/sql_parse.cc:6422:12
|
#11 0x55d6dc9a12f1 in mysql_execute_command(THD*, bool) /source/sql/sql_parse.cc:4013:12
|
#12 0x55d6dc986ce6 in mysql_parse(THD*, char*, unsigned int, Parser_state*) /source/sql/sql_parse.cc:8209:18
|
#13 0x55d6dc97ef8b in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) /source/sql/sql_parse.cc:1908:7
|
#14 0x55d6dc988c4b in do_command(THD*, bool) /source/sql/sql_parse.cc:1421:17
|
#15 0x55d6dcf08b9c in do_handle_one_connection(CONNECT*, bool) /source/sql/sql_connect.cc:1386:11
|
#16 0x55d6dcf08522 in handle_one_connection /source/sql/sql_connect.cc:1298:5
|
#17 0x55d6dc53c756 in asan_thread_start(void*) asan_interceptors.cpp.o
|
#18 0x7f08a89be1c3 (/lib/x86_64-linux-gnu/libc.so.6+0x891c3) (BuildId: c047672cae7964324658491e7dee26748ae5d2f8)
|
#19 0x7f08a8a3e85b (/lib/x86_64-linux-gnu/libc.so.6+0x10985b) (BuildId: c047672cae7964324658491e7dee26748ae5d2f8)
|
|
SUMMARY: UndefinedBehaviorSanitizer: float-cast-overflow /source/sql/sql_select.cc:8618:48
|
2025-04-02 0:57:06 0 [Note] /build/sql/mariadbd (initiated by: unknown): Normal shutdown
|
2025-04-02 0:57:06 0 [Note] /build/sql/mariadbd: Shutdown complete
|
Attachments
Issue Links
- is part of
-
MDEV-25454 Make MariaDB server UBSAN safe
-
- Confirmed
-
- relates to
-
MDBF-741 Remove the gcc UBSAN builder to use the clang based UBSAN
-
- In Testing
-