* Cherry-pick from trunk:
- hookutils.py, recent_logfile(): Use a default limit of 10000 lines and
call "tail" instead of reading the whole file. This protects against
using up all memory when there are massive repeated log messages.
(LP: #984256)
- apport-gtk: Do not assume that an icon requested for size 42 actually
delivers size 42; some themes do not have this available and deliver a
smaller one instead, causing overflows. Also, copy the image as
gtk_icon_theme_load_icon() returns a readonly result which we must not
modify. Fixes crashes when using themes other than the standard Ubuntu
ones. (LP: #937249)
-- Martin Pitt <email address hidden> Fri, 20 Apr 2012 18:53:24 +0200
This bug was fixed in the package apport - 2.0.1-0ubuntu6
---------------
apport (2.0.1-0ubuntu6) precise-proposed; urgency=low
* Cherry-pick from trunk: icon_theme_ load_icon( ) returns a readonly result which we must not
- hookutils.py, recent_logfile(): Use a default limit of 10000 lines and
call "tail" instead of reading the whole file. This protects against
using up all memory when there are massive repeated log messages.
(LP: #984256)
- apport-gtk: Do not assume that an icon requested for size 42 actually
delivers size 42; some themes do not have this available and deliver a
smaller one instead, causing overflows. Also, copy the image as
gtk_
modify. Fixes crashes when using themes other than the standard Ubuntu
ones. (LP: #937249)
-- Martin Pitt <email address hidden> Fri, 20 Apr 2012 18:53:24 +0200