[MDEV-13204] [Draft] Assertion failed: fixed == 1 Created: 2017-06-28  Updated: 2022-05-16  Resolved: 2022-05-16

Status: Closed
Project: MariaDB Server
Component/s: N/A
Affects Version/s: 10.1
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Elena Stepanova
Resolution: Incomplete Votes: 0
Labels: None


 Description   

https://internal.askmonty.org/buildbot/builders/qa-win-debug/builds/127/steps/crash_tests/logs/stdio

seed=1498560538
Command line:
E:\buildbot\rqg/runall.pl --no-mask --seed=time --threads=5 --duration=400 --queries=100M --reporters=QueryTimeout,Backtrace,ErrorLog,Deadlock,Shutdown --redefine=conf/mariadb/redefine_random_keys.yy --redefine=conf/mariadb/redefine_set_session_vars.yy --validators=TransformerNoComparator --transformers=ConvertSubqueriesToViews,DisableOptimizations,EnableOptimizations,ExecuteAsCTE,ExecuteAsInsertSelect,ExecuteAsPreparedOnce,ExecuteAsSelectItem,ExecuteAsUnion,ExecuteAsUpdateDelete,ExecuteAsView,NullIf,OrderBy,StraightJoin,ExecuteAsExecuteImmediate --grammar=conf/mariadb/functions.yy --mtr-build-thread=150 --basedir1=D:\qa-win-debug\build --vardir1=E:\buildbot\vardirs\qa-win-debug\bb-10.2-marko-127\optim-crash-tests/current1_1

bb-10.2-marko 49ca6fca0ada1690ccbc305639d9cecf6796e1d1

Assertion failed: fixed == 1, file d:\qa-win-debug\build\sql\item_strfunc.h, line 670
abort() has been called170627 13:49:18 [ERROR] mysqld got exception 0x80000003 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
 
To report this bug, see https://mariadb.com/kb/en/reporting-bugs
 
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed, 
something is definitely wrong and this may fail.
 
Server version: 10.1.25-MariaDB-debug
key_buffer_size=1048576
read_buffer_size=131072
max_used_connections=7
max_threads=1001
thread_count=6
It is possible that mysqld could use up to 
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 388155 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
 
Thread pointer: 0x75b2153938
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
mysqld.exe!my_sigabrt_handler()[my_thr_init.c:488]
mysqld.exe!raise()[signal.cpp:522]
mysqld.exe!abort()[abort.cpp:71]
mysqld.exe!common_assert_to_stderr<wchar_t>()[assert.cpp:150]
mysqld.exe!common_assert<wchar_t>()[assert.cpp:383]
mysqld.exe!_wassert()[assert.cpp:405]
mysqld.exe!Item_func_user::val_str()[item_strfunc.h:670]
mysqld.exe!Item_func_nullif::str_op()[item_cmpfunc.cc:2883]
mysqld.exe!Item_func_hybrid_field_type::str_op_with_null_check()[item_func.h:441]
mysqld.exe!Item_func_hybrid_field_type::val_real()[item_func.cc:912]
mysqld.exe!Arg_comparator::compare_real()[item_cmpfunc.cc:885]
mysqld.exe!Arg_comparator::compare()[item_cmpfunc.h:87]
mysqld.exe!Item_func_ne::val_int()[item_cmpfunc.cc:1779]
mysqld.exe!Item_int_func::val_str()[item_func.cc:719]
mysqld.exe!Item_func_conv_charset::val_str()[item_strfunc.cc:3336]
mysqld.exe!Item::save_in_field()[item.cc:6027]
mysqld.exe!Item_result_field::save_in_result_field()[item.h:2247]
mysqld.exe!copy_funcs()[sql_select.cc:23392]
mysqld.exe!end_write_group()[sql_select.cc:19938]
mysqld.exe!evaluate_join_record()[sql_select.cc:18556]
mysqld.exe!sub_select()[sql_select.cc:18333]
mysqld.exe!do_select()[sql_select.cc:17988]
mysqld.exe!JOIN::exec_inner()[sql_select.cc:2765]
mysqld.exe!JOIN::exec()[sql_select.cc:2512]
mysqld.exe!mysql_select()[sql_select.cc:3447]
mysqld.exe!handle_select()[sql_select.cc:372]
mysqld.exe!mysql_execute_command()[sql_parse.cc:3442]
mysqld.exe!Prepared_statement::execute()[sql_prepare.cc:4299]
mysqld.exe!Prepared_statement::execute_loop()[sql_prepare.cc:3931]
mysqld.exe!mysql_sql_stmt_execute()[sql_prepare.cc:3056]
mysqld.exe!mysql_execute_command()[sql_parse.cc:2991]
mysqld.exe!mysql_parse()[sql_parse.cc:7339]
mysqld.exe!dispatch_command()[sql_parse.cc:1492]
mysqld.exe!do_command()[sql_parse.cc:1109]
mysqld.exe!threadpool_process_request()[threadpool_common.cc:271]
mysqld.exe!io_completion_callback()[threadpool_win.cc:568]
KERNEL32.DLL!VirtualUnlock()
ntdll.dll!RtlGetActiveActivationContext()
ntdll.dll!RtlFreeUnicodeString()
KERNEL32.DLL!BaseThreadInitThunk()
ntdll.dll!RtlUserThreadStart()
 
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x75b2405eb8): CREATE TEMPORARY TABLE `ps` AS  SELECT DISTINCT STRAIGHT_JOIN GROUP_CONCAT( MOD( NULL, ( DATABASE() ) ), ABS( ( @A := ( CONVERT( ( ExtractValue( -1334472864585220096, '//e/aacbcecadbdca/babebcce/e' ) ), DECIMAL(24,10) ) ) ) ) ) AS field1, CONVERT( ( -19133 <> ( NULLIF( ( USER() ), ( CAST( `col_int_nokey` AS CHAR ) ) ) ) ) USING latin1 ) AS field2, BIT_COUNT( 'daltjwhnasjjteiqcmpnwnvcapniaucwdkvhramvhcyoxymnewboqunfqeiujzyfqebojvwcctqpoojqndqljhxohzcxttdppznnqfjltluvqrgenqmxzinxqxoudplbcfzqldgwhrcvqizwgiueorrgxsjnzgzbpxclvutkgstyigwwcllnuutachexkxvldcohikukqdupyjfzrivudwtffhe' ) AS field3 FROM `b` GROUP BY CURRENT_USER() WITH ROLLUP
Connection ID (thread ID): 11
Status: NOT_KILLED


Generated at Thu Feb 08 08:03:44 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.