[Gluster-devel] samba segv in 362

Anand Avati avati at zresearch.com
Tue Jul 31 20:36:43 UTC 2007


Pooya, this bug should be fixed in the source repository version. please let
us know if you get any problems again.

thanks,
avati

2007/7/28, Pooya Woodcock <pooya at packetcloud.net>:
>
> Actually the problem is still there. Here's a latest coredump. It
> happened while I was copying from my workstation to gluster over samba.
>
> Core was generated by `
> [glusterfs]
>        '.
> Program terminated with signal 11, Segmentation fault.
> #0  0x00000034c8e74d92 in strcmp () from /lib64/libc.so.6
> (gdb) bt
> #0  0x00000034c8e74d92 in strcmp () from /lib64/libc.so.6
> #1  0x00002aaaaaab591b in xlator_search_by_name (any=<value optimized
> out>, name=0x0)
>      at xlator.c:210
> #2  0x00002aaaaaabc634 in __destroy_inode (inode=0x2aaab41d2e10) at
> inode.c:265
> #3  0x00002aaaaaabc86b in inode_unref (inode=0x2aaab41d2e10) at
> inode.c:440
> #4  0x0000000000406c23 in fuse_forget (req=0x2aaab803a6b0, ino=<value
> optimized out>,
>      nlookup=1) at fuse-bridge.c:401
> #5  0x0000000000406dec in fuse_transport_notify (xl=<value optimized
> out>,
>      event=<value optimized out>, data=<value optimized out>) at fuse-
> bridge.c:2059
> #6  0x00002aaaaaabae1f in sys_epoll_iteration (ctx=<value optimized
> out>) at epoll.c:53
> #7  0x0000000000403038 in main (argc=6, argv=0x7fff77c78638) at
> glusterfs.c:383
> (gdb)
>
>
>
> On Jul 27, 2007, at 10:53 AM, Pooya Woodcock wrote:
>
> > This issue seems to be fixed in 372.
> > I see this in the client logfile though---
> > 2007-07-27 10:50:51 C [rr.c:181:rr_schedule] rr: free space not
> > available on any server
> >
> > round-robin seems like its working fine though, with plenty of
> > space. Ideas?
> > -Pooya
> >
> >
> > On Jul 25, 2007, at 8:31 AM, Pooya Woodcock wrote:
> >
> >> 16 node AFR/unify samba cluster. I started copying a folder over
> >> samba and got this about halfway through. Self-heal is turned on.
> >>
> >> Core was generated by `
> >> [glusterfs]
> >>          '.
> >> Program terminated with signal 11, Segmentation fault.
> >> #0  _dict_lookup (this=<value optimized out>, key=0x18c249a0
> >> "brick3") at dict.c:125
> >> 125         if (pair->key && !strcmp (pair->key, key))
> >> (gdb) bt
> >> #0  _dict_lookup (this=<value optimized out>, key=0x18c249a0
> >> "brick3") at dict.c:125
> >> #1  0x00002aaaaaab3579 in dict_get (this=0x18c249a4, key=0x6
> >> <Address 0x6 out of bounds>) at dict.c:185
> >> #2  0x00002aaaab51ca17 in afr_closedir (frame=0x2aaab41740c0,
> >> this=<value optimized out>, fd=0x2aaab41b27a0) at afr.c:3939
> >> #3  0x00002aaaab72df94 in unify_closedir (frame=0x2aaab40f9dc0,
> >> this=<value optimized out>, fd=0x2aaab41b27a0) at unify.c:2664
> >> #4  0x00002aaaaaab7545 in default_closedir (frame=0x2aaab405fdd0,
> >> this=0x18c300d0, fd=0x2aaab41b27a0) at defaults.c:944
> >> #5  0x00002aaaaaab7545 in default_closedir (frame=0x2aaab4188f90,
> >> this=0x18c30a00, fd=0x2aaab41b27a0) at defaults.c:944
> >> #6  0x0000000000406e74 in fuse_releasedir (req=<value optimized
> >> out>, ino=<value optimized out>, fi=<value optimized out>)
> >>     at fuse-bridge.c:1451
> >> #7  0x00002aaaaacd45e5 in do_releasedir (req=0x18c249a4, nodeid=6,
> >> inarg=<value optimized out>) at fuse_lowlevel.c:733
> >> #8  0x0000000000406acc in fuse_transport_notify (xl=<value
> >> optimized out>, event=<value optimized out>,
> >>     data=<value optimized out>) at fuse-bridge.c:2054
> >> #9  0x00002aaaaaabaadf in sys_epoll_iteration (ctx=<value
> >> optimized out>) at epoll.c:54
> >> #10 0x0000000000402d18 in main (argc=7, argv=0x7fff1f440dd8) at
> >> glusterfs.c:382
> >>
> >>
> >> 2007-07-25 08:23:52 D [afr.c:76:afr_inode_to_giclist] afr1:
> >> returning NULL
> >> 2007-07-25 08:23:52 D [afr.c:76:afr_inode_to_giclist] afr2:
> >> returning NULL
> >> 2007-07-25 08:23:52 D [afr.c:76:afr_inode_to_giclist] afr3:
> >> returning NULL
> >> 2007-07-25 08:23:52 D [afr.c:76:afr_inode_to_giclist] afr4:
> >> returning NULL
> >> 2007-07-25 08:23:52 D [afr.c:76:afr_inode_to_giclist] afr5:
> >> returning NULL
> >> 2007-07-25 08:23:52 D [afr.c:76:afr_inode_to_giclist] afr6:
> >> returning NULL
> >> 2007-07-25 08:23:52 D [afr.c:76:afr_inode_to_giclist] afr7:
> >> returning NULL
> >> 2007-07-25 08:23:52 D [afr.c:76:afr_inode_to_giclist] afr8:
> >> returning NULL
> >> 2007-07-25 08:23:52 D [afr.c:76:afr_inode_to_giclist] afr9:
> >> returning NULL
> >> 2007-07-25 08:23:52 D [afr.c:76:afr_inode_to_giclist] afr10:
> >> returning NULL
> >> 2007-07-25 08:23:52 D [afr.c:76:afr_inode_to_giclist] afr11:
> >> returning NULL
> >> 2007-07-25 08:23:52 D [afr.c:76:afr_inode_to_giclist] afr12:
> >> returning NULL
> >> 2007-07-25 08:23:52 D [afr.c:76:afr_inode_to_giclist] afr13:
> >> returning NULL
> >> 2007-07-25 08:23:52 D [afr.c:76:afr_inode_to_giclist] afr14:
> >> returning NULL
> >> 2007-07-25 08:23:52 D [afr.c:76:afr_inode_to_giclist] afr15:
> >> returning NULL
> >> 2007-07-25 08:23:52 D [afr.c:76:afr_inode_to_giclist] afr16:
> >> returning NULL
> >> 2007-07-25 08:23:52 D [fuse-bridge.c:488:fuse_getattr] glusterfs-
> >> fuse: GETATTR 19693591 (/_ spreadsheets/_misc IDs/Stars Photos)
> >> 2007-07-25 08:23:52 D [fuse-bridge.c:348:fuse_entry_cbk] glusterfs-
> >> fuse: ERR => -1 (2)
> >> 2007-07-25 08:23:52 D [inode.c:286:__destroy_inode] fuse/inode:
> >> destroy inode(0)
> >> 2007-07-25 08:23:52 D [fuse-bridge.c:488:fuse_getattr] glusterfs-
> >> fuse: GETATTR 19693591 (/_ spreadsheets/_misc IDs/Stars Photos)
> >> 2007-07-25 08:23:52 D [inode.c:328:__active_inode] fuse/inode:
> >> activating inode(19693589), lru=1249/1024
> >> 2007-07-25 08:23:52 D [fuse-bridge.c:370:fuse_lookup] glusterfs-
> >> fuse: LOOKUP 19693589/Stars Photos (/_ spreadsheets/_misc IDs/
> >> Stars Photos)
> >> 2007-07-25 08:23:52 D [fuse-bridge.c:370:fuse_lookup] glusterfs-
> >> fuse: LOOKUP 19693589/Stars Photos (/_ spreadsheets/_misc IDs/
> >> Stars Photos)
> >> 2007-07-25 08:23:52 D [fuse-bridge.c:319:fuse_entry_cbk] glusterfs-
> >> fuse: ENTRY => 19693591
> >> 2007-07-25 08:23:52 D [inode.c:328:__active_inode] fuse/inode:
> >> activating inode(19693698), lru=1248/1024
> >> 2007-07-25 08:23:52 D [fuse-bridge.c:370:fuse_lookup] glusterfs-
> >> fuse: LOOKUP 19693591/12.jpg (/_  spreadsheets/_misc IDs/Stars
> >> Photos/12.jpg)
> >> 2007-07-25 08:23:52 D [fuse-bridge.c:319:fuse_entry_cbk] glusterfs-
> >> fuse: ENTRY => 19693698
> >> 2007-07-25 08:23:52 D [inode.c:358:__passive_inode] fuse/inode:
> >> passivating inode(19693698), lru=1249/1024
> >> 2007-07-25 08:23:52 C [common-utils.c:210:gf_print_trace] debug-
> >> backtrace: Got signal (11), printing backtrace
> >> 2007-07-25 08:23:52 C [common-utils.c:212:gf_print_trace] debug-
> >> backtrace: /usr/local/lib/libglusterfs.so.0(gf_print_trace+0x3a)
> >> [0x2aaaaaab8eca]
> >> 2007-07-25 08:23:52 C [common-utils.c:212:gf_print_trace] debug-
> >> backtrace: /lib64/libc.so.6 [0x34c8e30070]
> >> 2007-07-25 08:23:52 C [common-utils.c:212:gf_print_trace] debug-
> >> backtrace: /usr/local/lib/libglusterfs.so.0 [0x2aaaaaab3543]
> >> 2007-07-25 08:23:52 C [common-utils.c:212:gf_print_trace] debug-
> >> backtrace: /usr/local/lib/libglusterfs.so.0(dict_get+0x9)
> >> [0x2aaaaaab3579]
> >> 2007-07-25 08:23:52 C [common-utils.c:212:gf_print_trace] debug-
> >> backtrace: /usr/local/lib/glusterfs/1.3.pre6/xlator/cluster/afr.so
> >> [0x2aaaab51ca17]
> >> 2007-07-25 08:23:52 C [common-utils.c:212:gf_print_trace] debug-
> >> backtrace: /usr/local/lib/glusterfs/1.3.pre6/xlator/cluster/
> >> unify.so(unify_closedir+0x124) [0x2aaaab72df94]
> >> 2007-07-25 08:23:52 C [common-utils.c:212:gf_print_trace] debug-
> >> backtrace: /usr/local/lib/libglusterfs.so.0(default_closedir+0xa5)
> >> [0x2aaaaaab7545]
> >> 2007-07-25 08:23:52 C [common-utils.c:212:gf_print_trace] debug-
> >> backtrace: /usr/local/lib/libglusterfs.so.0(default_closedir+0xa5)
> >> [0x2aaaaaab7545]
> >> 2007-07-25 08:23:52 C [common-utils.c:212:gf_print_trace] debug-
> >> backtrace: [glusterfs] [0x406e74]
> >> 2007-07-25 08:23:52 C [common-utils.c:212:gf_print_trace] debug-
> >> backtrace: /usr/local/lib/libfuse.so.2 [0x2aaaaacd45e5]
> >> 2007-07-25 08:23:52 C [common-utils.c:212:gf_print_trace] debug-
> >> backtrace: [glusterfs] [0x406acc]
> >> 2007-07-25 08:23:52 C [common-utils.c:212:gf_print_trace] debug-
> >> backtrace: /usr/local/lib/libglusterfs.so.0(sys_epoll_iteration
> >> +0xbf) [0x2aaaaaabaadf]
> >> 2007-07-25 08:23:52 C [common-utils.c:212:gf_print_trace] debug-
> >> backtrace: [glusterfs] [0x402d18]
> >> 2007-07-25 08:23:52 C [common-utils.c:212:gf_print_trace] debug-
> >> backtrace: /lib64/libc.so.6(__libc_start_main+0xf4) [0x34c8e1d8a4]
> >> 2007-07-25 08:23:52 C [common-utils.c:212:gf_print_trace] debug-
> >> backtrace: [glusterfs] [0x4028f9]
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> Gluster-devel mailing list
> >> Gluster-devel at nongnu.org
> >> http://lists.nongnu.org/mailman/listinfo/gluster-devel
> >
>
>
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>



-- 
Anand V. Avati



More information about the Gluster-devel mailing list