httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <jerenkra...@ebuilt.com>
Subject Segfault with MMAPed files...
Date Sun, 02 Dec 2001 00:30:19 GMT
Requesting a large file segfaults with HEAD in bucket MMAP code.  
The bucket data looks like it is getting trounced somehow.

Looking into this now, but posting in case this strikes an
immediate chord with someone.  =)  -- justin

#0  0xdfb51614 in apr_mmap_offset (addr=0xdf1ff744, mmap=0x10, offset=0)
    at common.c:74
#1  0xdfb84a32 in mmap_read (b=0x8163de0, str=0xdf1ff804,
length=0xdf1ff800, 
    block=APR_BLOCK_READ) at apr_buckets_mmap.c:69
#2  0xdfb837df in file_read (e=0x8163de0, str=0xdf1ff804,
len=0xdf1ff800, 
    block=APR_BLOCK_READ) at apr_buckets_file.c:125
#3  0x80d6663 in core_output_filter (f=0x81b410c, b=0x81b415c) at
core.c:3081
#4  0x80cc3ea in ap_pass_brigade (next=0x81b410c, bb=0x81bc38c)
    at util_filter.c:388
#5  0x807e3e3 in ap_http_header_filter (f=0x81bc28c, b=0x81bc38c)
    at http_protocol.c:1239
---
#1  0xdfb84a32 in mmap_read (b=0x8163de0, str=0xdf1ff804,
length=0xdf1ff800, 
    block=APR_BLOCK_READ) at apr_buckets_mmap.c:69
69          ok = apr_mmap_offset(&addr, m->mmap, b->start);
(gdb) print *m
$1 = {refcount = {refcount = 1}, mmap = 0x10}
---


Mime
View raw message