hi : i got the assert information. d1_pkt.c(1284): OpenSSL internal error, assertion failed: 0
i check the code. the assert occured in the red part. int do_dtls1_write(SSL *s, int type, const unsigned char *buf, unsigned int len, int create_empty_fragment) { unsigned char *p,*pseq; int i,mac_size,clear=0; int prefix_len = 0; SSL3_RECORD *wr; SSL3_BUFFER *wb; SSL_SESSION *sess; int bs; /* first check if there is a SSL3_BUFFER still being written * out. This will happen with non blocking IO */ if (s->s3->wbuf.left != 0) { OPENSSL_assert(0); /* XDTLS: want to see if we ever get here */ return(ssl3_write_pending(s,type,buf,len)); } /* If we have an alert to send, lets send it */ if (s->s3->alert_dispatch) { i=s->method->ssl_dispatch_alert(s); if (i <= 0) return(i); /* if it went, fall through and send more stuff */ } any suggestions ? ---------- 转发邮件信息 ---------- 发件人:"zlgodguy <zlgod...@163.com>" 发送日期:2009-03-10 17:22:21 收件人��...@openssl.org 主题: About OpenSSL crashed in 0.9.8g hi all: my OpenSSL version is 0.9.8g. i find a crashed in OpenSSL. but it can not reproduced. the backtraces list as blow: Reading symbols from /lib64/libz.so.1...(no debugging symbols found)...done. Loaded symbols for /lib64/libz.so.1 Reading symbols from /opt/ah/lib/libitk.so...(no debugging symbols found)...done. Loaded symbols for /opt/ah/lib/libitk.so Reading symbols from /lib64/libc.so.6... (no debugging symbols found)...done. Loaded symbols for /lib64/libc.so.6 Reading symbols from /lib64/libcrypt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib64/libcrypt.so.1 Reading symbols from /lib64/ld.so.1...(no debugging symbols found)...done. Loaded symbols for /lib64/ld.so.1 Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/libdl.so.2 Core was generated by `/opt/ah/bin/capwap'. Program terminated with signal 6, Aborted. #0 0x0000005556ecc13c in raise () from /lib64/libc.so.6 (gdb) bt #0 0x0000005556ecc13c in raise () from /lib64/libc.so.6 #1 0x0000005556ecd998 in abort () from /lib64/libc.so.6 #2 0x0000005556a27818 in OpenSSLDie () from /opt/ah/lib/libcrypto.so.0.9.8 #3 0x0000005556a27818 in OpenSSLDie () from /opt/ah/lib/libcrypto.so.0.9.8 Previous frame identical to this frame (corrupt stack?) who can give me the suggestion ? 网易邮箱,中国第一大电子邮件服务商 网易邮箱,中国第一大电子邮件服务商
hi :
i got the assert information. d1_pkt.c(1284): OpenSSL internal error, assertion failed: 0i check the code. the assert occured in the red part.any suggestions ?
int do_dtls1_write(SSL *s, int type, const unsigned char *buf, unsigned int len, int create_empty_fragment)
{
unsigned char *p,*pseq;
int i,mac_size,clear=0;
int prefix_len = 0;
SSL3_RECORD *wr;
SSL3_BUFFER *wb;
SSL_SESSION *sess;
int bs;
/* first check if there is a SSL3_BUFFER still being written
* out. This will happen with non blocking IO */
if (s->s3->wbuf.left != 0)
{
OPENSSL_assert(0); /* XDTLS: want to see if we ever get here */
return(ssl3_write_pending(s,type,buf,len));
}
/* If we have an alert to send, lets send it */
if (s->s3->alert_dispatch)
{
i=s->method->ssl_dispatch_alert(s);
if (i <= 0)
return(i);
/* if it went, fall through and send more stuff */
}---------- 转发邮件信息 ----------
发件人:"zlgodguy <zlgod...@163.com>"
发送日期:2009-03-10 17:22:21
收件人:r...@openssl.org
主题: About OpenSSL crashed in 0.9.8ghi all:my OpenSSL version is 0.9.8g. i find a crashed in OpenSSL. but it can not reproduced. the backtraces list as blow:Reading symbols from /lib64/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libz.so.1
Reading symbols from /opt/ah/lib/libitk.so...(no debugging symbols found)...done.
Loaded symbols for /opt/ah/lib/libitk.so
Reading symbols from /lib64/libc.so.6...
(no debugging symbols found)...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libcrypt.so.1
Reading symbols from /lib64/ld.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld.so.1
Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libdl.so.2Core was generated by `/opt/ah/bin/capwap'.
Program terminated with signal 6, Aborted.
#0 0x0000005556ecc13c in raise () from /lib64/libc.so.6
(gdb) bt
#0 0x0000005556ecc13c in raise () from /lib64/libc.so.6
#1 0x0000005556ecd998 in abort () from /lib64/libc.so.6
#2 0x0000005556a27818 in OpenSSLDie () from /opt/ah/lib/libcrypto.so.0.9.8
#3 0x0000005556a27818 in OpenSSLDie () from /opt/ah/lib/libcrypto.so.0.9.8
Previous frame identical to this frame (corrupt stack?)who can give me the suggestion ?
网易邮箱,中国第一大电子邮件服务商
网易邮箱,中国第一大电子邮件服务商
网易邮箱,中国第一大电子邮件服务商