Bug 642248 - avogadro SIGABRT from __cxa_rethrow of boost::python::error_already_set - The _C_API object in the sip python module is invalid
Summary: avogadro SIGABRT from __cxa_rethrow of boost::python::error_already_set - The...
Alias: None
Product: Fedora
Classification: Fedora
Component: avogadro
Version: 14
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Kevin Kofler
QA Contact: Fedora Extras Quality Assurance
Whiteboard: abrt_hash:5d412730fcf4c3f88a4e8388937...
: 649236 650943 653547 655079 655848 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2010-10-12 13:00 UTC by Vytas
Modified: 2010-11-24 22:39 UTC (History)
9 users (show)

Fixed In Version: avogadro-1.0.1-10.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-11-24 22:39:40 UTC
Type: ---

Attachments (Terms of Use)
File: backtrace (34.23 KB, text/plain)
2010-10-12 13:00 UTC, Vytas
no flags Details
possible fix (768 bytes, patch)
2010-11-23 20:04 UTC, Edward Sheldrake
no flags Details | Diff

Description Vytas 2010-10-12 13:00:42 UTC
abrt version: 1.1.13
architecture: x86_64
Attached file: backtrace
cmdline: /usr/bin/avogadro
component: avogadro
crash_function: __gnu_cxx::__verbose_terminate_handler()
executable: /usr/bin/avogadro
package: avogadro-1.0.1-6.fc14
rating: 3
reason: Process /usr/bin/avogadro was killed by signal 6 (SIGABRT)
release: Fedora release 14 (Laughlin)
time: 1286888373
uid: 500

How to reproduce
1. Just run it.

Comment 1 Vytas 2010-10-12 13:00:45 UTC
Created attachment 452958 [details]
File: backtrace

Comment 2 Kevin Kofler 2010-11-15 17:14:18 UTC
*** Bug 646375 has been marked as a duplicate of this bug. ***

Comment 3 Kevin Kofler 2010-11-15 17:14:32 UTC
*** Bug 649236 has been marked as a duplicate of this bug. ***

Comment 4 Kevin Kofler 2010-11-15 17:18:06 UTC
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)

Comment 5 Kevin Kofler 2010-11-15 17:19:31 UTC
*** Bug 650943 has been marked as a duplicate of this bug. ***

Comment 6 Kevin Kofler 2010-11-15 17:19:51 UTC
*** Bug 653547 has been marked as a duplicate of this bug. ***

Comment 7 Pietro Amodeo 2010-11-18 17:00:44 UTC
Package: avogadro-1.0.1-6.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)

How to reproduce
1.Just started the program

Comment 8 Kevin Kofler 2010-11-19 15:37:08 UTC
*** Bug 655079 has been marked as a duplicate of this bug. ***

Comment 9 Kevin Kofler 2010-11-22 14:32:40 UTC
*** Bug 655848 has been marked as a duplicate of this bug. ***

Comment 10 Edward Sheldrake 2010-11-23 20:04:50 UTC
Created attachment 462431 [details]
possible fix

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

Comment 11 Kevin Kofler 2010-11-23 20:15:02 UTC
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.

Comment 12 Kevin Kofler 2010-11-23 20:19:23 UTC
Have you tested this patch?

Comment 13 Edward Sheldrake 2010-11-23 20:27:30 UTC
Yes, it appears to work - open a sample file, then in the python console:

import Avogadro

And, avogadro also starts up.

Comment 14 Fedora Update System 2010-11-23 21:13:32 UTC
avogadro-1.0.1-10.fc14 has been submitted as an update for Fedora 14.

Comment 15 Fedora Update System 2010-11-24 22:39:35 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.