Re: debugging glusterfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxxxxxx> 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@xxxxxxxxx>
>>>
>>> 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@xxxxxxxxxx
>>> 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!
>>
>




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux