Krishna Srinivas wrote:
Can you get me the backtrace from the core file?
gdb glusterfs -c /core.<pid>
and then type "bt" to get the back trace.
Thanks
Krishna
[root@grp-01-20-01 glusterfs3]# gdb glusterfs -c /core.29119
GNU gdb Red Hat Linux (6.6-15.fc7rh)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
warning: Can't read pathname for load map: Input/output error.
Reading symbols from /usr/local/lib/libglusterfs.so.0...done.
Loaded symbols for /usr/local/lib/libglusterfs.so.0
Reading symbols from /usr/lib/libfuse.so.2...done.
Loaded symbols for /usr/lib/libfuse.so.2
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libpthread.so.0...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/librt.so.1...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib/libselinux.so.1...done.
Loaded symbols for /lib/libselinux.so.1
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libsepol.so.1...done.
Loaded symbols for /lib/libsepol.so.1
Reading symbols from
/usr/local/lib/glusterfs/1.3.0-pre5.2/xlator/protocol/client.so...done.
Loaded symbols for
/usr/local/lib/glusterfs/1.3.0-pre5.2/xlator/protocol/client.so
Reading symbols from
/usr/local/lib/glusterfs/1.3.0-pre5.2/xlator/cluster/afr.so...done.
Loaded symbols for
/usr/local/lib/glusterfs/1.3.0-pre5.2/xlator/cluster/afr.so
Reading symbols from
/usr/local/lib/glusterfs/1.3.0-pre5.2/transport/tcp/client.so...done.
Loaded symbols for
/usr/local/lib/glusterfs/1.3.0-pre5.2/transport/tcp/client.so
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Core was generated by
`[glusterfs]
'.
Program terminated with signal 11, Segmentation fault.
#0 0x002b167b in afr_lookup_cbk (frame=0xb168168, cookie=0xb1691a0,
this=0x9a28cf8, op_ret=0, op_errno=9, inode=0x9f1d3b0,
buf=0xb0e2520) at afr.c:309
309 if (gic->xl == prev_frame->this) {
(gdb) bt
#0 0x002b167b in afr_lookup_cbk (frame=0xb168168, cookie=0xb1691a0,
this=0x9a28cf8, op_ret=0, op_errno=9, inode=0x9f1d3b0,
buf=0xb0e2520) at afr.c:309
#1 0x00d86c47 in client_lookup_cbk (frame=0xb1691a0, args=0xb19c3f8) at
client-protocol.c:3798
#2 0x00d8bc0d in notify (this=0x9a23938, event=2, data=0x9a604f8) at
client-protocol.c:4191
#3 0x008e0847 in transport_notify (this=0xb1691a0, event=186028448) at
transport.c:152
#4 0x008e12b9 in sys_epoll_iteration (ctx=0xbff02064) at epoll.c:54
#5 0x008e091d in poll_iteration (ctx=0xbff02064) at transport.c:260
#6 0x08049efb in main (argc=6, argv=0xbff02144) at glusterfs.c:348
(gdb)