"pydoc -k ." hangs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pygobject (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
python2.7 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I have noticed that "pydoc -k ." hangs on my system.
This method is used by vim-ref (https:/
Stepping thorugh it via "ipdb", it hangs at:
> /usr/lib/
170 elif isinstance(info, RegisteredTypeI
--> 171 g_type = info.get_g_type()
172
Upgrading python-gi to 3.11.5-0ubuntu1 (Trusty) (from 3.10.0-1ubuntu1) fixed this particular issue. Now `pydoc -k .` segfaults instead (later on).
With `strace -f`, this is where it hangs:
[pid 14429] access(
[pid 14429] open("/
[pid 14429] read(17, "\177ELF\
[pid 14429] fstat(17, {st_mode=
[pid 14429] mmap(NULL, 2274208, PROT_READ|
[pid 14429] mprotect(
[pid 14429] mmap(0x7f6ebbdf
[pid 14429] close(17) = 0
[pid 14429] mprotect(
[pid 14429] mprotect(
[pid 14429] mprotect(
[pid 14429] mprotect(
[pid 14429] mprotect(
[pid 14429] mprotect(
[pid 14429] mprotect(
[pid 14429] mprotect(
[pid 14429] munmap(
[pid 14429] stat("libgdk-
[pid 14429] stat("libgdk-
[pid 14429] stat("libgdk-
[pid 14429] openat(AT_FDCWD, "/usr/lib/
[pid 14429] getdents(17, /* 117 entries */, 32768) = 4952
[pid 14429] open("/
[pid 14429] fstat(18, {st_mode=
[pid 14429] mmap(NULL, 65276, PROT_READ, MAP_PRIVATE, 18, 0) = 0x7f6ee9ded000
[pid 14429] close(18) = 0
[pid 14429] getdents(17, /* 0 entries */, 32768) = 0
[pid 14429] close(17) = 0
[pid 14429] munmap(
[pid 14429] stat("/
[pid 14429] open("/
[pid 14429] open("/
[pid 14429] open("/
[pid 14429] open("/
[pid 14429] open("/
[pid 14429] stat("libatk-
[pid 14429] stat("libatk-
[pid 14429] stat("libatk-
[pid 14429] futex(0x42ff0a4, FUTEX_WAIT_PRIVATE, 1, NULL
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: python2.7 2.7.5-8ubuntu3
ProcVersionSign
Uname: Linux 3.11.0-15-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.2
Architecture: amd64
Date: Fri Feb 14 08:11:08 2014
InstallationDate: Installed on 2012-05-28 (626 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
MarkForUpload: True
SourcePackage: python2.7
UpgradeStatus: Upgraded to saucy on 2013-10-08 (128 days ago)
description: | updated |
description: | updated |
Changed in python2.7 (Ubuntu): | |
status: | New → Invalid |
description: | updated |