https://issues.apache.org/bugzilla/show_bug.cgi?id=56351

            Bug ID: 56351
           Summary: Segmentation fault when using mod_auth_form
           Product: Apache httpd-2
           Version: 2.4-HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Core
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 31478
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31478&action=edit
error_log.txt

Using mod_auth_form in httpd.conf causes segmentation fault when accessing the
server.

I tested this in a fresh ubuntu virtual machine. This bug is easily
reproducible. This happens every time when httpd is started and the site is
accessed.

I tested this with httpd.conf configuration that is simplified and not fully
functional.

Originally I found this bug when trying to use mod_auth_form and session_dbd
with AuthBasicProvider ldap in Ubuntu Trusty. Changing AuthBasicProvider from
ldap to file worked in that machine, the site was working correctly after that.



Error log:
[core:notice] [pid 11321:tid 140385410832256] AH00051: child pid 11322 exit
signal Segmentation fault (11), possible coredump in /debug

Full log in attachment error_log.txt


GDB:
#2  ap_mpm_podx_check (pod=<optimized out>) at mpm_unix.c:535

See attachment gdb.txt for more information.


conf/httpd.conf (added this after default configuration):

LoadModule auth_form_module modules/mod_auth_form.so

CoreDumpDirectory /debug
MaxClients 1
ThreadsPerChild 1

ServerName testserver
DocumentRoot /var/www/html
LogLevel debug
<Location />
  #AuthBasicProvider ldap
  AuthBasicProvider file
  AuthType form
  AuthName test
  Require valid-user
</Location>


Build process and configuration is documented in attachment build.txt


Server version: Apache/2.4.10-dev (Unix)
Server loaded:  APR 2.0.0-dev

# uname -a
Linux test3 3.13.0-19-generic #40-Ubuntu SMP Mon Mar 24 02:36:06 UTC 2014
x86_64 x86_64 x86_64 GNU/Linux


See attachment info.txt for more information about versions.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to