Re: import of zexp containing Page Template objects causes sudden zope death

Tres Seaver <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris Withers wrote:
> Tres Seaver wrote:
>>> It's the sudden death I have issue with, not a peep of logging anywhere...
>> Two options there:
>>
>> - - Run under gdb.
> 
> gdb says:
> 
> Program received signal EXC_BAD_ACCESS, Could not access memory.
> Reason: KERN_PROTECTION_FAILURE at address: 0xb0186cec
> [Switching to process 12270]
> 0x000dc08c in import_submodule ()
> (gdb) bt
> #0  0x000dc08c in import_submodule ()
> #1  0x000dc409 in load_next ()
> #2  0x000dcdb1 in PyImport_ImportModuleLevel ()
> #3  0x000b5a4f in builtin___import__ ()
> #4  0x0000eb25 in PyObject_Call ()
> #5  0x000bb4be in PyEval_CallObjectWithKeywords ()
> 
> Now, how in gdb do I find out what it was that was trying to be imported?
> (should any sort of import cause a core dump?!)

http://wiki.python.org/moin/DebuggingWithGdb


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          [email protected]
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkx4FxEACgkQ+gerLs4ltQ4GbgCg2NrcybBl6re/0aldLOTayf1g
8GIAniqrILMuvJ+fEpDqmRaZlGQK+2LG
=Iv8Y
-----END PGP SIGNATURE-----

_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.