Bug 603340
| Summary: | "python: Objects/frameobject.c:633: PyFrame_New: Assertion `f->f_code == code' failed.\n" running /usr/bin/gpo sync | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dave King <dave> | ||||
| Component: | pygobject2 | Assignee: | Colin Walters <walters> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 13 | CC: | dmalcolm, ivazqueznet, james.antill, jonathansteffan, jspaleta, vpvainio, walters | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | abrt_hash:ce1b1a84a86e9fb91002b6334ef6d37ae33456c8 | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-06-27 18:04:48 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Dave King
2010-06-12 13:14:09 UTC
Created attachment 423497 [details]
File: backtrace
I can't reproduce this with a filesystem based player, but it seems like python is raising an assertion. Assigning to the python package. Thank you for reporting this bug.
How reproducible is this problem? If you run the program from a terminal, is an error message printed?
What is the output of running the following command?
rpm -q python python-libs python-debuginfo pygobject2
Looking at the backtrace, it looks like an assertion failed inside frame 2 of thread #1 inside PyFrame_New:
python: Objects/frameobject.c:633: PyFrame_New: Assertion `f->f_code == code' failed.
Frames #11 and above seem to be in GStreamer, IIRC frame #10 pyg_closure_marshal is in pygbject: a gstreamer callback is invoked, which turns out to be Python code, and it looks like the python code isn't valid.
The assertion that's failing is within this code:
if (code->co_zombieframe != NULL) {
f = code->co_zombieframe;
code->co_zombieframe = NULL;
_Py_NewReference((PyObject *)f);
assert(f->f_code == code);
}
The interpreter sees that the PyCodeObject has already had a PyFrameObject allocated that's no longer used, and tries to use that, rather than allocate a new PyFrameObject (an optimization), but the reused PyFrameObject doesn't point back at the PyCodeObject: something's gone wrong.
This could be:
- (i) a bug in the C code in /usr/lib64/python2.6/site-packages/gpod/_gpod.so that corrupts the internals of the process and happens to hit this value
- (ii) a bug in the way pygobject is setting up these callbacks
- (iii) a bug in python (but it would have to be very hard to reproduce)
- (iv) something else I haven't thought of
Reassigning component from "python" to "pygobject2" since I know we had a few issues with pygobject2 in the run-up to F-13. Feel free to reassign back as necessary.
(In reply to comment #3) > How reproducible is this problem? If you run the program from a terminal, is > an error message printed? This abend occurs every time I run gpo (gpodder). It's 100% reproduceable. Here's the output from the console: $ gpo sync Plugin loaded: gpodder.soundcloud Opening iPod database iPod opened Synchronizing: 1 of 10 Adding Top Gear - 2010-04-26 Synchronizing: 2 of 10 Adding Frontline - The Vaccine War - 2010-04-27 Synchronizing: 3 of 10 Adding House - The Choice - 2010-05-03 Synchronizing: 4 of 10 Adding Frontline - College, Inc. - 2010-05-04 Synchronizing: 5 of 10 Adding House - Baggage - 2010-05-10 Synchronizing: 6 of 10 Adding House - Help Me - 2010-05-27 Synchronizing: 7 of 10 Adding Burn Notice - Made Man - 2010-06-17 python: Objects/frameobject.c:633: PyFrame_New: Assertion `f->f_code == code' failed. Aborted (core dumped) $ > What is the output of running the following command? > rpm -q python python-libs python-debuginfo pygobject2 $ rpm -q python python-libs python-debuginfo pygobject2 python-2.6.4-27.fc13.x86_64 python-libs-2.6.4-27.fc13.x86_64 package python-debuginfo is not installed pygobject2-2.21.1-6.fc13.x86_64 This message is a reminder that Fedora 13 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 13. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '13'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 13's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 13 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Fedora 13 changed to end-of-life (EOL) status on 2011-06-25. Fedora 13 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. |