Project

General

Profile

Actions

Bug #2418

closed

Lighttpd crashes after first call from https in Linux environment

Added by brothersome over 12 years ago. Updated over 12 years ago.

Status:
Duplicate
Priority:
High
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:

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

intel.sh (135 Bytes) intel.sh Configure script brothersome, 2012-05-25 15:43

Related issues 1 (0 open1 closed)

Is duplicate of Bug #2385: SSL related instant deathFixed2012-01-24Actions
Actions #1

Updated by stbuehler over 12 years ago

  • Description updated (diff)
Actions #2

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
Actions #3

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

Actions #4

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

Actions #5

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

Actions #6

Updated by stbuehler over 12 years ago

  • Status changed from Patch Pending to Duplicate
  • Target version deleted (1.4.x)
Actions

Also available in: Atom