Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

core dumped with lighttpd-1.4.30 --with-openssl #18

Closed
nori0428 opened this Issue Jan 30, 2012 · 2 comments

Comments

Projects
None yet
1 participant
Owner

nori0428 commented Jan 30, 2012

SSL_get_app_data returns null pointer.
...under investigation.

@nori0428 nori0428 was assigned Jan 30, 2012

Owner

nori0428 commented Jan 30, 2012

I compiled without mod__websocket.But core dumped.
I suspect that it's a bug of SSL__{set, get}_app_data in lighttpd.

continue to investigate.

Some informations are below.

$ uname -a
Linux SNIP 2.6.18-274.17.1.el5 #1 SMP Tue Jan 10 17:25:58 EST 2012 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/redhat-release
CentOS release 5.7 (Final)

$ openssl version
OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008

(gdb) r -f /etc/lighttpd/lighttpd-nonws.conf -m .libs/ -D
Starting program: /home/kobota/work/lighttpd-1.4.30/src/lighttpd -f /etc/lighttpd/lighttpd-nonws.conf -m .libs/ -D
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x2aaaaaaab000
Detaching after fork from child process 30397.
Detaching after fork from child process 30398.

Program received signal SIGSEGV, Segmentation fault.
0x00000000004100be in ssl_info_callback (ssl=0x6c7080, where=16, ret=1) at network.c:36
36 ++con->renegotiations;
(gdb) bt
#0 0x00000000004100be in ssl_info_callback (ssl=0x6c7080, where=16, ret=1) at network.c:36
#1 0x0000003e39a23822 in ssl23_accept () from /lib64/libssl.so.6
#2 0x0000003e39a24806 in ssl23_read () from /lib64/libssl.so.6
#3 0x000000000040c64b in connection_handle_read_ssl (srv=0x63a5e0, con=0x678800) at connections.c:224
#4 0x000000000040c95c in connection_handle_read (srv=0x63a5e0, con=0x678800) at connections.c:338
#5 0x000000000040de77 in connection_handle_read_state (srv=0x63a5e0, con=0x678800) at connections.c:907
#6 0x000000000040fa45 in connection_state_machine (srv=0x63a5e0, con=0x678800) at connections.c:1655
#7 0x000000000041017d in network_server_handle_fdevent (srv=0x63a5e0, context=0x66c2b0, revents=1) at network.c:64
#8 0x000000000040a111 in main (argc=6, argv=0x7fffffffea38) at server.c:1470

@nori0428 nori0428 closed this Jan 30, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment