$ mysqld --defaults-file=/tmp/crash_test/my.cnf --basedir=/usr --verbose 151129 23:37:33 [Note] mysqld (mysqld 10.0.22-MariaDB) starting as process 6541 ... 151129 23:37:33 [Note] InnoDB: Using mutexes to ref count buffer pool pages 151129 23:37:33 [Note] InnoDB: The InnoDB memory heap is disabled 151129 23:37:33 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 151129 23:37:33 [Note] InnoDB: Memory barrier is not used 151129 23:37:33 [Note] InnoDB: Compressed tables use zlib 1.2.8 151129 23:37:33 [Note] InnoDB: Using Linux native AIO 151129 23:37:33 [Note] InnoDB: Using CPU crc32 instructions 151129 23:37:33 [Note] InnoDB: Initializing buffer pool, size = 128.0M 151129 23:37:33 [Note] InnoDB: Completed initialization of buffer pool 151129 23:37:33 [Note] InnoDB: Highest supported file format is Barracuda. 151129 23:37:33 [Note] InnoDB: 128 rollback segment(s) are active. 151129 23:37:33 [Note] InnoDB: Waiting for purge to start 151129 23:37:33 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.26-74.0 started; log sequence number 1616717 151129 23:37:33 [Note] Plugin 'FEEDBACK' is disabled. 151129 23:37:33 [Note] Server socket created on IP: '::'. 151129 23:37:33 [Note] mysqld: ready for connections. Version: '10.0.22-MariaDB' socket: '/tmp/crash_test/sock.sock' port: 7878 MariaDB Server 151129 23:38:17 [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 http://kb.askmonty.org/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.0.22-MariaDB key_buffer_size=16777216 read_buffer_size=262144 max_used_connections=1 max_threads=153 thread_count=1 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 136891 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x0x7fec72012808 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 = 0x7fec93540e80 thread_stack 0x48000 addr2line: 'mysqld': No such file mysqld(my_print_stacktrace+0x3d)[0x55a6b9aa2b4d] mysqld(handle_fatal_signal+0x33d)[0x55a6b96199fd] /usr/lib/libpthread.so.0(+0x10d60)[0x7fec926b2d60] mysqld(_ZN10Item_field30enumerate_field_refs_processorEPh+0x5c)[0x55a6b962c94c] mysqld(_ZN9Item_func4walkEM4ItemFbPhEbS1_+0x6a)[0x55a6b9668efa] mysqld(_ZN9Item_func4walkEM4ItemFbPhEbS1_+0x6a)[0x55a6b9668efa] mysqld(_ZN9Item_func4walkEM4ItemFbPhEbS1_+0x6a)[0x55a6b9668efa] mysqld(_ZN9Item_func4walkEM4ItemFbPhEbS1_+0x6a)[0x55a6b9668efa] mysqld(_ZN8Item_ref10fix_fieldsEP3THDPP4Item+0xa7)[0x55a6b9639cc7] mysqld(_ZN10Item_field15fix_outer_fieldEP3THDPP5FieldPP4Item+0x29b)[0x55a6b9638b3b] mysqld(_ZN10Item_field10fix_fieldsEP3THDPP4Item+0x55a)[0x55a6b963995a] mysqld(_Z12setup_fieldsP3THDPP4ItemR4ListIS1_E17enum_mark_columnsPS5_b+0x117)[0x55a6b9477b57] mysqld(_ZN4JOIN7prepareEPPP4ItemP10TABLE_LISTjS1_jP8st_orderbS7_S1_S7_P13st_select_lexP18st_select_lex_unit+0x372)[0x55a6b9500262] mysqld(_ZN30subselect_single_select_engine7prepareEv+0x688)[0x55a6b9699468] mysqld(_ZN14Item_subselect10fix_fieldsEP3THDPP4Item+0xed)[0x55a6b969fffd] mysqld(_ZN9Item_func10fix_fieldsEP3THDPP4Item+0x1b3)[0x55a6b966cb53] mysqld(_ZN9Item_func10fix_fieldsEP3THDPP4Item+0x1b3)[0x55a6b966cb53] mysqld(_ZN9Item_func10fix_fieldsEP3THDPP4Item+0x1b3)[0x55a6b966cb53] mysqld(_Z12setup_fieldsP3THDPP4ItemR4ListIS1_E17enum_mark_columnsPS5_b+0x117)[0x55a6b9477b57] mysqld(_ZN4JOIN7prepareEPPP4ItemP10TABLE_LISTjS1_jP8st_orderbS7_S1_S7_P13st_select_lexP18st_select_lex_unit+0x372)[0x55a6b9500262] mysqld(_ZN18st_select_lex_unit7prepareEP3THDP13select_resultm+0x939)[0x55a6b954eaa9] mysqld(_Z21mysql_derived_prepareP3THDP3LEXP10TABLE_LIST+0x205)[0x55a6b9495cf5] mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0x188)[0x55a6b94970c8] mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x47)[0x55a6b94ae417] mysqld(_ZN4JOIN7prepareEPPP4ItemP10TABLE_LISTjS1_jP8st_orderbS7_S1_S7_P13st_select_lexP18st_select_lex_unit+0xdf)[0x55a6b94fffcf] mysqld(_Z12mysql_selectP3THDPPP4ItemP10TABLE_LISTjR4ListIS1_ES2_jP8st_orderSB_S2_SB_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x876)[0x55a6b950e3f6] mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x172)[0x55a6b950e5c2] mysqld(+0x3c1a19)[0x55a6b94b0a19] mysqld(_Z21mysql_execute_commandP3THD+0x5a09)[0x55a6b94bd109] mysqld(_ZN13sp_instr_stmt9exec_coreEP3THDPj+0x15)[0x55a6b970ff95] mysqld(_ZN13sp_lex_keeper23reset_lex_and_exec_coreEP3THDPjbP8sp_instr+0x83)[0x55a6b97163a3] mysqld(_ZN13sp_instr_stmt7executeEP3THDPj+0x175)[0x55a6b97168d5] mysqld(_ZN7sp_head7executeEP3THDb+0x76e)[0x55a6b9712eee] mysqld(_ZN7sp_head16execute_functionEP3THDPP4ItemjP5Field+0x54c)[0x55a6b9713a4c] mysqld(_ZN12Item_func_sp12execute_implEP3THD+0x13a)[0x55a6b9679e8a] mysqld(_ZN12Item_func_sp7executeEv+0x2b)[0x55a6b9679f5b] mysqld(_ZN12Item_func_sp7val_strEP6String+0x57)[0x55a6b967dbe7] mysqld(_ZN4Item4sendEP8ProtocolP6String+0x25f)[0x55a6b9628bcf] mysqld(_ZN8Protocol19send_result_set_rowEP4ListI4ItemE+0xd4)[0x55a6b9437174] mysqld(_ZN11select_send9send_dataER4ListI4ItemE+0x5b)[0x55a6b948da0b] mysqld(_ZN4JOIN10exec_innerEv+0x1318)[0x55a6b950fcc8] mysqld(_ZN4JOIN4execEv+0x11)[0x55a6b95110d1] mysqld(_Z12mysql_selectP3THDPPP4ItemP10TABLE_LISTjR4ListIS1_ES2_jP8st_orderSB_S2_SB_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x1f9)[0x55a6b950dd79] mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x172)[0x55a6b950e5c2] mysqld(+0x3c1a19)[0x55a6b94b0a19] mysqld(_Z21mysql_execute_commandP3THD+0x5a09)[0x55a6b94bd109] mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x1e2)[0x55a6b94bee32] mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x19f1)[0x55a6b94c0881] mysqld(_Z24do_handle_one_connectionP3THD+0x1e2)[0x55a6b9585482] mysqld(handle_one_connection+0x40)[0x55a6b9585520] /usr/lib/libpthread.so.0(+0x74a4)[0x7fec926a94a4] /usr/lib/libc.so.6(clone+0x6d)[0x7fec9147213d] Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x7fec6fafd210): select 1 into _campolivre from integracaobancaria_dadosboletoreceber dbr join financeiro_cobrancasreceber cr on cr.id=dbr.id_cobrancareceber join financeiro_contas conta on conta.id=cr.id_conta join financeiro_bancos banco on banco.id=conta.id_banco join financeiro_vwreceber j on j.id=cr.id_receber where dbr.id_cobrancareceber= NAME_CONST('_idCobranca',1) limit 1 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=off,table_elimination=on,extended_keys=on,exists_to_in=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.