[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#783411: Possible memory leak in cdebconf-udeb



Control: tags -1 confirmed

On Sun, 26 Apr 2015 15:31:17 -0400
=?utf-8?b?R3VvIFlpeHVhbiAo6YOt5rqi6K2eKQ==?= <culu.gyx@gmail.com> wrote:
> Package: cdebconf-udeb
> Source: cdebconf
> Severity: normal
> Tags: d-i
> 
> Hello,
> 
> I'm trying to use jessie RC-3 to install on a powerpc (Power Mac G5).
> When resizing a HFS partition (from 240G to 120G, which takes very long
> time), the installation process was killed by kernel oom. From syslog,
> it appears that debconf (/usr/lib/cdebconf/debconf) is eating up all
> the memory on the machine (2.5G).
> 
> Details: CD-image: debian-jessie-DI-rc3-powerpc-CD-1.iso. Booted with
> "expert". I also used network-console for installation. The killed
> process has cmdline: "debconf -o d-i /bin/network-console-menu".
> The leaking rate is about 8 Mbytes/minute.
> 
> syslog is attached
> 
> Regards,
> Yixuan

Hi,

Thanks for the report.

A quick scan with cppcheck highlighted several cases of memory leaks.
Please see attached diff for a quick (untested) attempt of plugging these.

Thanks,
~Niels

Attachment: memleaks-spotted-by-cppcheck.diff
Description: application/mbox


Reply to: