httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Clark <mich...@metaparadigm.com>
Subject segfault in dav_validate_request
Date Sun, 30 Dec 2007 01:22:28 GMT
I'm getting a segfault here in mod_dav from trunk (after a make clean) 
running litmus using extras/httpd-dav.conf whereas it was working for me 
last night. Not sure if this a work-in-progress. No time to file a bug 
right now as i'm off for the weekend.

-> running `locks':
 0. init.................. pass
 1. begin................. FAIL (Could not create new collection 
`/uploads/litmus/' for tests: 405 Method Not Allowed
Server must allow `MKCOL /uploads/litmus/' for tests to proceed)


    /* Set the ETag header required by dav_meets_conditions() */
->    if ((err = (*resource->hooks->set_headers)(r, resource)) != NULL) {
        return dav_push_error(r->pool, err->status, 0,
                             "Unable to set up HTTP headers.",
                             err);
    }


(gdb) [Sun Dec 30 09:10:42 2007] [notice] child pid 7044 exit signal 
Segmentation fault (11)
[Sun Dec 30 09:10:42 2007] [notice] child pid 7047 exit signal 
Segmentation fault (11)
bt
#0  0x00000000 in ?? ()
#1  0x080a6a36 in dav_validate_request (r=0x81b8870, resource=0x81bb960, 
depth=2147483647, locktoken=0x0,
    response=0xbfa5cb9c, flags=160, lockdb=0x0) at util.c:1487
#2  0x080a2662 in dav_handler (r=0x81b8870) at mod_dav.c:1189
#3  0x0807c569 in ap_run_handler (r=0x81b8870) at config.c:163
#4  0x0807f777 in ap_invoke_handler (r=0x81b8870) at config.c:378
#5  0x080979e0 in ap_process_async_request (r=0x81b8870) at 
http_request.c:244
#6  0x08097a0d in ap_process_request (r=0x81b8870) at http_request.c:288
#7  0x08094c98 in ap_process_http_connection (c=0x81b0840) at 
http_core.c:208
#8  0x08083799 in ap_run_process_connection (c=0x81b0840) at connection.c:43
#9  0x080bc974 in child_main (child_num_arg=<value optimized out>) at 
prefork.c:620
#10 0x080bccd8 in make_child (s=0x80f0a18, slot=2) at prefork.c:716
#11 0x080bcd94 in startup_children (number_to_start=3) at prefork.c:734
#12 0x080bd7b9 in ap_mpm_run (_pconf=0x80e90a8, plog=0x812f1c0, 
s=0x80f0a18) at prefork.c:947
#13 0x0806a4ea in main (argc=135164064, argv=0x81ae668) at main.c:768


Mime
View raw message