From nobody Fri May 12 03:46:21 2023 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QHZSX3Sngz4BRp3 for ; Fri, 12 May 2023 03:46:36 +0000 (UTC) (envelope-from pprocacci@gmail.com) Received: from mail-oi1-x22d.google.com (mail-oi1-x22d.google.com [IPv6:2607:f8b0:4864:20::22d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QHZSV70XDz41WR for ; Fri, 12 May 2023 03:46:34 +0000 (UTC) (envelope-from pprocacci@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=J4bOPoj2; spf=pass (mx1.freebsd.org: domain of pprocacci@gmail.com designates 2607:f8b0:4864:20::22d as permitted sender) smtp.mailfrom=pprocacci@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-oi1-x22d.google.com with SMTP id 5614622812f47-39415d3526bso1349990b6e.2 for ; Thu, 11 May 2023 20:46:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683863193; x=1686455193; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=nIYdZU9ZnBnoXOCOyd1T1BIWSjMcTLoI4M7Ddqzpp9A=; b=J4bOPoj2whMjBiZy6z3NZu+bgViYn3+tc2MWvgSDyz9fplDTXRBfyur6YY32YswnMP fsRm+QB2Xb/CO2a1UTVp8XYHLPmKPjEDt6dhCTIo5TmQiJwE9k5cgilQd78T/oTdXrcH V+HMlMNKGne+5PKdipy9KojimeHgVN0Sh+elN17zqgUR8S2Ugk9kxZsPXOHNpWcrytpJ iF6w1a7GGsAyhg5xpkr1ETa0cvt2fCyA/q7ugbC/SD+7ITXiowECsNWhprkyKWB2SeUL viNXGbsRmzGurU4ekuyLEc9nsw8wCoNb08KT7V1HjG0KBB7SZ1Spg21ovfuPtxgk8U8l zphg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683863193; x=1686455193; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=nIYdZU9ZnBnoXOCOyd1T1BIWSjMcTLoI4M7Ddqzpp9A=; b=QVEShb+oghAHoNDRdj4CHJ2xARTjza8xMgIDCN8h4yb0UKxnnT/0cK43mvLabkPCKf UvgmmB1YhutdisENcnImvPk76jyKFGqabxWuEWUUu77+REqN0vKJzg2mR7VYxLJ4pz4o QkSSBSvKcFQ6WpuTZed2e/vA4D7Q1hyOP6Sx9VAancHarCFe8lVC/2b1y7gPCjLNy/77 k72FDZ6HdDssWJ2IX0igAcRbjKFJOCMhaEBUNaFBYfNpeupOuWWr5L61M6sGG9zNLqLa NtvWuDQ4j4BjlTt50m4YUARBlu344JsNXKMcouRmds4T0yeQYagp9Cs8TjlH6+048Rd4 XI4g== X-Gm-Message-State: AC+VfDyJrn9ELiKMiQOXXr9dUqhANImZxWW2T5EOmSMBoXuQBBaSd4E+ ZStpiGQEirr/oBoHBg5KUt99MNqH1BuXPS6dH2iRCT2ObwYr X-Google-Smtp-Source: ACHHUZ7Q+8KpmsbtxBFSdHBv4R7zpfp2RwGqt5pR1gFLrpFTQAsnIN9B15ylg97IwFbmQWn1F/LacJslIn4PTbXpxOo= X-Received: by 2002:aca:1019:0:b0:38b:fbc3:a5c2 with SMTP id 25-20020aca1019000000b0038bfbc3a5c2mr5173266oiq.50.1683863193589; Thu, 11 May 2023 20:46:33 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <8264bee7-f13f-a1a1-552a-09fb34973b26@paz.bz> In-Reply-To: From: Paul Procacci Date: Thu, 11 May 2023 23:46:21 -0400 Message-ID: Subject: Re: apache24 reload dies with SIGSEGV To: Jim Pazarena Cc: freebsd-questions@freebsd.org Content-Type: multipart/alternative; boundary="000000000000811e7805fb76f351" X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.994]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::22d:from]; BLOCKLISTDE_FAIL(0.00)[2607:f8b0:4864:20::22d:server fail]; ARC_NA(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4QHZSV70XDz41WR X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N --000000000000811e7805fb76f351 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, May 11, 2023 at 11:35=E2=80=AFPM Paul Procacci wrote: > > > On Thu, May 11, 2023 at 11:31=E2=80=AFPM Jim Pazarena wro= te: > >> I just loaded two servers with a fresh 13.2 install . Along with a fresh >> install of 2.4.57 Apache . >> >> both have public IPs >> one is https , while the other is not . >> >> an "./apache24 start" works as expected . It passes the sanity check , >> announces Syntax OK , and runs . >> >> However , if I issue an "./apache24 reload" >> it still announces Syntax OK , followed with: >> Performing a graceful restart >> >> but it does not start . >> running "dmesg" , I see: >> pid xxxx (httpd), jid 0, uid 0: existed on signal 11 >> >> If I run an ".apache24 start" >> it fires up as expected and runs as expected . >> >> What is a reload doing extra that a start does not do , that could be >> causing a SIGSEGV ? >> oh yes, a restart works as expected >> a reload dies . >> >> Suggestions would be most appreciated . >> >> > You need to generate a core and run gdb against it getting a backtrace. -= - > This ultimately would provide you very specifically where it's getting > foul'd up. > > ~Paul > -- > __________________ > > :(){ :|:& };: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267435 As a follow up to my brief comment and given the bug report above (last comment in particular), you don't happen to be running apache with mod_php and ASLR are you? ~Paul --=20 __________________ :(){ :|:& };: --000000000000811e7805fb76f351 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Thu, May 11, 2023 at 11:35=E2=80= =AFPM Paul Procacci <pprocacci@gm= ail.com> wrote:


On Thu, May 11, 2023 at 1= 1:31=E2=80=AFPM Jim Pazarena <fquest@paz.bz> wrote:
I just loaded two servers with a fresh 13.2 install .= Along with a fresh
install of 2.4.57 Apache .

both have public IPs
one is https , while the other is not .

an "./apache24 start" works as expected . It passes the sanity ch= eck ,
announces Syntax OK , and runs .

However , if I issue an "./apache24 reload"
it still announces Syntax OK , followed with:
Performing a graceful restart

but it does not start .
running "dmesg" , I see:
pid xxxx (httpd), jid 0, uid 0: existed on signal 11

If I run an ".apache24 start"
it fires up as expected and runs as expected .

What is a reload doing extra that a start does not do , that could be
causing a SIGSEGV ?
oh yes, a restart works as expected
a reload dies .

Suggestions would be most appreciated .


You need to generate a core= and run gdb against it getting a backtrace. -- This ultimately would provi= de you very specifically where it's getting foul'd up.

~Paul
--
_= _________________

:(){ :|:& };:


As a follow up to my bri= ef comment and given the bug report above (last comment in particular), you= don't happen to be running apache with mod_php and ASLR are you?
=

~Paul

--
_______________= ___

:(){ :|:& };:
--000000000000811e7805fb76f351--