Re: this->ctx overwritten by a file path

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

 




On Sun, Jul 3, 2011 at 3:10 PM, Emmanuel Dreyfus <manu@xxxxxxxxxx> 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


[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