httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39672] New: - Adding non-existant filter providers to filter chain causes segfault
Date Mon, 29 May 2006 10:47:38 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39672>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39672

           Summary: Adding non-existant filter providers to filter chain
                    causes  segfault
           Product: Apache httpd-2
           Version: 2.2.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: trivial
          Priority: P3
         Component: All
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: ben.tc1415@gmail.com


If a filter provider which does not exist is added to the filter chain, the
apache child dies with signal 11

Reproduce:
FilterChain +NotARealFilter

Backtrace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1379832912 (LWP 19849)]
add_any_filter_handle (frec=0x0, ctx=0x0, r=0x99cfdf0, c=0x99cbf90,
    r_filters=0x99cff78, p_filters=0x99cff80, c_filters=0x99cbfd8)
    at util_filter.c:286
286         if (frec->ftype < AP_FTYPE_PROTOCOL) {
(gdb) bt
#0  add_any_filter_handle (frec=0x0, ctx=0x0, r=0x99cfdf0, c=0x99cbf90,
    r_filters=0x99cff78, p_filters=0x99cff80, c_filters=0x99cbfd8)
    at util_filter.c:286
#1  0x08083e80 in filter_insert (r=0x99cfdf0) at mod_filter.c:758
#2  0x080737e2 in ap_run_insert_filter (r=0x99cfdf0) at request.c:80
#3  0x08077b7c in ap_invoke_handler (r=0x99cfdf0) at config.c:338
#4  0x080ab34d in ap_process_request (r=0x99cfdf0) at http_request.c:258
#5  0x080a8ee9 in ap_process_http_connection (c=0x99cbf90) at http_core.c:172
#6  0x0807d1e6 in ap_run_process_connection (c=0x99cbf90) at connection.c:43
#7  0x080b4473 in worker_thread (thd=0x9536f48, dummy=0x9889e80)
    at worker.c:531
#8  0x00211c24 in dummy_worker (opaque=0x9536f48)
    at threadproc/unix/thread.c:138
#9  0x00b289b3 in start_thread () from /lib/libpthread.so.0
#10 0x00921d0e in clone () from /lib/libc.so.6


Interestingly, removing non-existant ones does not cause any error?!?

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message