[Gluster-users] Error with trash

eagleeyes eagleeyes at 126.com
Wed Aug 12 03:30:30 UTC 2009


HI all:
     I met a error  when i using trash.
     When i  go into .trashcan on glusterfs client  ,and rename the dir  which had been deleted ,the glusterfs server  down , the gdb log was :
    
[root at localhost /]# gdb glusterfs    core.8011
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=0x96897d0, cookie=0x9686228, this=0x959a0d0, op_ret=0, op_errno=0) at trash.c:80
80              if (local->loc1.path)
(gdb) bt
#0  trash_common_unwind_cbk (frame=0x96897d0, cookie=0x9686228, this=0x959a0d0, op_ret=0, op_errno=0) at trash.c:80
#1  0x0039a954 in posix_unlink (frame=0x9686228, this=0x95996c0, loc=0x9689978) at posix.c:896
#2  0x00a8a2be in trash_unlink (frame=0x96897d0, this=0x959a0d0, loc=0x9689978) at trash.c:250
#3  0x00121c4c in default_unlink (frame=0x95a1838, this=0x959aad0, loc=0x9689978) at defaults.c:461
#4  0x00e81f87 in server_unlink_resume (frame=0x9687610, this=0x959acc8, loc=0x9689978) at server-protocol.c:4316
#5  0x0012e96c in call_resume (stub=0x9689960) at call-stub.c:2329
#6  0x00e82111 in server_unlink (frame=0x9687610, bound_xl=0x959aad0, hdr=0x9689be8, hdrlen=172, iobuf=0x0)
    at server-protocol.c:4362
#7  0x00e8879a in protocol_server_interpret (this=0x959acc8, trans=0x9649180, hdr_p=0x9689be8 "", hdrlen=172, iobuf=0x0)
    at server-protocol.c:7473
#8  0x00e891f1 in protocol_server_pollin (this=0x959acc8, trans=0x9649180) at server-protocol.c:7754
#9  0x00e89329 in notify (this=0x959acc8, event=2, data=0x9649180) at server-protocol.c:7810
#10 0x00d30c67 in socket_event_poll_in (this=0x9649180) at socket.c:714
#11 0x00d30eef in socket_event_handler (fd=13, idx=7, data=0x9649180, poll_in=1, poll_out=0, poll_err=0) at socket.c:814
#12 0x00132c71 in event_dispatch_epoll (event_pool=0x95949c0) at event.c:804
#13 0x00132f41 in event_dispatch (event_pool=0x95949c0) at event.c:975
#14 0x0804b6b1 in main (argc=5, argv=0xbff770e4) at glusterfsd.c:1226


   Why this happen?
2009-08-12 



eagleeyes 


More information about the Gluster-users mailing list