i do confirm same problem with pangocairo.so crasing pydoc
system is 64 bit, on 32 bit works without problems.

$ file /usr/lib/python2.7/dist-packages/gtk-2.0/pangocairo.so 
/usr/lib/python2.7/dist-packages/gtk-2.0/pangocairo.so: ELF 64-bit LSB shared 
object, x86-64, version 1 (SYSV), dynamically linked, 
BuildID[sha1]=0xe807ac0ccf8534a420d04777b8f229c0b8e18c56, stripped

.....................
open("/usr/lib/python2.7/dist-packages/gtk-2.0/pango.so", O_RDONLY) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=171008, ...}) = 0

.......................

open("/usr/lib/python2.7/dist-packages/gtk-2.0/pangocairo.so", 
O_RDONLY|O_CLOEXEC) = 10
read(10, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\36\0\0\0\0\0\0"..., 
832) = 832
fstat(10, {st_mode=S_IFREG|0644, st_size=20352, ...}) = 0
mmap(NULL, 2115592, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 10, 0) = 
0x7fcbb99a6000
mprotect(0x7fcbb99aa000, 2093056, PROT_NONE) = 0
mmap(0x7fcbb9ba9000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 10, 0x3000) = 0x7fcbb9ba9000
close(10)                               = 0
mprotect(0x7fcbb9ba9000, 4096, PROT_READ) = 0
close(9)                                = 0
open("/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache", O_RDONLY) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=26258, ...}) = 0
mmap(NULL, 26258, PROT_READ, MAP_SHARED, 9, 0) = 0x7fcbc7fbd000
close(9)                                = 0
futex(0x7fcbc6c54b10, FUTEX_WAKE_PRIVATE, 2147483647) = 0
write(2, "\n** (python:17514): CRITICAL **:"..., 88
** (python:17514): CRITICAL **: pyg_register_boxed: assertion `boxed_type != 0' 
failed
) = 88
--- 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