On ven, 2009-01-09 at 12:18 -0800, Antonio Valentino wrote:
> 
> 
> On 9 Gen, 20:58, Giovanni Bajo <[email protected]> wrote:
> > On 1/9/2009 4:44 PM, [email protected] wrote:
> >
> > > I can reproduce this problem on my mandriva x86_64 setup.  I tried a
> > > few random revisions of SVN trunk yesterday, all with the same
> > > problem.  The code segfaults at source/common/launch.c:665 for me:
> >
> > >   664
> > >   665             Py_DECREF(mods);
> > >   666             free(modbuf);
> >
> > The DECREF is surely not wrong, so removing it is just papering over the
> > real problem, as far as I can tell.
> >
> > Is mods a valid pointer or is it NULL, when it crashes? If it's NULL,
> > what's the value of the expression "ntohl(ptoc->ulen) - 8"?
> 
> (gdb) print mods
> $1 = (PyObject *) 0x23a1460
> (gdb) print ntohl(ptoc->ulen)
> $2 = 19728

print *mods ?

So, where exactly does it crash, at the assembly level? What is the
exact machine instructor? What is the "crash" cause?

If that's a normal string object created by PyString_FromStringAndSize
and it's doing a normale DECREF, I can't see why it's crashing.
-- 
Giovanni Bajo
Develer S.r.l.
http://www.develer.com



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/PyInstaller?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to