[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-bugs] [Bug 710] New: apache2 ssl does not work on xen domu host



http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=710

           Summary: apache2 ssl does not work on xen domu host
           Product: Xen
           Version: 3.0.2
          Platform: x86
        OS/Version: Linux-2.6
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Unspecified
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: fcu-xen@xxxxxxxxxx


I'm trying to get apache2 and ssl running in a domu. The config i'm using works
fine on a debian sarge on a dedicated machine. But with debian sarge on the
domu machine, the http process serving the request crashes as soon as it gets
an ssl request. Non-SSL works fine, so do many other services (mysql, powerdns,
qmail, ...)


Apache is 2.0.58 self-compiled, however the official debian packages behave the
same way.

I run Xen version 3.0.2-3 (Debian 3.0.2+hg9697-0bpo1), with kernel 2.6.16.27
with hg9697 patch. I tried 2.6.16 using an older patch as well. I can reproduce
the bug in another domu on another host.

I tried using the stock glibc6 with /lib/tls moved away, and a patched glibc
2.3.2 which support tls and xen, behaviour is the same.

apache2 uses the prefork worker, threaded worker is the same.

Apache2 Backtrace:

This GDB was configured as "i386-linux"...Using host libthread_db library
"/lib/tls/libthread_db.so.1".

(gdb) run -X -DSSL
Starting program: /opt/httpd-2.0.58/bin/httpd -X -DSSL
[Thread debugging using libthread_db enabled]
[New Thread -1212231552 (LWP 1520)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1212231552 (LWP 1520)]
0xb7b6c411 in ssl_hook_pre_connection (c=0x81cb740, csd=0x81cb668)
    at mod_ssl.c:274
274         SSLSrvConfigRec *sc = mySrvConfig(c->base_server);
(gdb) bt
#0  0xb7b6c411 in ssl_hook_pre_connection (c=0x81cb740, csd=0x81cb668)
    at mod_ssl.c:274
#1  0x080980f6 in ap_run_pre_connection (c=0x81cb740, csd=0x81cb668)
    at connection.c:44
#2  0x0809838a in ap_process_connection (c=0x81cb740, csd=0x81cb668)
    at connection.c:170
#3  0x08088b00 in child_main (child_num_arg=0) at prefork.c:610
#4  0x08088bda in make_child (s=0x80d8128, slot=0) at prefork.c:650
#5  0x08088d3d in startup_children (number_to_start=5) at prefork.c:722
#6  0x080891b1 in ap_mpm_run (_pconf=0x80d30a8, plog=0x8109180, s=0x80d8128)
    at prefork.c:941
#7  0x08090e15 in main (argc=3, argv=0xbf855da4) at main.c:623


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.