[Bug 896836] Re: Segmentation fault when asking help() for the list of modules

2020-07-14 Thread Marc Deslauriers
** Information type changed from Public Security to Public -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/896836 Title: Segmentation fault when asking help() for the list of modules To manage

[Bug 896836] Re: Segmentation fault when asking help() for the list of modules

2019-02-24 Thread Helio Loureiro
Hi @stephane-guillou, I also do have ubuntu 18.04 and I can't see this issue there. helio@xps13ubuntu:~$ python3 Python 3.6.7 (default, Oct 22 2018, 11:32:17) [GCC 8.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> help('modules') Please wait a moment

[Bug 896836] Re: Segmentation fault when asking help() for the list of modules

2019-02-24 Thread Stéphane Guillou
Still present in Ubuntu 18.04, using the python3.6 prompt in the shell: ``` >>> help('modules') Please wait a moment while I gather a list of all available modules... [ecc] warning: libsecp256k1 library not available, falling back to python-ecdsa WARNING:root:can not import unity GI Namespace

[Bug 896836] Re: Segmentation fault when asking help() for the list of modules

2018-04-30 Thread Freihut
I just applied that change from #24 to usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py Line 40: - import gtk +from gi.repository import Gtk and it fixes (at least) the taskcoach issue. I've seen no side effects to other programs so far, but I did not much testing. But I hope, it'll help

[Bug 896836] Re: Segmentation fault when asking help() for the list of modules

2018-04-28 Thread Freihut
Same here as in Post #25 (Xubuntu 18.04 but no beta). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/896836 Title: Segmentation fault when asking help() for the list of modules To manage

[Bug 896836] Re: Segmentation fault when asking help() for the list of modules

2018-04-09 Thread aleandro
I started taskcoach in Ubuntu 18.04 beta and I got these errors: usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: g_boxed_type_register_static: assertion 'g_type_from_name (name) == 0' failed from gtk import _gtk /usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40:

[Bug 896836] Re: Segmentation fault when asking help() for the list of modules

2014-05-29 Thread Adam
I had to change import gtk to -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/896836 Title: Segmentation fault when asking help() for the list of modules To manage notifications about this bug go

[Bug 896836] Re: Segmentation fault when asking help() for the list of modules

2014-05-29 Thread Adam
I had to change import gtk to from gi.repository import Gtk sorry for previous comment -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/896836 Title: Segmentation fault when asking help() for the

[Bug 896836] Re: Segmentation fault when asking help() for the list of modules

2014-05-28 Thread Tony
I came across the same error when running quickly run, after I added import pygtk pygtk.require('2.0') import gtk to my FirstWindow.py (main window) the output: $ quickly run /usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion

[Bug 896836] Re: Segmentation fault when asking help() for the list of modules

2014-03-24 Thread Hardik Sanchawat (OpenERP)
Ubuntu 12.10 am facing following traceback while using command for displaying list of modules of python. ~$ python Python 2.7.3 (default, Sep 26 2013, 20:08:41) [GCC 4.6.3] on linux2 Type help, copyright, credits or license for more information. help('modules') Please wait a moment while I

[Bug 896836] Re: Segmentation fault when asking help() for the list of modules

2014-02-17 Thread Daniel Hahler
** Changed in: python2.7 (Ubuntu) Status: Confirmed = Triaged ** Changed in: python2.7 (Ubuntu) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/896836 Title:

[Bug 896836] Re: Segmentation fault when asking help() for the list of modules

2014-02-17 Thread Daniel Hahler
I can confirm that first importing gtk in /usr/bin/pydoc works around `pydoc -k .` crashing. ** Also affects: pygtk (Ubuntu) Importance: Undecided Status: New ** Changed in: pygtk (Ubuntu) Status: New = Triaged ** Changed in: pygtk (Ubuntu) Importance: Undecided = Medium --

[Bug 896836] Re: Segmentation fault when asking help() for the list of modules

2013-11-23 Thread Muhammad Kazim
** Information type changed from Public to Public Security -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/896836 Title: Segmentation fault when asking help() for the list of modules To manage

[Bug 896836] Re: Segmentation fault when asking help() for the list of modules

2013-11-06 Thread Leonard De Baets
In case nobody has noticed it, in ubuntu 12.04.3 LTS, when I first import gtk and then list the modules using help, the segmentation fault does not occur. I suspect it has to do with the static/dynamic nature of the module being visible. See the terminal capture below as evidence: $ python

[Bug 896836] Re: Segmentation fault when asking help() for the list of modules

2013-11-01 Thread Joao Paredes
Ubuntu 12.04.3 LTS python Python 2.7.3 (default, Sep 26 2013, 20:08:41) [GCC 4.6.3] on linux2 Type help, copyright, credits or license for more information. help() Welcome to Python 2.7! This is the online help utility. If this is your first time using Python, you should definitely check out

[Bug 896836] Re: Segmentation fault when asking help() for the list of modules

2013-06-24 Thread Grzegorz
Ubuntu 12.04.2 LTS python Python 2.7.3 (default, Apr 10 2013, 06:20:15) [GCC 4.6.3] on linux2 Type help, copyright, credits or license for more information. help('modules') Please wait a moment while I gather a list of all available modules...

[Bug 896836] Re: Segmentation fault when asking help() for the list of modules

2013-06-03 Thread mrainb0w
I am also affected by this same problem. My Ubuntu One has stopped working when I upgraded from 11.10 to 12.04. Let me know if there are any work arounds. $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=12.04 DISTRIB_CODENAME=precise DISTRIB_DESCRIPTION=Ubuntu 12.04.2 LTS $ -- You

[Bug 896836] Re: Segmentation fault when asking help() for the list of modules

2013-05-16 Thread Tec5nical
** Also affects: python Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/896836 Title: Segmentation fault when asking help() for the list of modules To

[Bug 896836] Re: Segmentation fault when asking help() for the list of modules

2013-03-10 Thread mdyn
12.04.01 the same problem help('modules') Please wait a moment while I gather a list of all available modules... /usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed import gobject._gobject

[Bug 896836] Re: Segmentation fault when asking help() for the list of modules

2013-01-16 Thread Alec Warner
On precise we hit this with gtk and osk (part of Onboard.) Manually importing gtk causes the segfault to go away, but nothing happens. The segfault can also be reproduced by: $ python Python 2.7.3 (default, Aug 1 2012, 05:14:39) [GCC 4.6.3] on linux2 Type help, copyright, credits or license

[Bug 896836] Re: Segmentation fault when asking help() for the list of modules

2012-11-05 Thread Joshua
@12, that's not a valid fix, it breaks other things (in my case, causes systemd.py to crash with a SyntaxError) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/896836 Title: Segmentation fault when

[Bug 896836] Re: Segmentation fault when asking help() for the list of modules

2012-10-26 Thread Jonathan Heeth
As someone in a prior bug-report discovered that uncommenting line 27 in dist-packages/gobject/constants.py cures the crash. Actually that line makes no sense as a python statement, but just listing the variable name TYPE_INVALID, without assigning any value in constants.py (which the comment

[Bug 896836] Re: Segmentation fault when asking help() for the list of modules

2012-10-21 Thread Vistaus
I can confirm this bug on 12.10 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/896836 Title: Segmentation fault when asking help() for the list of modules To manage notifications about this bug go

[Bug 896836] Re: Segmentation fault when asking help() for the list of modules

2012-08-07 Thread Curtis Hovey
** Project changed: python = obsolete-junk ** No longer affects: obsolete-junk -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/896836 Title: Segmentation fault when asking help() for the list of

[Bug 896836] Re: Segmentation fault when asking help() for the list of modules

2012-08-07 Thread John McPherson
The simplest combination of modules I can find that causes the segfault (presumably due to the mixture of static and dynamic bindings for the gtk module described above) is: python -c 'import Onboard; import gtk ' /usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:42: Warning:

[Bug 896836] Re: Segmentation fault when asking help() for the list of modules

2012-07-24 Thread Hans Joachim Desserud
** Tags added: oneiric precise -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/896836 Title: Segmentation fault when asking help() for the list of modules To manage notifications about this bug go

[Bug 896836] Re: Segmentation fault when asking help() for the list of modules

2012-07-03 Thread Hobson Lane
It seems like ack's comment points the finger at the help() function within ipython. Has anyone tried to modify it so it doesn't simultaneously load modules with static and dynamic links to _gtk? Or is the problem in _gtk that it can't handle the simultaneous static and dynamic linking? Anyone

[Bug 896836] Re: Segmentation fault when asking help() for the list of modules

2012-06-26 Thread Alexandr Novel
The following blog post clearly describes the problem http://blog.rabbitvcs.org/archives/312 To verify that you can simply logout, alt+f1 to drop to text console, login and repeat the pydoc command. This time it will work with the following warning message. (python2.7:13084): Gdk-WARNING **:

[Bug 896836] Re: Segmentation fault when asking help() for the list of modules

2012-05-05 Thread Jared Buckley
I have encountered this same bug in precise as well. Same error message ending with segmentation fault. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/896836 Title: Segmentation fault when asking

[Bug 896836] Re: Segmentation fault when asking help() for the list of modules

2012-03-12 Thread Govind Tatachari
This is regarding bug #896836: Using Python 2.7.2 on Oneiric (package version is 2.7.2-7ubuntu2), I'm getting a consistent segmentation fault when I open the interactive help in a Python shell (i.e. typing help() in the shell) and then ask for the list of modules (by typing modules). A somewhat

[Bug 896836] Re: Segmentation fault when asking help() for the list of modules

2012-01-26 Thread Piet Delport
There's an apport report and stack trace in LP #921383 To repeat my comment from there: according to the trace, the crash seems to be happening under this debug print: #0 __find_specmb (format=0x7f39f1f40732 %s: assertion `%s' failed) at printf-parse.h:99 which is triggering unbounded recursion

[Bug 896836] Re: Segmentation fault when asking help() for the list of modules

2012-01-20 Thread Nancy Jones
I get exactly the same segmentation fault described above on Ubuntu 11.10 using python 2.7. Does anyone have a solution? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/896836 Title: Segmentation

[Bug 896836] Re: Segmentation fault when asking help() for the list of modules

2011-12-08 Thread Robert Jamison
After installing matplotlib from the default oneiric repos, I was also getting the exact error in Bug Description above while executing help() modules. Also I was unable to 'import gtk'. Installing gtk2-engines- pixbuf changed the above error to this: python2.7.2 import gtk help() modules

[Bug 896836] Re: Segmentation fault when asking help() for the list of modules

2011-11-27 Thread Hans Joachim Desserud
I get the same error on Ubuntu 11.10. Listing topics or keywords works without problems though. ** Changed in: python2.7 (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 896836] Re: Segmentation fault when asking help() for the list of modules

2011-11-27 Thread Alain Kalker
From Googling around, this looks to me quite similar to the problem described here: http://blog.rabbitvcs.org/archives/312 The author points to the cause of a mixture of modules with both static and dynamic gtk bindings being active at the same time. Because `help()` (and pydoc for that matter)