Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A5092187EB for ; Mon, 27 Jul 2015 05:23:56 +0000 (UTC) Received: (qmail 84500 invoked by uid 500); 27 Jul 2015 05:23:53 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 84459 invoked by uid 500); 27 Jul 2015 05:23:53 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 84449 invoked by uid 99); 27 Jul 2015 05:23:53 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jul 2015 05:23:53 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id C4CC21A78A8 for ; Mon, 27 Jul 2015 05:23:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.802 X-Spam-Level: * X-Spam-Status: No, score=1.802 tagged_above=-999 required=6.31 tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.001, KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id MAw20GoKU245 for ; Mon, 27 Jul 2015 05:23:39 +0000 (UTC) Received: from mail-ob0-f169.google.com (mail-ob0-f169.google.com [209.85.214.169]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id C34F9249E9 for ; Mon, 27 Jul 2015 05:23:38 +0000 (UTC) Received: by obre1 with SMTP id e1so51861124obr.1 for ; Sun, 26 Jul 2015 22:22:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=JRY6hbmOkF+YgXBQWtY3hXaheeIqY0oLAmNw2OlwCU0=; b=GD25qjvD2k8f1C2L9TtoDFlfwr94G2sASyMKXCCUBy/PMlTauv68aLPL6hxQDEkoKL oph/EFO5BiQY5BXQffmZ2oD1EZnUST/LyWkmIju11BwZtbOrY2cwivflO5POLWKmzPjt g7ptdCD3YvAM8V+bTOaLPyS4Twemg0X6ZaTBxY4862AKHXfIXYtf86d53TP8SFZmwm1h KNFutcKbtyTX5YL/abmVpwG3+Ks55iLj5wOOhWIKqo5FG3HtimbxEGGZSyqkQgm4+Ibf 2gXvkTwW9JTdr8dMitJd+PxroVXAUkuTxHcUFdEwcGSjJl+BDcquSrEC7Us6UpOQQpYB jPkg== X-Gm-Message-State: ALoCoQlHY8vpcOlsy1rAR6K3UNuLFNv9mgRXyAfbKoMb+lmR1vUGCo7m52lALO8vtcDIwAkzHaAv MIME-Version: 1.0 X-Received: by 10.182.24.40 with SMTP id r8mr26976937obf.15.1437974567529; Sun, 26 Jul 2015 22:22:47 -0700 (PDT) Sender: jose.r.r@metztli.com Received: by 10.202.202.5 with HTTP; Sun, 26 Jul 2015 22:22:47 -0700 (PDT) In-Reply-To: <1994252290.2783621.1437971624386.JavaMail.yahoo@mail.yahoo.com> References: <1994252290.2783621.1437971624386.JavaMail.yahoo@mail.yahoo.com> Date: Sun, 26 Jul 2015 22:22:47 -0700 X-Google-Sender-Auth: 6V6TmPcisrCpzZCEmePsQ5JIlSI Message-ID: From: Jose R R To: users@httpd.apache.org, deva seetharam Content-Type: text/plain; charset=UTF-8 Subject: Re: [users@httpd] debugging segmentation fault Niltze, deva- On Sun, Jul 26, 2015 at 9:33 PM, deva seetharam wrote: > hello > > we are running debian linux stable (Jessie) with apache 2.4.10 and mod_wsgi > 4.3.0-1 on a x86_64 machine. > our application is written in python 2.7 and django 1.8. > > the list of modules as reported by apachectl -M are: > Loaded Modules: > core_module (static) > so_module (static) > watchdog_module (static) > http_module (static) > log_config_module (static) > logio_module (static) > version_module (static) > unixd_module (static) > access_compat_module (shared) > alias_module (shared) > auth_basic_module (shared) > authn_core_module (shared) > authn_file_module (shared) > authz_core_module (shared) > authz_host_module (shared) > authz_user_module (shared) > autoindex_module (shared) > cgi_module (shared) > deflate_module (shared) > dir_module (shared) > env_module (shared) > filter_module (shared) > mime_module (shared) > mpm_worker_module (shared) > negotiation_module (shared) > perl_module (shared) > rewrite_module (shared) > setenvif_module (shared) > socache_shmcb_module (shared) > status_module (shared) > wsgi_module (shared) > > we were getting segmentation faults when rest api clients were making > requests. the apache error log has the following messages: > > [Mon Jul 27 09:04:38.375433 2015] [core:notice] [pid 32693:tid > 140315326191488] AH00052: child pid 32700 exit signal Segmentation fault > (11) > [Mon Jul 27 09:04:38.375556 2015] [core:notice] [pid 32693:tid > 140315326191488] AH00052: child pid 32701 exit signal Segmentation fault > (11) > > i have enabled core dumps by setting ulimit to unlimited and adding core > dump config directive in the apache2.conf file. > > but the core dumps are not happening. > > when i tried to debug using gdb (gdb /usr/sbin/apache2), the environment > variables are not getting read. > > any clues on how to go about this? thanks in advance. > > > > > Indeed, the Debian Jessie repos lists apache2 (2.4.10-10) < https://packages.debian.org/jessie/apache2 >; however, the current HTTPD (from where debian Apache2 derives) is at 2.4.16 < http://httpd.apache.org/ > If for whatever reason you don't want to build HTTPD 2.4.16 for Jessie, I would suggest to use the Debian Stretch Apache2 repo < https://packages.debian.org/stretch/apache2 > in a test instance to find out if your seg fault issue disappears. Good luck! Best Professional Regards. -- Jose R R http://metztli.it --------------------------------------------------------------------------------------------- Try at no charge http://b2evolution.net for http://OpenShift.com PaaS --------------------------------------------------------------------------------------------- from our GitHub http://Nepohualtzintzin.com repository. Cloud the easy way! --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org