On Fri, Nov 13, 2015 at 12:10 PM Justin Israel <[email protected]> wrote:
> Is it possible to use GDB to figure out what exactly is crashing? I don't > use PyMEL either, but does PyMEL have any compiled bits that are > conflicting with that version of Maya (or maybe its all pure py)? > There's nothing compiled, it's all pure python. It does have some cached data stores that it reads (which contain metadata about all the various commands), but that's it. > Maybe it has installed atexit hooks and is hitting a bad reference to > something at shutdown. If all else fails and you simply need to work around > it... you could use "os._exit(0)" to do a hard exit that bypasses pythons > atexit hooks. > By default, pymel doesn't install any atexit hooks. The fixMayapy2011SegFault() workaround installs one, which basically just calls os._exit() as you suggested (except with some extra logic to attempt to return a meaningful exit code). - Paul -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAAssL7ZW-T7r%2BKb%2BXMKC-Pi%2Bqz6rSh7JGFLtGNidkX9QEH-hkA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
