Mailinglist Archive: opensuse-bugs (9499 mails)
| < Previous | Next > |
[Bug 371966] New: depmod is a greedy monster
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Tue, 18 Mar 2008 02:53:50 -0600 (MDT)
- Message-id: <bug-371966-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=371966
Summary: depmod is a greedy monster
Product: openSUSE 11.0
Version: Alpha 2plus
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
AssignedTo: mmarek@xxxxxxxxxx
ReportedBy: coolo@xxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---
I noticed during an install an heavy process eating most memory: depmod. Taking
that the kernel should also be installable on moderate machines, I guess eating
128MB by depmod is just too much.
Valgrind shows this:
(unrelated)
==19838== Invalid read of size 4
==19838== at 0x8049497: output_symbols (depmod.c:726)
==19838== by 0x804B84B: main (depmod.c:1253)
==19838== Address 0x4d80708 is 192 bytes inside a block of size 193 alloc'd
==19838== at 0x4024D5E: malloc (in
/usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==19838== by 0x804AAD0: grab_module (depmod.c:336)
==19838== by 0x804AC99: do_module (depmod.c:598)
==19838== by 0x8049CB9: grab_dir (depmod.c:642)
==19838== by 0x8049C4B: grab_dir (depmod.c:655)
==19838== by 0x8049C4B: grab_dir (depmod.c:655)
==19838== by 0x8049C4B: grab_dir (depmod.c:655)
==19838== by 0x8049C4B: grab_dir (depmod.c:655)
==19838== by 0x804B97A: main (depmod.c:677)
==19838== 15,908,864 bytes in 971 blocks are still reachable in loss record 12
of 13
==19838== at 0x4024D5E: malloc (in
/usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==19838== by 0x8050257: grab_contents (zlibsupport.c:24)
==19838== by 0x8050305: grab_file (zlibsupport.c:76)
==19838== by 0x804AB2E: grab_module (depmod.c:345)
==19838== by 0x804AC99: do_module (depmod.c:598)
==19838== by 0x8049CB9: grab_dir (depmod.c:642)
==19838== by 0x8049C4B: grab_dir (depmod.c:655)
==19838== by 0x8049C4B: grab_dir (depmod.c:655)
==19838== by 0x8049C4B: grab_dir (depmod.c:655)
==19838== by 0x8049C4B: grab_dir (depmod.c:655)
==19838== by 0x804B97A: main (depmod.c:677)
==19838==
==19838==
==19838== 92,045,312 bytes in 1,115 blocks are still reachable in loss record
13 of 13
==19838== at 0x4024E7C: realloc (in
/usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==19838== by 0x80502A7: grab_contents (zlibsupport.c:36)
==19838== by 0x8050305: grab_file (zlibsupport.c:76)
==19838== by 0x804AB2E: grab_module (depmod.c:345)
==19838== by 0x804AC99: do_module (depmod.c:598)
==19838== by 0x8049CB9: grab_dir (depmod.c:642)
==19838== by 0x8049C4B: grab_dir (depmod.c:655)
==19838== by 0x804B97A: main (depmod.c:677)
==19838==
==19838== LEAK SUMMARY:
==19838== definitely lost: 534 bytes in 16 blocks.
==19838== indirectly lost: 60 bytes in 7 blocks.
==19838== possibly lost: 36,864 bytes in 2 blocks.
==19838== still reachable: 108,460,906 bytes in 9,833 blocks.
==19838== suppressed: 0 bytes in 0 blocks.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Summary: depmod is a greedy monster
Product: openSUSE 11.0
Version: Alpha 2plus
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
AssignedTo: mmarek@xxxxxxxxxx
ReportedBy: coolo@xxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---
I noticed during an install an heavy process eating most memory: depmod. Taking
that the kernel should also be installable on moderate machines, I guess eating
128MB by depmod is just too much.
Valgrind shows this:
(unrelated)
==19838== Invalid read of size 4
==19838== at 0x8049497: output_symbols (depmod.c:726)
==19838== by 0x804B84B: main (depmod.c:1253)
==19838== Address 0x4d80708 is 192 bytes inside a block of size 193 alloc'd
==19838== at 0x4024D5E: malloc (in
/usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==19838== by 0x804AAD0: grab_module (depmod.c:336)
==19838== by 0x804AC99: do_module (depmod.c:598)
==19838== by 0x8049CB9: grab_dir (depmod.c:642)
==19838== by 0x8049C4B: grab_dir (depmod.c:655)
==19838== by 0x8049C4B: grab_dir (depmod.c:655)
==19838== by 0x8049C4B: grab_dir (depmod.c:655)
==19838== by 0x8049C4B: grab_dir (depmod.c:655)
==19838== by 0x804B97A: main (depmod.c:677)
==19838== 15,908,864 bytes in 971 blocks are still reachable in loss record 12
of 13
==19838== at 0x4024D5E: malloc (in
/usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==19838== by 0x8050257: grab_contents (zlibsupport.c:24)
==19838== by 0x8050305: grab_file (zlibsupport.c:76)
==19838== by 0x804AB2E: grab_module (depmod.c:345)
==19838== by 0x804AC99: do_module (depmod.c:598)
==19838== by 0x8049CB9: grab_dir (depmod.c:642)
==19838== by 0x8049C4B: grab_dir (depmod.c:655)
==19838== by 0x8049C4B: grab_dir (depmod.c:655)
==19838== by 0x8049C4B: grab_dir (depmod.c:655)
==19838== by 0x8049C4B: grab_dir (depmod.c:655)
==19838== by 0x804B97A: main (depmod.c:677)
==19838==
==19838==
==19838== 92,045,312 bytes in 1,115 blocks are still reachable in loss record
13 of 13
==19838== at 0x4024E7C: realloc (in
/usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==19838== by 0x80502A7: grab_contents (zlibsupport.c:36)
==19838== by 0x8050305: grab_file (zlibsupport.c:76)
==19838== by 0x804AB2E: grab_module (depmod.c:345)
==19838== by 0x804AC99: do_module (depmod.c:598)
==19838== by 0x8049CB9: grab_dir (depmod.c:642)
==19838== by 0x8049C4B: grab_dir (depmod.c:655)
==19838== by 0x804B97A: main (depmod.c:677)
==19838==
==19838== LEAK SUMMARY:
==19838== definitely lost: 534 bytes in 16 blocks.
==19838== indirectly lost: 60 bytes in 7 blocks.
==19838== possibly lost: 36,864 bytes in 2 blocks.
==19838== still reachable: 108,460,906 bytes in 9,833 blocks.
==19838== suppressed: 0 bytes in 0 blocks.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
| < Previous | Next > |