I cannot reproduce this. I ran apport with -S system and no cache
directories (so it had to download everything). For xeyes (tiny report)
I get

VmPeak:   169884 kB
VmSize:   168680 kB
VmLck:         0 kB
VmPin:         0 kB
VmHWM:    103936 kB
VmRSS:    102880 kB
VmData:    78200 kB
VmPeak:   166392 kB

and for gedit (large report, over 5 MB compressed core dump) I get

VmSize:   148744 kB
VmLck:         0 kB
VmPin:         0 kB
VmHWM:    104744 kB
VmRSS:     87296 kB
VmData:    82324 kB
VmStk:       136 kB
VmExe:      2176 kB
VmLib:      8152 kB
VmPTE:       300 kB
VmSwap:        0 kB

given the overhead of Python etc. a magnitude of 100 MB data is very
reasonable. Also, the original problem here has been fixed and the fix
is still in place. Can you please file a new bug report with an example
crash that causes memory usage to explode? Thanks!

** Changed in: apport
       Status: New => Fix Released

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

Title:
  apport-retrace crashed with OSError in _execute_child(): [Errno 12]
  Cannot allocate memory

Status in Apport crash detection/reporting:
  Fix Released
Status in “apport” package in Ubuntu:
  Fix Released

Bug description:
  $ apport-retrace -g -R -S system _usr_sbin_apt-cacher-ng.116.crash 
  Traceback (most recent call last):
    File "/usr/bin/apport-retrace", line 296, in <module>
      report.add_package_info()
    File "/usr/lib/python2.7/dist-packages/apport/report.py", line 197, in 
add_package_info
      package = apport.fileutils.find_file_package(self['ExecutablePath'])
    File "/usr/lib/python2.7/dist-packages/apport/fileutils.py", line 81, in 
find_file_package
      return packaging.get_file_package(file)
    File "/usr/lib/python2.7/dist-packages/apport/packaging_impl.py", line 232, 
in get_file_package
      stdout=subprocess.PIPE, stderr=subprocess.PIPE)
    File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
      errread, errwrite)
    File "/usr/lib/python2.7/subprocess.py", line 1133, in _execute_child
      self.pid = os.fork()
  OSError: [Errno 12] Cannot allocate memory

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: apport-retrace 1.23-0ubuntu4
  ProcVersionSignature: Ubuntu 3.0.0-17.30-generic 3.0.22
  Uname: Linux 3.0.0-17-generic x86_64
  ApportLog:
   ERROR: apport (pid 8660) Fri Apr 13 11:17:55 2012: called for pid 8659, 
signal 6
   ERROR: apport (pid 8660) Fri Apr 13 11:17:55 2012: executable: 
/home/mrae/a.out (command line "./a.out")
   ERROR: apport (pid 8660) Fri Apr 13 11:17:55 2012: executable does not 
belong to a package, ignoring
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  CrashReports: 600:1000:1000:13114:2012-04-13 13:47:48.508729000 
-0700:2012-04-13 13:47:52.488691690 
-0700:/var/crash/_usr_bin_apport-retrace.1000.crash
  Date: Fri Apr 13 13:47:49 2012
  ExecutablePath: /usr/bin/apport-retrace
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/apport-retrace -g -R -S system 
_usr_sbin_apt-cacher-ng.116.crash
  PythonArgs: ['/usr/bin/apport-retrace', '-g', '-R', '-S', 'system', 
'_usr_sbin_apt-cacher-ng.116.crash']
  SourcePackage: apport
  Title: apport-retrace crashed with OSError in _execute_child(): [Errno 12] 
Cannot allocate memory
  UpgradeStatus: Upgraded to oneiric on 2012-01-23 (81 days ago)
  UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare

To manage notifications about this bug go to:
https://bugs.launchpad.net/apport/+bug/981155/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to