Return-Path: X-Original-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Delivered-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6C7D4181CA for ; Mon, 11 Jan 2016 19:39:37 +0000 (UTC) Received: (qmail 77805 invoked by uid 500); 11 Jan 2016 19:39:37 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 77687 invoked by uid 500); 11 Jan 2016 19:39:36 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 77675 invoked by uid 99); 11 Jan 2016 19:39:36 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2016 19:39:36 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id DD92518027E for ; Mon, 11 Jan 2016 19:39:35 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.001 X-Spam-Level: *** X-Spam-Status: No, score=3.001 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=3, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=onthewings-net.20150623.gappssmtp.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id ElwgbaO5VKU6 for ; Mon, 11 Jan 2016 19:39:27 +0000 (UTC) Received: from mail-lf0-f53.google.com (mail-lf0-f53.google.com [209.85.215.53]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 6EA2C258C7 for ; Mon, 11 Jan 2016 19:39:27 +0000 (UTC) Received: by mail-lf0-f53.google.com with SMTP id m198so73114611lfm.0 for ; Mon, 11 Jan 2016 11:39:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=onthewings-net.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to:content-type; bh=/Ia9Ze+bOVXtHNsX79zlW6JhXY+ejbXWHiW1M/OvkX0=; b=P3L8X/FphhBnQFrN7BxIpC0Fxt7DXkehdxW7zvVjudyM5FFhgAfqEmfqigR1sOwt6q Q5RR1cSHOmlAJZGp7tjxdzVLLRWNHKJnDh64A6GVsO8aFlrebtQMiFfkhdtSNrT2SLJ4 sxDjJ2FXti/WwRzGlcOnSv8P8SL+aOE79sgXrSX5zo8eB+1nCt5d4V5YsWxtmDPgLC1R nYSmg7SboZ5RyPSF50IE5CAnFXv0MMZ38ME7VfXInljrt2R1xvZQ8n8090EU/mzARQl7 oqem5pWDFPRk+Ww9zMD1BNv1BGKqzSoGemQ6SpwU5YAnPfae2rho0+6xTKw006YwrfSw iq1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=/Ia9Ze+bOVXtHNsX79zlW6JhXY+ejbXWHiW1M/OvkX0=; b=kNFD8NuNZZP0qCxWpMJQJvuItioQ5I65co9FQxFZxLwwbmp1wdSmUO6qxfHS4mMF36 4bPzZeQ0XEZibWFXWBZ6EL0zs+WdnrhYc+WdHxGm7V04JbfawXTfxrN8qPn0+yrt1okx gEWtyWnxlnaCoQNjIK9buOzFUInuaORu1n0eeNcvh6BEkxuMHdR3982hLZ+ACjr+JuL+ /lCt0N3eaYKEomGsNJ6D5/y7niS8DrOshT0CTi+nSJJMubvFg0TG9KTDSChVxGQcnlaI 2vfxcP9ame7gxxLJ4dRZePcZgSxOWkPWpwXaPzi7zYfk1QTm6H2TPPZB/sX91yFy1+sw 8NLg== X-Gm-Message-State: ALoCoQlU3RLd0Ve3py20SufWWST66hNgDFf5K+8KQMRt4jmpNNxATP5hgCCnZL3bTRX55n9UspdUtne77tzWJwRwEz6/NAWEcg== X-Received: by 10.25.208.213 with SMTP id h204mr38028175lfg.112.1452541160839; Mon, 11 Jan 2016 11:39:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.185.5 with HTTP; Mon, 11 Jan 2016 11:38:51 -0800 (PST) From: Andy Li Date: Tue, 12 Jan 2016 03:38:51 +0800 Message-ID: Subject: Debugging a module that works in homebrew's httpd24 but not OSX's preinstalled one To: modules-dev@httpd.apache.org Content-Type: multipart/alternative; boundary=001a11412fd2e9f7db05291417a1 --001a11412fd2e9f7db05291417a1 Content-Type: text/plain; charset=UTF-8 Hi, I'm developing (updating) mod_neko , a module that let users to use the Neko VM to serve web requests. The module already works on Windows and Linux, but I have a problem on Mac. In fact, the module works on the apache httpd 2.4 installed with homebrew-apache , but not the OSX preinstalled httpd (which is also 2.4). When activating mod_neko on the OSX preinstalled httpd, I can see the log message from the ap_hook_post_config function, but it will seg fault and never print the log in ap_hook_child_init. The ap_hook_post_config function seem to successfully return, since my log statement is merely above its return statement. The outputs of apachectl -V/-l/-M of the homebrew httpd and the OSX httpd can be found at https://gist.github.com/andyli/2e8da482dea18306ff6f Do you have any idea why this happens? Can this be caused by the OSX httpd being compiled with an old apr library? Is there a way to know the exact point of when the process seg fault (a stack trace or something)? Best regards, Andy --001a11412fd2e9f7db05291417a1--