Skip to content

Instantly share code, notes, and snippets.

Created May 27, 2016 14:29
Show Gist options
  • Save anonymous/8f1a5ee6967f4a1147aa120612760914 to your computer and use it in GitHub Desktop.
Save anonymous/8f1a5ee6967f4a1147aa120612760914 to your computer and use it in GitHub Desktop.
gdb output
# gdb /usr/local/mysql/bin/mysqld /var/lib/systemd/coredump/core.mysqld.1001.a5e464b5a8394a66b68e7d5050cefdd4.16855.1464358667000000000000
GNU gdb (GDB) 7.11
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "armv7l-unknown-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/mysql/bin/mysqld...done.
[New LWP 16861]
[New LWP 16855]
[New LWP 16857]
[New LWP 16856]
[New LWP 16859]
[New LWP 16860]
[New LWP 16858]
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/local/mysql/bin/mysqld --debug=d:o,/tmp/mysqld.trace --stack-trace --core-'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x76f06854 in pthread_kill () from /usr/lib/libpthread.so.0
[Current thread is 1 (Thread 0x6cb387b0 (LWP 16861))]
(gdb) backtrace full
#0 0x76f06854 in pthread_kill () from /usr/lib/libpthread.so.0
No symbol table info available.
#1 0x558325e8 in my_write_core (sig=11) at /home/alarm/git/mariadb/mysys/stacktrace.c:456
No locals.
#2 0x5508a1f4 in handle_fatal_signal (sig=11) at /home/alarm/git/mariadb/sql/signal_handler.cc:273
curr_time = 1464358667
tm = {tm_sec = 47, tm_min = 17, tm_hour = 14, tm_mday = 27, tm_mon = 4, tm_year = 116, tm_wday = 5, tm_yday = 147, tm_isdst = 0, tm_gmtoff = 0,
tm_zone = 0x7628c038 "UTC"}
thd = 0x69614038
#3 <signal handler called>
No symbol table info available.
#4 0x54fd92a4 in wsrep_view_handler_cb (app_ctx=0x7621d200, recv_ctx=0x69614038, view=0x69696000, state=0x0, state_len=0, sst_req=0x6cb373c0, sst_req_len=0x6cb373c4)
at /home/alarm/git/mariadb/sql/wsrep_mysqld.cc:289
memb_status = WSREP_MEMBER_UNDEFINED
__PRETTY_FUNCTION__ = "wsrep_cb_status_t wsrep_view_handler_cb(void*, void*, const wsrep_view_info_t*, const char*, size_t, void**, size_t*)"
#5 0x75594868 in galera::ReplicatorSMM::process_conf_change(void*, wsrep_view_info const&, int, galera::Replicator::State, long long) () from /usr/lib/libgalera_smm.so
No symbol table info available.
#6 0x75568d4c in galera::GcsActionSource::dispatch(void*, gcs_action const&, bool&) () from /usr/lib/libgalera_smm.so
No symbol table info available.
#7 0x7556a314 in galera::GcsActionSource::process(void*, bool&) () from /usr/lib/libgalera_smm.so
No symbol table info available.
#8 0x75593ef8 in galera::ReplicatorSMM::async_recv(void*) () from /usr/lib/libgalera_smm.so
No symbol table info available.
#9 0x755ad764 in galera_recv () from /usr/lib/libgalera_smm.so
No symbol table info available.
#10 0x54ff4b18 in wsrep_replication_process (thd=0x69614038) at /home/alarm/git/mariadb/sql/wsrep_thd.cc:315
rcode = 1437181404
_db_stack_frame_ = {func = 0x55a9a570 "?func", file = 0x55a9a578 "?file", level = 2147483649, line = -1, prev = 0x0}
shadow = {options = 2147748608, server_status = 2, wsrep_exec_mode = REPL_RECV, vio = 0x0, tx_isolation = 2, db = 0x0, db_length = 0}
tmp = 0x0
#11 0x54fe091c in start_wsrep_THD (arg=0x54ff4a44 <wsrep_replication_process(THD*)>) at /home/alarm/git/mariadb/sql/wsrep_mysqld.cc:1836
thd = 0x69614038
processor = 0x54ff4a44 <wsrep_replication_process(THD*)>
#12 0x76efefac in start_thread () from /usr/lib/libpthread.so.0
No symbol table info available.
#13 0x76851cc0 in ?? () from /usr/lib/libc.so.6
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment