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

Re: [Libguestfs] Python Hivex Assertion Failed



Hi,

I've finally been able to post a hive that is not working on the internet:

http://bethlogic.net/NTUSER.004.DAT

And then this script has the failed assertion (same as in the email):

http://bethlogic.net/test-hivex.py

I'm trying checking out the code via git just to see if that produces
other results.  I'll try setting HAVE_PYCAPSULE_NEW, too.

I think this just might be something weird with the set up of my
system that the assert fails.  I did some "printf debugging" with
hivex-py.c and right before the "assert(obj);" line, obj is not 0,
which means it should pass, right?

Thanks for your assistance so far.
Elizabeth

On Mon, Apr 4, 2011 at 4:31 PM, Richard W.M. Jones <rjones redhat com> wrote:
> On Mon, Apr 04, 2011 at 03:59:42PM -0400, Elizabeth Schweinsberg wrote:
>> The value of HAVE_PYCAPSULE_NEW is undefined in config.h.  I found:
>>
>> /* #undef HAVE_PYCAPSULE_NEW */
>>
>> Is that what you were expecting?  I didn't touch config.h.
>
> It's a little bit surprising.
>
> AIUI all new versions of Python should support the PyCapsule interface
> (calls like PyCapsule_new and others).
>
> I checked Fedora, and HAVE_PYCAPSULE_NEW is defined.
>
> But I also checked Ubuntu 10.10, and HAVE_PYCAPSULE_NEW is _not_
> defined, same as for you.
>
> This means that you're executing code down a different path from what
> I'm using (except when I'm using Ubuntu -- where it works for me just
> fine for whatever reason).
>
> I'm not clear what's happening, but you can still help by providing:
>
> (a) a minimal test program that fails for you
> (b) a registry on which it fails
>
> I don't yet have an accurate bug reproducer for this, so I'm limited
> in what I can do to help.
>
> Rich.
>
> --
> Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
> virt-df lists disk usage of guests without needing to install any
> software inside the virtual machine.  Supports Linux and Windows.
> http://et.redhat.com/~rjones/virt-df/
>


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