actually it fails on a different 32bit fresh install of Precise 12.04 as
well.

open("/usr/lib/python2.7/dist-packages/gtk-2.0/pangocairo.so", 
O_RDONLY|O_LARGEFILE) = 9
fstat64(9, {st_mode=S_IFREG|0644, st_size=18744, ...}) = 0
open("/usr/lib/python2.7/dist-packages/gtk-2.0/pangocairo.so", 
O_RDONLY|O_CLOEXEC) = 10
read(10, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\23\0\0004\0\0\0"..., 
512) = 512
fstat64(10, {st_mode=S_IFREG|0644, st_size=18744, ...}) = 0
mmap2(NULL, 21540, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 10, 0) = 
0xdcb000
mprotect(0xdce000, 4096, PROT_NONE)     = 0
mmap2(0xdcf000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 10, 0x3) = 0xdcf000
close(10)                               = 0
mprotect(0xdcf000, 4096, PROT_READ)     = 0
close(9)                                = 0
write(2, "\n** (python2.7:10739): CRITICAL "..., 91
** (python2.7:10739): CRITICAL **: pyg_register_boxed: assertion `boxed_type != 
0' failed
) = 91
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pygtk in Ubuntu.
https://bugs.launchpad.net/bugs/1003751

Title:
  pygtk's pangocairo module crashes pydoc search

Status in “pygtk” package in Ubuntu:
  Confirmed

Bug description:
  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

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to