From nobody Tue Oct 5 19:55:14 2021 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 D45A59F7396 for ; Tue, 5 Oct 2021 19:55:23 +0000 (UTC) (envelope-from kh@panix.com) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4HP7bt4nz3z4tVq for ; Tue, 5 Oct 2021 19:55:22 +0000 (UTC) (envelope-from kh@panix.com) Received: from rain.home (pool-96-230-243-2.bstnma.fios.verizon.net [96.230.243.2]) by mailbackend.panix.com (Postfix) with ESMTPSA id 4HP7bm5Tv8z3pts for ; Tue, 5 Oct 2021 15:55:16 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=panix.com; s=panix; t=1633463716; bh=FU43VAmeF2bVHyCKLYKaNSbJ3WCPY1ablcRupDdRObQ=; h=Subject:To:References:From:Date:In-Reply-To; b=Ad7gZT57Kmmo7jdDs4o74wXwhiXMVYXS2ItY6/JQibEo7mCq0+hB67vIhIQ/VCYDY c1+aF70lBsB9hen1eZrAhTMsqhg6FvnuSrCHO1GrtortwfYcLapLL2i8D0OIOfqQ/u dU7BZgyP0V4Q9fmS3pvMYeKEX0R1ZSmVZWePr53g= Subject: Re: How do I get a coredump file from an application? To: freebsd-questions@freebsd.org References: From: Kurt Hackenberg Message-ID: Date: Tue, 5 Oct 2021 15:55:14 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 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 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4HP7bt4nz3z4tVq X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=panix.com header.s=panix header.b=Ad7gZT57; dmarc=none; spf=pass (mx1.freebsd.org: domain of kh@panix.com designates 166.84.1.89 as permitted sender) smtp.mailfrom=kh@panix.com X-Spamd-Result: default: False [-2.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[166.84.1.89:from]; R_SPF_ALLOW(-0.20)[+ip4:166.84.1.64/26]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[panix.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RECEIVED_SPAMHAUS_PBL(0.00)[96.230.243.2:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:2033, ipnet:166.84.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[panix.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[panix.com:s=panix]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[panix.com]; RCPT_COUNT_ONE(0.00)[1]; SUBJECT_ENDS_QUESTION(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[166.84.1.89:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 2021/10/04 03:44, Odhiambo Washington wrote: > I have my MTA (Exim) crushing, with the following message in its panic.log: > > 2021-10-01 04:10:58 SIGSEGV (maybe attempt to write to immutable memory) > 2021-10-01 04:11:26 SIGSEGV (maybe attempt to write to immutable memory) > 2021-10-01 04:11:30 SIGSEGV (maybe attempt to write to immutable memory) > 2021-10-01 04:11:35 SIGSEGV (maybe attempt to write to immutable memory) > > I need to obtain a coredump file from the crashing process for debugging > purposes. Is that a file named "panic.log" that's written by Exim itself? The default action for SIGSEGV is for the kernel to write the coredump file and end the process. If Exim receives that signal, logs it, and keeps running, Exim must handle the signal itself. Have you checked Exim's documentation about this?