[Reportbug-maint] Bug#528720: reportbug: consumes huge amounts of memory
Lionel Elie Mamane
lionel at mamane.lu
Thu May 14 23:09:51 UTC 2009
Package: reportbug
Version: 3.48
Severity: important
I'm trying to report a bug against xserver-xorg-video-nv; after asking
me to select tags, reportbug starts to consume ever increasing amounts
of memory and 100% CPU. It is now at
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
12297 master 20 0 3112m 3.0g 3692 R 99 37.4 2:32.47 reportbug
and still increasing. Possibly that is because it is trying to attach
my /var/log/Xorg.0.log, which is 228MB; but still, this is too much
memory to take. One should be able to treat a file without using
15 times the filesize in memory... Double the memory is already high.
An lsof does not show an open file:
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
reportbug 12297 master cwd DIR 9,1 4096 45678594 /home/master
reportbug 12297 master rtd DIR 9,1 4096 2 /
reportbug 12297 master txt REG 9,1 1400984 8892441 /usr/bin/python2.5
reportbug 12297 master mem REG 9,1 23352 9289748 /usr/lib/python2.5/lib-dynload/zlib.so
reportbug 12297 master mem REG 9,1 72568 30204097 /lib/libresolv-2.7.so
reportbug 12297 master mem REG 9,1 18752 30204125 /lib/libnss_dns-2.7.so
reportbug 12297 master mem REG 9,1 47520 30204121 /lib/libnss_files-2.7.so
reportbug 12297 master mem REG 9,1 43472 30204027 /lib/libnss_nis-2.7.so
reportbug 12297 master mem REG 9,1 88968 30204079 /lib/libnsl-2.7.so
reportbug 12297 master mem REG 9,1 31536 30204092 /lib/libnss_compat-2.7.so
reportbug 12297 master mem REG 9,1 256288 30203938 /lib/libncurses.so.5.7
reportbug 12297 master mem REG 9,1 305952 30204052 /lib/libncursesw.so.5.7
reportbug 12297 master mem REG 9,1 258616 30203913 /lib/libreadline.so.5.2
reportbug 12297 master mem REG 9,1 23136 9290058 /usr/lib/python2.5/lib-dynload/readline.so
reportbug 12297 master mem REG 9,1 25120 9289997 /usr/lib/python2.5/lib-dynload/termios.so
reportbug 12297 master mem REG 9,1 9832 9289816 /usr/lib/python2.5/lib-dynload/_bisect.so
reportbug 12297 master mem REG 9,1 16992 9290054 /usr/lib/python2.5/lib-dynload/_hashlib.so
reportbug 12297 master mem REG 9,1 13664 9289740 /usr/lib/python2.5/lib-dynload/_random.so
reportbug 12297 master mem REG 9,1 18040 9289737 /usr/lib/python2.5/lib-dynload/math.so
reportbug 12297 master mem REG 9,1 85064 9289828 /usr/lib/python2.5/lib-dynload/datetime.so
reportbug 12297 master mem REG 9,1 21928 9289750 /usr/lib/python2.5/lib-dynload/binascii.so
reportbug 12297 master mem REG 9,1 15392 9289735 /usr/lib/python2.5/lib-dynload/fcntl.so
reportbug 12297 master mem REG 9,1 17536 9289743 /usr/lib/python2.5/lib-dynload/select.so
reportbug 12297 master mem REG 9,1 93504 8889701 /usr/lib/libz.so.1.2.3.3
reportbug 12297 master mem REG 9,1 1666920 13583140 /usr/lib/libcrypto.so.0.9.8
reportbug 12297 master mem REG 9,1 330880 13583141 /usr/lib/libssl.so.0.9.8
reportbug 12297 master mem REG 9,1 21016 9290060 /usr/lib/python2.5/lib-dynload/_ssl.so
reportbug 12297 master mem REG 9,1 60776 9289746 /usr/lib/python2.5/lib-dynload/_socket.so
reportbug 12297 master mem REG 9,1 19808 9289744 /usr/lib/python2.5/lib-dynload/cStringIO.so
reportbug 12297 master mem REG 9,1 27472 9289827 /usr/lib/python2.5/lib-dynload/collections.so
reportbug 12297 master mem REG 9,1 20696 9289741 /usr/lib/python2.5/lib-dynload/time.so
reportbug 12297 master mem REG 9,1 31648 9289749 /usr/lib/python2.5/lib-dynload/_struct.so
reportbug 12297 master mem REG 9,1 36864 9289734 /usr/lib/python2.5/lib-dynload/operator.so
reportbug 12297 master mem REG 9,1 21568 9290061 /usr/lib/python2.5/lib-dynload/_locale.so
reportbug 12297 master mem REG 9,1 28000 9289742 /usr/lib/python2.5/lib-dynload/strop.so
reportbug 12297 master mem REG 9,1 3481104 8905308 /usr/lib/locale/locale-archive
reportbug 12297 master mem REG 9,1 1375536 30204124 /lib/libc-2.7.so
reportbug 12297 master mem REG 9,1 534736 30204123 /lib/libm-2.7.so
reportbug 12297 master mem REG 9,1 10560 30204072 /lib/libutil-2.7.so
reportbug 12297 master mem REG 9,1 14616 30204129 /lib/libdl-2.7.so
reportbug 12297 master mem REG 9,1 130114 30204120 /lib/libpthread-2.7.so
reportbug 12297 master mem REG 9,1 119288 30204128 /lib/ld-2.7.so
reportbug 12297 master mem REG 9,1 25700 8889136 /usr/lib/gconv/gconv-modules.cache
reportbug 12297 master mem REG 9,1 1474 8891886 /usr/share/locale/en_GB/LC_MESSAGES/libc.mo
reportbug 12297 master 0u CHR 136,8 10 /dev/pts/8
reportbug 12297 master 1u CHR 136,8 10 /dev/pts/8
reportbug 12297 master 2u CHR 136,8 10 /dev/pts/8
strace looks like:
mmap(NULL, 13934592, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3caa165000
munmap(0x7f3caa165000, 13934592) = 0
brk(0x4a315000) = 0x4a315000
brk(0x4b05f000) = 0x4b05f000
brk(0x495cd000) = 0x495cd000
brk(0x4a316000) = 0x4a316000
brk(0x4b05f000) = 0x4b05f000
brk(0x495cd000) = 0x495cd000
brk(0x4a316000) = 0x4a316000
brk(0x4b060000) = 0x4b060000
brk(0x495cd000) = 0x495cd000
brk(0x4a317000) = 0x4a317000
brk(0x4b060000) = 0x4b060000
brk(0x495cd000) = 0x495cd000
brk(0x4a317000) = 0x4a317000
brk(0x4b061000) = 0x4b061000
brk(0x495cd000) = 0x495cd000
mmap(NULL, 13938688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3caa164000
munmap(0x7f3caa164000, 13938688) = 0
brk(0x4a318000) = 0x4a318000
brk(0x4b062000) = 0x4b062000
brk(0x495ce000) = 0x495ce000
brk(0x4a318000) = 0x4a318000
brk(0x4b063000) = 0x4b063000
brk(0x495ce000) = 0x495ce000
brk(0x4a318000) = 0x4a318000
brk(0x4b063000) = 0x4b063000
brk(0x495ce000) = 0x495ce000
brk(0x4a319000) = 0x4a319000
brk(0x4b064000) = 0x4b064000
brk(0x495ce000) = 0x495ce000
-- Package-specific info:
** Environment settings:
EDITOR="gnuclient"
DEBEMAIL="lmamane at debian.org"
EMAIL="lionel at mamane.lu"
INTERFACE="urwid"
** /home/master/.reportbugrc:
reportbug_version "3.39"
mode advanced
ui urwid
email "lionel at mamane.lu"
mutt
-- System Information:
Debian Release: 5.0.1
APT prefers stable
APT policy: (500, 'stable'), (200, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_LU.UTF-8, LC_CTYPE=fr_LU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages reportbug depends on:
ii apt 0.7.20.2+lenny1 Advanced front-end for dpkg
ii python 2.5.2-3 An interactive high-level object-o
ii python-central 0.6.8 register and build utility for Pyt
reportbug recommends no packages.
Versions of packages reportbug suggests:
pn debconf-utils <none> (no description available)
pn debsums <none> (no description available)
ii dlocate 0.96.1 fast alternative to dpkg -L and dp
ii exim4 4.69-9 metapackage to ease Exim MTA (v4)
ii exim4-daemon-light [mail-tran 4.69-9 lightweight Exim MTA (v4) daemon
ii file 4.26-1 Determines file type using "magic"
ii gnupg 1.4.9-3 GNU privacy guard - a free PGP rep
pn python-urwid <none> (no description available)
-- no debconf information
More information about the Reportbug-maint
mailing list