Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Duplicate
-
1.1.5
-
None
-
Centos 7.4 (1 um, 2 pms)
Description
A query runs fine from command line client or GUI but when run from a pentaho server we get the following crash:
180830 14:13:13 [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.15-MariaDB-log
key_buffer_size=536870912
read_buffer_size=131072
max_used_connections=2
max_threads=65537
thread_count=10
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 1082681901 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.Thread pointer: 0x7fa0b80008c8
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 = 0x7fa18818fc98 thread_stack 0x80000
/usr/local/mariadb/columnstore/mysql//bin/mysqld(my_print_stacktrace+0x29)[0x56270e2a97e9]
mysys/stacktrace.c:268(my_print_stacktrace)[0x56270dddcadd]
sigaction.c:0(__restore_rt)[0x7fb4315426d0]
/usr/local/mariadb/columnstore/mysql//bin/mysqld(_Z9parse_sqlP3THDP12Parser_stateP19Object_creation_ctxb+0x96)[0x56270dc7f2b6]
sql/sql_parse.cc:9998(parse_sql(THD*, Parser_state*, Object_creation_ctx*, bool))[0x56270dc80d41]
sql/sql_prepare.cc:4700(Prepared_statement::execute(String*, bool))[0x56270dc925b2]
sql/sql_prepare.cc:4112(Prepared_statement::execute_loop(String*, bool, unsigned char*, unsigned char*))[0x56270dc927c4]
sql/sql_prepare.cc:3114(mysql_stmt_execute_common(THD*, unsigned long, unsigned char*, unsigned char*, unsigned long, bool, bool))[0x56270dc93279]
sql/sql_prepare.cc:3014(mysqld_stmt_execute(THD*, char*, unsigned int))[0x56270dc93313]
sql/sql_parse.cc:1781(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x56270dc83cb3]
sql/sql_parse.cc:1428(do_command(THD*))[0x56270dc85304]
sql/threadpool_common.cc:366(threadpool_process_request)[0x56270dd72e1f]
sql/threadpool_generic.cc:1604(worker_main(void*))[0x56270ddb87ce]
perfschema/pfs.cc:1865(pfs_spawn_thread)[0x56270e272c74]
pthread_create.c:0(start_thread)[0x7fb43153ae25]
/lib64/libc.so.6(clone+0x6d)[0x7fb42f6f3bad]Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x7fa0b801b438): is an invalid pointer
Connection ID (thread ID): 13
Status: NOT_KILLEDOptimizer 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,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: insert into hrst_stg.new_magazine_f (
order_seq_nbr
, dl_seq_nbr
, publisher_cd
, account_nbr
, individual_sk
, magazine_abbr
, magazine_sk
, order_dt
, order_nbr
, order_status_sk
, history_dt
, order_entry_type_sk
, credit_status_sk
, cancel_sw
, nbr_of_issues
, order_amt
, agency_gross_amt
, order_collected_amt
, special_handling_amt
, tax_value_amt
, tax_collected_amt
, tax_exempt_type_sk
, offer_change_sw
, renewal_type_sk
, multcopy_sw
, order_source_sk
, medium_sk
, magazine_category_sk
, gift_set_type_sk
, bulk_sale_sw
, document_key
, document_key_sk
, bill_key
, group_nbr
, agency_sk
, clearing_dt
, prior_exp_issue_nbr
, assigned_start_issue_nbr
, arrear_issues_reclaimed_nbr
, currency_sk
, currency_amt
, foreign_currency_collected_amt
, gift_message_flag
, original_subscription_flag
, orderind3
, credit_payment_effort_sk
, expire_issue_nbr
, cancel_type_sk
, cancel_reason_sk
, cancel_dt
, cancel_issue_nbr
, gift_dollar_amt
, category_sk
, paid_amt
, payment_dt
, payment_method_sk
, payment_type_sk
, donee_cnt
, paid_status_sk
, paid_tax_collected_amt
, overall_service_sts_sk
, premium_ind
, premium_cd
, premium_dt
, model_src_cd
, purged_flag
, delete_flag
, paid_order_flag
, auto_renew_flag
, digital_flag
, first_letter_document_key
, mailing_type_sk
, print_bills_sent_cnt
, e_bills_sent_cnt
, total_bills_sent_cnt
, gift_type_sk
, insert_dt
, update_dt )select
clmn.order_seq_nbr
, clmn.dl_seq_nbr
, clmn.publisher_cd
, clmn.account_nbr
, clmn.individual_sk
, clmn.magazine_abbr
, clmn.magazine_sk
, clmn.order_dt
, clmn.order_nbr
, clmn.order_status_sk
, clmn.history_dt
, clmn.order_entry_type_sk
, clmn.credit_status_sk
, clmn.cancel_sw
, clmn.nbr_of_issues
, clmn.order_amt
, clmn.agency_gross_amt
, clmn.order_collected_amt
, clmn.special_handling_amt
, clmn.tax_value_amt
, clmn.tax_collected_amt
, clmn.tax_exempt_type_sk
, clmn.offer_change_sw
, clmn.renewal_type_sk
, clmn.multcopy_sw
, clmn.order_source_sk
, clmn.medium_sk
, clmn.magazine_category_sk
, clmn.gift_set_type_sk
, clmn.bulk_sale_sw
, clmn.document_key
, clmn.document_key_sk
, clmn.bill_key
, clmn.group_nbr
, clmn.agency_sk
, clmn.clearing_dt
, clmn.prior_exp_issue_nbr
, clmn.assigned_start_issue_nbr
, clmn.arrear_issues_reclaimed_nbr
, clmn.currency_sk
, clmn.currency_amt
, clmn.foreign_currency_collected_amt
, clmn.gift_message_flag
, clmn.original_subscription_flag
, clmn.orderind3
, clmn.credit_payment_effort_sk
, clmn.expire_issue_nbr
, clmn.cancel_type_sk
, clmn.cancel_reason_sk
, clmn.cancel_dt
, clmn.cancel_issue_nbr
, clmn.gift_dollar_amt
, clmn.category_sk
, clmn.paid_amt
, clmn.payment_dt
, clmn.payment_method_sk
, clmn.payment_type_sk
, clmn.donee_cnt
, clmn.paid_status_sk
, clmn.paid_tax_collected_amt
, clmn.overall_service_sts_sk
, clmn.premium_ind
, clmn.premium_cd
, clmn.premium_dt
, clmn.model_src_cd
, clmn.purged_flag
, clmn.delete_flag
, clmn.paid_order_flag
, clmn.auto_renew_flag
, clmn.digital_flag
, clmn.first_letter_document_key
, clmn.mailing_type_sk
, clmn.print_bills_sent_cnt
, clmn.e_bills_sent_cnt
, clmn.total_bills_sent_cnt
, clmn.gift_type_sk
, clmn.insert_dt
, clmn.update_dtfrom hrst.wt_magazine_order_f_clmn clmn
inner join hrst_stg.serv_mag_order_accts sm on sm.magazine_sk = clmn.magazine_sk and sm.account_nbr = clmn.account_nbrwhere to_be_deleted_flg = 0;
CREATE TABLE `new_magazine_f` (
`order_seq_nbr` bigint(20) NOT NULL,
`dl_seq_nbr` varchar(255) NOT NULL,
`publisher_cd` char(2) NOT NULL,
`account_nbr` bigint(20) unsigned NOT NULL,
`individual_sk` bigint(20) unsigned NOT NULL,
`magazine_abbr` char(3) NOT NULL,
`magazine_sk` int(11) NOT NULL,
`order_dt` date NOT NULL,
`order_nbr` bigint(20) NOT NULL,
`order_status_sk` int(11) NOT NULL,
`history_dt` date DEFAULT NULL,
`order_entry_type_sk` int(11) NOT NULL,
`credit_status_sk` int(11) NOT NULL,
`cancel_sw` char(1) DEFAULT NULL,
`nbr_of_issues` int(11) NOT NULL,
`order_amt` decimal(9,2) NOT NULL,
`agency_gross_amt` decimal(9,2) NOT NULL,
`order_collected_amt` decimal(9,2) NOT NULL,
`special_handling_amt` decimal(9,2) NOT NULL,
`tax_value_amt` decimal(9,2) NOT NULL,
`tax_collected_amt` decimal(9,2) NOT NULL,
`tax_exempt_type_sk` int(11) NOT NULL,
`offer_change_sw` char(1) DEFAULT NULL,
`renewal_type_sk` int(11) NOT NULL,
`multcopy_sw` char(1) DEFAULT NULL,
`order_source_sk` int(11) NOT NULL,
`medium_sk` int(11) NOT NULL,
`magazine_category_sk` int(11) NOT NULL,
`gift_set_type_sk` int(11) NOT NULL,
`bulk_sale_sw` char(1) DEFAULT NULL,
`document_key` varchar(25) DEFAULT NULL,
`document_key_sk` int(11) NOT NULL,
`bill_key` varchar(20) DEFAULT NULL,
`group_nbr` int(11) NOT NULL,
`agency_sk` int(11) NOT NULL,
`clearing_dt` date DEFAULT NULL,
`prior_exp_issue_nbr` int(11) NOT NULL,
`assigned_start_issue_nbr` int(11) NOT NULL,
`arrear_issues_reclaimed_nbr` int(11) NOT NULL,
`currency_sk` int(11) NOT NULL,
`currency_amt` decimal(9,2) NOT NULL,
`foreign_currency_collected_amt` decimal(9,2) NOT NULL,
`gift_message_flag` char(1) DEFAULT NULL,
`original_subscription_flag` char(1) DEFAULT NULL,
`orderind3` char(1) DEFAULT NULL,
`credit_payment_effort_sk` int(11) NOT NULL,
`expire_issue_nbr` int(11) NOT NULL,
`cancel_type_sk` int(11) NOT NULL,
`cancel_reason_sk` int(11) NOT NULL,
`cancel_dt` date DEFAULT NULL,
`cancel_issue_nbr` int(11) NOT NULL,
`gift_dollar_amt` decimal(9,2) NOT NULL,
`category_sk` int(11) NOT NULL,
`paid_amt` decimal(9,2) NOT NULL,
`payment_dt` date DEFAULT NULL,
`payment_method_sk` int(11) NOT NULL,
`payment_type_sk` int(11) NOT NULL,
`donee_cnt` int(11) NOT NULL,
`paid_status_sk` int(11) NOT NULL,
`paid_tax_collected_amt` decimal(9,2) NOT NULL,
`overall_service_sts_sk` int(11) NOT NULL,
`premium_ind` char(1) DEFAULT NULL,
`premium_cd` int(11) DEFAULT NULL,
`premium_dt` date DEFAULT NULL,
`model_src_cd` varchar(3) DEFAULT NULL,
`purged_flag` char(1) DEFAULT NULL,
`delete_flag` char(1) DEFAULT NULL,
`paid_order_flag` char(1) DEFAULT NULL,
`auto_renew_flag` char(1) DEFAULT NULL,
`digital_flag` char(1) DEFAULT NULL,
`first_letter_document_key` char(1) DEFAULT NULL,
`mailing_type_sk` int(11) NOT NULL,
`print_bills_sent_cnt` int(11) NOT NULL,
`e_bills_sent_cnt` int(11) NOT NULL,
`total_bills_sent_cnt` int(11) NOT NULL,
`gift_type_sk` int(11) NOT NULL,
`insert_dt` datetime NOT NULL DEFAULT current_timestamp(),
`update_dt` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `wt_magazine_order_f_clmn` (
`order_seq_nbr` bigint(20) NOT NULL,
`dl_seq_nbr` varchar(255) NOT NULL,
`publisher_cd` char(2) NOT NULL,
`account_nbr` bigint(20) unsigned NOT NULL DEFAULT 0,
`individual_sk` bigint(20) NOT NULL,
`magazine_abbr` char(3) NOT NULL,
`magazine_sk` int(11) NOT NULL,
`order_dt` date NOT NULL,
`order_nbr` bigint(20) NOT NULL,
`order_status_sk` int(11) NOT NULL,
`history_dt` date DEFAULT NULL,
`order_entry_type_sk` int(11) NOT NULL,
`credit_status_sk` int(11) NOT NULL,
`cancel_sw` char(1) DEFAULT NULL,
`nbr_of_issues` int(11) NOT NULL,
`order_amt` decimal(9,2) NOT NULL,
`agency_gross_amt` decimal(9,2) NOT NULL,
`order_collected_amt` decimal(9,2) NOT NULL,
`special_handling_amt` decimal(9,2) NOT NULL,
`tax_value_amt` decimal(9,2) NOT NULL,
`tax_collected_amt` decimal(9,2) NOT NULL,
`tax_exempt_type_sk` int(11) NOT NULL,
`offer_change_sw` char(1) DEFAULT NULL,
`renewal_type_sk` int(11) NOT NULL,
`multcopy_sw` char(1) DEFAULT NULL,
`order_source_sk` int(11) NOT NULL,
`medium_sk` int(11) NOT NULL,
`magazine_category_sk` int(11) NOT NULL,
`gift_set_type_sk` int(11) NOT NULL,
`bulk_sale_sw` char(1) DEFAULT NULL,
`document_key` varchar(25) DEFAULT NULL,
`document_key_sk` int(11) NOT NULL,
`bill_key` varchar(20) DEFAULT NULL,
`group_nbr` int(11) NOT NULL,
`agency_sk` int(11) NOT NULL,
`clearing_dt` date DEFAULT NULL,
`prior_exp_issue_nbr` int(11) NOT NULL,
`assigned_start_issue_nbr` int(11) NOT NULL,
`arrear_issues_reclaimed_nbr` int(11) NOT NULL,
`currency_sk` int(11) NOT NULL,
`currency_amt` decimal(9,2) NOT NULL,
`foreign_currency_collected_amt` decimal(9,2) NOT NULL,
`gift_message_flag` char(1) DEFAULT NULL,
`original_subscription_flag` char(1) DEFAULT NULL,
`orderind3` char(1) DEFAULT NULL,
`credit_payment_effort_sk` int(11) NOT NULL,
`expire_issue_nbr` int(11) NOT NULL,
`cancel_type_sk` int(11) NOT NULL,
`cancel_reason_sk` int(11) NOT NULL,
`cancel_dt` date DEFAULT NULL,
`cancel_issue_nbr` int(11) NOT NULL,
`gift_dollar_amt` decimal(9,2) NOT NULL,
`category_sk` int(11) NOT NULL,
`paid_amt` decimal(9,2) NOT NULL,
`payment_dt` date DEFAULT NULL,
`payment_method_sk` int(11) NOT NULL,
`payment_type_sk` int(11) NOT NULL,
`donee_cnt` int(11) NOT NULL,
`paid_status_sk` int(11) NOT NULL,
`paid_tax_collected_amt` decimal(9,2) NOT NULL,
`overall_service_sts_sk` int(11) NOT NULL,
`premium_ind` char(1) DEFAULT NULL,
`premium_cd` int(11) DEFAULT NULL,
`premium_dt` date DEFAULT NULL,
`model_src_cd` varchar(3) DEFAULT NULL,
`purged_flag` char(1) DEFAULT NULL,
`delete_flag` char(1) DEFAULT NULL,
`paid_order_flag` char(1) DEFAULT NULL,
`auto_renew_flag` char(1) DEFAULT NULL,
`digital_flag` char(1) DEFAULT NULL,
`first_letter_document_key` char(1) DEFAULT NULL,
`mailing_type_sk` int(11) NOT NULL,
`print_bills_sent_cnt` int(11) NOT NULL DEFAULT 0,
`e_bills_sent_cnt` int(11) NOT NULL DEFAULT 0,
`total_bills_sent_cnt` int(11) NOT NULL DEFAULT 0,
`gift_type_sk` int(11) NOT NULL,
`insert_dt` datetime NOT NULL,
`update_dt` datetime NOT NULL,
`to_be_deleted_flg` tinyint(1) DEFAULT 0
) ENGINE=Columnstore DEFAULT CHARSET=utf8;
CREATE TABLE `serv_mag_order_accts` (
`magazine_sk` int(11) NOT NULL,
`account_nbr` bigint(20) unsigned NOT NULL,
`individual_sk` bigint(20) NOT NULL,
PRIMARY KEY (`magazine_sk`,`account_nbr`),
KEY `indiv_idx` (`individual_sk`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
Attachments
Issue Links
- duplicates
-
MCOL-1684 Performance Schema crashes prepared statement
- Closed