[MDEV-15358] mysqld got signal 11 Created: 2018-02-20  Updated: 2020-11-15  Resolved: 2020-11-15

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - Connect
Affects Version/s: 10.2.12
Fix Version/s: N/A

Type: Bug Priority: Critical
Reporter: Na Yun Ho Assignee: Anel Husakovic
Resolution: Incomplete Votes: 1
Labels: connect-engine, need_feedback
Environment:

CentOS 7.4



 Description   

180215  6:28:29 [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.2.12-MariaDB-log
key_buffer_size=67108864
read_buffer_size=4194304
max_used_connections=300
max_threads=1025
thread_count=210
It is possible that mysqld could use up to 
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 8506069 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
 
Thread pointer: 0x7f4125878008
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 = 0x7f483a476dc8 thread_stack 0x49000
/data/mariadb/bin/mysqld(my_print_stacktrace+0x2b)[0x555c0142893b]
/data/mariadb/bin/mysqld(handle_fatal_signal+0x535)[0x555c00ef63d5]
/usr/lib64/libpthread.so.0(+0xf5e0)[0x7f486df845e0]
/data/odbc/instantclient_11_2_basic/libclntsh.so.11.1(lxgcnvb+0x129)[0x7f418d143641]
/data/odbc/instantclient_11_2_basic/libclntsh.so.11.1(lxgcnv+0xf)[0x7f418d13b6ef]
/data/odbc/instantclient_11_2_basic/libclntsh.so.11.1(+0x52f492)[0x7f418b598492]
/data/odbc/instantclient_11_2_basic/libclntsh.so.11.1(+0x52ec03)[0x7f418b597c03]
/data/odbc/instantclient_11_2_basic/libclntsh.so.11.1(+0x52a74d)[0x7f418b59374d]
/data/odbc/instantclient_11_2_basic/libclntsh.so.11.1(kpuauthxa+0x984)[0x7f418b5911ac]
/data/odbc/instantclient_11_2_basic/libclntsh.so.11.1(kpuauth+0x32)[0x7f418b59081a]
/data/odbc/instantclient_11_2_basic/libclntsh.so.11.1(OCISessionBegin+0x9)[0x7f418b51f3cd]
/usr/lib/oracle/11.2/client64/lib/libsqora.so.11.1(+0x47d03)[0x7f419d23fd03]
/usr/lib/oracle/11.2/client64/lib/libsqora.so.11.1(bcoSQLConnect+0x179f)[0x7f419d241857]
/usr/lib/oracle/11.2/client64/lib/libsqora.so.11.1(bcoSQLConnectCP+0x1582)[0x7f419d244aca]
/usr/lib/oracle/11.2/client64/lib/libsqora.so.11.1(bcoSQLDriverConnect+0x1229)[0x7f419d247927]
/usr/lib/oracle/11.2/client64/lib/libsqora.so.11.1(SQLDriverConnectW+0x1af)[0x7f419d27b023]
/lib64/libodbc.so.1(SQLDriverConnect+0xdb8)[0x7f4866a95c68]
/data/mariadb/lib64/plugin/ha_connect.so(_ZN7ODBConn13DriverConnectEj+0x63)[0x7f486717c8c3]
/data/mariadb/lib64/plugin/ha_connect.so(_ZN7ODBConn4OpenEPKcP10odbc_parmsj+0x5c)[0x7f486717c98c]
/data/mariadb/lib64/plugin/ha_connect.so(_ZN7TDBODBC6OpenDBEP7_global+0x6d)[0x7f48671770dd]
/data/mariadb/lib64/plugin/ha_connect.so(_Z12CntOpenTableP7_globalP3TDB4MODEPcS4_bP10ha_connect+0x297)[0x7f48670e9f57]
/data/mariadb/lib64/plugin/ha_connect.so(_ZN10ha_connect9OpenTableEP7_globalb+0x1b4)[0x7f48670dd7e4]
/data/mariadb/lib64/plugin/ha_connect.so(_ZN10ha_connect8rnd_initEb+0x131)[0x7f48670ddec1]
/data/mariadb/bin/mysqld(_ZN7handler22ha_rnd_init_with_errorEb+0x19)[0x555c00efbd09]
/data/mariadb/bin/mysqld(_Z8filesortP3THDP5TABLEP8FilesortP16Filesort_trackerP4JOINy+0xbac)[0x555c00ef4f5c]
/data/mariadb/bin/mysqld(_Z17create_sort_indexP3THDP4JOINP13st_join_tableP8Filesort+0xdf)[0x555c00db323f]
/data/mariadb/bin/mysqld(_ZN13st_join_table10sort_tableEv+0x73)[0x555c00db34d3]
/data/mariadb/bin/mysqld(_Z21join_init_read_recordP13st_join_table+0x2d)[0x555c00db353d]
/data/mariadb/bin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x169)[0x555c00daa279]
/data/mariadb/bin/mysqld(_ZN4JOIN10exec_innerEv+0x9f3)[0x555c00dc84a3]
/data/mariadb/bin/mysqld(_ZN4JOIN4execEv+0x3c)[0x555c00dc86cc]
/data/mariadb/bin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x12a)[0x555c00dc75ea]
/data/mariadb/bin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x1d4)[0x555c00dc88e4]
/data/mariadb/bin/mysqld(+0x453e00)[0x555c00cbae00]
/data/mariadb/bin/mysqld(_Z21mysql_execute_commandP3THD+0x3183)[0x555c00d777b3]
/data/mariadb/bin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x29a)[0x555c00d7cb6a]
/data/mariadb/bin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1cde)[0x555c00d7eede]
/data/mariadb/bin/mysqld(_Z10do_commandP3THD+0x14e)[0x555c00d7f48e]
/data/mariadb/bin/mysqld(_Z11tp_callbackP13TP_connection+0x67)[0x555c00e76427]
/data/mariadb/bin/mysqld(+0x668600)[0x555c00ecf600]
/usr/lib64/libpthread.so.0(+0x7e25)[0x7f486df7ce25]
/usr/lib64/libc.so.6(clone+0x6d)[0x7f486d6a034d]
 
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x7f41267e2020): is an invalid pointer
Connection ID (thread ID): 757448
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=on,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=off,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on
 
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.
 
We think the query pointer is invalid, but we will try to print it anyway. 
Query: select tx_id from ora_pw_t_maria_db_sync_004 where std_yn = 'N' and end_yn = 'N' order by seq
 
2018-02-15  6:28:36 140672166225792 [Note] CONNECT: Version 1.06.0005 October 14, 2017
2018-02-15  6:28:36 140672166225792 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-02-15  6:28:36 140672166225792 [Note] InnoDB: Uses event mutexes
2018-02-15  6:28:36 140672166225792 [Note] InnoDB: Compressed tables use zlib 1.2.3
2018-02-15  6:28:36 140672166225792 [Note] InnoDB: Using Linux native AIO
2018-02-15  6:28:36 140672166225792 [Note] InnoDB: Number of pools: 1
2018-02-15  6:28:36 140672166225792 [Note] InnoDB: Using SSE2 crc32 instructions
2018-02-15  6:28:36 140672166225792 [Note] InnoDB: Initializing buffer pool, total size = 24G, instances = 24, chunk size = 256M
2018-02-15  6:28:38 140672166225792 [Note] InnoDB: Completed initialization of buffer pool
2018-02-15  6:28:39 140642910721792 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2018-02-15  6:28:39 140672166225792 [Note] InnoDB: Highest supported file format is Barracuda.
2018-02-15  6:28:39 140672166225792 [Note] InnoDB: Starting crash recovery from checkpoint LSN=3406248602765
2018-02-15  6:28:43 140672166225792 [Note] InnoDB: Last binlog file '/data/mariadata/log/mysql-bin.000008', position 1129410413
2018-02-15  6:28:47 140672166225792 [Note] InnoDB: 128 out of 128 rollback segments are active.
2018-02-15  6:28:47 140672166225792 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2018-02-15  6:28:47 140672166225792 [Note] InnoDB: Creating shared tablespace for temporary tables
2018-02-15  6:28:47 140672166225792 [Note] InnoDB: Setting file '/data/mariadata/data/ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2018-02-15  6:28:47 140672166225792 [Note] InnoDB: File '/data/mariadata/data/ibtmp1' size is now 12 MB.
2018-02-15  6:28:47 140672166225792 [Note] InnoDB: Waiting for purge to start
2018-02-15  6:28:47 140672166225792 [Note] InnoDB: 5.7.20 started; log sequence number 3406248602774
2018-02-15  6:28:47 140642650908416 [Note] InnoDB: Loading buffer pool(s) from /data/mariadata/data/ib_buffer_pool
2018-02-15  6:28:47 140672166225792 [Note] Plugin 'FEEDBACK' is disabled.
180215  6:28:47 server_audit: MariaDB Audit Plugin version 1.4.3 STARTED.
2018-02-15  6:28:47 140672166225792 [Note] Semi-sync replication initialized for transactions.
2018-02-15  6:28:47 140672166225792 [Note] Semi-sync replication enabled on the master.
2018-02-15  6:28:47 140672166225792 [Note] Recovering after a crash using /data/mariadata/log/mysql-bin
2018-02-15  6:28:47 140672166225792 [Note] Starting crash recovery...
2018-02-15  6:28:47 140672166225792 [Note] Crash recovery finished.
2018-02-15  6:28:47 140672166225792 [Warning] Failed to create a socket for IPv6 '::': errno: 97.
2018-02-15  6:28:47 140672166225792 [Note] Server socket created on IP: '0.0.0.0'.
2018-02-15  6:28:48 140672166225792 [ERROR] mysqld: Table './mysql/event' is marked as crashed and should be repaired
2018-02-15  6:28:48 140672166225792 [ERROR] mysqld: Table 'event' is marked as crashed and should be repaired
2018-02-15  6:28:48 140672166225792 [Warning] Checking table:   './mysql/event'
2018-02-15  6:28:48 140672166225792 [ERROR] mysql.event: 1 client is using or hasn't closed the table properly
2018-02-15  6:28:48 140672164820736 [Note] Event Scheduler: scheduler thread started with id 7
2018-02-15  6:28:48 140672166225792 [Note] Reading of all Master_info entries succeded
2018-02-15  6:28:48 140672166225792 [Note] Added new Master_info '' to hash table
2018-02-15  6:28:48 140672166225792 [Note] /data/mariadb/bin/mysqld: ready for connections.
Version: '10.2.12-MariaDB-log'  socket: '/tmp/mysql.sock'  port: 3306  MariaDB Server
2018-02-15  6:28:51 140672112236288 [Warning] Aborted connection 23 to db: 'unconnected' user: 'unauthenticated' host: '169.56.117.11' (Got an error reading communication packets)
2018-02-15  6:28:55 140672133842688 [Note] Start binlog_dump to slave_server(2), pos(mysql-bin.000009, 385)
2018-02-15  6:28:55 140672133842688 [Note] Start semi-sync binlog_dump to slave (server_id: 2), pos(mysql-bin.000009, 385)



 Comments   
Comment by Olivier Bertrand [ 2018-02-20 ]

Please describe on what circumstance this occured (query, table, data etc.)

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