| To: | pcp@xxxxxxxxxxx |
|---|---|
| Subject: | [Bug 1057] memory leak & increasing slowdown in pdubuf.c buf_pin / interp.c update_bounds |
| From: | bugzilla-daemon@xxxxxxxxxxx |
| Date: | Mon, 16 Jun 2014 01:07:07 +0000 |
| Auto-submitted: | auto-generated |
| Delivered-to: | pcp@xxxxxxxxxxx |
| In-reply-to: | <bug-1057-835@xxxxxxxxxxxxxxxx/bugzilla/> |
| References: | <bug-1057-835@xxxxxxxxxxxxxxxx/bugzilla/> |
|
Comment # 4
on bug 1057
from Frank Ch. Eigler
Problem reproduction recipe: extract tarball; apply pmval.c patch (just to see increasing pinned-pdubuf count after each reporting cycle). % gdb -args ./pmval -S '@Mon Jun 9 20:51:52.912 2014' -T 'Tue Jun 10 10:00:00' -t 333 -a archive-20140610.005058.meta (gdb) break pmval.c:1139 # the sleep(10) line (gdb) run [...gaze lovingly at the report...] Breakpoint 1, main (argc=<optimized out>, argv=<optimized out>) at pmval.c:1139 1139 sleep (10); // gdb breakpoint here & pdubufdump() (gdb) p pdubufdump() free pdubuf[size]: 0x650000[28672] 0x61e000[28672] 0x648000[28672] 0x638000[28672] 0x62b000[17408] 0x619000[17408] 0x626000[17408] pinned pdubuf[pincnt]: 0x640000[4] 0x630000[4] $1 = void (gdb) c Continuing. [...gaze lovingly at the report...] Breakpoint 1, main (argc=<optimized out>, argv=<optimized out>) at pmval.c:1139 1139 sleep (10); // gdb breakpoint here & pdubufdump() (gdb) p pdubufdump() free pdubuf[size]: 0x638000[28672] 0x61e000[28672] 0x660000[28672] 0x658000[28672] 0x62b000[17408] 0x619000[17408] 0x626000[17408] pinned pdubuf[pincnt]: 0x640000[4] 0x630000[4] 0x650000[4] 0x648000[4] $2 = void (gdb) c [...gaze lovingly at the report...] Breakpoint 1, main (argc=<optimized out>, argv=<optimized out>) at pmval.c:1139 1139 sleep (10); // gdb breakpoint here & pdubufdump() (gdb) p pdubufdump() free pdubuf[size]: 0x658000[28672] 0x61e000[28672] 0x670000[28672] 0x668000[28672] 0x62b000[17408] 0x619000[17408] 0x626000[17408] pinned pdubuf[pincnt]: 0x640000[4] 0x630000[4] 0x650000[4] 0x648000[4] 0x638000[4] 0x660000[4] Notice how new pinned pdubufs showed up each time. (Imagine the impact upon an program that rescans dozens of archives frequently.) This is with pcp 3.9.4 shared libraries on fedora19 x86-64, so long after your 3.9.0 interp.c changes. You are receiving this mail because:
|
| Previous by Date: | [Bug 1057] memory leak & increasing slowdown in pdubuf.c buf_pin / interp.c update_bounds, bugzilla-daemon |
|---|---|
| Next by Date: | pcp updates: mgoodwin merge, qa, Nathan Scott |
| Previous by Thread: | [Bug 1057] memory leak & increasing slowdown in pdubuf.c buf_pin / interp.c update_bounds, bugzilla-daemon |
| Next by Thread: | [Bug 1057] memory leak & increasing slowdown in pdubuf.c buf_pin / interp.c update_bounds, bugzilla-daemon |
| Indexes: | [Date] [Thread] [Top] [All Lists] |