[Gluster-devel] this->ctx overwritten by a file path

Vijay Bellur vijay at gluster.com
Tue Jul 5 09:26:54 UTC 2011


On Sun, Jul 3, 2011 at 3:10 PM, Emmanuel Dreyfus <manu at netbsd.org> wrote:

> this->graphs seems to have been overwritten by a string:
> (gdb) print this
> (...)
>      ctx = 0x74656e2f, graph = 0x2f647362, itable = 0x2f727375,
>      init_succeeded = 115 's', private = 0x72616873,
>
> And indeed I find here a filename that tar is just extracting:
>
> (gdb) x/1s &this->ctx
> 0xba99dd40:
> "/netbsd/usr/src/share/doc/papers/relengr/tmac.srefs.02384i"
>
>
Have you tried running this with valgrind? A similar test works fine on
Linux.

Thanks,
Vijay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20110705/f98a945c/attachment-0003.html>


More information about the Gluster-devel mailing list