[Bugs] [Bug 1790670] glusterd crashed when trying to add node

bugzilla at redhat.com bugzilla at redhat.com
Tue Jan 14 10:15:44 UTC 2020


https://bugzilla.redhat.com/show_bug.cgi?id=1790670



--- Comment #11 from Rick Pizzi <pizzi at leopardus.com> ---
uuid field doesn't look proper to me...

(gdb) ptype peerinfo
type = struct glusterd_peerinfo_ {
    uuid_t uuid;
    char uuid_str[50];
    glusterd_peer_state_info_t state;
    char *hostname;
    struct cds_list_head hostnames;
    int port;
    struct cds_list_head uuid_list;
    struct cds_list_head op_peers_list;
    struct rpc_clnt *rpc;
    rpc_clnt_prog_t *mgmt;
    rpc_clnt_prog_t *peer;
    rpc_clnt_prog_t *mgmt_v3;
    int connected;
    gf_store_handle_t *shandle;
    glusterd_sm_tr_log_t sm_log;
    _Bool quorum_action;
    gd_quorum_contrib_t quorum_contrib;
    _Bool locked;
    _Bool detaching;
    gd_rcu_head rcu_head;
    pthread_mutex_t delete_lock;
    uint32_t generation;
} *


(gdb) p *peerinfo
$2 = {uuid = "6\002\261\243r\027M\373\230\313\370\265G\246\241", <incomplete
sequence \343>, uuid_str = '\000' <repeats 49 times>, state = {
    state = GD_FRIEND_STATE_BEFRIENDED, transition_time = {tv_sec = 0, tv_usec
= 0}}, hostname = 0x7fffe800d320 "nl-kn1.leopardus.com", hostnames = {
    next = 0x5555558438c8, prev = 0x7fffe800d918}, port = 0, uuid_list = {next
= 0x555555828450, prev = 0x555555844940}, op_peers_list = {next = 0x0, prev =
0x0}, 
  rpc = 0x555555855bd0, mgmt = 0x7ffff21e38a0 <gd_mgmt_prog>, peer =
0x7ffff21e3820 <gd_peer_prog>, mgmt_v3 = 0x7ffff21e37e0 <gd_mgmt_v3_prog>,
connected = 1, 
  shandle = 0x555555844fe0, sm_log = {transitions = 0x55555584fb40, current =
0, size = 50, count = 1, 
    state_name_get = 0x7ffff1dfc160 <glusterd_friend_sm_state_name_get>,
event_name_get = 0x7ffff1dfc180 <glusterd_friend_sm_event_name_get>},
quorum_action = true, 
  quorum_contrib = QUORUM_NONE, locked = false, detaching = false, rcu_head =
{head = {next = {next = 0x0}, func = 0x0}, this = 0x0}, delete_lock = {__data =
{
      __lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins =
0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, 
    __size = '\000' <repeats 39 times>, __align = 0}, generation = 6}

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Bugs mailing list