Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0E2E0200C0F for ; Thu, 2 Feb 2017 23:33:03 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 0CC3C160B57; Thu, 2 Feb 2017 22:33:03 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 530F4160B44 for ; Thu, 2 Feb 2017 23:33:02 +0100 (CET) Received: (qmail 89851 invoked by uid 500); 2 Feb 2017 22:33:01 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 89841 invoked by uid 99); 2 Feb 2017 22:33:01 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2017 22:33:01 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id D11BBC0939 for ; Thu, 2 Feb 2017 22:33:00 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.321 X-Spam-Level: X-Spam-Status: No, score=-0.321 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id fPJSvgMYuZLp for ; Thu, 2 Feb 2017 22:32:58 +0000 (UTC) Received: from mail-qt0-f174.google.com (mail-qt0-f174.google.com [209.85.216.174]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 345415F30B for ; Thu, 2 Feb 2017 22:32:58 +0000 (UTC) Received: by mail-qt0-f174.google.com with SMTP id v23so4366139qtb.0 for ; Thu, 02 Feb 2017 14:32:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=7meoc/Pd6hZKjJVbMtU9Jan5xmd5iDH1wQwj1F+Whik=; b=vXrNQ+cVE79I9sIitodUhQCotg0F8/wXyMwPNfUkgnnSummZ11dSolCItdmmjcDMGI llGqRrdFo8izeOoSjDyQiqeCzB7yucDIrMEHP4tdZ40wsgaJ0B+LCj3cxggSHnVdw3zO vRW/LcLgsWxpoCv16iKLQt8A0/K9bsyhDDH8krJ3CaRw+jCk4YKW3PQ+CxPiRcI8hZ/L maXiwqnjWOw8p/utntRX3jmRlw2EWm7GT+w8rPKkzlCx//5XIShnO5vuQOKwdHMwAdao CBECrJCRsyo1gNzd1NzqBH2c5SyUIdsex3blnpMUtbydFeRVFhlS7GyafVMyn2kI6HNP Aqhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=7meoc/Pd6hZKjJVbMtU9Jan5xmd5iDH1wQwj1F+Whik=; b=rmKDtc/ckECEySnYK/PzO22KoArqpdIEcXZoIh+I1C0EMjS46TpVaV2aDDeumMnemV XhTnP/9Nwyu6ebSgFK65jK9CQL2K73NP8DRG8fF0ZammCKCgx9kdyGcgB2GJgiGyjhuR W/5Lw6yQuXfZGW0y0040VvFbANm5ffe/7P6jk7G1fYUt9v4jueyhsf9dtk9RSKBa36jU mkSAtJ/Vb8U3OxSA9436QWf2dA1dzu2pbwmFeYEqxjtZ6uxKgB6AAuRDCHWkZLMA1jmZ rqm/k1t7fcy0n0ABlESOCeY2ch1v4wGPCs/4xuOObiqVsC92WhEXj97cskf/pmPrmXiL hFIA== X-Gm-Message-State: AIkVDXISkoe0kCq2gW+PdQk5OrN/xID3UbzCrsE0bXS954AaIZJEraKjriNMNN2cWcek050Mmh+kaSzBw437Cw== X-Received: by 10.55.12.14 with SMTP id 14mr10464328qkm.308.1486074777053; Thu, 02 Feb 2017 14:32:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.55.102.18 with HTTP; Thu, 2 Feb 2017 14:32:56 -0800 (PST) In-Reply-To: References: From: Yann Ylavic Date: Thu, 2 Feb 2017 23:32:56 +0100 Message-ID: Subject: Re: httpd 2.4.25, mpm_event, ssl: segfaults To: httpd-dev Content-Type: text/plain; charset=UTF-8 archived-at: Thu, 02 Feb 2017 22:33:03 -0000 On Thu, Feb 2, 2017 at 11:19 PM, Jacob Champion wrote: > > Idle thoughts: "Cannot access memory" in this case could be a red herring, > if Niklas' gdb can't peer into mmap'd memory spaces [1]. It seems reasonable > that the data in question could be mmap'd, given the nice round address and > 4 MiB length (equal to APR_MMAP_LIMIT). > > That doesn't mean we're looking in the wrong place, though, since SIGBUS can > also be generated by an out-of-bounds access to an mmap'd region. Right, looks like the memory has been unmapped though (SIGBUS) before being (re)used. Does "EnableMMAP off" help or produce another backtrace? > > Niklas, what version of APR are you using? Are you serving large (> 4 MiB) > static files? I have not been able to reproduce so far (Ubuntu 16.04, httpd > 2.4.25 + mod_ssl + mpm_event). The original file bucket comes from mod_cache, and indeed looks larger than 4MB. If it were (htcache)cleaned while being served, SIGBUS shouldn't happen still since we hold an fd (and reference) on it... Regards, Yann.