You are on page 1of 5

mariadb_1 | 161108 7:01:55 [ERROR] mysqld got signal 11 ;

mariadb_1 | This could be because you hit a bug. It is also


possible that this binary
mariadb_1 | or one of the libraries it was linked against is
corrupt, improperly built,
mariadb_1 | or misconfigured. This error can also be caused by
malfunctioning hardware.
mariadb_1 |
mariadb_1 | To report this bug, see
https://mariadb.com/kb/en/reporting-bugs
mariadb_1 |
mariadb_1 | We will try our best to scrape up some info that will
hopefully help
mariadb_1 | diagnose the problem, but since we have already
crashed,
mariadb_1 | something is definitely wrong and this may fail.
mariadb_1 |
mariadb_1 | Server version: 10.1.18-MariaDB-1~jessie
mariadb_1 | key_buffer_size=134217728
mariadb_1 | read_buffer_size=2097152
mariadb_1 | max_used_connections=96
mariadb_1 | max_threads=102
mariadb_1 | thread_count=19
mariadb_1 | It is possible that mysqld could use up to
mariadb_1 | key_buffer_size + (read_buffer_size +
sort_buffer_size)*max_threads = 759834 K bytes of memory
mariadb_1 | Hope that's ok; if not, decrease some variables in
the equation.
mariadb_1 |
mariadb_1 | Thread pointer: 0x0x7f51bd9cc008
mariadb_1 | Attempting backtrace. You can use the following
information to find out
mariadb_1 | where mysqld died. If you see no messages after
this, something went
mariadb_1 | terribly wrong...
mariadb_1 | stack_bottom = 0x7f51c64c61f8 thread_stack
0x48400
mariadb_1 | mysqld(my_print_stacktrace+0x2e)[0x7f51f783e2be]
mariadb_1 | mysqld(handle_fatal_signal+0x2d5)[0x7f51f737a785]
mariadb_1 | /lib/x86_64-linux-gnu/libpthread.so.0(+0xf8d0)
[0x7f51f69a48d0]
mariadb_1 | mysqld(_ZN4JOIN4execEv+0x11)[0x7f51f724d241]
mariadb_1 | mysqld(_ZN18st_select_lex_unit4execEv+0x824)
[0x7f51f728b664]
mariadb_1 |
mysqld(_Z11mysql_unionP3THDP3LEXP13select_resultP18st_select_l
ex_unitm+0x2d)[0x7f51f728e0cd]
mariadb_1 |
mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x59)
[0x7f51f724a339]
mariadb_1 | mysqld(+0x413491)[0x7f51f71e8491]
mariadb_1 |
mysqld(_Z21mysql_execute_commandP3THD+0x600a)
[0x7f51f71f454a]
mariadb_1 |
mysqld(_ZN13sp_instr_stmt9exec_coreEP3THDPj+0x15)
[0x7f51f7477fa5]
mariadb_1 |
mysqld(_ZN13sp_lex_keeper23reset_lex_and_exec_coreEP3THDPjbP8
sp_instr+0x83)[0x7f51f747f193]
mariadb_1 |
mysqld(_ZN13sp_instr_stmt7executeEP3THDPj+0x21c)
[0x7f51f747f75c]
mariadb_1 | mysqld(_ZN7sp_head7executeEP3THDb+0x76e)
[0x7f51f747b5ee]
mariadb_1 |
mysqld(_ZN7sp_head17execute_procedureEP3THDP4ListI4ItemE+0x
769)[0x7f51f747cdc9]
mariadb_1 | mysqld(+0x412fa6)[0x7f51f71e7fa6]
mariadb_1 |
mysqld(_Z21mysql_execute_commandP3THD+0x42c5)
[0x7f51f71f2805]
mariadb_1 |
mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x285)
[0x7f51f71f78b5]
mariadb_1 |
mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+
0x1c89)[0x7f51f71fa3e9]
mariadb_1 | mysqld(_Z10do_commandP3THD+0x16e)
[0x7f51f71fab2e]
mariadb_1 |
mysqld(_Z24do_handle_one_connectionP3THD+0x182)
[0x7f51f72c5022]
mariadb_1 | mysqld(handle_one_connection+0x40)
[0x7f51f72c51e0]
mariadb_1 | /lib/x86_64-linux-gnu/libpthread.so.0(+0x80a4)
[0x7f51f699d0a4]
mariadb_1 | /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)
[0x7f51f4b4762d]
mariadb_1 |
mariadb_1 | Trying to get some variables.
mariadb_1 | Some pointers may be invalid and cause the dump
to abort.
mariadb_1 | Query (0x7f51c60c1d10): SELECT 1 AS `rank`,
a.`reference`, fc_remove_sign( a.`reference`) code_ref,
COUNT(a.`lead_id`) AS `leads`, COUNT(IF(a.`type` =
'OPPORTUNITY', a.`lead_id`, NULL)) AS `opps`,
COUNT(IF(a.`contract_id` IS NOT NULL AND a.`total_months` = 0,
a.`lead_id`, NULL)) AS `x`, COUNT(IF(a.`contract_id` IS NOT NULL
AND a.`total_months` = 1, a.`lead_id`, NULL)) AS `x1`,
COUNT(IF(a.`contract_id` IS NOT NULL AND a.`total_months` = 2,
a.`lead_id`, NULL)) AS `x2`, COUNT(IF(a.`contract_id` IS NOT NULL
AND a.`total_months` = 3, a.`lead_id`, NULL)) AS `x3`,
COUNT(IF(a.`contract_id` IS NOT NULL AND a.`total_months` = 4,
a.`lead_id`, NULL)) AS `x4` FROM (SELECT
`fc_get_reference_name`(IFNULL(fl.`source_type`, vs.`source_type`),
vs.`source_reference`) AS `reference`, vs.`lead_id`, l.`type`,
c.`ID` AS `contract_id`, IF(c.`ID` IS NOT NULL,
`fc_get_total_months`(l.`created`, c.`date_created`), NULL) AS
`total_months` FROM `v_trial_service_sources` vs LEFT JOIN
`v_field_log_sources` fl ON vs.`lead_id` = fl.`lead_id` INNER
JOIN `crm_leads` l ON l.`ID` = vs.`lead_id` LEFT JOIN
`crm_contracts` c ON l.`ID` = c.`potential_id` AND
c.`total_price_internal` > 0 AND c.`website` = vs.`website`
WHERE vs.`lead_id` IS NOT NULL AND (fl.`source_type` = 2 OR
(fl.`source_type` IS NULL AND vs.`source_type` = 2)) AND
l.`service_id` = IF( NAME_CONST('p_service_id',NULL) IS NULL OR
NAME_CONST('p_service_id',NULL) = -1, l.`service_id`,
NAME_CONST('p_service_id',NULL)) AND l.`created` BETWEEN
NAME_CONST('_date_created_from',_latin1'2016-11-01' COLLATE
'latin1_swedish_ci') AND
NAME_CONST('_date_created_to',_latin1'2016-11-30' COLLATE
'latin1_swedish_ci') AND vs.`created` BETWEEN
NAME_CONST('_date_created_from',_latin1'2016-11-01' COLLATE
'latin1_swedish_ci') AND
NAME_CONST('_date_created_to',_latin1'2016-11-30' COLLATE
'latin1_swedish_ci')) a GROUP BY a.`reference` HAVING
a.`reference` = IFNULL( NAME_CONST('p_source_ref',NULL),
a.`reference`) UNION SELECT 1 AS `rank`, a.`reference`,
fc_remove_sign( a.`reference`) code_ref, COUNT(a.`lead_id`) AS
`leads`, COUNT(IF(a.`type` = 'OPPORTUNITY', a.`lead_id`, NULL))
AS `opps`, COUNT(IF(a.`contract_id` IS NOT NULL AND
a.`total_months` = 0, a.`lead_id`, NULL)) AS `x`,
COUNT(IF(a.`contract_id` IS NOT NULL AND a.`total_months` = 1,
a.`lead_id`, NULL)) AS `x1`, COUNT(IF(a.`contract_id` IS NOT NULL
AND a.`total_months` = 2, a.`lead_id`, NULL)) AS `x2`,
COUNT(IF(a.`contract_id` IS NOT NULL AND a.`total_months` = 3,
a.`lead_id`, NULL)) AS `x3`, COUNT(IF(a.`contract_id` IS NOT NULL
AND a.`total_months` = 4, a.`lead_id`, NULL)) AS `x4` FROM
(SELECT `fc_get_reference_name`(l.`source_type`, NULL) AS
`reference`, l.`ID` AS `lead_id`, l.`type`, c.`ID` AS
`contract_id`, IF(c.`ID` IS NOT NULL,
`fc_get_total_months`(l.`created`, c.`date_created`), NULL) AS
`total_months` FROM `crm_leads` l LEFT JOIN `crm_contracts`
c ON l.`ID` = c.`potential_id` AND c.`total_price_internal` >
0 WHERE l.`source_type` != 2 AND l.`service_id` =
IF( NAME_CONST('p_service_id',NULL) IS NULL OR
NAME_CONST('p_service_id',NULL) = -1, l.`service_id`,
NAME_CONST('p_service_id',NULL)) AND l.`created` BETWEEN
NAME_CONST('_date_created_from',_latin1'2016-11-01' COLLATE
'latin1_swedish_ci') AND
NAME_CONST('_date_created_to',_latin1'2016-11-30' COLLATE
'latin1_swedish_ci')) a GROUP BY a.`reference` HAVING
a.`reference` LIKE IFNULL( NAME_CONST('p_source_ref',NULL),
a.`reference`)
mariadb_1 | Connection ID (thread ID): 51273
mariadb_1 | Status: NOT_KILLED
mariadb_1 |
mariadb_1 | Optimizer switch:
index_merge=on,index_merge_union=on,index_merge_sort_union=on,
index_merge_intersection=on,index_merge_sort_intersection=off,eng
ine_condition_pushdown=off,index_condition_pushdown=on,derived_
merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materi
alization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge
=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_c
ost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_
with_cache=on,join_cache_incremental=on,join_cache_hashed=on,joi
n_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,e
xtended_keys=on,exists_to_in=on,orderby_uses_equalities=off
mariadb_1 |
mariadb_1 | The manual page at
http://dev.mysql.com/doc/mysql/en/crashing.html contains
mariadb_1 | information that should help you find out what is
causing the crash.

You might also like