Red Hat Bugzilla – Bug 642248
avogadro SIGABRT from __cxa_rethrow of boost::python::error_already_set - The _C_API object in the sip python module is invalid
Last modified: 2010-11-24 17:39:40 EST
abrt version: 1.1.13
Attached file: backtrace
reason: Process /usr/bin/avogadro was killed by signal 6 (SIGABRT)
release: Fedora release 14 (Laughlin)
How to reproduce
1. Just run it.
Created attachment 452958 [details]
*** Bug 646375 has been marked as a duplicate of this bug. ***
*** Bug 649236 has been marked as a duplicate of this bug. ***
Bug 649236 has more information about what exactly is being rethrown:
Eventually this is not an avogadro bug. here is the console output
The _C_API object in the sip python module is invalid.
Could not initialize SIP API !
terminate called after throwing an instance of
Aborted (core dumped)
*** Bug 650943 has been marked as a duplicate of this bug. ***
*** Bug 653547 has been marked as a duplicate of this bug. ***
OS Release: Fedora release 14 (Laughlin)
How to reproduce
1.Just started the program
*** Bug 655079 has been marked as a duplicate of this bug. ***
*** Bug 655848 has been marked as a duplicate of this bug. ***
Created attachment 462431 [details]
The problem appears to be avogadro being incompatible with sip + python 2.7, because sip started using PyCapsule (sip 4.10.4 NEWS).
I don't know python, the patch is entirely based on http://docs.python.org/whatsnew/2.7.html#capsules
Hmmm, I wonder if bug 646375 is actually a different issue, because that one is on F13, which doesn't have Python 2.7. All the others are on F14, which makes sense.
Have you tested this patch?
Yes, it appears to work - open a sample file, then in the python console:
And, avogadro also starts up.
avogadro-1.0.1-10.fc14 has been submitted as an update for Fedora 14.
avogadro-1.0.1-10.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.