handle_fatal_signal (sig=6) in my_strdup | mysys/my_malloc.c:158

Bug #1384618 reported by Ramesh Sivaraman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Status tracked in 5.7
5.1
Won't Fix
Undecided
Unassigned
5.5
New
Undecided
Unassigned
5.6
New
Undecided
Unassigned
5.7
New
Undecided
Unassigned

Bug Description

*** GDB info

#0 0x00007f381d38f771 in pthread_kill () from /lib64/libpthread.so.0
#1 0x0000000000ab7586 in my_write_core (sig=6) at /mnt/workspace/percona-server-5.6-binaries-debug-yassl/label_exp/centos6-64/percona-server-5.6.21-69.0
/mysys/stacktrace.c:422
#2 0x000000000072f9ff in handle_fatal_signal (sig=6) at /mnt/workspace/percona-server-5.6-binaries-debug-yassl/label_exp/centos6-64/percona-server-5.6.2
1-69.0/sql/signal_handler.cc:236
#3 <signal handler called>
#4 0x00007f381bf935c9 in raise () from /lib64/libc.so.6
#5 0x00007f381bf94cd8 in abort () from /lib64/libc.so.6
#6 0x00007f381bfd3dd7 in __libc_message () from /lib64/libc.so.6
#7 0x00007f381bfd9c07 in malloc_printerr () from /lib64/libc.so.6
#8 0x00007f381bfdd135 in _int_malloc () from /lib64/libc.so.6
#9 0x00007f381bfde12c in malloc () from /lib64/libc.so.6
#10 0x0000000000ab15ae in my_malloc (size=8, my_flags=16) at /mnt/workspace/percona-server-5.6-binaries-debug-yassl/label_exp/centos6-64/percona-server-5
.6.21-69.0/mysys/my_malloc.c:38
#11 0x0000000000ab1a8c in my_strdup (from=0xf6addb "ssl_crl", my_flags=16) at /mnt/workspace/percona-server-5.6-binaries-debug-yassl/label_exp/centos6-64
/percona-server-5.6.21-69.0/mysys/my_malloc.c:158
#12 0x0000000000ac450b in getopt_constraint_find (name=0xf6addb "ssl_crl", length=7, create=0 '\000') at /mnt/workspace/percona-server-5.6-binaries-debug-yassl/label_exp/centos6-64/percona-server-5.6.21-69.0/mysys_ssl/my_getopt.cc:161
#13 0x0000000000ac470c in getopt_constraint_get_hidden_value (name=0xf6addb "ssl_crl", length=7, create=0 '\000') at /mnt/workspace/percona-server-5.6-binaries-debug-yassl/label_exp/centos6-64/percona-server-5.6.21-69.0/mysys_ssl/my_getopt.cc:228
#14 0x000000000072dedc in enumerate_sys_vars (thd=0x29b1500, sorted=true, type=OPT_SESSION) at /mnt/workspace/percona-server-5.6-binaries-debug-yassl/label_exp/centos6-64/percona-server-5.6.21-69.0/sql/set_var.cc:481
#15 0x000000000083e867 in fill_variables (thd=0x29b1500, tables=0x7f37c4e44250, cond=0x0) at /mnt/workspace/percona-server-5.6-binaries-debug-yassl/label_exp/centos6-64/percona-server-5.6.21-69.0/sql/sql_show.cc:7184
#16 0x0000000000840c9b in do_fill_table (thd=0x29b1500, table_list=0x7f37c4e44250, join_table=0x7f37c4e458d8) at /mnt/workspace/percona-server-5.6-binaries-debug-yassl/label_exp/centos6-64/percona-server-5.6.21-69.0/sql/sql_show.cc:7902
#17 0x000000000084106a in get_schema_tables_result (join=0x7f37c4e44bb0, executed_place=PROCESSED_BY_JOIN_EXEC) at /mnt/workspace/percona-server-5.6-binaries-debug-yassl/label_exp/centos6-64/percona-server-5.6.21-69.0/sql/sql_show.cc:8003
#18 0x0000000000813522 in JOIN::prepare_result (this=0x7f37c4e44bb0, columns_list=0x7f37e61949c0) at /mnt/workspace/percona-server-5.6-binaries-debug-yassl/label_exp/centos6-64/percona-server-5.6.21-69.0/sql/sql_select.cc:823
#19 0x00000000007b050b in JOIN::exec (this=0x7f37c4e44bb0) at /mnt/workspace/percona-server-5.6-binaries-debug-yassl/label_exp/centos6-64/percona-server-5.6.21-69.0/sql/sql_executor.cc:116
#20 0x000000000081401b in mysql_execute_select (thd=0x29b1500, select_lex=0x29b4160, free_join=true) at /mnt/workspace/percona-server-5.6-binaries-debug-yassl/label_exp/centos6-64/percona-server-5.6.21-69.0/sql/sql_select.cc:1100
#21 0x0000000000814317 in mysql_select (thd=0x29b1500, tables=0x7f37c4e44250, wild_num=0, fields=..., conds=0x0, order=0x29b4328, group=0x29b4260, having=0x0, select_options=11410353664, result=0x7f37c4e44b88, unit=0x29b3b18, select_lex=0x29b4160) at /mnt/workspace/percona-server-5.6-binaries-debug-yassl/label_exp/centos6-64/percona-server-5.6.21-69.0/sql/sql_select.cc:1221
#22 0x00000000008123a6 in handle_select (thd=0x29b1500, result=0x7f37c4e44b88, setup_tables_done_option=0) at /mnt/workspace/percona-server-5.6-binaries-debug-yassl/label_exp/centos6-64/percona-server-5.6.21-69.0/sql/sql_select.cc:110
#23 0x00000000007ea892 in execute_sqlcom_select (thd=0x29b1500, all_tables=0x7f37c4e44250) at /mnt/workspace/percona-server-5.6-binaries-debug-yassl/label_exp/centos6-64/percona-server-5.6.21-69.0/sql/sql_parse.cc:5597
#24 0x00000000007e2de9 in mysql_execute_command (thd=0x29b1500) at /mnt/workspace/percona-server-5.6-binaries-debug-yassl/label_exp/centos6-64/percona-server-5.6.21-69.0/sql/sql_parse.cc:2958
#25 0x00000000007ed193 in mysql_parse (thd=0x29b1500, rawbuf=0x7f37c4e43e80 "show variables like \"thread_handling\"", length=37, parser_state=0x7f37e6195e30) at /mnt/workspace/percona-server-5.6-binaries-debug-yassl/label_exp/centos6-64/percona-server-5.6.21-69.0/sql/sql_parse.cc:6773
#26 0x00000000007df5fc in dispatch_command (command=COM_QUERY, thd=0x29b1500, packet=0x31bd421 "show variables like \"thread_handling\";", packet_length=38) at /mnt/workspace/percona-server-5.6-binaries-debug-yassl/label_exp/centos6-64/percona-server-5.6.21-69.0/sql/sql_parse.cc:1432
#27 0x00000000007de528 in do_command (thd=0x29b1500) at /mnt/workspace/percona-server-5.6-binaries-debug-yassl/label_exp/centos6-64/percona-server-5.6.21-69.0/sql/sql_parse.cc:1049
#28 0x00000000007a64e5 in do_handle_one_connection (thd_arg=0x29b1500) at /mnt/workspace/percona-server-5.6-binaries-debug-yassl/label_exp/centos6-64/percona-server-5.6.21-69.0/sql/sql_connect.cc:1532
#29 0x00000000007a5fed in handle_one_connection (arg=0x29b1500) at /mnt/workspace/percona-server-5.6-binaries-debug-yassl/label_exp/centos6-64/percona-server-5.6.21-69.0/sql/sql_connect.cc:1443
#30 0x0000000000dc5bac in pfs_spawn_thread (arg=0x3124020) at /mnt/workspace/percona-server-5.6-binaries-debug-yassl/label_exp/centos6-64/percona-server-5.6.21-69.0/storage/perfschema/pfs.cc:1860
#31 0x00007f381d38adf3 in start_thread () from /lib64/libpthread.so.0
#32 0x00007f381c05401d in clone () from /lib64/libc.so.6

***** Asserting query

 show variables like "thread_handling"

Tags: qa
tags: added: qa
Revision history for this message
Ramesh Sivaraman (rameshvs02) wrote :

Core, GDB, error log etc

There was no master (single threaded, single mysqld run)

Revision history for this message
Ramesh Sivaraman (rameshvs02) wrote :

s/There was no master (single threaded, single mysqld run)/Single threaded run, single mysqld involved/

summary: - handle_fatal_signal (sig=6) in my_malloc | mysys/my_malloc.c:38
+ handle_fatal_signal (sig=6) in my_strdup | mysys/my_malloc.c:158
description: updated
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-3210

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.