On sab, 2009-01-10 at 04:04 -0800, Antonio Valentino wrote: > On 10 Gen, 03:51, Giovanni Bajo <[email protected]> wrote: > > 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 ? > > (gdb) print *mods > $1 = {ob_refcnt = 0, ob_type = 0x7f8042147ea0} >
So, the object pointed by "mods" has refcount 0 *before* calling Py_DECREF? At what point does it become zero? -- 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 -~----------~----~----~----~------~----~------~--~---
