From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mC+eIeDwu2EvMgEAgWs5BA (envelope-from ) for ; Fri, 17 Dec 2021 03:07:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id GIpeHeDwu2FvTAAA1q6Kng (envelope-from ) for ; Fri, 17 Dec 2021 02:07:28 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 55173352CC for ; Fri, 17 Dec 2021 03:07:28 +0100 (CET) Received: from localhost ([::1]:54132 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1my2ed-0005hA-In for larch@yhetil.org; Thu, 16 Dec 2021 21:07:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55584) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1my2eF-0005cf-RV for guix-patches@gnu.org; Thu, 16 Dec 2021 21:07:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54096) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1my2eF-0008G3-HD for guix-patches@gnu.org; Thu, 16 Dec 2021 21:07:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1my2eE-0005HH-Be for guix-patches@gnu.org; Thu, 16 Dec 2021 21:07:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v5 32/45] gnu: Add node-segfault-handler. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Dec 2021 02:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51838 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51838@debbugs.gnu.org Cc: Timothy Sample , Pierre Langlois , Jelle Licht , Philip McGrath , Liliana Marie Prikler Received: via spool by 51838-submit@debbugs.gnu.org id=B51838.163970679520157 (code B ref 51838); Fri, 17 Dec 2021 02:07:02 +0000 Received: (at 51838) by debbugs.gnu.org; 17 Dec 2021 02:06:35 +0000 Received: from localhost ([127.0.0.1]:37388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1my2dn-0005Ex-0F for submit@debbugs.gnu.org; Thu, 16 Dec 2021 21:06:35 -0500 Received: from mail-qt1-f176.google.com ([209.85.160.176]:44845) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1my2dG-0005AG-Vy for 51838@debbugs.gnu.org; Thu, 16 Dec 2021 21:06:03 -0500 Received: by mail-qt1-f176.google.com with SMTP id a1so1170134qtx.11 for <51838@debbugs.gnu.org>; Thu, 16 Dec 2021 18:06:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philipmcgrath.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UCZiKwLmoXexNMV3cB1wGh7j/+uISbF5bzHOpDOJ7Rc=; b=fazhWUJ+pRniLy78KhU2qMhKZfzmWYYvLA7BH/57eqonOZTu4JiKcn+25dcXPWa7G3 snH+a9HHGchiD5YQKH7RQOmOEIvxZlsVNBK6bta8F3b1cWqd/boDvjfS22SbEcaTJZK2 /43uA3bg6d04snBDmzQg1KUURARXIoRmgr9g4e0MoVt+YEIlkyZk3WqWPT77uuz94FsP DKU+R3J62fLEq/NZLPci86yCkPY4Z279f/cQULgs7lHY4zWlb7NYQKYVKikOZ/m6JgJ2 7XcBEMCsxJNGai9tMz31M3Qc/ywgri3/Q1od9gBWB3fegYMINDKpG8wULMNV2l4KOuA9 aNVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=UCZiKwLmoXexNMV3cB1wGh7j/+uISbF5bzHOpDOJ7Rc=; b=g2AkFqQEb0hP0N20pEiCHR6zxgKdz3TCJFbJB29dSa6KI60+sE5hk+NKhm+QU5pBxZ Ll+tn+//Dn2Ttc6V7duoDHzgWhTwM9H/d2re2iqylWwWdOhij0cbbY3hwVQp1r/xtwlS 1L+v7Btn7TN0coW0ky0kv9HwTjtM3te7YuD35uk3ztLh69wX3kOU/5w69iIAw+LCE57j CJjtyNmoJEt8DpANhKZqjVRpwWM/jkPWg197QgG5BiDSCyXyfhK4/oU2fzayXhyJOrlz bOQWBZ8/eCFZSmsELJzfHbNvNEPIQxfi/B4aW9DOR9cwPDPdQak7Y3HpxobjgPfAw2Eo PR8w== X-Gm-Message-State: AOAM532XpgquhnNkZRiJ2zlP3EaqMeECYtm+3jhBAc1Puxwbo4ZGxjEh aK++jnFO7jiwLRxk6TEnBRbB1S+uioTAbk8Ss5o= X-Google-Smtp-Source: ABdhPJxl0xqiaPrDLJxR5LjRvITQ6+8V/0+W6AyOXUH5zlAKK5BMOcqcnh5aO7TcUB4QMWMIuPYbxw== X-Received: by 2002:ac8:4e4d:: with SMTP id e13mr675397qtw.293.1639706757575; Thu, 16 Dec 2021 18:05:57 -0800 (PST) Received: from localhost (c-73-125-89-242.hsd1.fl.comcast.net. [73.125.89.242]) by smtp.gmail.com with ESMTPSA id h22sm5857138qtb.86.2021.12.16.18.05.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Dec 2021 18:05:57 -0800 (PST) From: Philip McGrath Date: Thu, 16 Dec 2021 21:03:12 -0500 Message-Id: <20211217020325.520821-33-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211217020325.520821-1-philip@philipmcgrath.com> References: <20211213060107.129223-1-philip@philipmcgrath.com> <20211217020325.520821-1-philip@philipmcgrath.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639706848; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=UCZiKwLmoXexNMV3cB1wGh7j/+uISbF5bzHOpDOJ7Rc=; b=MW5Z/XqPrZRA41JYoLyfo+sO6l2wGgkDOJ4v4+frLHRGbipdylfgYWAjO7ahEevWxiNbzB W5liOTCCIgCikYNWgOqRAmLTQeAHsJPb7thE9XVOxXCDJz4D72kvwPajbX9GDI9s5PtO9X f9OVImYLb5/iBnQSWGW057xQsPgxq7lXol9xqJHPQaPT6t9LFByo+rb5K+fKLA1Mblvi5B 7F+X+v8Udxw3yzirSGtV1Ui28br9x4l5SDtOT7qwHZF7TOCPRc7ls/FNWhltaUZzt2oes4 ByUbxvzRoWyZpf9LMZQ+7P0eFQtYwhfssddvZu9OjCaEHG5OZhszIQXLN7suJA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639706848; a=rsa-sha256; cv=none; b=PcmCbhjWGHylfANkjM0O1baGPE7lNm3hEiGSj5QznxzOwrv5jPOHJ71kc6mKrdPZAZmvCW xpYMKSVhhynapDmg2OEcr4LrlaQ6RPpHrM7p17qwX13B4FKVYwlNX2WddFtkGR8SkUriJW sQnyidFoN2blgeda/OTMFNxX3Q3cWeO6030dkU9a8oHvf/8yhBpT9VEG4XT4wxi2LCWtI4 SCV43YQGfqJLd8SL8lkPTZBAURQJ1pAzOmvSBWfjO42Qv9NjTfdfp2yMDjnt9UL6qfceeX chn0IBHfgC/jmcxU5WIKATRBVcmzsZo8FnbuGZEa5i0GtSclPMKqStUpcxBk6w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=fazhWUJ+; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 0.01 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=fazhWUJ+; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 55173352CC X-Spam-Score: 0.01 X-Migadu-Scanner: scn0.migadu.com X-TUID: A2EW2zEeiNFV * gnu/packages/node-xyz.scm (node-segfault-handler): New variable. --- gnu/packages/node-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index 913bb7d149..30a0174063 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -861,3 +861,32 @@ (define-public node-bindings modules. It is basically the ``swiss army knife'' of @code{require()}ing your native module's @code{.node} file.") (license license:expat))) + +(define-public node-segfault-handler + (package + (name "node-segfault-handler") + (version "1.3.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ddopson/node-segfault-handler") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "07nbw35wvrr18kmh8f388v4k5mpjgyy0260bx0xzjdv795i3xvfv")))) + (native-inputs + (list python)) + (inputs + (list node-bindings node-nan)) + (build-system node-build-system) + (arguments + ;; there are no tests + `(#:tests? #f)) + (home-page "https://github.com/ddopson/node-segfault-handler") + (synopsis "Catches @code{SIGSEGV} and prints diagnostic information") + (description "This package is a tool for debugging Node.js C/C++ native +code modules and getting stack traces when things go wrong. If a +@code{SIGSEGV} signal is raised, the module will print a native stack trace to +both @code{STDERR} and to a timestamped file.") + (license license:bsd-3))) -- 2.32.0