Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.5.5, 10.5.8, 10.2(EOL), 10.3(EOL), 10.4(EOL), 10.5, 10.6, 10.7(EOL)
Description
2021-02-09 9:03:11 0 [Note] /usr/sbin/mariadbd: ready for connections.
|
Version: '10.5.5-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server
|
2021-02-09 9:13:05 48 [Warning] Aborted connection 48 to db: 'primary' user: 'main' host: 'localhost' (Got an error reading communication packets)
|
210209 9:16:56 [ERROR] mysqld got signal 11 ;
|
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.5.5-MariaDB
|
key_buffer_size=268435456
|
read_buffer_size=4194304
|
max_used_connections=40
|
max_threads=258
|
thread_count=41
|
It is possible that mysqld could use up to
|
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 2382111 K bytes of memory
|
Hope that's ok; if not, decrease some variables in the equation.
|
|
Thread pointer: 0x7f3884000c58
|
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...
|
stack_bottom = 0x7f397b43dbd8 thread_stack 0x49000
|
??:0(my_print_stacktrace)[0x5641494f9dee]
|
??:0(handle_fatal_signal)[0x564148f84ec5]
|
sigaction.c:0(__restore_rt)[0x7f397b1b0b20]
|
??:0(Create_tmp_table::finalize(THD*, TABLE*, TMP_TABLE_PARAM*, bool, bool))[0x564148dd790d]
|
??:0(create_tmp_table(THD*, TMP_TABLE_PARAM*, List<Item>&, st_order*, bool, bool, unsigned long long, unsigned long long, st_mysql_const_lex_string const*, bool, bool))[0x564148dd860d]
|
??:0(select_unit::create_result_table(THD*, List<Item>*, bool, unsigned long long, st_mysql_const_lex_string const*, bool, bool, bool, unsigned int))[0x564148e3978b]
|
??:0(Select_materialize::send_result_set_metadata(List<Item>&, unsigned int))[0x564148d503c3]
|
??:0(JOIN::exec_inner())[0x564148df2eca]
|
??:0(JOIN::exec())[0x564148df3c17]
|
??:0(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*))[0x564148df1f02]
|
??:0(handle_select(THD*, LEX*, select_result*, unsigned long))[0x564148df27eb]
|
??:0(LEX::mark_first_table_as_inserting())[0x564148d90eed]
|
??:0(mysql_execute_command(THD*))[0x564148d98fbe]
|
??:0(mysql_open_cursor(THD*, select_result*, Server_side_cursor**))[0x564148d506bc]
|
??:0(Prepared_statement::execute(String*, bool))[0x564148dada1e]
|
??:0(Prepared_statement::execute_loop(String*, bool, unsigned char*, unsigned char*))[0x564148dadde2]
|
??:0(Prepared_statement::execute_bulk_loop(String*, bool, unsigned char*, unsigned char*))[0x564148daeb35]
|
??:0(mysqld_stmt_execute(THD*, char*, unsigned int))[0x564148daebd5]
|
??:0(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x564148d95512]
|
??:0(do_command(THD*))[0x564148d9724f]
|
??:0(do_handle_one_connection(CONNECT*, bool))[0x564148e86bf1]
|
??:0(handle_one_connection)[0x564148e86f7d]
|
??:0(MyCTX_nopad::finish(unsigned char*, unsigned int*))[0x5641491a3d5a]
|
pthread_create.c:0(start_thread)[0x7f397b1a614a]
|
:0(__GI___clone)[0x7f397900ff23]
|
|
Trying to get some variables.
|
Some pointers may be invalid and cause the dump to abort.
|
Query (0x7f3884012770): select 774_study.patientID AS patientID, 774_patient.patientStatus AS patientStatus, 774_patient.pid AS pid, 774_patient.pname AS pname, 774_patient.dob AS dob, 774_patient.sex AS sex, 774_study.received AS received, 774_study.sdate AS sdate, 774_study.stime AS stime, 774_study.modality AS modality, 774_study.refphys AS refphys, 774_study.numimages AS numimages, 774_study.numsnapshots AS numsnapshots, 774_study.numattachments AS numattachments, 774_study.sdesc AS sdesc, 774_study.backedup AS backedup, 774_study.modified AS modified, 774_study.siuid AS siuid, 774_study.institution AS institution, 774_study.bodypart AS bodypart, 774_study.tsuid AS tsuid, 774_study.acnum AS acnum from 774_study left join 774_patient on 774_study.patientID = 774_patient.patientID where exists (select pname from 774_patient where pname like 'doe%^john%^%^%^%') and 774_patient.pname in (select pname from 774_patient where pname like 'doe%^john%^%^%^%') order by received desc limit 0,50
|
Connection ID (thread ID): 3
|
Status: NOT_KILLED
|
|
Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=on,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on,condition_pushdown_for_subquery=on,rowid_filter=on,condition_pushdown_from_having=on,not_null_range_scan=off
|
|
The manual page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mysqld/ contains
|
information that should help you find out what is causing the crash.
|
Writing a core file...
|
Working directory at /var/lib/mysql
|
Resource Limits:
|
Limit Soft Limit Hard Limit Units
|
Max cpu time unlimited unlimited seconds
|
Max file size unlimited unlimited bytes
|
Max data size unlimited unlimited bytes
|
Max stack size 8388608 unlimited bytes
|
Max core file size unlimited unlimited bytes
|
Max resident set unlimited unlimited bytes
|
Max processes unlimited unlimited processes
|
Max open files 16384 16384 files
|
Max locked memory 65536 65536 bytes
|
Max address space unlimited unlimited bytes
|
Max file locks unlimited unlimited locks
|
Max pending signals 127425 127425 signals
|
Max msgqueue size 819200 819200 bytes
|
Max nice priority 0 0
|
Max realtime priority 0 0
|
Max realtime timeout unlimited unlimited us
|
Core pattern: |/usr/share/apport/apport %p %s %c %d %P %E
|
|
2021-02-09 9:32:02 0 [Warning] The parameter innodb_buffer_pool_instances is deprecated and has no effect.
|
2021-02-09 9:32:02 0 [Note] InnoDB: Using Linux native AIO
|
2021-02-09 9:32:02 0 [Note] InnoDB: Uses event mutexes
|
2021-02-09 9:32:02 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
|
2021-02-09 9:32:02 0 [Note] InnoDB: Number of pools: 1
|
2021-02-09 9:32:02 0 [Note] InnoDB: Using SSE4.2 crc32 instructions
|
2021-02-09 9:32:02 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts)
|
2021-02-09 9:32:02 0 [Note] InnoDB: Initializing buffer pool, total size = 2147483648, chunk size = 134217728
|
2021-02-09 9:32:02 0 [Note] InnoDB: Completed initialization of buffer pool
|
2021-02-09 9:32:02 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
|
2021-02-09 9:32:02 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=638714286
|
2021-02-09 9:32:02 0 [Note] InnoDB: Starting final batch to recover 22 pages from redo log.
|
2021-02-09 9:32:02 0 [Note] InnoDB: 128 rollback segments are active.
|
2021-02-09 9:32:02 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
|
2021-02-09 9:32:02 0 [Note] InnoDB: Creating shared tablespace for temporary tables
|
2021-02-09 9:32:02 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
|
2021-02-09 9:32:02 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
|
2021-02-09 9:32:02 0 [Note] InnoDB: 10.5.5 started; log sequence number 638715875; transaction id 329221
|
2021-02-09 9:32:02 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
|
2021-02-09 9:32:02 0 [Note] Plugin 'FEEDBACK' is disabled.
|
2021-02-09 9:32:02 0 [Note] Server socket created on IP: '127.0.0.1'.
|
2021-02-09 9:32:02 0 [Note] InnoDB: Buffer pool(s) load completed at 210209 9:32:02
|
2021-02-09 9:32:03 0 [Note] Reading of all Master_info entries succeeded
|
2021-02-09 9:32:03 0 [Note] Added new Master_info '' to hash table
|
2021-02-09 9:32:03 0 [Note] /usr/sbin/mariadbd: ready for connections.
|
Version: '10.5.5-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server
|
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Description |
2021-02-09 9:03:11 0 [Note] /usr/sbin/mariadbd: ready for connections.
Version: '10.5.5-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server 2021-02-09 9:13:05 48 [Warning] Aborted connection 48 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 210209 9:16:56 [ERROR] mysqld got signal 11 ; 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.5.5-MariaDB key_buffer_size=268435456 read_buffer_size=4194304 max_used_connections=40 max_threads=258 thread_count=41 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 2382111 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f3884000c58 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... stack_bottom = 0x7f397b43dbd8 thread_stack 0x49000 ??:0(my_print_stacktrace)[0x5641494f9dee] ??:0(handle_fatal_signal)[0x564148f84ec5] sigaction.c:0(__restore_rt)[0x7f397b1b0b20] ??:0(Create_tmp_table::finalize(THD*, TABLE*, TMP_TABLE_PARAM*, bool, bool))[0x564148dd790d] ??:0(create_tmp_table(THD*, TMP_TABLE_PARAM*, List<Item>&, st_order*, bool, bool, unsigned long long, unsigned long long, st_mysql_const_lex_string const*, bool, bool))[0x564148dd860d] ??:0(select_unit::create_result_table(THD*, List<Item>*, bool, unsigned long long, st_mysql_const_lex_string const*, bool, bool, bool, unsigned int))[0x564148e3978b] ??:0(Select_materialize::send_result_set_metadata(List<Item>&, unsigned int))[0x564148d503c3] ??:0(JOIN::exec_inner())[0x564148df2eca] ??:0(JOIN::exec())[0x564148df3c17] ??:0(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*))[0x564148df1f02] ??:0(handle_select(THD*, LEX*, select_result*, unsigned long))[0x564148df27eb] ??:0(LEX::mark_first_table_as_inserting())[0x564148d90eed] ??:0(mysql_execute_command(THD*))[0x564148d98fbe] ??:0(mysql_open_cursor(THD*, select_result*, Server_side_cursor**))[0x564148d506bc] ??:0(Prepared_statement::execute(String*, bool))[0x564148dada1e] ??:0(Prepared_statement::execute_loop(String*, bool, unsigned char*, unsigned char*))[0x564148dadde2] ??:0(Prepared_statement::execute_bulk_loop(String*, bool, unsigned char*, unsigned char*))[0x564148daeb35] ??:0(mysqld_stmt_execute(THD*, char*, unsigned int))[0x564148daebd5] ??:0(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x564148d95512] ??:0(do_command(THD*))[0x564148d9724f] ??:0(do_handle_one_connection(CONNECT*, bool))[0x564148e86bf1] ??:0(handle_one_connection)[0x564148e86f7d] ??:0(MyCTX_nopad::finish(unsigned char*, unsigned int*))[0x5641491a3d5a] pthread_create.c:0(start_thread)[0x7f397b1a614a] :0(__GI___clone)[0x7f397900ff23] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7f3884012770): select 774_study.patientID AS patientID, 774_patient.patientStatus AS patientStatus, 774_patient.pid AS pid, 774_patient.pname AS pname, 774_patient.dob AS dob, 774_patient.sex AS sex, 774_study.received AS received, 774_study.sdate AS sdate, 774_study.stime AS stime, 774_study.modality AS modality, 774_study.refphys AS refphys, 774_study.numimages AS numimages, 774_study.numsnapshots AS numsnapshots, 774_study.numattachments AS numattachments, 774_study.sdesc AS sdesc, 774_study.backedup AS backedup, 774_study.modified AS modified, 774_study.siuid AS siuid, 774_study.institution AS institution, 774_study.bodypart AS bodypart, 774_study.tsuid AS tsuid, 774_study.acnum AS acnum from 774_study left join 774_patient on 774_study.patientID = 774_patient.patientID where exists (select pname from 774_patient where pname like 'maae%^fiam%^%^%^%') and 774_patient.pname in (select pname from 774_patient where pname like 'maae%^fiam%^%^%^%') order by received desc limit 0,50 Connection ID (thread ID): 3 Status: NOT_KILLED Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=on,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on,condition_pushdown_for_subquery=on,rowid_filter=on,condition_pushdown_from_having=on,not_null_range_scan=off The manual page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mysqld/ contains information that should help you find out what is causing the crash. Writing a core file... Working directory at /var/lib/mysql Resource Limits: Limit Soft Limit Hard Limit Units Max cpu time unlimited unlimited seconds Max file size unlimited unlimited bytes Max data size unlimited unlimited bytes Max stack size 8388608 unlimited bytes Max core file size unlimited unlimited bytes Max resident set unlimited unlimited bytes Max processes unlimited unlimited processes Max open files 16384 16384 files Max locked memory 65536 65536 bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 127425 127425 signals Max msgqueue size 819200 819200 bytes Max nice priority 0 0 Max realtime priority 0 0 Max realtime timeout unlimited unlimited us Core pattern: |/usr/share/apport/apport %p %s %c %d %P %E 2021-02-09 9:32:02 0 [Warning] The parameter innodb_buffer_pool_instances is deprecated and has no effect. 2021-02-09 9:32:02 0 [Note] InnoDB: Using Linux native AIO 2021-02-09 9:32:02 0 [Note] InnoDB: Uses event mutexes 2021-02-09 9:32:02 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2021-02-09 9:32:02 0 [Note] InnoDB: Number of pools: 1 2021-02-09 9:32:02 0 [Note] InnoDB: Using SSE4.2 crc32 instructions 2021-02-09 9:32:02 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 2021-02-09 9:32:02 0 [Note] InnoDB: Initializing buffer pool, total size = 2147483648, chunk size = 134217728 2021-02-09 9:32:02 0 [Note] InnoDB: Completed initialization of buffer pool 2021-02-09 9:32:02 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2021-02-09 9:32:02 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=638714286 2021-02-09 9:32:02 0 [Note] InnoDB: Starting final batch to recover 22 pages from redo log. 2021-02-09 9:32:02 0 [Note] InnoDB: 128 rollback segments are active. 2021-02-09 9:32:02 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2021-02-09 9:32:02 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2021-02-09 9:32:02 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2021-02-09 9:32:02 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2021-02-09 9:32:02 0 [Note] InnoDB: 10.5.5 started; log sequence number 638715875; transaction id 329221 2021-02-09 9:32:02 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2021-02-09 9:32:02 0 [Note] Plugin 'FEEDBACK' is disabled. 2021-02-09 9:32:02 0 [Note] Server socket created on IP: '127.0.0.1'. 2021-02-09 9:32:02 0 [Note] InnoDB: Buffer pool(s) load completed at 210209 9:32:02 2021-02-09 9:32:03 0 [Note] Reading of all Master_info entries succeeded 2021-02-09 9:32:03 0 [Note] Added new Master_info '' to hash table 2021-02-09 9:32:03 0 [Note] /usr/sbin/mariadbd: ready for connections. Version: '10.5.5-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server 2021-02-09 9:34:53 40 [Warning] Access denied for user 'root'@'localhost' 2021-02-09 9:45:45 11 [Warning] Aborted connection 11 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:45:45 12 [Warning] Aborted connection 12 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:45:49 7 [Warning] Aborted connection 7 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:45:49 8 [Warning] Aborted connection 8 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:45:59 21 [Warning] Aborted connection 21 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:45:59 20 [Warning] Aborted connection 20 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:49:14 16 [Warning] Aborted connection 16 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:49:14 17 [Warning] Aborted connection 17 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:52:34 15 [Warning] Aborted connection 15 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:52:34 14 [Warning] Aborted connection 14 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:53:11 10 [Warning] Aborted connection 10 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:53:11 9 [Warning] Aborted connection 9 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 10:04:05 1347 [Warning] Aborted connection 1347 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 10:04:05 1346 [Warning] Aborted connection 1346 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) |
{code:java} 2021-02-09 9:03:11 0 [Note] /usr/sbin/mariadbd: ready for connections. Version: '10.5.5-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server 2021-02-09 9:13:05 48 [Warning] Aborted connection 48 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 210209 9:16:56 [ERROR] mysqld got signal 11 ; 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.5.5-MariaDB key_buffer_size=268435456 read_buffer_size=4194304 max_used_connections=40 max_threads=258 thread_count=41 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 2382111 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f3884000c58 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... stack_bottom = 0x7f397b43dbd8 thread_stack 0x49000 ??:0(my_print_stacktrace)[0x5641494f9dee] ??:0(handle_fatal_signal)[0x564148f84ec5] sigaction.c:0(__restore_rt)[0x7f397b1b0b20] ??:0(Create_tmp_table::finalize(THD*, TABLE*, TMP_TABLE_PARAM*, bool, bool))[0x564148dd790d] ??:0(create_tmp_table(THD*, TMP_TABLE_PARAM*, List<Item>&, st_order*, bool, bool, unsigned long long, unsigned long long, st_mysql_const_lex_string const*, bool, bool))[0x564148dd860d] ??:0(select_unit::create_result_table(THD*, List<Item>*, bool, unsigned long long, st_mysql_const_lex_string const*, bool, bool, bool, unsigned int))[0x564148e3978b] ??:0(Select_materialize::send_result_set_metadata(List<Item>&, unsigned int))[0x564148d503c3] ??:0(JOIN::exec_inner())[0x564148df2eca] ??:0(JOIN::exec())[0x564148df3c17] ??:0(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*))[0x564148df1f02] ??:0(handle_select(THD*, LEX*, select_result*, unsigned long))[0x564148df27eb] ??:0(LEX::mark_first_table_as_inserting())[0x564148d90eed] ??:0(mysql_execute_command(THD*))[0x564148d98fbe] ??:0(mysql_open_cursor(THD*, select_result*, Server_side_cursor**))[0x564148d506bc] ??:0(Prepared_statement::execute(String*, bool))[0x564148dada1e] ??:0(Prepared_statement::execute_loop(String*, bool, unsigned char*, unsigned char*))[0x564148dadde2] ??:0(Prepared_statement::execute_bulk_loop(String*, bool, unsigned char*, unsigned char*))[0x564148daeb35] ??:0(mysqld_stmt_execute(THD*, char*, unsigned int))[0x564148daebd5] ??:0(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x564148d95512] ??:0(do_command(THD*))[0x564148d9724f] ??:0(do_handle_one_connection(CONNECT*, bool))[0x564148e86bf1] ??:0(handle_one_connection)[0x564148e86f7d] ??:0(MyCTX_nopad::finish(unsigned char*, unsigned int*))[0x5641491a3d5a] pthread_create.c:0(start_thread)[0x7f397b1a614a] :0(__GI___clone)[0x7f397900ff23] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7f3884012770): select 774_study.patientID AS patientID, 774_patient.patientStatus AS patientStatus, 774_patient.pid AS pid, 774_patient.pname AS pname, 774_patient.dob AS dob, 774_patient.sex AS sex, 774_study.received AS received, 774_study.sdate AS sdate, 774_study.stime AS stime, 774_study.modality AS modality, 774_study.refphys AS refphys, 774_study.numimages AS numimages, 774_study.numsnapshots AS numsnapshots, 774_study.numattachments AS numattachments, 774_study.sdesc AS sdesc, 774_study.backedup AS backedup, 774_study.modified AS modified, 774_study.siuid AS siuid, 774_study.institution AS institution, 774_study.bodypart AS bodypart, 774_study.tsuid AS tsuid, 774_study.acnum AS acnum from 774_study left join 774_patient on 774_study.patientID = 774_patient.patientID where exists (select pname from 774_patient where pname like 'maae%^fiam%^%^%^%') and 774_patient.pname in (select pname from 774_patient where pname like 'maae%^fiam%^%^%^%') order by received desc limit 0,50 Connection ID (thread ID): 3 Status: NOT_KILLED Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=on,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on,condition_pushdown_for_subquery=on,rowid_filter=on,condition_pushdown_from_having=on,not_null_range_scan=off The manual page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mysqld/ contains information that should help you find out what is causing the crash. Writing a core file... Working directory at /var/lib/mysql Resource Limits: Limit Soft Limit Hard Limit Units Max cpu time unlimited unlimited seconds Max file size unlimited unlimited bytes Max data size unlimited unlimited bytes Max stack size 8388608 unlimited bytes Max core file size unlimited unlimited bytes Max resident set unlimited unlimited bytes Max processes unlimited unlimited processes Max open files 16384 16384 files Max locked memory 65536 65536 bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 127425 127425 signals Max msgqueue size 819200 819200 bytes Max nice priority 0 0 Max realtime priority 0 0 Max realtime timeout unlimited unlimited us Core pattern: |/usr/share/apport/apport %p %s %c %d %P %E 2021-02-09 9:32:02 0 [Warning] The parameter innodb_buffer_pool_instances is deprecated and has no effect. 2021-02-09 9:32:02 0 [Note] InnoDB: Using Linux native AIO 2021-02-09 9:32:02 0 [Note] InnoDB: Uses event mutexes 2021-02-09 9:32:02 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2021-02-09 9:32:02 0 [Note] InnoDB: Number of pools: 1 2021-02-09 9:32:02 0 [Note] InnoDB: Using SSE4.2 crc32 instructions 2021-02-09 9:32:02 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 2021-02-09 9:32:02 0 [Note] InnoDB: Initializing buffer pool, total size = 2147483648, chunk size = 134217728 2021-02-09 9:32:02 0 [Note] InnoDB: Completed initialization of buffer pool 2021-02-09 9:32:02 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2021-02-09 9:32:02 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=638714286 2021-02-09 9:32:02 0 [Note] InnoDB: Starting final batch to recover 22 pages from redo log. 2021-02-09 9:32:02 0 [Note] InnoDB: 128 rollback segments are active. 2021-02-09 9:32:02 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2021-02-09 9:32:02 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2021-02-09 9:32:02 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2021-02-09 9:32:02 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2021-02-09 9:32:02 0 [Note] InnoDB: 10.5.5 started; log sequence number 638715875; transaction id 329221 2021-02-09 9:32:02 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2021-02-09 9:32:02 0 [Note] Plugin 'FEEDBACK' is disabled. 2021-02-09 9:32:02 0 [Note] Server socket created on IP: '127.0.0.1'. 2021-02-09 9:32:02 0 [Note] InnoDB: Buffer pool(s) load completed at 210209 9:32:02 2021-02-09 9:32:03 0 [Note] Reading of all Master_info entries succeeded 2021-02-09 9:32:03 0 [Note] Added new Master_info '' to hash table 2021-02-09 9:32:03 0 [Note] /usr/sbin/mariadbd: ready for connections. Version: '10.5.5-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server 2021-02-09 9:34:53 40 [Warning] Access denied for user 'root'@'localhost' 2021-02-09 9:45:45 11 [Warning] Aborted connection 11 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:45:45 12 [Warning] Aborted connection 12 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:45:49 7 [Warning] Aborted connection 7 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:45:49 8 [Warning] Aborted connection 8 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:45:59 21 [Warning] Aborted connection 21 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:45:59 20 [Warning] Aborted connection 20 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:49:14 16 [Warning] Aborted connection 16 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:49:14 17 [Warning] Aborted connection 17 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:52:34 15 [Warning] Aborted connection 15 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:52:34 14 [Warning] Aborted connection 14 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:53:11 10 [Warning] Aborted connection 10 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:53:11 9 [Warning] Aborted connection 9 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 10:04:05 1347 [Warning] Aborted connection 1347 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 10:04:05 1346 [Warning] Aborted connection 1346 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) {code} |
Description |
{code:java} 2021-02-09 9:03:11 0 [Note] /usr/sbin/mariadbd: ready for connections. Version: '10.5.5-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server 2021-02-09 9:13:05 48 [Warning] Aborted connection 48 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 210209 9:16:56 [ERROR] mysqld got signal 11 ; 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.5.5-MariaDB key_buffer_size=268435456 read_buffer_size=4194304 max_used_connections=40 max_threads=258 thread_count=41 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 2382111 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f3884000c58 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... stack_bottom = 0x7f397b43dbd8 thread_stack 0x49000 ??:0(my_print_stacktrace)[0x5641494f9dee] ??:0(handle_fatal_signal)[0x564148f84ec5] sigaction.c:0(__restore_rt)[0x7f397b1b0b20] ??:0(Create_tmp_table::finalize(THD*, TABLE*, TMP_TABLE_PARAM*, bool, bool))[0x564148dd790d] ??:0(create_tmp_table(THD*, TMP_TABLE_PARAM*, List<Item>&, st_order*, bool, bool, unsigned long long, unsigned long long, st_mysql_const_lex_string const*, bool, bool))[0x564148dd860d] ??:0(select_unit::create_result_table(THD*, List<Item>*, bool, unsigned long long, st_mysql_const_lex_string const*, bool, bool, bool, unsigned int))[0x564148e3978b] ??:0(Select_materialize::send_result_set_metadata(List<Item>&, unsigned int))[0x564148d503c3] ??:0(JOIN::exec_inner())[0x564148df2eca] ??:0(JOIN::exec())[0x564148df3c17] ??:0(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*))[0x564148df1f02] ??:0(handle_select(THD*, LEX*, select_result*, unsigned long))[0x564148df27eb] ??:0(LEX::mark_first_table_as_inserting())[0x564148d90eed] ??:0(mysql_execute_command(THD*))[0x564148d98fbe] ??:0(mysql_open_cursor(THD*, select_result*, Server_side_cursor**))[0x564148d506bc] ??:0(Prepared_statement::execute(String*, bool))[0x564148dada1e] ??:0(Prepared_statement::execute_loop(String*, bool, unsigned char*, unsigned char*))[0x564148dadde2] ??:0(Prepared_statement::execute_bulk_loop(String*, bool, unsigned char*, unsigned char*))[0x564148daeb35] ??:0(mysqld_stmt_execute(THD*, char*, unsigned int))[0x564148daebd5] ??:0(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x564148d95512] ??:0(do_command(THD*))[0x564148d9724f] ??:0(do_handle_one_connection(CONNECT*, bool))[0x564148e86bf1] ??:0(handle_one_connection)[0x564148e86f7d] ??:0(MyCTX_nopad::finish(unsigned char*, unsigned int*))[0x5641491a3d5a] pthread_create.c:0(start_thread)[0x7f397b1a614a] :0(__GI___clone)[0x7f397900ff23] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7f3884012770): select 774_study.patientID AS patientID, 774_patient.patientStatus AS patientStatus, 774_patient.pid AS pid, 774_patient.pname AS pname, 774_patient.dob AS dob, 774_patient.sex AS sex, 774_study.received AS received, 774_study.sdate AS sdate, 774_study.stime AS stime, 774_study.modality AS modality, 774_study.refphys AS refphys, 774_study.numimages AS numimages, 774_study.numsnapshots AS numsnapshots, 774_study.numattachments AS numattachments, 774_study.sdesc AS sdesc, 774_study.backedup AS backedup, 774_study.modified AS modified, 774_study.siuid AS siuid, 774_study.institution AS institution, 774_study.bodypart AS bodypart, 774_study.tsuid AS tsuid, 774_study.acnum AS acnum from 774_study left join 774_patient on 774_study.patientID = 774_patient.patientID where exists (select pname from 774_patient where pname like 'maae%^fiam%^%^%^%') and 774_patient.pname in (select pname from 774_patient where pname like 'maae%^fiam%^%^%^%') order by received desc limit 0,50 Connection ID (thread ID): 3 Status: NOT_KILLED Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=on,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on,condition_pushdown_for_subquery=on,rowid_filter=on,condition_pushdown_from_having=on,not_null_range_scan=off The manual page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mysqld/ contains information that should help you find out what is causing the crash. Writing a core file... Working directory at /var/lib/mysql Resource Limits: Limit Soft Limit Hard Limit Units Max cpu time unlimited unlimited seconds Max file size unlimited unlimited bytes Max data size unlimited unlimited bytes Max stack size 8388608 unlimited bytes Max core file size unlimited unlimited bytes Max resident set unlimited unlimited bytes Max processes unlimited unlimited processes Max open files 16384 16384 files Max locked memory 65536 65536 bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 127425 127425 signals Max msgqueue size 819200 819200 bytes Max nice priority 0 0 Max realtime priority 0 0 Max realtime timeout unlimited unlimited us Core pattern: |/usr/share/apport/apport %p %s %c %d %P %E 2021-02-09 9:32:02 0 [Warning] The parameter innodb_buffer_pool_instances is deprecated and has no effect. 2021-02-09 9:32:02 0 [Note] InnoDB: Using Linux native AIO 2021-02-09 9:32:02 0 [Note] InnoDB: Uses event mutexes 2021-02-09 9:32:02 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2021-02-09 9:32:02 0 [Note] InnoDB: Number of pools: 1 2021-02-09 9:32:02 0 [Note] InnoDB: Using SSE4.2 crc32 instructions 2021-02-09 9:32:02 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 2021-02-09 9:32:02 0 [Note] InnoDB: Initializing buffer pool, total size = 2147483648, chunk size = 134217728 2021-02-09 9:32:02 0 [Note] InnoDB: Completed initialization of buffer pool 2021-02-09 9:32:02 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2021-02-09 9:32:02 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=638714286 2021-02-09 9:32:02 0 [Note] InnoDB: Starting final batch to recover 22 pages from redo log. 2021-02-09 9:32:02 0 [Note] InnoDB: 128 rollback segments are active. 2021-02-09 9:32:02 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2021-02-09 9:32:02 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2021-02-09 9:32:02 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2021-02-09 9:32:02 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2021-02-09 9:32:02 0 [Note] InnoDB: 10.5.5 started; log sequence number 638715875; transaction id 329221 2021-02-09 9:32:02 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2021-02-09 9:32:02 0 [Note] Plugin 'FEEDBACK' is disabled. 2021-02-09 9:32:02 0 [Note] Server socket created on IP: '127.0.0.1'. 2021-02-09 9:32:02 0 [Note] InnoDB: Buffer pool(s) load completed at 210209 9:32:02 2021-02-09 9:32:03 0 [Note] Reading of all Master_info entries succeeded 2021-02-09 9:32:03 0 [Note] Added new Master_info '' to hash table 2021-02-09 9:32:03 0 [Note] /usr/sbin/mariadbd: ready for connections. Version: '10.5.5-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server 2021-02-09 9:34:53 40 [Warning] Access denied for user 'root'@'localhost' 2021-02-09 9:45:45 11 [Warning] Aborted connection 11 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:45:45 12 [Warning] Aborted connection 12 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:45:49 7 [Warning] Aborted connection 7 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:45:49 8 [Warning] Aborted connection 8 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:45:59 21 [Warning] Aborted connection 21 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:45:59 20 [Warning] Aborted connection 20 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:49:14 16 [Warning] Aborted connection 16 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:49:14 17 [Warning] Aborted connection 17 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:52:34 15 [Warning] Aborted connection 15 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:52:34 14 [Warning] Aborted connection 14 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:53:11 10 [Warning] Aborted connection 10 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:53:11 9 [Warning] Aborted connection 9 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 10:04:05 1347 [Warning] Aborted connection 1347 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 10:04:05 1346 [Warning] Aborted connection 1346 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) {code} |
{noformat} 2021-02-09 9:03:11 0 [Note] /usr/sbin/mariadbd: ready for connections. Version: '10.5.5-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server 2021-02-09 9:13:05 48 [Warning] Aborted connection 48 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 210209 9:16:56 [ERROR] mysqld got signal 11 ; 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.5.5-MariaDB key_buffer_size=268435456 read_buffer_size=4194304 max_used_connections=40 max_threads=258 thread_count=41 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 2382111 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f3884000c58 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... stack_bottom = 0x7f397b43dbd8 thread_stack 0x49000 ??:0(my_print_stacktrace)[0x5641494f9dee] ??:0(handle_fatal_signal)[0x564148f84ec5] sigaction.c:0(__restore_rt)[0x7f397b1b0b20] ??:0(Create_tmp_table::finalize(THD*, TABLE*, TMP_TABLE_PARAM*, bool, bool))[0x564148dd790d] ??:0(create_tmp_table(THD*, TMP_TABLE_PARAM*, List<Item>&, st_order*, bool, bool, unsigned long long, unsigned long long, st_mysql_const_lex_string const*, bool, bool))[0x564148dd860d] ??:0(select_unit::create_result_table(THD*, List<Item>*, bool, unsigned long long, st_mysql_const_lex_string const*, bool, bool, bool, unsigned int))[0x564148e3978b] ??:0(Select_materialize::send_result_set_metadata(List<Item>&, unsigned int))[0x564148d503c3] ??:0(JOIN::exec_inner())[0x564148df2eca] ??:0(JOIN::exec())[0x564148df3c17] ??:0(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*))[0x564148df1f02] ??:0(handle_select(THD*, LEX*, select_result*, unsigned long))[0x564148df27eb] ??:0(LEX::mark_first_table_as_inserting())[0x564148d90eed] ??:0(mysql_execute_command(THD*))[0x564148d98fbe] ??:0(mysql_open_cursor(THD*, select_result*, Server_side_cursor**))[0x564148d506bc] ??:0(Prepared_statement::execute(String*, bool))[0x564148dada1e] ??:0(Prepared_statement::execute_loop(String*, bool, unsigned char*, unsigned char*))[0x564148dadde2] ??:0(Prepared_statement::execute_bulk_loop(String*, bool, unsigned char*, unsigned char*))[0x564148daeb35] ??:0(mysqld_stmt_execute(THD*, char*, unsigned int))[0x564148daebd5] ??:0(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x564148d95512] ??:0(do_command(THD*))[0x564148d9724f] ??:0(do_handle_one_connection(CONNECT*, bool))[0x564148e86bf1] ??:0(handle_one_connection)[0x564148e86f7d] ??:0(MyCTX_nopad::finish(unsigned char*, unsigned int*))[0x5641491a3d5a] pthread_create.c:0(start_thread)[0x7f397b1a614a] :0(__GI___clone)[0x7f397900ff23] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7f3884012770): select 774_study.patientID AS patientID, 774_patient.patientStatus AS patientStatus, 774_patient.pid AS pid, 774_patient.pname AS pname, 774_patient.dob AS dob, 774_patient.sex AS sex, 774_study.received AS received, 774_study.sdate AS sdate, 774_study.stime AS stime, 774_study.modality AS modality, 774_study.refphys AS refphys, 774_study.numimages AS numimages, 774_study.numsnapshots AS numsnapshots, 774_study.numattachments AS numattachments, 774_study.sdesc AS sdesc, 774_study.backedup AS backedup, 774_study.modified AS modified, 774_study.siuid AS siuid, 774_study.institution AS institution, 774_study.bodypart AS bodypart, 774_study.tsuid AS tsuid, 774_study.acnum AS acnum from 774_study left join 774_patient on 774_study.patientID = 774_patient.patientID where exists (select pname from 774_patient where pname like 'maae%^fiam%^%^%^%') and 774_patient.pname in (select pname from 774_patient where pname like 'maae%^fiam%^%^%^%') order by received desc limit 0,50 Connection ID (thread ID): 3 Status: NOT_KILLED Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=on,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on,condition_pushdown_for_subquery=on,rowid_filter=on,condition_pushdown_from_having=on,not_null_range_scan=off The manual page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mysqld/ contains information that should help you find out what is causing the crash. Writing a core file... Working directory at /var/lib/mysql Resource Limits: Limit Soft Limit Hard Limit Units Max cpu time unlimited unlimited seconds Max file size unlimited unlimited bytes Max data size unlimited unlimited bytes Max stack size 8388608 unlimited bytes Max core file size unlimited unlimited bytes Max resident set unlimited unlimited bytes Max processes unlimited unlimited processes Max open files 16384 16384 files Max locked memory 65536 65536 bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 127425 127425 signals Max msgqueue size 819200 819200 bytes Max nice priority 0 0 Max realtime priority 0 0 Max realtime timeout unlimited unlimited us Core pattern: |/usr/share/apport/apport %p %s %c %d %P %E 2021-02-09 9:32:02 0 [Warning] The parameter innodb_buffer_pool_instances is deprecated and has no effect. 2021-02-09 9:32:02 0 [Note] InnoDB: Using Linux native AIO 2021-02-09 9:32:02 0 [Note] InnoDB: Uses event mutexes 2021-02-09 9:32:02 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2021-02-09 9:32:02 0 [Note] InnoDB: Number of pools: 1 2021-02-09 9:32:02 0 [Note] InnoDB: Using SSE4.2 crc32 instructions 2021-02-09 9:32:02 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 2021-02-09 9:32:02 0 [Note] InnoDB: Initializing buffer pool, total size = 2147483648, chunk size = 134217728 2021-02-09 9:32:02 0 [Note] InnoDB: Completed initialization of buffer pool 2021-02-09 9:32:02 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2021-02-09 9:32:02 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=638714286 2021-02-09 9:32:02 0 [Note] InnoDB: Starting final batch to recover 22 pages from redo log. 2021-02-09 9:32:02 0 [Note] InnoDB: 128 rollback segments are active. 2021-02-09 9:32:02 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2021-02-09 9:32:02 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2021-02-09 9:32:02 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2021-02-09 9:32:02 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2021-02-09 9:32:02 0 [Note] InnoDB: 10.5.5 started; log sequence number 638715875; transaction id 329221 2021-02-09 9:32:02 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2021-02-09 9:32:02 0 [Note] Plugin 'FEEDBACK' is disabled. 2021-02-09 9:32:02 0 [Note] Server socket created on IP: '127.0.0.1'. 2021-02-09 9:32:02 0 [Note] InnoDB: Buffer pool(s) load completed at 210209 9:32:02 2021-02-09 9:32:03 0 [Note] Reading of all Master_info entries succeeded 2021-02-09 9:32:03 0 [Note] Added new Master_info '' to hash table 2021-02-09 9:32:03 0 [Note] /usr/sbin/mariadbd: ready for connections. Version: '10.5.5-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server 2021-02-09 9:34:53 40 [Warning] Access denied for user 'root'@'localhost' 2021-02-09 9:45:45 11 [Warning] Aborted connection 11 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:45:45 12 [Warning] Aborted connection 12 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:45:49 7 [Warning] Aborted connection 7 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:45:49 8 [Warning] Aborted connection 8 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:45:59 21 [Warning] Aborted connection 21 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:45:59 20 [Warning] Aborted connection 20 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:49:14 16 [Warning] Aborted connection 16 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:49:14 17 [Warning] Aborted connection 17 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:52:34 15 [Warning] Aborted connection 15 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:52:34 14 [Warning] Aborted connection 14 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:53:11 10 [Warning] Aborted connection 10 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:53:11 9 [Warning] Aborted connection 9 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 10:04:05 1347 [Warning] Aborted connection 1347 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 10:04:05 1346 [Warning] Aborted connection 1346 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) {noformat} |
Affects Version/s | 10.5.5 [ 24423 ] |
Labels | crash |
Description |
{noformat} 2021-02-09 9:03:11 0 [Note] /usr/sbin/mariadbd: ready for connections. Version: '10.5.5-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server 2021-02-09 9:13:05 48 [Warning] Aborted connection 48 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 210209 9:16:56 [ERROR] mysqld got signal 11 ; 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.5.5-MariaDB key_buffer_size=268435456 read_buffer_size=4194304 max_used_connections=40 max_threads=258 thread_count=41 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 2382111 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f3884000c58 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... stack_bottom = 0x7f397b43dbd8 thread_stack 0x49000 ??:0(my_print_stacktrace)[0x5641494f9dee] ??:0(handle_fatal_signal)[0x564148f84ec5] sigaction.c:0(__restore_rt)[0x7f397b1b0b20] ??:0(Create_tmp_table::finalize(THD*, TABLE*, TMP_TABLE_PARAM*, bool, bool))[0x564148dd790d] ??:0(create_tmp_table(THD*, TMP_TABLE_PARAM*, List<Item>&, st_order*, bool, bool, unsigned long long, unsigned long long, st_mysql_const_lex_string const*, bool, bool))[0x564148dd860d] ??:0(select_unit::create_result_table(THD*, List<Item>*, bool, unsigned long long, st_mysql_const_lex_string const*, bool, bool, bool, unsigned int))[0x564148e3978b] ??:0(Select_materialize::send_result_set_metadata(List<Item>&, unsigned int))[0x564148d503c3] ??:0(JOIN::exec_inner())[0x564148df2eca] ??:0(JOIN::exec())[0x564148df3c17] ??:0(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*))[0x564148df1f02] ??:0(handle_select(THD*, LEX*, select_result*, unsigned long))[0x564148df27eb] ??:0(LEX::mark_first_table_as_inserting())[0x564148d90eed] ??:0(mysql_execute_command(THD*))[0x564148d98fbe] ??:0(mysql_open_cursor(THD*, select_result*, Server_side_cursor**))[0x564148d506bc] ??:0(Prepared_statement::execute(String*, bool))[0x564148dada1e] ??:0(Prepared_statement::execute_loop(String*, bool, unsigned char*, unsigned char*))[0x564148dadde2] ??:0(Prepared_statement::execute_bulk_loop(String*, bool, unsigned char*, unsigned char*))[0x564148daeb35] ??:0(mysqld_stmt_execute(THD*, char*, unsigned int))[0x564148daebd5] ??:0(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x564148d95512] ??:0(do_command(THD*))[0x564148d9724f] ??:0(do_handle_one_connection(CONNECT*, bool))[0x564148e86bf1] ??:0(handle_one_connection)[0x564148e86f7d] ??:0(MyCTX_nopad::finish(unsigned char*, unsigned int*))[0x5641491a3d5a] pthread_create.c:0(start_thread)[0x7f397b1a614a] :0(__GI___clone)[0x7f397900ff23] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7f3884012770): select 774_study.patientID AS patientID, 774_patient.patientStatus AS patientStatus, 774_patient.pid AS pid, 774_patient.pname AS pname, 774_patient.dob AS dob, 774_patient.sex AS sex, 774_study.received AS received, 774_study.sdate AS sdate, 774_study.stime AS stime, 774_study.modality AS modality, 774_study.refphys AS refphys, 774_study.numimages AS numimages, 774_study.numsnapshots AS numsnapshots, 774_study.numattachments AS numattachments, 774_study.sdesc AS sdesc, 774_study.backedup AS backedup, 774_study.modified AS modified, 774_study.siuid AS siuid, 774_study.institution AS institution, 774_study.bodypart AS bodypart, 774_study.tsuid AS tsuid, 774_study.acnum AS acnum from 774_study left join 774_patient on 774_study.patientID = 774_patient.patientID where exists (select pname from 774_patient where pname like 'maae%^fiam%^%^%^%') and 774_patient.pname in (select pname from 774_patient where pname like 'maae%^fiam%^%^%^%') order by received desc limit 0,50 Connection ID (thread ID): 3 Status: NOT_KILLED Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=on,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on,condition_pushdown_for_subquery=on,rowid_filter=on,condition_pushdown_from_having=on,not_null_range_scan=off The manual page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mysqld/ contains information that should help you find out what is causing the crash. Writing a core file... Working directory at /var/lib/mysql Resource Limits: Limit Soft Limit Hard Limit Units Max cpu time unlimited unlimited seconds Max file size unlimited unlimited bytes Max data size unlimited unlimited bytes Max stack size 8388608 unlimited bytes Max core file size unlimited unlimited bytes Max resident set unlimited unlimited bytes Max processes unlimited unlimited processes Max open files 16384 16384 files Max locked memory 65536 65536 bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 127425 127425 signals Max msgqueue size 819200 819200 bytes Max nice priority 0 0 Max realtime priority 0 0 Max realtime timeout unlimited unlimited us Core pattern: |/usr/share/apport/apport %p %s %c %d %P %E 2021-02-09 9:32:02 0 [Warning] The parameter innodb_buffer_pool_instances is deprecated and has no effect. 2021-02-09 9:32:02 0 [Note] InnoDB: Using Linux native AIO 2021-02-09 9:32:02 0 [Note] InnoDB: Uses event mutexes 2021-02-09 9:32:02 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2021-02-09 9:32:02 0 [Note] InnoDB: Number of pools: 1 2021-02-09 9:32:02 0 [Note] InnoDB: Using SSE4.2 crc32 instructions 2021-02-09 9:32:02 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 2021-02-09 9:32:02 0 [Note] InnoDB: Initializing buffer pool, total size = 2147483648, chunk size = 134217728 2021-02-09 9:32:02 0 [Note] InnoDB: Completed initialization of buffer pool 2021-02-09 9:32:02 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2021-02-09 9:32:02 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=638714286 2021-02-09 9:32:02 0 [Note] InnoDB: Starting final batch to recover 22 pages from redo log. 2021-02-09 9:32:02 0 [Note] InnoDB: 128 rollback segments are active. 2021-02-09 9:32:02 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2021-02-09 9:32:02 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2021-02-09 9:32:02 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2021-02-09 9:32:02 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2021-02-09 9:32:02 0 [Note] InnoDB: 10.5.5 started; log sequence number 638715875; transaction id 329221 2021-02-09 9:32:02 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2021-02-09 9:32:02 0 [Note] Plugin 'FEEDBACK' is disabled. 2021-02-09 9:32:02 0 [Note] Server socket created on IP: '127.0.0.1'. 2021-02-09 9:32:02 0 [Note] InnoDB: Buffer pool(s) load completed at 210209 9:32:02 2021-02-09 9:32:03 0 [Note] Reading of all Master_info entries succeeded 2021-02-09 9:32:03 0 [Note] Added new Master_info '' to hash table 2021-02-09 9:32:03 0 [Note] /usr/sbin/mariadbd: ready for connections. Version: '10.5.5-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server 2021-02-09 9:34:53 40 [Warning] Access denied for user 'root'@'localhost' 2021-02-09 9:45:45 11 [Warning] Aborted connection 11 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:45:45 12 [Warning] Aborted connection 12 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:45:49 7 [Warning] Aborted connection 7 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:45:49 8 [Warning] Aborted connection 8 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:45:59 21 [Warning] Aborted connection 21 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:45:59 20 [Warning] Aborted connection 20 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:49:14 16 [Warning] Aborted connection 16 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:49:14 17 [Warning] Aborted connection 17 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:52:34 15 [Warning] Aborted connection 15 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:52:34 14 [Warning] Aborted connection 14 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:53:11 10 [Warning] Aborted connection 10 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:53:11 9 [Warning] Aborted connection 9 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 10:04:05 1347 [Warning] Aborted connection 1347 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 10:04:05 1346 [Warning] Aborted connection 1346 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) {noformat} |
{noformat}
2021-02-09 9:03:11 0 [Note] /usr/sbin/mariadbd: ready for connections. Version: '10.5.5-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server 2021-02-09 9:13:05 48 [Warning] Aborted connection 48 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 210209 9:16:56 [ERROR] mysqld got signal 11 ; 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.5.5-MariaDB key_buffer_size=268435456 read_buffer_size=4194304 max_used_connections=40 max_threads=258 thread_count=41 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 2382111 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f3884000c58 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... stack_bottom = 0x7f397b43dbd8 thread_stack 0x49000 ??:0(my_print_stacktrace)[0x5641494f9dee] ??:0(handle_fatal_signal)[0x564148f84ec5] sigaction.c:0(__restore_rt)[0x7f397b1b0b20] ??:0(Create_tmp_table::finalize(THD*, TABLE*, TMP_TABLE_PARAM*, bool, bool))[0x564148dd790d] ??:0(create_tmp_table(THD*, TMP_TABLE_PARAM*, List<Item>&, st_order*, bool, bool, unsigned long long, unsigned long long, st_mysql_const_lex_string const*, bool, bool))[0x564148dd860d] ??:0(select_unit::create_result_table(THD*, List<Item>*, bool, unsigned long long, st_mysql_const_lex_string const*, bool, bool, bool, unsigned int))[0x564148e3978b] ??:0(Select_materialize::send_result_set_metadata(List<Item>&, unsigned int))[0x564148d503c3] ??:0(JOIN::exec_inner())[0x564148df2eca] ??:0(JOIN::exec())[0x564148df3c17] ??:0(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*))[0x564148df1f02] ??:0(handle_select(THD*, LEX*, select_result*, unsigned long))[0x564148df27eb] ??:0(LEX::mark_first_table_as_inserting())[0x564148d90eed] ??:0(mysql_execute_command(THD*))[0x564148d98fbe] ??:0(mysql_open_cursor(THD*, select_result*, Server_side_cursor**))[0x564148d506bc] ??:0(Prepared_statement::execute(String*, bool))[0x564148dada1e] ??:0(Prepared_statement::execute_loop(String*, bool, unsigned char*, unsigned char*))[0x564148dadde2] ??:0(Prepared_statement::execute_bulk_loop(String*, bool, unsigned char*, unsigned char*))[0x564148daeb35] ??:0(mysqld_stmt_execute(THD*, char*, unsigned int))[0x564148daebd5] ??:0(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x564148d95512] ??:0(do_command(THD*))[0x564148d9724f] ??:0(do_handle_one_connection(CONNECT*, bool))[0x564148e86bf1] ??:0(handle_one_connection)[0x564148e86f7d] ??:0(MyCTX_nopad::finish(unsigned char*, unsigned int*))[0x5641491a3d5a] pthread_create.c:0(start_thread)[0x7f397b1a614a] :0(__GI___clone)[0x7f397900ff23] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7f3884012770): select 774_study.patientID AS patientID, 774_patient.patientStatus AS patientStatus, 774_patient.pid AS pid, 774_patient.pname AS pname, 774_patient.dob AS dob, 774_patient.sex AS sex, 774_study.received AS received, 774_study.sdate AS sdate, 774_study.stime AS stime, 774_study.modality AS modality, 774_study.refphys AS refphys, 774_study.numimages AS numimages, 774_study.numsnapshots AS numsnapshots, 774_study.numattachments AS numattachments, 774_study.sdesc AS sdesc, 774_study.backedup AS backedup, 774_study.modified AS modified, 774_study.siuid AS siuid, 774_study.institution AS institution, 774_study.bodypart AS bodypart, 774_study.tsuid AS tsuid, 774_study.acnum AS acnum from 774_study left join 774_patient on 774_study.patientID = 774_patient.patientID where exists (select pname from 774_patient where pname like 'doe%^john%^%^%^%') and 774_patient.pname in (select pname from 774_patient where pname like 'doe%^john%^%^%^%') order by received desc limit 0,50 Connection ID (thread ID): 3 Status: NOT_KILLED Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=on,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on,condition_pushdown_for_subquery=on,rowid_filter=on,condition_pushdown_from_having=on,not_null_range_scan=off The manual page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mysqld/ contains information that should help you find out what is causing the crash. Writing a core file... Working directory at /var/lib/mysql Resource Limits: Limit Soft Limit Hard Limit Units Max cpu time unlimited unlimited seconds Max file size unlimited unlimited bytes Max data size unlimited unlimited bytes Max stack size 8388608 unlimited bytes Max core file size unlimited unlimited bytes Max resident set unlimited unlimited bytes Max processes unlimited unlimited processes Max open files 16384 16384 files Max locked memory 65536 65536 bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 127425 127425 signals Max msgqueue size 819200 819200 bytes Max nice priority 0 0 Max realtime priority 0 0 Max realtime timeout unlimited unlimited us Core pattern: |/usr/share/apport/apport %p %s %c %d %P %E 2021-02-09 9:32:02 0 [Warning] The parameter innodb_buffer_pool_instances is deprecated and has no effect. 2021-02-09 9:32:02 0 [Note] InnoDB: Using Linux native AIO 2021-02-09 9:32:02 0 [Note] InnoDB: Uses event mutexes 2021-02-09 9:32:02 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2021-02-09 9:32:02 0 [Note] InnoDB: Number of pools: 1 2021-02-09 9:32:02 0 [Note] InnoDB: Using SSE4.2 crc32 instructions 2021-02-09 9:32:02 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 2021-02-09 9:32:02 0 [Note] InnoDB: Initializing buffer pool, total size = 2147483648, chunk size = 134217728 2021-02-09 9:32:02 0 [Note] InnoDB: Completed initialization of buffer pool 2021-02-09 9:32:02 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2021-02-09 9:32:02 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=638714286 2021-02-09 9:32:02 0 [Note] InnoDB: Starting final batch to recover 22 pages from redo log. 2021-02-09 9:32:02 0 [Note] InnoDB: 128 rollback segments are active. 2021-02-09 9:32:02 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2021-02-09 9:32:02 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2021-02-09 9:32:02 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2021-02-09 9:32:02 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2021-02-09 9:32:02 0 [Note] InnoDB: 10.5.5 started; log sequence number 638715875; transaction id 329221 2021-02-09 9:32:02 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2021-02-09 9:32:02 0 [Note] Plugin 'FEEDBACK' is disabled. 2021-02-09 9:32:02 0 [Note] Server socket created on IP: '127.0.0.1'. 2021-02-09 9:32:02 0 [Note] InnoDB: Buffer pool(s) load completed at 210209 9:32:02 2021-02-09 9:32:03 0 [Note] Reading of all Master_info entries succeeded 2021-02-09 9:32:03 0 [Note] Added new Master_info '' to hash table 2021-02-09 9:32:03 0 [Note] /usr/sbin/mariadbd: ready for connections. Version: '10.5.5-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server 2021-02-09 9:34:53 40 [Warning] Access denied for user 'root'@'localhost' 2021-02-09 9:45:45 11 [Warning] Aborted connection 11 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:45:45 12 [Warning] Aborted connection 12 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:45:49 7 [Warning] Aborted connection 7 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:45:49 8 [Warning] Aborted connection 8 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:45:59 21 [Warning] Aborted connection 21 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:45:59 20 [Warning] Aborted connection 20 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:49:14 16 [Warning] Aborted connection 16 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:49:14 17 [Warning] Aborted connection 17 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:52:34 15 [Warning] Aborted connection 15 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:52:34 14 [Warning] Aborted connection 14 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:53:11 10 [Warning] Aborted connection 10 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:53:11 9 [Warning] Aborted connection 9 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 10:04:05 1347 [Warning] Aborted connection 1347 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 10:04:05 1346 [Warning] Aborted connection 1346 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) {noformat} |
Description |
{noformat}
2021-02-09 9:03:11 0 [Note] /usr/sbin/mariadbd: ready for connections. Version: '10.5.5-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server 2021-02-09 9:13:05 48 [Warning] Aborted connection 48 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 210209 9:16:56 [ERROR] mysqld got signal 11 ; 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.5.5-MariaDB key_buffer_size=268435456 read_buffer_size=4194304 max_used_connections=40 max_threads=258 thread_count=41 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 2382111 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f3884000c58 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... stack_bottom = 0x7f397b43dbd8 thread_stack 0x49000 ??:0(my_print_stacktrace)[0x5641494f9dee] ??:0(handle_fatal_signal)[0x564148f84ec5] sigaction.c:0(__restore_rt)[0x7f397b1b0b20] ??:0(Create_tmp_table::finalize(THD*, TABLE*, TMP_TABLE_PARAM*, bool, bool))[0x564148dd790d] ??:0(create_tmp_table(THD*, TMP_TABLE_PARAM*, List<Item>&, st_order*, bool, bool, unsigned long long, unsigned long long, st_mysql_const_lex_string const*, bool, bool))[0x564148dd860d] ??:0(select_unit::create_result_table(THD*, List<Item>*, bool, unsigned long long, st_mysql_const_lex_string const*, bool, bool, bool, unsigned int))[0x564148e3978b] ??:0(Select_materialize::send_result_set_metadata(List<Item>&, unsigned int))[0x564148d503c3] ??:0(JOIN::exec_inner())[0x564148df2eca] ??:0(JOIN::exec())[0x564148df3c17] ??:0(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*))[0x564148df1f02] ??:0(handle_select(THD*, LEX*, select_result*, unsigned long))[0x564148df27eb] ??:0(LEX::mark_first_table_as_inserting())[0x564148d90eed] ??:0(mysql_execute_command(THD*))[0x564148d98fbe] ??:0(mysql_open_cursor(THD*, select_result*, Server_side_cursor**))[0x564148d506bc] ??:0(Prepared_statement::execute(String*, bool))[0x564148dada1e] ??:0(Prepared_statement::execute_loop(String*, bool, unsigned char*, unsigned char*))[0x564148dadde2] ??:0(Prepared_statement::execute_bulk_loop(String*, bool, unsigned char*, unsigned char*))[0x564148daeb35] ??:0(mysqld_stmt_execute(THD*, char*, unsigned int))[0x564148daebd5] ??:0(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x564148d95512] ??:0(do_command(THD*))[0x564148d9724f] ??:0(do_handle_one_connection(CONNECT*, bool))[0x564148e86bf1] ??:0(handle_one_connection)[0x564148e86f7d] ??:0(MyCTX_nopad::finish(unsigned char*, unsigned int*))[0x5641491a3d5a] pthread_create.c:0(start_thread)[0x7f397b1a614a] :0(__GI___clone)[0x7f397900ff23] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7f3884012770): select 774_study.patientID AS patientID, 774_patient.patientStatus AS patientStatus, 774_patient.pid AS pid, 774_patient.pname AS pname, 774_patient.dob AS dob, 774_patient.sex AS sex, 774_study.received AS received, 774_study.sdate AS sdate, 774_study.stime AS stime, 774_study.modality AS modality, 774_study.refphys AS refphys, 774_study.numimages AS numimages, 774_study.numsnapshots AS numsnapshots, 774_study.numattachments AS numattachments, 774_study.sdesc AS sdesc, 774_study.backedup AS backedup, 774_study.modified AS modified, 774_study.siuid AS siuid, 774_study.institution AS institution, 774_study.bodypart AS bodypart, 774_study.tsuid AS tsuid, 774_study.acnum AS acnum from 774_study left join 774_patient on 774_study.patientID = 774_patient.patientID where exists (select pname from 774_patient where pname like 'doe%^john%^%^%^%') and 774_patient.pname in (select pname from 774_patient where pname like 'doe%^john%^%^%^%') order by received desc limit 0,50 Connection ID (thread ID): 3 Status: NOT_KILLED Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=on,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on,condition_pushdown_for_subquery=on,rowid_filter=on,condition_pushdown_from_having=on,not_null_range_scan=off The manual page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mysqld/ contains information that should help you find out what is causing the crash. Writing a core file... Working directory at /var/lib/mysql Resource Limits: Limit Soft Limit Hard Limit Units Max cpu time unlimited unlimited seconds Max file size unlimited unlimited bytes Max data size unlimited unlimited bytes Max stack size 8388608 unlimited bytes Max core file size unlimited unlimited bytes Max resident set unlimited unlimited bytes Max processes unlimited unlimited processes Max open files 16384 16384 files Max locked memory 65536 65536 bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 127425 127425 signals Max msgqueue size 819200 819200 bytes Max nice priority 0 0 Max realtime priority 0 0 Max realtime timeout unlimited unlimited us Core pattern: |/usr/share/apport/apport %p %s %c %d %P %E 2021-02-09 9:32:02 0 [Warning] The parameter innodb_buffer_pool_instances is deprecated and has no effect. 2021-02-09 9:32:02 0 [Note] InnoDB: Using Linux native AIO 2021-02-09 9:32:02 0 [Note] InnoDB: Uses event mutexes 2021-02-09 9:32:02 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2021-02-09 9:32:02 0 [Note] InnoDB: Number of pools: 1 2021-02-09 9:32:02 0 [Note] InnoDB: Using SSE4.2 crc32 instructions 2021-02-09 9:32:02 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 2021-02-09 9:32:02 0 [Note] InnoDB: Initializing buffer pool, total size = 2147483648, chunk size = 134217728 2021-02-09 9:32:02 0 [Note] InnoDB: Completed initialization of buffer pool 2021-02-09 9:32:02 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2021-02-09 9:32:02 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=638714286 2021-02-09 9:32:02 0 [Note] InnoDB: Starting final batch to recover 22 pages from redo log. 2021-02-09 9:32:02 0 [Note] InnoDB: 128 rollback segments are active. 2021-02-09 9:32:02 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2021-02-09 9:32:02 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2021-02-09 9:32:02 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2021-02-09 9:32:02 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2021-02-09 9:32:02 0 [Note] InnoDB: 10.5.5 started; log sequence number 638715875; transaction id 329221 2021-02-09 9:32:02 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2021-02-09 9:32:02 0 [Note] Plugin 'FEEDBACK' is disabled. 2021-02-09 9:32:02 0 [Note] Server socket created on IP: '127.0.0.1'. 2021-02-09 9:32:02 0 [Note] InnoDB: Buffer pool(s) load completed at 210209 9:32:02 2021-02-09 9:32:03 0 [Note] Reading of all Master_info entries succeeded 2021-02-09 9:32:03 0 [Note] Added new Master_info '' to hash table 2021-02-09 9:32:03 0 [Note] /usr/sbin/mariadbd: ready for connections. Version: '10.5.5-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server 2021-02-09 9:34:53 40 [Warning] Access denied for user 'root'@'localhost' 2021-02-09 9:45:45 11 [Warning] Aborted connection 11 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:45:45 12 [Warning] Aborted connection 12 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:45:49 7 [Warning] Aborted connection 7 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:45:49 8 [Warning] Aborted connection 8 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:45:59 21 [Warning] Aborted connection 21 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:45:59 20 [Warning] Aborted connection 20 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:49:14 16 [Warning] Aborted connection 16 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:49:14 17 [Warning] Aborted connection 17 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:52:34 15 [Warning] Aborted connection 15 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:52:34 14 [Warning] Aborted connection 14 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:53:11 10 [Warning] Aborted connection 10 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 9:53:11 9 [Warning] Aborted connection 9 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) 2021-02-09 10:04:05 1347 [Warning] Aborted connection 1347 to db: 'joints' user: 'admin' host: 'localhost' (Got an error reading communication packets) 2021-02-09 10:04:05 1346 [Warning] Aborted connection 1346 to db: 'joints' user: 'main' host: 'localhost' (Got an error reading communication packets) {noformat} |
{noformat}
2021-02-09 9:03:11 0 [Note] /usr/sbin/mariadbd: ready for connections. Version: '10.5.5-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server 2021-02-09 9:13:05 48 [Warning] Aborted connection 48 to db: 'primary' user: 'main' host: 'localhost' (Got an error reading communication packets) 210209 9:16:56 [ERROR] mysqld got signal 11 ; 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.5.5-MariaDB key_buffer_size=268435456 read_buffer_size=4194304 max_used_connections=40 max_threads=258 thread_count=41 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 2382111 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x7f3884000c58 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... stack_bottom = 0x7f397b43dbd8 thread_stack 0x49000 ??:0(my_print_stacktrace)[0x5641494f9dee] ??:0(handle_fatal_signal)[0x564148f84ec5] sigaction.c:0(__restore_rt)[0x7f397b1b0b20] ??:0(Create_tmp_table::finalize(THD*, TABLE*, TMP_TABLE_PARAM*, bool, bool))[0x564148dd790d] ??:0(create_tmp_table(THD*, TMP_TABLE_PARAM*, List<Item>&, st_order*, bool, bool, unsigned long long, unsigned long long, st_mysql_const_lex_string const*, bool, bool))[0x564148dd860d] ??:0(select_unit::create_result_table(THD*, List<Item>*, bool, unsigned long long, st_mysql_const_lex_string const*, bool, bool, bool, unsigned int))[0x564148e3978b] ??:0(Select_materialize::send_result_set_metadata(List<Item>&, unsigned int))[0x564148d503c3] ??:0(JOIN::exec_inner())[0x564148df2eca] ??:0(JOIN::exec())[0x564148df3c17] ??:0(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*))[0x564148df1f02] ??:0(handle_select(THD*, LEX*, select_result*, unsigned long))[0x564148df27eb] ??:0(LEX::mark_first_table_as_inserting())[0x564148d90eed] ??:0(mysql_execute_command(THD*))[0x564148d98fbe] ??:0(mysql_open_cursor(THD*, select_result*, Server_side_cursor**))[0x564148d506bc] ??:0(Prepared_statement::execute(String*, bool))[0x564148dada1e] ??:0(Prepared_statement::execute_loop(String*, bool, unsigned char*, unsigned char*))[0x564148dadde2] ??:0(Prepared_statement::execute_bulk_loop(String*, bool, unsigned char*, unsigned char*))[0x564148daeb35] ??:0(mysqld_stmt_execute(THD*, char*, unsigned int))[0x564148daebd5] ??:0(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x564148d95512] ??:0(do_command(THD*))[0x564148d9724f] ??:0(do_handle_one_connection(CONNECT*, bool))[0x564148e86bf1] ??:0(handle_one_connection)[0x564148e86f7d] ??:0(MyCTX_nopad::finish(unsigned char*, unsigned int*))[0x5641491a3d5a] pthread_create.c:0(start_thread)[0x7f397b1a614a] :0(__GI___clone)[0x7f397900ff23] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7f3884012770): select 774_study.patientID AS patientID, 774_patient.patientStatus AS patientStatus, 774_patient.pid AS pid, 774_patient.pname AS pname, 774_patient.dob AS dob, 774_patient.sex AS sex, 774_study.received AS received, 774_study.sdate AS sdate, 774_study.stime AS stime, 774_study.modality AS modality, 774_study.refphys AS refphys, 774_study.numimages AS numimages, 774_study.numsnapshots AS numsnapshots, 774_study.numattachments AS numattachments, 774_study.sdesc AS sdesc, 774_study.backedup AS backedup, 774_study.modified AS modified, 774_study.siuid AS siuid, 774_study.institution AS institution, 774_study.bodypart AS bodypart, 774_study.tsuid AS tsuid, 774_study.acnum AS acnum from 774_study left join 774_patient on 774_study.patientID = 774_patient.patientID where exists (select pname from 774_patient where pname like 'doe%^john%^%^%^%') and 774_patient.pname in (select pname from 774_patient where pname like 'doe%^john%^%^%^%') order by received desc limit 0,50 Connection ID (thread ID): 3 Status: NOT_KILLED Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=on,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on,condition_pushdown_for_subquery=on,rowid_filter=on,condition_pushdown_from_having=on,not_null_range_scan=off The manual page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mysqld/ contains information that should help you find out what is causing the crash. Writing a core file... Working directory at /var/lib/mysql Resource Limits: Limit Soft Limit Hard Limit Units Max cpu time unlimited unlimited seconds Max file size unlimited unlimited bytes Max data size unlimited unlimited bytes Max stack size 8388608 unlimited bytes Max core file size unlimited unlimited bytes Max resident set unlimited unlimited bytes Max processes unlimited unlimited processes Max open files 16384 16384 files Max locked memory 65536 65536 bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 127425 127425 signals Max msgqueue size 819200 819200 bytes Max nice priority 0 0 Max realtime priority 0 0 Max realtime timeout unlimited unlimited us Core pattern: |/usr/share/apport/apport %p %s %c %d %P %E 2021-02-09 9:32:02 0 [Warning] The parameter innodb_buffer_pool_instances is deprecated and has no effect. 2021-02-09 9:32:02 0 [Note] InnoDB: Using Linux native AIO 2021-02-09 9:32:02 0 [Note] InnoDB: Uses event mutexes 2021-02-09 9:32:02 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2021-02-09 9:32:02 0 [Note] InnoDB: Number of pools: 1 2021-02-09 9:32:02 0 [Note] InnoDB: Using SSE4.2 crc32 instructions 2021-02-09 9:32:02 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 2021-02-09 9:32:02 0 [Note] InnoDB: Initializing buffer pool, total size = 2147483648, chunk size = 134217728 2021-02-09 9:32:02 0 [Note] InnoDB: Completed initialization of buffer pool 2021-02-09 9:32:02 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2021-02-09 9:32:02 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=638714286 2021-02-09 9:32:02 0 [Note] InnoDB: Starting final batch to recover 22 pages from redo log. 2021-02-09 9:32:02 0 [Note] InnoDB: 128 rollback segments are active. 2021-02-09 9:32:02 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2021-02-09 9:32:02 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2021-02-09 9:32:02 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2021-02-09 9:32:02 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2021-02-09 9:32:02 0 [Note] InnoDB: 10.5.5 started; log sequence number 638715875; transaction id 329221 2021-02-09 9:32:02 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2021-02-09 9:32:02 0 [Note] Plugin 'FEEDBACK' is disabled. 2021-02-09 9:32:02 0 [Note] Server socket created on IP: '127.0.0.1'. 2021-02-09 9:32:02 0 [Note] InnoDB: Buffer pool(s) load completed at 210209 9:32:02 2021-02-09 9:32:03 0 [Note] Reading of all Master_info entries succeeded 2021-02-09 9:32:03 0 [Note] Added new Master_info '' to hash table 2021-02-09 9:32:03 0 [Note] /usr/sbin/mariadbd: ready for connections. Version: '10.5.5-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server {noformat} |
Affects Version/s | 10.5.8 [ 25023 ] |
Summary | MariaDB 10.5.5 crash signal 11 | MariaDB 10.5.5 crash signal 11 during a SELECT |
Summary | MariaDB 10.5.5 crash signal 11 during a SELECT | MariaDB 10.5.5 crash (sig 11) during a SELECT |
Attachment | mysqld_bt_all_threads.txt [ 56065 ] |
Attachment | mysqld_full_bt_all_threads.txt [ 56066 ] |
Attachment | mysqld_full_bt_all_threads-debug.txt [ 56090 ] |
Attachment | my.cnf [ 56091 ] |
Attachment | MDEV-24827.sql [ 56099 ] |
Labels | crash | crash need_feedback |
Component/s | Prepared Statements [ 10804 ] |
Assignee | Daniel Black [ danblack ] |
Fix Version/s | 10.5 [ 23123 ] |
Fix Version/s | N/A [ 14700 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Resolution | Incomplete [ 4 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Assignee | Daniel Black [ danblack ] | Elena Stepanova [ elenst ] |
Resolution | Incomplete [ 4 ] | |
Status | Closed [ 6 ] | Stalled [ 10000 ] |
Labels | crash need_feedback | crash |
Fix Version/s | 10.2 [ 14601 ] | |
Fix Version/s | 10.3 [ 22126 ] | |
Fix Version/s | 10.4 [ 22408 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Affects Version/s | 10.2 [ 14601 ] | |
Affects Version/s | 10.3 [ 22126 ] | |
Affects Version/s | 10.4 [ 22408 ] | |
Affects Version/s | 10.5 [ 23123 ] | |
Affects Version/s | 10.6 [ 24028 ] |
Fix Version/s | N/A [ 14700 ] | |
Assignee | Elena Stepanova [ elenst ] | Daniel Black [ danblack ] |
Assignee | Daniel Black [ danblack ] | Oleksandr Byelkin [ sanja ] |
Assignee | Oleksandr Byelkin [ sanja ] | Dmitry Shulga [ JIRAUSER47315 ] |
Workflow | MariaDB v3 [ 119012 ] | MariaDB v4 [ 143677 ] |
Affects Version/s | 10.7 [ 24805 ] |
Fix Version/s | 10.6 [ 24028 ] | |
Fix Version/s | 10.7 [ 24805 ] |
Priority | Major [ 3 ] | Critical [ 2 ] |
Status | Stalled [ 10000 ] | In Progress [ 3 ] |
Assignee | Dmitry Shulga [ JIRAUSER47315 ] | Oleksandr Byelkin [ sanja ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Assignee | Oleksandr Byelkin [ sanja ] | Dmitry Shulga [ JIRAUSER47315 ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Fix Version/s | 10.2.42 [ 26803 ] | |
Fix Version/s | 10.3.33 [ 26805 ] | |
Fix Version/s | 10.4.23 [ 26807 ] | |
Fix Version/s | 10.5.14 [ 26809 ] | |
Fix Version/s | 10.6.6 [ 26811 ] | |
Fix Version/s | 10.7.2 [ 26813 ] | |
Fix Version/s | 10.2 [ 14601 ] | |
Fix Version/s | 10.3 [ 22126 ] | |
Fix Version/s | 10.4 [ 22408 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Fix Version/s | 10.6 [ 24028 ] | |
Fix Version/s | 10.7 [ 24805 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Zendesk Related Tickets | 163512 190094 |
Our company has run into this issue and it is affecting a medical clinic customer of ours. Any direction you can help provide would be very much appreciated. Thank you.