Created attachment 738997 [details] backtrace Version-Release number of selected component (if applicable): python-2.7.4-3.fc19.x86_64 gtk3-3.8.1-1.fc19.x86_64 Steps to Reproduce: 1. python 2. from gi.repository import Gtk 3. help(Gtk) 4. press q Actual results: Segmentation fault (core dumped)
Notes: There is a related package pygobject3, that provides the "gi" module, F19 currently has: pygobject3-3.8.1-1.fc20.x86_64 It seems that help for classes of Gtk module, that is constructed in pydoc.py TextDoc.docmodule#1096 (if classes: ...) is producing a corrupt string. When the segfault occurs, len(result) is always 8245286, but sometimes the segfault doesn't occur and then len(result) is 8245085. I'll try to find out whether this is a bug on Python side or bad construction of the docstring on side of pygobject3.
This is the commit that introduces the issue: https://git.gnome.org/browse/pygobject/commit/gi/types.py?id=13629f5a9c9a7022f3521a3616d9ce8fa4a6161b Reverting it makes help(Gtk) pass. It may still be a bug in Python, though.
Since I was able to reproduce it with Python 2.7.3, too, I reported bug for pygobject3 upstream: https://bugzilla.gnome.org/show_bug.cgi?id=698829. Let's wait and see what they say about it.
Created attachment 739880 [details] Fixes segfault on calling help(Gtk) interactively So the upstream has provided patch that works for me. I'm attaching a patch that can be applied directly into dist-git (although the tests are failing for me when rebuilding - with or without the new patch...)
Reassigning to pygobject3 maintainer. Could you please apply the patch to fix this issue? Thanks.
This message is a notice that Fedora 19 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 19. It is Fedora's policy to close all bug reports from releases that are no longer maintained. Approximately 4 (four) weeks from now this bug will be closed as EOL if it remains open with a Fedora 'version' of '19'. 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. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 19 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, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. 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.
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 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. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.