From nobody Thu Oct 7 05:29:41 2021 X-Original-To: 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 992B017EAFBC for ; Thu, 7 Oct 2021 05:29:57 +0000 (UTC) (envelope-from 4250.82.1d4d4000703b551.8b4d9a08df878df208ad40f34e944d04@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4HQ0JN40qtz3J0Z for ; Thu, 7 Oct 2021 05:29:56 +0000 (UTC) (envelope-from 4250.82.1d4d4000703b551.8b4d9a08df878df208ad40f34e944d04@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1633584597; x=1636176597; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:to:from:date:x-thread-info; bh=n0Bikd+gJAvL14rcfZP8Ki2SK/5/FzHCXdubrZ+h7xA=; b=l7Jg9xjx31KbkPNiMmNXv2t7odTCnQE+eQ6CRNxn7sWZFiQC5rtqRKm0d2NxbFe8Urx+iKtxC/6mjt8tMNtebQEo0+FuBX6bIIqu3l7qv7RPMsIHBlJ+xPgKTxE+z1LHJaIKMy8N1Bg/LWFrK8NTVhEmhZSSjhDq6SOewzN4gU8= X-Thread-Info: NDI1MC4xMi4xZDRkNDAwMDcwM2I1NTEucXVlc3Rpb25zPWZyZWVic2Qub3Jn Received: from r3.sg.in.socketlabs.com (r3.sg.in.socketlabs.com [142.0.179.13]) by mxsg2.email-od.com with ESMTP; Thu, 7 Oct 2021 01:29:48 -0400 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r3.sg.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 7 Oct 2021 01:29:43 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.94.2 (FreeBSD)) (envelope-from ) id 1mYLyP-0004Jy-Gq for questions@freebsd.org; Thu, 07 Oct 2021 06:29:41 +0100 Date: Thu, 7 Oct 2021 06:29:41 +0100 From: Steve O'Hara-Smith To: questions@freebsd.org Subject: Re: How do I get a coredump file from an application? Message-Id: <20211007062941.bf0f53fa571b041064a6d931@sohara.org> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd12.1) X-Clacks-Overhead: "GNU Terry Pratchett" 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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4HQ0JN40qtz3J0Z X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=l7Jg9xjx; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4d4000703b551.8b4d9a08df878df208ad40f34e944d04@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4d4000703b551.8b4d9a08df878df208ad40f34e944d04@email-od.com X-Spamd-Result: default: False [-1.70 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[sohara.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; DKIM_TRACE(0.00)[email-od.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4d4000703b551.8b4d9a08df878df208ad40f34e944d04@email-od.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[142.0.176.198:from]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d4d4000703b551.8b4d9a08df878df208ad40f34e944d04@email-od.com]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[email-od.com:dkim] X-ThisMailContainsUnwantedMimeParts: N On Wed, 6 Oct 2021 23:08:02 -0400 Kurt Hackenberg wrote: > If Exim catches that signal, then the only way to get a coredump is to > make Exim not catch that signal -- that is, temporarily remove the > call to signal() or sigaction(). There are a number of signals you can send to cause a core dump SIGABORT usually works, SIGFPE is almost never caught. -- Steve O'Hara-Smith