[MDEV-10910] [Draft] Server crashes in Field::is_null_in_record Created: 2016-09-27  Updated: 2019-02-05

Status: Open
Project: MariaDB Server
Component/s: None
Affects Version/s: 10.1
Fix Version/s: None

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

Attachments: File master.err     File master.log.gz     File trial9.log.gz    
Issue Links:
Blocks
is blocked by MDEV-10780 Server crashes in in create_tmp_table Closed
Relates
relates to MDEV-10806 Server crashes in in create_tmp_table... Closed
relates to MDEV-18485 Server crash or AddressSanitizer: hea... Closed

 Description   

http://buildbot.askmonty.org/buildbot/builders/win-rqg-se/builds/2737/steps/rqg_crash_tests/logs/stdio

160927 15:07:42 [ERROR] mysqld got exception 0xc0000005 ;
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.18-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 = 388151 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
 
Thread pointer: 0x0x7d686f59a8
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!Field::is_null_in_record()[field.h:1035]
mysqld.exe!create_tmp_table()[sql_select.cc:16720]
mysqld.exe!JOIN::exec_inner()[sql_select.cc:2887]
mysqld.exe!JOIN::exec()[sql_select.cc:2506]
mysqld.exe!mysql_select()[sql_select.cc:3440]
mysqld.exe!handle_select()[sql_select.cc:384]
mysqld.exe!mysql_execute_command()[sql_parse.cc:3421]
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:2973]
mysqld.exe!mysql_parse()[sql_parse.cc:7318]
mysqld.exe!dispatch_command()[sql_parse.cc:1490]
mysqld.exe!do_command()[sql_parse.cc:1108]
mysqld.exe!threadpool_process_request()[threadpool_common.cc:238]
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 (0x7d68c2a158): CREATE TEMPORARY TABLE `ps` AS  SELECT DISTINCT STRAIGHT_JOIN STDDEV( `col_time_nokey` ) AS field1, DEFAULT( `col_varchar_nokey` ) AS field2, @A := `pk` AS field3 FROM `a` GROUP BY IFNULL( ( SCHEMA() ), ( RELEASE_LOCK( ( TRIM( BOTH -5614018410494033920 FROM ( `col_time_key` >> NULL ) ) ) ) ) ) WITH ROLLUP
Connection ID (thread ID): 10
Status: NOT_KILLED

E:\buildbot\rqg/runall.pl --no-mask --seed=time --threads=5 --duration=600 --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 --grammar=conf/mariadb/functions.yy --mtr-build-thread=300 --basedir1=E:\buildbot\bbwin1\win-rqg-se\build\..\build-debug --vardir1=E:\buildbot\bbwin1\win-rqg-se\build\..\..\..\vardirs\10.1-2737\optim-crash-tests/current1_1
seed => 1474977648



 Comments   
Comment by Elena Stepanova [ 2016-10-03 ]

Another case: http://buildbot.askmonty.org/buildbot/builders/win-rqg-se/builds/2745/steps/rqg_crash_tests/logs/stdio

Comment by Elena Stepanova [ 2016-11-27 ]

Another occasion or a similar case: http://buildbot.askmonty.org/buildbot/builders/win-rqg-se/builds/2883/steps/rqg_crash_tests/logs/stdio

Generated at Thu Feb 08 07:45:51 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.