bug-glibc
[Top][All Lists]
Advanced

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

(no subject)


From: Ivan Vihovsky
Subject: (no subject)
Date: Thu, 22 Aug 2002 08:51:00 -0700 (PDT)

Hello,
I checked my program with 'mpatrol' (this is tool
similar to purify) and it showed memory leak. All
unfreed allocations were related to gethostbyname_r
function. Actually allocations had always been done by
somewhat function called from gethostbyname_r. You can
see it:

unfreed allocations: 157 (16981 bytes)
    0x08089000 (28 bytes) {malloc:21021:0}
[8195|-|-|-]
        0x4043FF8A ???
        0x4043EE86 ???
        0x4043F3FF ???
        0x4043F09C ???
        0x40433FE0 ???
        0x40435582 ???
        0x4032047F gethostbyname_r+271
        0x08054879 Init__15TCPClientSocketPcUs+233
        0x0804D0C4 Init__11HTTPcSocketPci+68
        0x08050F39 Main__7Session+665
        0x0804CDC3 Run__7CThreadP7CThread+35
        0x401B69C7 pthread_start_thread+183
        0x4030E76A clone+58


    0x08089028 (28 bytes) {malloc:4589:0} [2051|-|-|-]
        0x4043FF8A ???
        0x4043EE86 ???
        0x4043F3FF ???
        0x4043F09C ???
        0x40433FE0 ???
        0x40435582 ???
        0x4032047F gethostbyname_r+271
        0x08054879 Init__15TCPClientSocketPcUs+233
        0x0804D0C4 Init__11HTTPcSocketPci+68
        0x08050F39 Main__7Session+665
        0x0804CDC3 Run__7CThreadP7CThread+35
        0x401B69C7 pthread_start_thread+183
        0x4030E76A clone+58
.........................................

   0x0808A790 (36 bytes) {malloc:1065:0}
[1026|__nss_configure_lookup|-|-]
        0x4031D6B4 __nss_configure_lookup+2484
        0x4031DB0D __nss_configure_lookup+3597
        0x4031D5D2 __nss_configure_lookup+2258
        0x4031CCEB __nss_database_lookup+363
        0x4031EB58 __nss_hosts_lookup+88
        0x403204DA gethostbyname_r+362
        0x08054879 Init__15TCPClientSocketPcUs+233
        0x0804D0C4 Init__11HTTPcSocketPci+68
        0x08050F39 Main__7Session+665
        0x0804CDC3 Run__7CThreadP7CThread+35
        0x401B69C7 pthread_start_thread+183
        0x4030E76A clone+58

    0x0808A7B8 (14 bytes) {malloc:1050:0}
[1026|__nss_configure_lookup|-|-]
        0x4031DAE1 __nss_configure_lookup+3553
        0x4031D5D2 __nss_configure_lookup+2258
        0x4031CCEB __nss_database_lookup+363
        0x4031EB58 __nss_hosts_lookup+88
        0x403204DA gethostbyname_r+362
        0x08054879 Init__15TCPClientSocketPcUs+233
        0x0804D0C4 Init__11HTTPcSocketPci+68
        0x08050F39 Main__7Session+665
        0x0804CDC3 Run__7CThreadP7CThread+35
        0x401B69C7 pthread_start_thread+183
        0x4030E76A clone+58
........................................

Do you have any ideas? Is it related to
gethostbyname_r or mpatrol. I consultated on mpatrol
site and they suggested it was real gethostbyname_r's
fault. And what are yours suggestions?

Thanks in advance.
Ivan Vihovsky



=====
address@hidden

__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]