[Gluster-devel] debugging glusterfs

Amar S. Tumballi amar at zresearch.com
Sat Aug 2 18:56:06 UTC 2008


Michael,
 Mostly I know whats wrong with it.. Will be making another qa release this
week, that should work fine. Or you can try the latest tla too.

Regards,
Amar

2008/8/2 Michael Grant <mgrant at grant.org>

> Ahh, sorry, you mean -N to glusterfs.  Duh.
>
> It is the same:
>
> (gdb) run -N -f test.vol /mnt
> Starting program: /usr/local/sbin/glusterfs -N -f test.vol /mnt
> warning: Unable to get location for thread creation breakpoint: generic
> error
> [New LWP 100351]
> [New Thread 0x8057000 (LWP 100399)]
>
> Program exited with code 0377.
>
>
> On Sat, Aug 2, 2008 at 11:42 AM, Michael Grant <mgrant at grant.org> wrote:
> > I don't see a -N flag.  There's a -n flag to gdb but that doesn't
> > help.  Are you sure you mean -N?
> >
> > I wanted to try to locate the source of the segv that is happening
> > that I mentioned to you a few days ago.  I cannot get 1.4.0qa32 to run
> > on freebsd as a client.
> >
> > Michael Grant
> >
> > On Sat, Aug 2, 2008 at 10:53 AM, Amar S. Tumballi <amar at zresearch.com>
> wrote:
> >> When you use gdb, you need to use -N flag (on any OS).
> >>
> >> But can you explain us why you needed gdb? I would like to help if
> possible.
> >>
> >> Regards,
> >> Amar
> >>
> >> 2008/8/2 Michael Grant <mgrant at grant.org>
> >>>
> >>> I'd like to help with glusterfs but I can't seem to run it in gdb on
> >>> freebsd, this is what I get:
> >>>
> >>>  # gdb /usr/local/sbin/glusterfs
> >>>  (gdb) run
> >>>  Starting program: /usr/local/sbin/glusterfs -f test.vol /mnt
> >>>  warning: Unable to get location for thread creation breakpoint:
> generic
> >>> error
> >>>  [New LWP 100278]
> >>>
> >>>  Program exited normally.
> >>>
> >>> Is there a trick to debugging glusterfs in gdb?
> >>>
> >>> Michael Grant
> >>>
> >>>
> >>> _______________________________________________
> >>> Gluster-devel mailing list
> >>> Gluster-devel at nongnu.org
> >>> http://lists.nongnu.org/mailman/listinfo/gluster-devel
> >>
> >>
> >>
> >> --
> >> Amar Tumballi
> >> Gluster/GlusterFS Hacker
> >> [bulde on #gluster/irc.gnu.org]
> >> http://www.zresearch.com - Commoditizing Super Storage!
> >>
> >
>
>


-- 
Amar Tumballi
Gluster/GlusterFS Hacker
[bulde on #gluster/irc.gnu.org]
http://www.zresearch.com - Commoditizing Super Storage!



More information about the Gluster-devel mailing list