Bug #2418
closedLighttpd crashes after first call from https in Linux environment
Description
A segmentation fault appears when the first call is made from outside.
Version: 1.4.30
Compiling and running under cygwin: OK
Compiling under linux on Intel processor with gcc: OK
Running under linux on Intel processor initial: OK
After first call the process stops.
No extra modules loaded
Tested well under 1.4.19
Lighttp.conf is here:
server.modules = ( # "mod_accesslog", # "mod_landy" ) server.document-root = "/var/landyweb/www/htdocs/" server.errorlog = "/var/landyweb/log/lighttpd_error.log" index-file.names = ( "index.php", "index.html", "index.htm", "default.htm" ) mimetype.assign = ( ".jpg" => "image/jpeg", ".jpeg" => "image/jpeg", ".png" => "image/png", ".css" => "text/css", ".html" => "text/html", ".htm" => "text/html", ".js" => "text/javascript", # default mime type "" => "application/octet-stream", ) accesslog.filename = "/var/log/lighttpd_access.log" url.access-deny = ( "~", ".inc" ) #$HTTP["url"] =~ "\.pdf$" { # server.range-requests = "disable" #} static-file.exclude-extensions = ( ".landyx", ".php", ".pl", ".fcgi" ) # server.port = 80 server.pid-file = "/var/run/landyweb.pid" ssl.engine = "enable" ssl.pemfile = "/etc/landyweb/landyweb.pem"
Files
Updated by stbuehler over 12 years ago
Can you perhaps get a gdb backtrace?
gdb --args /usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf [...] (gdb) run [... make https request, wait for crash] (gdb) backtrace full
Updated by brothersome over 12 years ago
I shall copy this to another machine where I have gdb.
A strace is also not available on this machine.
We use lighttpd for a big webcontroller application (>100K lines) running under:
Windows using Cygwin
Linux under Intel
ucLinux under ARM
This is the first bug I noticed in lighttpd module.
I reply after this weekend.
Best Regards,
Heine
Updated by stbuehler over 12 years ago
updating to the current rc might also help, there was actually a bug with tls/sni stuff
http://download.lighttpd.net/lighttpd/snapshots-1.4.x/lighttpd-1.4.31rc1-r2837.tar.gz
Updated by brothersome over 12 years ago
- Status changed from New to Patch Pending
- % Done changed from 0 to 100
Problem can be solved. It exists in version 1.4.30.
The SSL module does not work. In version 1.4.31 is seems to be corrected.
Please patch the version on the website so users are not becoming in trouble.
Best regards,
Heine
Thanks Stuebler
Updated by stbuehler over 12 years ago
- Status changed from Patch Pending to Duplicate
- Target version deleted (
1.4.x)
Also available in: Atom