[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hpux-devtools
Subject:    HPUX-DEVTOOLS: Purify-debugging RPC applications in HP-UX 11i
From:       "Jens Kilian" <Jens_Kilian () agilent ! com>
Date:       2001-08-27 14:09:48
[Download RAW message or body]

I'm getting numerous 'UMR' (Uninitialized memory read) reports from Purify
when running an application which uses RPC calls.  Most of these UMRs occur
deep within the system libraries.

        OS version:     B.11.11
        Compilers:      B3899BA B.11.11.01 HP C/ANSI C Developer's Bundle
                        B3911DB C.03.30.01 HP aC++ Compiler
        Purify:         Version 2001a.04.00 HP-UX (32-bit)

Any idea what could be causing these (or how I can avoid them)?

Here is an example of the type of notes Purify gives me:

****  Purify instrumented ./vxi11test (pid 4512)  ****
UMR: Uninitialized memory read:
  * This is occurring while in:
        iostate_sw     [libxti.2]
        t_open         [libxti.2]
        __rpc_bindresvport [libnsl.1]
        clntudp_bufcreate [libnsl.1]
        fprintf        [libnsl.1]
        _yp_dobind_soft [libnsl.1]
        _yp_dobind     [libnsl.1]
        yp_match       [libnsl.1]
        _nss_nis_ypmatch [libnss_nis.1]
        _nss_nis_lookup [libnss_nis.1]
        strdup         [libnss_nis.1]
        nss_search     [libc.2]
        __gethostbyname_r [libc.2]
        gethostbyname  [libc.2]
        vxi11_set_host [vxi11_server.c:50]
        main           [vxi11test.cpp:40]
        _start         [libc.2]
        $START$        [crt0.o]
        $START$        [crt0.o]
  * Reading 4 bytes from 0x7dff23f4 on the stack.
  * Address 0x7dff23f4 is      116 bytes above frame pointer in function iostate
_sw.


Thanks,

        Jens.
--
mailto:jjk@acm.org                 phone:+49-7031-464-7698 (TELNET 778-7698)
  http://www.bawue.de/~jjk/          fax:+49-7031-464-7351
PGP:       06 04 1C 35 7B DC 1F 26 As the air to a bird, or the sea to a fish,
0x555DA8B5 BB A2 F0 66 77 75 E1 08 so is contempt to the contemptible. [Blake]
 _________________________________________________________________
 To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
    with the message UNSUBSCRIBE hpux-devtools
 _________________________________________________________________

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic