Hi Mohit,
The regression run in the subject has failed because a brick has crashed in
bug-1432542-mpx-restart-crash.t
1 test(s) generated core ./tests/bugs/core/bug-1432542-mpx-restart-crash.t
The brick process has crashed in posix_fs_health_check as this->priv contains garbage. It looks like it might have been freed already. Can you take a look at it?
(gdb) bt
#0 0x00007f4019ea1f19 in vfprintf () from ./lib64/libc.so.6
#1 0x00007f4019eccf49 in vsnprintf () from ./lib64/libc.so.6
#2 0x00007f401b87705a in gf_vasprintf (string_ptr=0x7f3e81ff99f0, format=0x7f400df32f40 "op=%s;path=%s;error=%s;brick=%s:%s timeout is %d", arg=0x7f3e81ff99f8)
at /home/jenkins/root/workspace/centos7-regression/libglusterfs/src/mem-pool.c:234
#3 0x00007f401b8de6e2 in _gf_event (event=EVENT_POSIX_HEALTH_CHECK_FAILED, fmt=0x7f400df32f40 "op=%s;path=%s;error=%s;brick=%s:%s timeout is %d")
at /home/jenkins/root/workspace/centos7-regression/libglusterfs/src/events.c:89
#4 0x00007f400def07f9 in posix_fs_health_check (this=0x7f3fd78b7840) at /home/jenkins/root/workspace/centos7-regression/xlators/storage/posix/src/posix-helpers.c:1960
#5 0x00007f400def0926 in posix_health_check_thread_proc (data="">
at /home/jenkins/root/workspace/centos7-regression/xlators/storage/posix/src/posix-helpers.c:2005
#6 0x00007f401a68ae25 in start_thread () from ./lib64/libpthread.so.0
#7 0x00007f4019f53bad in clone () from ./lib64/libc.so.6
(gdb) f 4
#4 0x00007f400def07f9 in posix_fs_health_check (this=0x7f3fd78b7840) at /home/jenkins/root/workspace/centos7-regression/xlators/storage/posix/src/posix-helpers.c:1960
1960 gf_event(EVENT_POSIX_HEALTH_CHECK_FAILED,
(gdb) l
1955 sys_close(fd);
1956 }
1957 if (ret && file_path[0]) {
1958 gf_msg(this->name, GF_LOG_WARNING, errno, P_MSG_HEALTHCHECK_FAILED,
1959 "%s() on %s returned", op, file_path);
1960 gf_event(EVENT_POSIX_HEALTH_CHECK_FAILED,
1961 "op=%s;path=%s;error=%s;brick=%s:%s timeout is %d", op,
1962 file_path, strerror(op_errno), priv->hostname, priv->base_path,
1963 timeout);
1964 }
(gdb) p pri->hostname
No symbol "pri" in current context.
(gdb) p priv->hostname
$14 = 0xa200 <error: Cannot access memory at address 0xa200>
(gdb) p priv->base_path
$15 = 0x7f3ddeadc0de00 <error: Cannot access memory at address 0x7f3ddeadc0de00>
(gdb)
Thanks,
Nithya
_______________________________________________ Gluster-devel mailing list Gluster-devel@xxxxxxxxxxx https://lists.gluster.org/mailman/listinfo/gluster-devel