HI all: I met a error again ,but i had no action in client . GNU gdb Red Hat Linux (6.3.0.0-1.132.EL4rh) Copyright 2004 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/tls/libthread_db.so.1". warning: core file may not match specified executable file. Core was generated by `glusterfsd -f /etc/glusterfs/glusterfsd-server.vol -l /var/log/glusterfs/gluste'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libglusterfs.so.0...done. Loaded symbols for /lib/libglusterfs.so.0 Reading symbols from /lib/libdl.so.2...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/tls/libpthread.so.0...done. Loaded symbols for /lib/tls/libpthread.so.0 Reading symbols from /lib/tls/libc.so.6...done. Loaded symbols for /lib/tls/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /lib/glusterfs/2.0.4/xlator/storage/posix.so...done. Loaded symbols for /lib/glusterfs/2.0.4/xlator/storage/posix.so Reading symbols from /lib/glusterfs/2.0.4/xlator/testing/features/trash.so...done. Loaded symbols for /lib/glusterfs/2.0.4/xlator/testing/features/trash.so Reading symbols from /lib/glusterfs/2.0.4/xlator/features/posix-locks.so...done. Loaded symbols for /lib/glusterfs/2.0.4/xlator/features/posix-locks.so Reading symbols from /lib/glusterfs/2.0.4/xlator/protocol/server.so...done. Loaded symbols for /lib/glusterfs/2.0.4/xlator/protocol/server.so Reading symbols from /lib/glusterfs/2.0.4/transport/socket.so...done. Loaded symbols for /lib/glusterfs/2.0.4/transport/socket.so Reading symbols from /lib/glusterfs/2.0.4/auth/addr.so...done. Loaded symbols for /lib/glusterfs/2.0.4/auth/addr.so Reading symbols from /lib/libgcc_s.so.1...done. Loaded symbols for /lib/libgcc_s.so.1 #0 trash_common_unwind_cbk (frame=0x9a3d600, cookie=0x9a0ca48, this=0x987bd28, op_ret=0, op_errno=0) at trash.c:80 80 if (local->loc1.path) (gdb) bt #0 trash_common_unwind_cbk (frame=0x9a3d600, cookie=0x9a0ca48, this=0x987bd28, op_ret=0, op_errno=0) at trash.c:80 #1 0x00a14954 in posix_unlink (frame=0x9a0ca48, this=0x987b440, loc=0x9a51768) at posix.c:896 #2 0x0096f2be in trash_unlink (frame=0x9a3d600, this=0x987bd28, loc=0x9a51768) at trash.c:250 #3 0x0025cc4c in default_unlink (frame=0x9a07b58, this=0x987c6e0, loc=0x9a51768) at defaults.c:461 #4 0x00374f87 in server_unlink_resume (frame=0x9a49020, this=0x987ccc8, loc=0x9a51768) at server-protocol.c:4316 #5 0x0026996c in call_resume (stub=0x9a51750) at call-stub.c:2329 #6 0x00375111 in server_unlink (frame=0x9a49020, bound_xl=0x987c6e0, hdr=0x9a51028, hdrlen=167, iobuf=0x0) at server-protocol.c:4362 #7 0x0037b79a in protocol_server_interpret (this=0x987ccc8, trans=0x9964e48, hdr_p=0x9a51028 "", hdrlen=167, iobuf=0x0) at server-protocol.c:7473 #8 0x0037c1f1 in protocol_server_pollin (this=0x987ccc8, trans=0x9964e48) at server-protocol.c:7754 #9 0x0037c329 in notify (this=0x987ccc8, event=2, data=0x9964e48) at server-protocol.c:7810 #10 0x00158c67 in socket_event_poll_in (this=0x9964e48) at socket.c:714 #11 0x00158eef in socket_event_handler (fd=19, idx=12, data=0x9964e48, poll_in=1, poll_out=0, poll_err=0) at socket.c:814 #12 0x0026dc71 in event_dispatch_epoll (event_pool=0x98769c0) at event.c:804 #13 0x0026df41 in event_dispatch (event_pool=0x98769c0) at event.c:975 #14 0x0804b6b1 in main (argc=5, argv=0xbff313b4) at glusterfsd.c:1226 (gdb) quit Why this happen? 2009-08-12 eagleeyes
Vijay Bellur
2009-Aug-12 04:37 UTC
[Gluster-users] Error with glusterfs2.0.4 which add trash
> #0 trash_common_unwind_cbk (frame=0x9a3d600, cookie=0x9a0ca48, this=0x987bd28, op_ret=0, op_errno=0) at trash.c:80 > 80 if (local->loc1.path) > (gdb) btThis is a known issue. Patch 586 [http://patches.gluster.com/patch/586/] fixes this. Regards, Vijay