Public bug reported:

Ubuntu 12.04, 64bit

Python crashes every time I run "pydoc -k $something", which should
search all installed modules to find keywords from the doc strings.

Eg:
$ pydoc -k subprocess
subprocess - subprocess - Subprocesses with accessible I/O streams

** (python2.7:22364): CRITICAL **: pyg_register_boxed: assertion `boxed_type != 
0' failed
zsh: segmentation fault (core dumped)  pydoc -k subprocess

If I strace it, I see that the last python module read is pygtk:
open("/usr/lib/python2.7/dist-packages/gtk-2.0/atk.so", O_RDONLY) = 11
open("/usr/lib/python2.7/dist-packages/gtk-2.0/atk.so", O_RDONLY|O_CLOEXEC) = 12
open("./pangocairo.so", O_RDONLY)       = -1 ENOENT (No such file or directory)
...
open("/usr/lib/python2.7/dist-packages/gtk-2.0/pangocairo.so", 
O_RDONLY|O_CLOEXEC) = 12

** (python2.7:22008): CRITICAL **: pyg_register_boxed: assertion `boxed_type != 
0' failed
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV (core dumped) +++
zsh: segmentation fault (core dumped)  strace -eopen pydoc -k id3

** Affects: pygtk (Ubuntu)
     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/1003751

Title:
  pygtk's pangocairo module crashes pydoc search

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to