apport-unpack requires too much main memory to run
Bug #1307413 reported by
Louis Bouchard
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Precise |
Invalid
|
Medium
|
Unassigned |
Bug Description
when running apport-unpack on large apport reports (linux-image kernel dumps is a good example), it requires an enormous amount of main memory to run.
An example is a 1.3Gb apport report that runs for more than 24 hours with more than 4Gb of RSS.
The command should requires less memory to extract those big reports.
Related branches
lp:~louis/apport/apport-unpack-extract
- Martin Pitt (community): Approve
-
Diff: 188 lines (+132/-3)3 files modifiedbin/apport-unpack (+11/-2)
problem_report.py (+66/-0)
test/test_problem_report.py (+55/-1)
Changed in apport (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Louis Bouchard (louis-bouchard) |
tags: | added: cts |
Changed in apport (Ubuntu Precise): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Louis Bouchard (louis-bouchard) |
To post a comment you must log in.
I get a similar issue for apport-retrace with extremely large CoreDump files:
$ apport-retrace -R -v -g --sandbox=sandbox _usr_bin_ qemu-system- x86_64. 0.crash apport- retrace" , line 321, in <module> add_package_ info() python2. 7/dist- packages/ apport/ report. py", line 214, in add_package_info fileutils. find_file_ package( self['Executabl ePath'] ) python2. 7/dist- packages/ apport/ fileutils. py", line 88, in find_file_package get_file_ package( file) python2. 7/dist- packages/ apport/ packaging_ impl.py" , line 307, in get_file_package subprocess. PIPE, stderr= subprocess. PIPE) python2. 7/subprocess. py", line 679, in __init__ python2. 7/subprocess. py", line 1143, in _execute_child
Traceback (most recent call last):
File "/usr/bin/
report.
File "/usr/lib/
package = apport.
File "/usr/lib/
return packaging.
File "/usr/lib/
stdout=
File "/usr/lib/
errread, errwrite)
File "/usr/lib/
self.pid = os.fork()
OSError: [Errno 12] Cannot allocate memory