[Bug 981155] Re: apport-retrace crashed with OSError in _execute_child(): [Errno 12] Cannot allocate memory
Thanks! I've reported my complains as bug 1086106, see you there :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/981155 Title: apport-retrace crashed with OSError in _execute_child(): [Errno 12] Cannot allocate memory To manage notifications about this bug go to: https://bugs.launchpad.net/apport/+bug/981155/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 981155] Re: apport-retrace crashed with OSError in _execute_child(): [Errno 12] Cannot allocate memory
** Changed in: apport Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/981155 Title: apport-retrace crashed with OSError in _execute_child(): [Errno 12] Cannot allocate memory To manage notifications about this bug go to: https://bugs.launchpad.net/apport/+bug/981155/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 981155] Re: apport-retrace crashed with OSError in _execute_child(): [Errno 12] Cannot allocate memory
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 Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/981155 Title: apport-retrace crashed with OSError in _execute_child(): [Errno 12] Cannot allocate memory To manage notifications about this bug go to: https://bugs.launchpad.net/apport/+bug/981155/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 981155] Re: apport-retrace crashed with OSError in _execute_child(): [Errno 12] Cannot allocate memory
This bug is back in trunk as of revision 2537. apport-retrace gobbles up over a gigabyte of memory again for most bugs, even those with 4Mb core dumps. It's been like that for some time (sorry for the late report). ** Also affects: apport Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/981155 Title: apport-retrace crashed with OSError in _execute_child(): [Errno 12] Cannot allocate memory To manage notifications about this bug go to: https://bugs.launchpad.net/apport/+bug/981155/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 981155] Re: apport-retrace crashed with OSError in _execute_child(): [Errno 12] Cannot allocate memory
This bug was fixed in the package apport - 2.5.1-0ubuntu1 --- apport (2.5.1-0ubuntu1) quantal; urgency=low * New upstream release: - test_recoverable_problem.py: Fix test for calling test runner with absolute path. - packaging-apt-dpkg.py: Fix crash on writing virtual_mapping.db when running with --sandbox-dir and -S system or giving no --cache. - REThread.py: Fix re-raising of exceptions in Python 3. Thanks Martin Packman! (LP: #1024836) - apport-retrace: Keep compressed CoreDump from .crash files instead of uncompressing them into memory. This dramatically reduces memory usage. (LP: #981155) - Add an apport.memdbg() function which prints out current memory usage if APPORT_MEMDEBUG is set. Annotate apport-retrace with it. - hookutils.py: Allow specifying a list of profile names when using attach_mac_events(). Thanks Marc Deslauriers. - hookutils.py, attach_root_command_outputs() and root_command_output(): Drop usage of sudo, kdesudo, and gksu, and replace with pkexec. For attach_root_command_outputs(), use a wrapper and proper .policy file which explains the action and works under every environment; thus attach_root_command_outputs() is preferred over root_command_output() now, as it provides a better user experience. - Package hooks which want to send the report to a different crash database than default can now also give the database specification itself in the CrashDB field, not just the DB name. With this, packages do not need to ship a separate /etc/apport/crashdb.conf.d/ file. Please see doc/package-hooks.txt for details. (LP: #551330) - report.py, add_hooks_info(): If reporting against a package/program in /opt, also search for package hooks in the corresponding /opt directory. This allows such hooks to define a custom crash database and thus report bugs against their own project instead of against the distribution. (LP: #1020503) * debian/rules: Call dh_install with --list-missing, and ignore .pyc and .egg-info files. * debian/apport.install: Install new polkit .policy and root_info_wrapper files, and add policykit-1 Recommends. * debian/apport.install: Ship is-enabled script. * debian/apport-kde.install: Ship userpass.ui file. * Drop debian/apport-retrace.manpages and debian/apport.manpages and install the man pages from *.install instead. This works better with --list-missing. * debian/apport.install: Install 000record-status pm-utils script, to unbreak suspend failure detection. -- Martin Pitt martin.p...@ubuntu.com Wed, 22 Aug 2012 11:58:45 +0200 ** Changed in: apport (Ubuntu) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/981155 Title: apport-retrace crashed with OSError in _execute_child(): [Errno 12] Cannot allocate memory To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/981155/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 981155] Re: apport-retrace crashed with OSError in _execute_child(): [Errno 12] Cannot allocate memory
Indeed it seems that apport-retrace has a rather huge memory leak somewhere, I'll investigate this. Thanks for your report! ** Visibility changed to: Public ** Changed in: apport (Ubuntu) Status: New = Triaged ** Changed in: apport (Ubuntu) Assignee: (unassigned) = Martin Pitt (pitti) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/981155 Title: apport-retrace crashed with OSError in _execute_child(): [Errno 12] Cannot allocate memory To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/981155/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 981155] Re: apport-retrace crashed with OSError in _execute_child(): [Errno 12] Cannot allocate memory
** Branch linked: lp:apport -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/981155 Title: apport-retrace crashed with OSError in _execute_child(): [Errno 12] Cannot allocate memory To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/981155/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 981155] Re: apport-retrace crashed with OSError in _execute_child(): [Errno 12] Cannot allocate memory
Fixed in trunk r2451. ** Changed in: apport (Ubuntu) Status: Triaged = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/981155 Title: apport-retrace crashed with OSError in _execute_child(): [Errno 12] Cannot allocate memory To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/981155/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs