[Bugs] [Bug 1371775] `gluster system:: uuid get` hangs

bugzilla at redhat.com bugzilla at redhat.com
Wed Aug 31 12:18:16 UTC 2016


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



--- Comment #3 from Ravishankar N <ravishankar at redhat.com> ---
Just posting the backtrace of the cli (indicating the corrupted dict) for
posterity since the hang doesn't apparently happen on all machines:

(gdb) thread apply all bt

Thread 4 (Thread 0x7faaedc8a700 (LWP 3926)):
#0  0x00007faaf7250c7d in nanosleep () from /lib64/libpthread.so.0
#1  0x00007faaf8e0caca in gf_timer_proc (data=0xee30b0) at timer.c:164
#2  0x00007faaf7248555 in start_thread () from /lib64/libpthread.so.0
#3  0x00007faaf6b99ded in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7faaed489700 (LWP 3932)):
#0  0x00007faaf725029d in __lll_lock_wait () from /lib64/libpthread.so.0
#1  0x00007faaf724a89d in pthread_mutex_lock () from /lib64/libpthread.so.0
#2  0x00007faaf8df4621 in dict_unref (this=0x7faae0012cec) at dict.c:603
#3  0x000000000044341c in cli_cmd_uuid_get_cbk (state=0x7ffc95a0d470,
word=0xee6540, words=0x7faae0011b10, wordcount=3) at cli-cmd-system.c:323
#4  0x000000000040cf04 in cli_cmd_process (state=0x7ffc95a0d470, argc=3,
argv=0x7faae0011b10) at cli-cmd.c:135
#5  0x000000000040d098 in cli_cmd_process_line (state=0x7ffc95a0d470,
text=0x7faae0012da0 "system:: uuid get") at cli-cmd.c:197
#6  0x000000000040d78f in cli_rl_process_line (line=0x7faae0012da0 "system::
uuid get") at cli-rl.c:98
#7  0x000000000040de2f in cli_rl_input (_data=0x7ffc95a0d470) at cli-rl.c:364
#8  0x00007faaf7248555 in start_thread () from /lib64/libpthread.so.0
#9  0x00007faaf6b99ded in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7faaecc88700 (LWP 3933)):
#0  0x00007faaf6b9a3e3 in epoll_wait () from /lib64/libc.so.6
#1  0x00007faaf8e668a1 in event_dispatch_epoll_worker (data=0xee72d0) at
event-epoll.c:664
#2  0x00007faaf7248555 in start_thread () from /lib64/libpthread.so.0
#3  0x00007faaf6b99ded in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7faaf92dd780 (LWP 3925)):
#0  0x00007faaf724959d in pthread_join () from /lib64/libpthread.so.0
#1  0x00007faaf8e66aed in event_dispatch_epoll (event_pool=0xea70d0) at
event-epoll.c:758
#2  0x00007faaf8e2c239 in event_dispatch (event_pool=0xea70d0) at event.c:124
#3  0x000000000040bf1c in main (argc=1, argv=0x7ffc95a0d638) at cli.c:752
(gdb) thread  3
[Switching to thread 3 (Thread 0x7faaed489700 (LWP 3932))]
#0  0x00007faaf725029d in __lll_lock_wait () from /lib64/libpthread.so.0
(gdb) frame 2
#2  0x00007faaf8df4621 in dict_unref (this=0x7faae0012cec) at dict.c:603
603             LOCK (&this->lock);



(gdb) p this
$1 = (dict_t *) 0x7faae0012cec
(gdb) p *this
$2 = {is_static = 0 '\000', hash_size = 19714048, count = 8366816, refcount =
-1379869184, members = 0xe7143000007faade, members_list = 0x300000000000,
  extra_free = 0xac00007ffc00 <error: Cannot access memory at address
0xac00007ffc00>, extra_stdfree = 0x12cd00000000000 <error: Cannot access memory
at address 0x12cd00000000000>, lock = {spinlock = 2, mutex = {__data = {__lock
= 2,
        __count = 2915098112, __owner = 8366814, __nusers = 3876859904, __kind
= 0, __spins = 12288, __elision = 0, __list = {__prev = 0xac00007ffc00, __next
= 0x12cd00000000000}},
      __size =
"\002\000\000\000\000\336\300\255ު\177\000\000\060\024\347\000\000\000\000\000\060\000\000\000\374\177\000\000\254\000\000\000\000\000\000\000\320,\001",
__align = -5926493018038206462}},
  members_internal = 0xadc0de00007faae0, free_pair = {hash_next =
0xe7143000007faade, prev = 0x300000000000, next = 0xac00007ffc00, value =
0x12cd00000000000,
    key = 0xffffff00007faae0 <error: Cannot access memory at address
0xffffff00007faae0>}, free_pair_in_use = (_gf_true | unknown: 4294967294)}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=tePQ5zsXva&a=cc_unsubscribe


More information about the Bugs mailing list