Mon 16 Feb 2009 06:36:26 PM UTC, original submission:
This bug could be related to #25506
~ Whenever I try to remove a file,or create a file the server crashes:
FreeBSD 7.1-RELEASE-p2
[root@bondeau] $ glusterfs -f /usr/local/etc/glusterfs/server.vol --debug -N
2009-02-16 13:31:40 D [glusterfsd.c:310:_get_specfp] glusterfs: loading volume file /usr/local/etc/glusterfs/server.vol
Version : glusterfs 2.0.0rc1 built on Feb 16 2009 11:16:05
TLA Revision : glusterfs--mainline--3.0--patch-844
Starting Time: 2009-02-16 13:31:40
Command line : glusterfs -f /usr/local/etc/glusterfs/server.vol --debug -N
given volfile
+-----
1: ##############################################
2: ### GlusterFS Server Volume Specification ##
3: ##############################################
4:
5: volume www
6: type storage/posix
7: option directory /usr/share/storage/www
8: end-volume
9:
10: volume data-server
11: type protocol/server
12: option transport-type tcp/server
13: subvolumes www
14: option auth.addr.www.allow *
15: end-volume
16:
+-----
2009-02-16 13:31:40 D [spec.y:187:new_section] parser: New node for 'www'
2009-02-16 13:31:40 D [xlator.c:421:xlator_set_type] xlator: attempt to load file /usr/local/lib/glusterfs/2.0.0rc1/xlator/storage/posix.so
2009-02-16 13:31:40 D [spec.y:213:section_type] parser: Type:www:storage/posix
2009-02-16 13:31:40 D [spec.y:288:section_option] parser: Option:www:directory:/usr/share/storage/www
2009-02-16 13:31:40 D [spec.y:372:section_end] parser: end:www
2009-02-16 13:31:40 D [spec.y:187:new_section] parser: New node for 'data-server'
2009-02-16 13:31:40 D [xlator.c:421:xlator_set_type] xlator: attempt to load file /usr/local/lib/glusterfs/2.0.0rc1/xlator/protocol/server.so
2009-02-16 13:31:40 D [spec.y:213:section_type] parser: Type:data-server:protocol/server
2009-02-16 13:31:40 D [spec.y:288:section_option] parser: Option:data-server:transport-type:tcp/server
2009-02-16 13:31:40 D [spec.y:357:section_sub] parser: child:data-server->www
2009-02-16 13:31:40 D [spec.y:288:section_option] parser: Option:data-server:auth.addr.www.allow:*
2009-02-16 13:31:40 D [spec.y:372:section_end] parser: end:data-server
2009-02-16 13:31:40 D [glusterfsd.c:1084:main] glusterfs: running in pid 92549
2009-02-16 13:31:40 D [xlator.c:551:xlator_init_rec] www: Initialization done
2009-02-16 13:31:40 D [transport.c:141:transport_load] transport: attempt to load file /usr/local/lib/glusterfs/2.0.0rc1/transport/socket.so
2009-02-16 13:31:40 D [server-protocol.c:7617:init] data-server: defaulting limits.transaction-size to 4194304
2009-02-16 13:31:46 D [addr.c:174:gf_auth] www: allowed = "*", received addr = "XXX"
2009-02-16 13:31:46 D [server-protocol.c:6851:mop_setvolume] data-server: accepted client from XXX:1023
2009-02-16 13:31:46 D [server-protocol.c:6897:mop_setvolume] data-server: creating inode table with lru_limit=1024, xlator=www
2009-02-16 13:31:46 D [inode.c:990:inode_table_new] www: creating new inode table with lru_limit=1024
2009-02-16 13:31:46 D [inode.c:455:__inode_create] www/inode: create inode(2884610536912191488)
2009-02-16 13:31:52 D [inode.c:280:__inode_activate] www/inode: activating inode(1), lru=1024/1 active=0 purge=673974264
2009-02-16 13:31:52 D [server-protocol.c:3288:server_lookup_resume] www: LOOKUP '0/hã¿¿`Ï
((á6(°°5(¸Q0('
2009-02-16 13:31:52 D [inode.c:455:__inode_create] www/inode: create inode(2890398151372439552)
2009-02-16 13:31:52 D [inode.c:280:__inode_activate] www/inode: activating inode(0), lru=1024/2 active=0 purge=455
2009-02-16 13:31:52 D [server-protocol.c:3288:server_lookup_resume] www: LOOKUP '2896101773452247041/`('
2009-02-16 13:31:52 D [inode.c:94:__dentry_hash] www/inode: dentry hashed gg (2897417510915857441)
2009-02-16 13:31:52 D [inode.c:299:__inode_passivate] www/inode: passivating inode(4297251873) lru=1024/1 active=0 purge=672970142
2009-02-16 13:31:52 D [inode.c:280:__inode_activate] www/inode: activating inode(2284577), lru=1024/2 active=0 purge=671756738
2009-02-16 13:31:52 D [server-protocol.c:3288:server_lookup_resume] www: LOOKUP '2896101773452247041/`('
2009-02-16 13:31:52 D [inode.c:299:__inode_passivate] www/inode: passivating inode(4297251873) lru=1024/1 active=0 purge=672970142
2009-02-16 13:31:52 D [inode.c:280:__inode_activate] www/inode: activating inode(2284577), lru=1024/2 active=0 purge=671756738
2009-02-16 13:31:52 D [server-protocol.c:3288:server_lookup_resume] www: LOOKUP '2896101773452247041/`('
2009-02-16 13:31:52 D [inode.c:299:__inode_passivate] www/inode: passivating inode(4297251873) lru=1024/1 active=0 purge=672970142
2009-02-16 13:31:52 D [inode.c:280:__inode_activate] www/inode: activating inode(2284577), lru=1024/2 active=0 purge=671756738
pending frames:
frame : type(1) op(UNLINK)
patchset: glusterfs--mainline--3.0--patch-844
signal received: 11
configuration details:db.h 1
dlfcn 1
libpthread 1
spinlock 1
extattr.h 1
st_atimespec.tv_nsec 1
package-string: glusterfs 2.0.0rc1
Segmentation fault: 11 (core dumped)
[root@bondeau] $ gdb glusterfs
Makefile distinfo.bak glusterfsd.core pkg-descr pkg-message work/
[root@bondeau] $ gdb glusterfs glusterfsd.core
GNU gdb 6.1.1 [FreeBSD]
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-marcel-freebsd"...(no debugging symbols found)...
warning: core file may not match specified executable file.
Core was generated by `glusterfsd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libglusterfs.so.0...done.
Loaded symbols for /usr/local/lib/libglusterfs.so.0
Reading symbols from /usr/local/lib/libiconv.so.3...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /lib/libthr.so.3...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /usr/local/lib/glusterfs/2.0.0rc1/xlator/storage/posix.so...done.
Loaded symbols for /usr/local/lib/glusterfs/2.0.0rc1/xlator/storage/posix.so
Reading symbols from /usr/local/lib/glusterfs/2.0.0rc1/xlator/protocol/server.so...done.
Loaded symbols for /usr/local/lib/glusterfs/2.0.0rc1/xlator/protocol/server.so
Reading symbols from /usr/local/lib/glusterfs/2.0.0rc1/transport/socket.so...done.
Loaded symbols for /usr/local/lib/glusterfs/2.0.0rc1/transport/socket.so
Reading symbols from /usr/local/lib/glusterfs/2.0.0rc1/auth/addr.so...done.
Loaded symbols for /usr/local/lib/glusterfs/2.0.0rc1/auth/addr.so
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0 0x282a8a59 in strlen () from /lib/libc.so.7
[New Thread 0x28301200 (LWP 100241)]
[New Thread 0x28301100 (LWP 100161)]
(gdb) backtrace
#0 0x282a8a59 in strlen () from /lib/libc.so.7
#1 0x282a309d in open () from /lib/libc.so.7
#2 0x0022dc21 in ?? ()
#3 0x00000000 in ?? ()
#4 0x0000000a in ?? ()
#5 0x00000000 in ?? ()
#6 0x282d3e40 in __tsd_lock () from /lib/libc.so.7
#7 0xbfbfdfd4 in ?? ()
#8 0xbfbfe05b in ?? ()
#9 0x00000047 in ?? ()
#10 0x00000001 in ?? ()
#11 0x00000001 in ?? ()
#12 0x00000049 in ?? ()
#13 0xbfbfe034 in ?? ()
#14 0xbfbfe104 in ?? ()
#15 0xbfbfe05b in ?? ()
#16 0x282bb408 in sys_nerr () from /lib/libc.so.7
#17 0xbfbfe004 in ?? ()
#18 0x282d3e40 in __tsd_lock () from /lib/libc.so.7
#19 0xbfbfe004 in ?? ()
#20 0x2835a088 in ?? ()
#21 0x0000001b in ?? ()
#22 0x00000000 in ?? ()
#23 0x00000049 in ?? ()
#24 0x0000001c in ?? ()
#25 0xbfbfe064 in ?? ()
#26 0x00000000 in ?? ()
#27 0x282b7cc0 in __uppercase_hex () from /lib/libc.so.7
#28 0x00000000 in ?? ()
#29 0x00000000 in ?? ()
#30 0x00000000 in ?? ()
#31 0x00000000 in ?? ()
#32 0x0022dc21 in ?? ()
#33 0xbfbfe06c in ?? ()
#34 0x00000000 in ?? ()
#35 0x0000001c in ?? ()
#36 0x00000000 in ?? ()
#37 0xffffffff in ?? ()
#38 0x00000000 in ?? ()
#39 0x282b7cc0 in __uppercase_hex () from /lib/libc.so.7
#40 0x00000003 in ?? ()
#41 0xbfbfe064 in ?? ()
#42 0x00000007 in ?? ()
#43 0x00000000 in ?? ()
#44 0x00000000 in ?? ()
#45 0x0000003e in ?? ()
#46 0x00000000 in ?? ()
#47 0x00000040 in ?? ()
#48 0x00000001 in ?? ()
#49 0x28311128 in ?? ()
#50 0xffffffff in ?? ()
#51 0x00000013 in ?? ()
#52 0x00000013 in ?? ()
#53 0xbfbfe0b4 in ?? ()
#54 0x00000003 in ?? ()
#55 0x00000000 in ?? ()
#56 0xbfbfe05b in ?? ()
#57 0x00000000 in ?? ()
#58 0x00000013 in ?? ()
#59 0x0000003e in ?? ()
#60 0x00000000 in ?? ()
#61 0x2841c185 in _FUNCTION_.13835 () from /usr/local/lib/glusterfs/2.0.0rc1/xlator/protocol/server.so
#62 0x00000000 in ?? ()
#63 0x282b7cc0 in __uppercase_hex () from /lib/libc.so.7
#64 0x00000009 in ?? ()
#65 0x282a0a8f in open () from /lib/libc.so.7
#66 0x00000007 in ?? ()
#67 0x00000000 in ?? ()
---Type <return> to continue, or q <return> to quit---
#68 0x00000000 in ?? ()
#69 0x00000000 in ?? ()
#70 0xffffffff in ?? ()
#71 0x280a31c2 in __dentry_search (table=0x282d3e40, par=675398006, name=0xbfbfe294 "\004") at inode.c:220
#72 0x282a400f in vfprintf () from /lib/libc.so.7
#73 0x28099dd0 in _gf_log (domain=0x2835a088 "www", file=0x2841b5de "server-protocol.c",
function=0x2841c161 "server_unlink_resume", line=4238, level=GF_LOG_DEBUG, fmt=0x2841c176 "UNLINK '%lld/%s (%lld)'")
at logging.c:198
#74 0x2840e707 in server_unlink_resume (frame=0x2836e128, this=0x2835b0b0, loc=0x283051b8) at server-protocol.c:4236
#75 0x280ac415 in call_resume_wind (stub=0x283051a0) at call-stub.c:2133
#76 0x280afd1e in call_resume (stub=0x283051a0) at call-stub.c:3387
#77 0x2840e961 in server_unlink (frame=0x2836e128, bound_xl=0x2835b060, hdr=0x28311100, hdrlen=47, buf=0x0, buflen=0)
at server-protocol.c:4290
#78 0x28416db1 in protocol_server_interpret (this=0x2835b0b0, trans=0x28366400, hdr_p=0x28311100 "", hdrlen=47, buf=0x0, buflen=0)
at server-protocol.c:7258
#79 0x28418519 in protocol_server_pollin (this=0x2835b0b0, trans=0x28366400) at server-protocol.c:7703
#80 0x2841864b in notify (this=0x2835b0b0, event=2, data=0x28366400) at server-protocol.c:7755
#81 0x282ed0d4 in socket_event_poll_in (this=0x28366400) at socket.c:678
#82 0x282ed3d5 in socket_event_handler (fd=8, idx=2, data=0x28366400, poll_in=1, poll_out=0, poll_err=0) at socket.c:778
#83 0x280b3792 in event_dispatch_poll_handler (event_pool=0x28310080, ufds=0x28307360, i=2) at event.c:372
#84 0x280b39d8 in event_dispatch_poll (event_pool=0x28310080) at event.c:453
#85 0x280b3cf1 in event_dispatch (event_pool=0x28310080) at event.c:975
#86 0x0804d256 in main ()
(gdb)
-----------------------------------------
On another note: the latest release also fails to compile:
http://ftp.gluster.com/pub/gluster/glusterfs/2.0/pre/glusterfs-2.0.0pre18
posix.c: In function 'create_entry':
posix.c:2867: error: 'struct stat' has no member named 'st_atim'
posix.c:2868: error: 'struct stat' has no member named 'st_mtim'
Stop in /usr/ports/net/glusterfs/work/glusterfs-2.0.0pre18/xlators/storage/posix/src.
Stop in /usr/ports/net/glusterfs/work/glusterfs-2.0.0pre18/xlators/storage/posix.
Stop in /usr/ports/net/glusterfs/work/glusterfs-2.0.0pre18/xlators/storage.
Stop in /usr/ports/net/glusterfs/work/glusterfs-2.0.0pre18/xlators.
Stop in /usr/ports/net/glusterfs/work/glusterfs-2.0.0pre18.
Stop in /usr/ports/net/glusterfs/work/glusterfs-2.0.0pre18.
Stop in /usr/ports/net/glusterfs.
|