bugGluster - Bugs: bug #24816, Crash on gf_flock_from_flock

 
 

bug #24816: Crash on gf_flock_from_flock

Submitted by:  None
Submitted on:  Tue 11 Nov 2008 07:12:31 PM UTC  
 
Category: GlusterFSSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Crash
Status: FixedPrivacy: Public
Assigned to: Basavanagowda Kanur <gowda>Originator Name: Basavanagowda Kanur
Originator Email: -unavailable-Open/Closed: Closed
Release: Operating System: GNU/Linux
Reproducibility: Every Time

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 11 Nov 2008 08:06:54 PM UTC, comment #2:

Thanks, that one fixed it.

Anonymous
Tue 11 Nov 2008 07:50:30 PM UTC, comment #1:

A bug fix has gone into posix-locks in patch-597. Can you please try with glusterfs--mainline--3.0--patch-597 now and see if patch-597 fixes the bug that you have seen?

--
gowda

Basavanagowda Kanur <gowda>
Project MemberIn charge of this item.
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);

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by gowda (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 11 Nov 2008 08:17:10 PM UTCgowdaStatusNone=>Fixed
      Assigned toNone=>gowda
      Open/ClosedOpen=>Closed
    Tue 11 Nov 2008 07:50:30 PM UTCgowdaOriginator Name=>Basavanagowda Kanur
      Originator Email=>-unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1