The Samba-Bugzilla – Attachment 5947 Details for
Bug 7665
Repeated use of NetRemoteTOD and NetApiBufferFree leaks memory heavily
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Full valgrind output
valgrind.txt (text/plain), 5.61 KB, created by
Vincent Kessler
on 2010-09-06 15:04:55 UTC
(
hide
)
Description:
Full valgrind output
Filename:
MIME Type:
Creator:
Vincent Kessler
Created:
2010-09-06 15:04:55 UTC
Size:
5.61 KB
patch
obsolete
>valgrind --tool=memcheck --num-callers=50 --leak-check=full ./remote_tod -U guest station1 >==5071== Memcheck, a memory error detector >==5071== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. >==5071== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info >==5071== Command: ./remote_tod -U guest station1 >==5071== >Enter guest's password: >6-9-2010 20:1:7 >Enter guest's password: >6-9-2010 20:1:7 >Enter guest's password: >6-9-2010 20:1:7 >Enter guest's password: >6-9-2010 20:1:8 >Enter guest's password: >6-9-2010 20:1:8 >Enter guest's password: >6-9-2010 20:1:8 >Enter guest's password: >6-9-2010 20:1:8 >Enter guest's password: >6-9-2010 20:1:8 >Enter guest's password: >6-9-2010 20:1:8 >Enter guest's password: >6-9-2010 20:1:8 >==5071== >==5071== HEAP SUMMARY: >==5071== in use at exit: 2,387,401 bytes in 117 blocks >==5071== total heap usage: 5,238 allocs, 5,121 frees, 6,152,984 bytes allocated >==5071== >==5071== 6 bytes in 1 blocks are definitely lost in loss record 1 of 8 >==5071== at 0x4823731: realloc (vg_replace_malloc.c:476) >==5071== by 0x4FBE50B: ??? (in /usr/lib/libpopt.so.0.0.0) >==5071== by 0x108E3F: main (remote_tod.c:55) >==5071== >==5071== 172 bytes in 2 blocks are possibly lost in loss record 4 of 8 >==5071== at 0x4823731: realloc (vg_replace_malloc.c:476) >==5071== by 0x50FF099: _talloc_realloc (in /usr/lib/libtalloc.so.2.0.1) >==5071== >==5071== 26,049 bytes in 91 blocks are possibly lost in loss record 6 of 8 >==5071== at 0x482204A: malloc (vg_replace_malloc.c:195) >==5071== by 0x50FDDF9: __talloc (in /usr/lib/libtalloc.so.2.0.1) >==5071== >==5071== 1,180,233 bytes in 9 blocks are possibly lost in loss record 7 of 8 >==5071== at 0x482204A: malloc (vg_replace_malloc.c:195) >==5071== by 0x493060D: cli_negprot_done (cliconnect.c:1785) >==5071== by 0x4907D04: _tevent_req_notify_callback (tevent_req.c:124) >==5071== by 0x4907D33: tevent_req_finish (tevent_req.c:133) >==5071== by 0x4907D51: _tevent_req_done (tevent_req.c:148) >==5071== by 0x4961AEB: cli_smb_received (async_smb.c:715) >==5071== by 0x4907D04: _tevent_req_notify_callback (tevent_req.c:124) >==5071== by 0x4907D33: tevent_req_finish (tevent_req.c:133) >==5071== by 0x4907D51: _tevent_req_done (tevent_req.c:148) >==5071== by 0x4960370: read_smb_done (async_smb.c:93) >==5071== by 0x4907D04: _tevent_req_notify_callback (tevent_req.c:124) >==5071== by 0x4907D33: tevent_req_finish (tevent_req.c:133) >==5071== by 0x4907D51: _tevent_req_done (tevent_req.c:148) >==5071== by 0x48CE4E1: read_packet_handler (async_sock.c:593) >==5071== by 0x4904903: run_events (events.c:148) >==5071== by 0x4904BE7: s3_event_loop_once (events.c:211) >==5071== by 0x4905B39: _tevent_loop_once (tevent.c:497) >==5071== by 0x4907F2B: tevent_req_poll (tevent_req.c:319) >==5071== by 0x49308EF: cli_negprot (cliconnect.c:1852) >==5071== by 0x49550C3: do_connect (clidfs.c:178) >==5071== by 0x49558FA: cli_cm_connect (clidfs.c:309) >==5071== by 0x4955B58: cli_cm_open (clidfs.c:403) >==5071== by 0x484A24D: libnetapi_open_ipc_connection (cm.c:62) >==5071== by 0x484A5BE: libnetapi_open_pipe (cm.c:198) >==5071== by 0x4878C47: NetRemoteTOD_r (serverinfo.c:643) >==5071== by 0x4875503: NetRemoteTOD (libnetapi.c:1962) >==5071== by 0x108EA7: main (remote_tod.c:72) >==5071== >==5071== 1,180,233 bytes in 9 blocks are possibly lost in loss record 8 of 8 >==5071== at 0x482204A: malloc (vg_replace_malloc.c:195) >==5071== by 0x4930628: cli_negprot_done (cliconnect.c:1786) >==5071== by 0x4907D04: _tevent_req_notify_callback (tevent_req.c:124) >==5071== by 0x4907D33: tevent_req_finish (tevent_req.c:133) >==5071== by 0x4907D51: _tevent_req_done (tevent_req.c:148) >==5071== by 0x4961AEB: cli_smb_received (async_smb.c:715) >==5071== by 0x4907D04: _tevent_req_notify_callback (tevent_req.c:124) >==5071== by 0x4907D33: tevent_req_finish (tevent_req.c:133) >==5071== by 0x4907D51: _tevent_req_done (tevent_req.c:148) >==5071== by 0x4960370: read_smb_done (async_smb.c:93) >==5071== by 0x4907D04: _tevent_req_notify_callback (tevent_req.c:124) >==5071== by 0x4907D33: tevent_req_finish (tevent_req.c:133) >==5071== by 0x4907D51: _tevent_req_done (tevent_req.c:148) >==5071== by 0x48CE4E1: read_packet_handler (async_sock.c:593) >==5071== by 0x4904903: run_events (events.c:148) >==5071== by 0x4904BE7: s3_event_loop_once (events.c:211) >==5071== by 0x4905B39: _tevent_loop_once (tevent.c:497) >==5071== by 0x4907F2B: tevent_req_poll (tevent_req.c:319) >==5071== by 0x49308EF: cli_negprot (cliconnect.c:1852) >==5071== by 0x49550C3: do_connect (clidfs.c:178) >==5071== by 0x49558FA: cli_cm_connect (clidfs.c:309) >==5071== by 0x4955B58: cli_cm_open (clidfs.c:403) >==5071== by 0x484A24D: libnetapi_open_ipc_connection (cm.c:62) >==5071== by 0x484A5BE: libnetapi_open_pipe (cm.c:198) >==5071== by 0x4878C47: NetRemoteTOD_r (serverinfo.c:643) >==5071== by 0x4875503: NetRemoteTOD (libnetapi.c:1962) >==5071== by 0x108EA7: main (remote_tod.c:72) >==5071== >==5071== LEAK SUMMARY: >==5071== definitely lost: 6 bytes in 1 blocks >==5071== indirectly lost: 0 bytes in 0 blocks >==5071== possibly lost: 2,386,687 bytes in 111 blocks >==5071== still reachable: 708 bytes in 5 blocks >==5071== suppressed: 0 bytes in 0 blocks >==5071== Reachable blocks (those to which a pointer was found) are not shown. >==5071== To see them, rerun with: --leak-check=full --show-reachable=yes >==5071== >==5071== For counts of detected and suppressed errors, rerun with: -v >==5071== ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 7 from 7)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 7665
: 5947 |
5948
|
5971
|
5974
|
5990
|
5994
|
5995