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

Stéphane Guillou 896836 at bugs.launchpad.net
Sun Feb 24 12:29:21 UTC 2019


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 Dbusmenu not available
/usr/lib/python3/dist-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)
Segmentation fault
```

No issue when doing the same thing with Python 3.7.1 provided by
Anaconda.

** Also affects: python3.6 (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/896836

Title:
  Segmentation fault when asking help() for the list of modules

Status in PyGTK:
  New
Status in Python:
  New
Status in pygtk package in Ubuntu:
  Triaged
Status in python2.7 package in Ubuntu:
  Triaged
Status in python3.6 package in Ubuntu:
  New

Bug description:
  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").

  The error code returned is as follows:
  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
  /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

  ** (python:5116): CRITICAL **: pyg_register_boxed: assertion `boxed_type != 0' failed
  /usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: cannot register existing type `GdkDevice'
    from gtk import _gtk
  /usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: g_type_get_qdata: assertion `node != NULL' failed
    from gtk import _gtk
  Segmentation fault

To manage notifications about this bug go to:
https://bugs.launchpad.net/pygtk/+bug/896836/+subscriptions



More information about the foundations-bugs mailing list