Keep getting Err=70018 (gethostbyname() has returned error (PJ_ERESOLVE))

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

 



Hi Benny,

I took latest SVN and this issue is still thr. my sip server ip is getting
passed to pj_gethostbyname function. and it returns PJ_ERESOLVE error.
checking whether passed hostname is a ip address is not implemented in the
pj_gethostbyname function.

thanks
lakmal

On Jan 24, 2008 4:25 PM, Tzury Bar Yochay <tzury.by at gmail.com> wrote:

> Hi Benny,
>
> I attached the files (which contains the autos and stack-trace) so
> data wont get lost over different formatter on the way to the
> mailman-pipe.
> Your fanatic support is highly impressed I am sure this library will
> gain a tremendous popularity owe to your deep commitment!
>
> Thanks a million - Tzury
>
> pjsua_wince.exe!pj_gethostbyname(pj_str_t* hostname = 0x001b9f20,
> pj_hostent* phe = 0x1c1fefe8) Line: 40, Byte Offsets: 0xa8      C
>
> pjsua_wince.exe!pj_getaddrinfo(int af = 2, pj_str_t* nodename =
> 0x001b9f20, unsigned int* count = 0x1c1ff01c, pj_addrinfo* ai =
> 0x1c1ff024) Line: 133, Byte Offsets: 0x8c       C
>
> pjsua_wince.exe!pj_gethostip(int af = 2, pj_sockaddr* addr =
> 0x1c1ff240) Line: 456, Byte Offsets: 0x60       C
>
> pjsua_wince.exe!create_sip_udp_sock(int af = 2, pj_str_t* bind_param =
> 0x1c1ff3d8, int port = 5060, long int* p_sock = 0x1c1ff2e0,
> pj_sockaddr* p_pub_addr = 0x1c1ff240) Line: 1308, Byte Offsets:
> 0x420   C
>
> pjsua_wince.exe!pjsua_transport_create(pjsip_transport_type_e type =
> 1, pjsua_transport_config* cfg = 0x1c1ff3cc, int* p_id = 0x1c1ff420)
> Line: 1391, Byte Offsets: 0x19c C
>
> pjsua_wince.exe!OnInitStack(void) Line: 379, Byte Offsets: 0x400
>  C++
>
> pjsua_wince.exe!InitInstance(HINSTANCE__* hInstance = 0x77725aa2, int
> nCmdShow = 5) Line: 521, Byte Offsets: 0x2c     C++
>
> pjsua_wince.exe!WinMain(HINSTANCE__* hInstance = 0x77725aa2,
> HINSTANCE__* hPrevInstance = 0x00000000, wchar_t* lpCmdLine =
> 0x1c1ffed8, int nCmdShow = 5) Line: 455, Byte Offsets: 0x1c     C++
>
> pjsua_wince.exe!WinMainCRTStartup(HINSTANCE__* hInstance = 0x1c1fef3c,
> HINSTANCE__* hInstancePrev = 0x001b9f34, unsigned short* lpszCmdLine =
> 0x1c1fef45, int nCmdShow = 0) Line: 21, Byte Offsets: 0x38      C
>
>
>
>
>
>
>
>
>
>
>
>
>
> +               copy    0x1c1fef3c "Pocket_PC"  char[128]
>
>                copy[hostname->slen]    0 ''    char
>
> +               he      0x00000005 {h_name=0x00000000 h_aliases=0x00000000
> h_addrtype=0
> ...}    hostent*
>
> -               hostname        0x001b9f20 {ptr=0x001b9f28 slen=9}
>  pj_str_t*
>
> -               ptr     0x001b9f28 "Pocket_PC"  char*
>
>                *(hostname->ptr)        80 'P'  char
>
>                slen    9       long int
>
>                hostname->slen  9       long int
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080201/de73794f/attachment.html 


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux