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
The server is written using NSPR/NSS, but the client is written using
OpenSSL.
Thanks,
VT
"news.mozilla.org" <vinu....@pass-consulting.com> wrote in message
news:_sKdnUYoN7zSRxjX...@mozilla.org...
I have no idea what's wrong. Sorry. I hope you can figure out
the problem.
Wan-Teh
3.12.0 ? or 3.12.what?
Did you build a DEBUG build? or optimized?
What was the name of the directory in which the .OBJ files were placed?
> 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??
Assuming you built 3.12.0, then yes. But I won't say more until you
confirm that you built 3.12.0
Let's discuss this in the NSS newsgroup: mozilla.dev.tech.crypto