D4rk4/lighttpd-plus — Issue #3: Lighttpd with SSL config dies
Author: D4rk4
Created: 2011-11-16 10:02:02+00:00
State: open

If SSL enabled in config, but lighttpd compiled without OpenSSL, lighttpd dies:

2011-11-15 01:44:48: (network.c.384) SSL: ssl requested but openssl support is not compiled in
*** glibc detected *** /usr/sbin/lighttpd: double free or corruption (!prev): 0x000a2378 ***
======= Backtrace: =========
/lib/libc.so.6(cfree+0x78)[0xf7de8778]
/usr/sbin/lighttpd[0x1bbc8]
/usr/sbin/lighttpd(network_init+0x24c)[0x1c42c]
/usr/sbin/lighttpd(main+0x59c)[0x15efc]
/lib/libc.so.6(__libc_start_main+0x10c)[0xf7d8064c]
/usr/sbin/lighttpd(_start+0x2c)[0x1542c]
======= Memory map: ========
00010000-00038000 r-xp 00000000 08:02 52597 /usr/sbin/lighttpd
00048000-0004a000 rwxp 00028000 08:02 52597 /usr/sbin/lighttpd
0004a000-000ae000 rwxp 00000000 00:00 0 [heap]
f7a00000-f7a22000 rw-p 00000000 00:00 0
f7a22000-f7b00000 ---p 00000000 00:00 0
f7b08000-f7b14000 r-xp 00000000 08:02 1163 /lib/libnss_files-2.11.2.so
f7b14000-f7b22000 ---p 0000c000 08:02 1163 /lib/libnss_files-2.11.2.so
f7b22000-f7b24000 r--p 0000a000 08:02 1163 /lib/libnss_files-2.11.2.so
f7b24000-f7b26000 rwxp 0000c000 08:02 1163 /lib/libnss_files-2.11.2.so
f7b28000-f7b32000 r-xp 00000000 08:02 1180 /lib/libnss_nis-2.11.2.so
f7b32000-f7b40000 ---p 0000a000 08:02 1180 /lib/libnss_nis-2.11.2.so
f7b40000-f7b42000 r--p 00008000 08:02 1180 /lib/libnss_nis-2.11.2.so
f7b42000-f7b44000 rwxp 0000a000 08:02 1180 /lib/libnss_nis-2.11.2.so
f7b44000-f7b58000 r-xp 00000000 08:02 1178 /lib/libnsl-2.11.2.so
f7b58000-f7b66000 ---p 00014000 08:02 1178 /lib/libnsl-2.11.2.so
f7b66000-f7b68000 r--p 00012000 08:02 1178 /lib/libnsl-2.11.2.so
f7b68000-f7b6a000 rwxp 00014000 08:02 1178 /lib/libnsl-2.11.2.so
f7b6a000-f7b6c000 rwxp 00000000 00:00 0
f7b6c000-f7b74000 r-xp 00000000 08:02 1165 /lib/libnss_compat-2.11.2.so
f7b74000-f7b82000 ---p 00008000 08:02 1165 /lib/libnss_compat-2.11.2.so
f7b82000-f7b84000 r--p 00006000 08:02 1165 /lib/libnss_compat-2.11.2.so
f7b84000-f7b86000 rwxp 00008000 08:02 1165 /lib/libnss_compat-2.11.2.so
f7b88000-f7b8c000 r-xp 00000000 08:02 52585 /usr/lib/mod_dirlisting.so
f7b8c000-f7b9c000 ---p 00004000 08:02 52585 /usr/lib/mod_dirlisting.so
f7b9c000-f7b9e000 rwxp 00004000 08:02 52585 /usr/lib/mod_dirlisting.so
f7ba0000-f7ba6000 r-xp 00000000 08:02 52577 /usr/lib/mod_proxy.so
f7ba6000-f7bb4000 ---p 00006000 08:02 52577 /usr/lib/mod_proxy.so
f7bb4000-f7bb6000 rwxp 00004000 08:02 52577 /usr/lib/mod_proxy.so
f7bb8000-f7bba000 r-xp 00000000 08:02 52520 /usr/lib/mod_setenv.so
f7bba000-f7bc8000 ---p 00002000 08:02 52520 /usr/lib/mod_setenv.so
f7bc8000-f7bca000 rwxp 00000000 08:02 52520 /usr/lib/mod_setenv.so
f7bcc000-f7bd2000 r-xp 00000000 08:02 52559 /usr/lib/mod_status.so
f7bd2000-f7be0000 ---p 00006000 08:02 52559 /usr/lib/mod_status.so
f7be0000-f7be2000 rwxp 00004000 08:02 52559 /usr/lib/mod_status.so
f7be4000-f7bee000 r-xp 00000000 08:02 52535 /usr/lib/mod_cache.so
f7bee000-f7bfc000 ---p 0000a000 08:02 52535 /usr/lib/mod_cache.so
f7bfc000-f7bfe000 rwxp 00008000 08:02 52535 /usr/lib/mod_cache.so
f7c00000-f7c02000 r-xp 00000000 08:02 52589 /usr/lib/mod_redirect.so
f7c02000-f7c10000 ---p 00002000 08:02 52589 /usr/lib/mod_redirect.so
f7c10000-f7c12000 rwxp 00000000 08:02 52589 /usr/lib/mod_redirect.so
f7c14000-f7c16000 r-xp 00000000 08:02 52595 /usr/lib/mod_expire.so
f7c16000-f7c24000 ---p 00002000 08:02 52595 /usr/lib/mod_expire.so
f7c24000-f7c26000 rwxp 00000000 08:02 52595 /usr/lib/mod_expire.so
f7c28000-f7c2c000 r-xp 00000000 08:02 52593 /usr/lib/mod_mem_cache.so
f7c2c000-f7c3a000 ---p 00004000 08:02 52593 /usr/lib/mod_mem_cache.so
f7c3a000-f7c3c000 rwxp 00002000 08:02 52593 /usr/lib/mod_mem_cache.so
f7c3c000-f7c40000 r-xp 00000000 08:02 52572 /usr/lib/mod_mem_compress.so
f7c40000-f7c4e000 ---p 00004000 08:02 52572 /usr/lib/mod_mem_compress.so
f7c4e000-f7c50000 rwxp 00002000 08:02 52572 /usr/lib/mod_mem_compress.so
f7c50000-f7c64000 r-xp 00000000 08:02 116 /lib/libbz2.so.1.0.4
f7c64000-f7c72000 ---p 00014000 08:02 116 /lib/libbz2.so.1.0.4
f7c72000-f7c74000 rwxp 00012000 08:02 116 /lib/libbz2.so.1.0.4
f7c74000-f7c88000 r-xp 00000000 08:02 3837 /usr/lib/libz.so.1.2.3.4
f7c88000-f7c98000 ---p 00014000 08:02 3837 /usr/lib/libz.so.1.2.3.4
f7c98000-f7c9a000 rwxp 00014000 08:02 3837 /usr/lib/libz.so.1.2.3.4
f7c9c000-f7ca0000 r-xp 00000000 08:02 52579 /usr/lib/mod_compress.so
f7ca0000-f7cae000 ---p 00004000 08:02 52579 /usr/lib/mod_compress.so
f7cae000-f7cb0000 rwxp 00002000 08:02 52579 /usr/lib/mod_compress.so
f7cb0000-f7cb4000 r-xp 00000000 08:02 52557 /usr/lib/mod_accesslog.so
f7cb4000-f7cc2000 ---p 00004000 08:02 52557 /usr/lib/mod_accesslog.so
f7cc2000-f7cc4000 rwxp 00002000 08:02 52557 /usr/lib/mod_accesslog.so
f7cc4000-f7cd0000 r-xp 00000000 08:02 52539 /usr/lib/mod_fastcgi.so
f7cd0000-f7ce0000 ---p 0000c000 08:02 52539 /usr/lib/mod_fastcgi.soAborted
failed!