Tue 11 Nov 2008 07:12:31 PM UTC, original submission:
Hello, I get this segfault with Posix locks (glusterfs--mainline--3.0--patch-596):
(gdb) bt
#0 0xb7d87a9f in gf_flock_from_flock (gf_flock=0x8926298, flock=0x1)
at ../../../../libglusterfs/src/protocol.h:171
#1 0xb7d87a37 in server_lk_cbk (frame=0x89267c0, cookie=0x8926960,
this=0x88eb3e0, op_ret=0, op_errno=0, lock=0x1) at server-protocol.c:300
#2 0xb7fb1dd1 in grant_blocked_locks (pl_inode=0x8925218,
domain=GF_LOCK_POSIX) at common.c:343
#3 0xb7fb2135 in insert_and_merge (pl_inode=0x8925218, lock=0x8927bb0,
domain=GF_LOCK_POSIX) at common.c:433
#4 0xb7fb222c in pl_setlk (pl_inode=0x8925218, lock=0x8927bb0, can_block=0,
domain=GF_LOCK_POSIX) at common.c:464
#5 0xb7fb5848 in pl_lk (frame=0x8927128, this=0x88eae88, fd=0x8925cd0,
cmd=13, flock=0xbffd8018) at posix.c:725
#6 0xb7d95ceb in server_lk (frame=0x8927c40, bound_xl=0x88eae88,
hdr=0x8927970, hdrlen=80, buf=0x0, buflen=0) at server-protocol.c:5926
#7 0xb7d98022 in protocol_server_interpret (this=0x88eb3e0, trans=0x88ed2d0,
hdr_p=0x8927970 "", hdrlen=80, buf=0x0, buflen=0) at server-protocol.c:6853
#8 0xb7d992f9 in protocol_server_pollin (this=0x88eb3e0, trans=0x88ed2d0)
at server-protocol.c:7236
#9 0xb7d993c7 in notify (this=0x88eb3e0, event=2, data=0x88ed2d0)
at server-protocol.c:7287
#10 0xb7579e42 in socket_event_poll_in (this=0x88ed2d0) at socket.c:678
#11 0xb757a141 in socket_event_handler (fd=7, idx=1, data=0x88ed2d0,
poll_in=1, poll_out=0, poll_err=0) at socket.c:778
---Type <return> to continue, or q <return> to quit---
#12 0xb7fa06b6 in event_dispatch_epoll (event_pool=0x88e60c8) at event.c:853
#13 0xb7fa09db in event_dispatch (event_pool=0x88e60c8) at event.c:959
#14 0x0804c171 in main (argc=8, argv=0xbffd88b4) at glusterfs.c:835
(gdb) f 0
#0 0xb7d87a9f in gf_flock_from_flock (gf_flock=0x8926298, flock=0x1)
at ../../../../libglusterfs/src/protocol.h:171
171 gf_flock->type = hton16 (flock->l_type);
|