[Issues] [mod_gnutls 0000082]: mod_gnutls 0.5.x crashes Apache on startup

Mantis Bug Tracker issues at outoforder.cc
Thu Oct 16 14:36:15 EDT 2008


The following issue has been RESOLVED. 
====================================================================== 
http://issues.outoforder.cc/view.php?id=82 
====================================================================== 
Reported By:                StevenChamberlain
Assigned To:                nmav
====================================================================== 
Project:                    mod_gnutls
Issue ID:                   82
Category:                   Other
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     resolved
Apache Version:             unspecified 
Resolution:                 no change required
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-03-15 17:51 EDT
Last Modified:              2008-10-16 14:36 EDT
====================================================================== 
Summary:                    mod_gnutls 0.5.x crashes Apache on startup
Description: 
With mod_gnutls 0.5.0 or 0.5.1, Apache crashes on startup.  Errors are
dumped to the error_log (see Additional Info. section).

This is with Apache/2.2.8 on Linux, with other modules DAV/2 PHP/5.2.5
SVN/1.4.2 also running.

I have gnutls 2.2.1 installed and APR memcache 0.7.0.  mod_gnutls was
simply configured as follows and compiled with no extra CFLAGS:
  ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc

mod_gnutls 0.2.0 seemed to work well.

I wish I could provide more info. but I'm not sure what would help to
diagnose this.  Please let me know what would be useful.

====================================================================== 

---------------------------------------------------------------------- 
 (0000104) nmav (manager) - 2008-03-17 16:23
 http://issues.outoforder.cc/view.php?id=82#c104 
---------------------------------------------------------------------- 
Does this also occur with 0.4.3? Try running apache on a single process
with gdb to see why this fails. Also try to disable features (ie
apr_memcache) 

---------------------------------------------------------------------- 
 (0000105) nmav (manager) - 2008-03-21 16:05
 http://issues.outoforder.cc/view.php?id=82#c105 
---------------------------------------------------------------------- 
more feedback is needed 

---------------------------------------------------------------------- 
 (0000107) StevenChamberlain (reporter) - 2008-04-01 20:49
 http://issues.outoforder.cc/view.php?id=82#c107 
---------------------------------------------------------------------- 
Hi,

I found something else which I hadn't previously noticed -- this message
was appearing in the error_log of a virtual host when attempting to start
apache2 with mod_gnutls 0.5.1:
  GnuTLS: Host 'www.example.com:443' is missing the GnuTLSPriorities
directive!

After adding that directive to all of my HTTPS virtual hosts, everything
seems fine; there is no longer a crash on startup and both HTTP and HTTPS
are functioning.

I tried creating a fresh set of apache2 configuration files to try and
reproduce the crash, but I found that the above GnuTLSPriorities error
would appear in the virtual host error_log with *no* output to the main
apache2 error_log (and no crash either, I believe).

If you think it's worth doing, I could spend more time trying to find out
the exact cause of the crash, but since this was probably only happening
when the required GnuTLSPriorities directive was missing then it's maybe
not important?

Thanks. 

---------------------------------------------------------------------- 
 (0000112) nmav (manager) - 2008-04-18 01:38
 http://issues.outoforder.cc/view.php?id=82#c112 
---------------------------------------------------------------------- 
This crash is quite strange. After printing this error message mod_gnutls
forces apache to exit. Which apache are you using? 

---------------------------------------------------------------------- 
 (0000127) nmav (manager) - 2008-10-16 14:36
 http://issues.outoforder.cc/view.php?id=82#c127 
---------------------------------------------------------------------- 
Nothing to be done about this issue. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-03-15 17:51 StevenChamberlainNew Issue                                    
2008-03-15 17:51 StevenChamberlainApache Version            => unspecified     
2008-03-17 16:23 nmav           Note Added: 0000104                          
2008-03-21 16:05 nmav           Note Added: 0000105                          
2008-03-21 16:05 nmav           Status                   new => feedback     
2008-04-01 20:49 StevenChamberlainNote Added: 0000107                          
2008-04-18 01:38 nmav           Note Added: 0000112                          
2008-10-16 14:36 nmav           Status                   feedback => resolved
2008-10-16 14:36 nmav           Resolution               open => no change
required
2008-10-16 14:36 nmav           Assigned To               => nmav            
2008-10-16 14:36 nmav           Note Added: 0000127                          
======================================================================




More information about the Issues mailing list