Re: NSPR4.1.2/NSS3.3.3 versus NSPR4.7/NSS3.12

"news.mozilla.org" <[email protected]> Fri, 14 Aug 2009 18:28:12 -0400
Newsgroups gmane.comp.mozilla.devel.nspr
Message-ID <[email protected]>
I forgot to add.

The server is written using NSPR/NSS, but the client is written using 
OpenSSL.

Thanks,
VT
"news.mozilla.org" <[email protected]> wrote in message 
news:[email protected]...
> Hi All,
>
> I have an SSL server application and an SSL client on an Windows XP 
> machine.
>
> The SSL server application seems to work perfectly in NSPR4.1.2/NSS3.3.2 
> but crashes in NSPR4.7/NSS3.12(I did a build using MozillaBuild).
>
> Below is the crash stack trace.
> ssl3_SendApplicationData(sslSocketStr * 0x01328be8, const unsigned char * 
> 0x01e5b08c, int 232, int 0) line 2094 + 49 bytes
> ssl_SecureSend(sslSocketStr * 0x01328be8, const unsigned char * 
> 0x01e5b08c, int 232, int 0) line 1180 + 22 bytes
> ssl_SecureWrite(sslSocketStr * 0x01328be8, const unsigned char * 
> 0x01e5b08c, int 232) line 1197 + 19 bytes
> ssl_Write(PRFileDesc * 0x0131d128, const void * 0x01e5b08c, int 232) line 
> 1487 + 21 bytes
> PR_Write(PRFileDesc * 0x0131d128, const void * 0x01e5b08c, int 232) line 
> 146 + 20 bytes
> ssl_send(void * 0x0131d128, char * 0x01e5b08c, unsigned long 232) line 171 
> + 20 bytes
>
> In the server application we have 2 listening servers on 2 different 
> ports. These are initialized from 2 different code paths.
> So NSS_Init is called twice. But this doesnt seem to cause a problem on 
> NSPR4.1.2/NSS3.3.3. So I am wondering how this can be a problem with the 
> server when running with NSPR4.7/NSS3.12
>
> I even tried with NSPR4.6.4/NSS3.11.4 but i still get a crash.
>
> Has anybody encountered a problem like this??
>
> Thanks,
> VT
>
>
>