From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WIMGCqGK118yJwAA0tVLHw (envelope-from ) for ; Mon, 14 Dec 2020 15:54:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 4AvNBaGK11/+ZgAAB5/wlQ (envelope-from ) for ; Mon, 14 Dec 2020 15:54:09 +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 9258694023D for ; Mon, 14 Dec 2020 15:54:08 +0000 (UTC) Received: from localhost ([::1]:60482 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koqAo-0004mI-Fi for larch@yhetil.org; Mon, 14 Dec 2020 10:54:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koVyT-00080R-VT for bug-guix@gnu.org; Sun, 13 Dec 2020 13:20:01 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:38618) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1koVyT-0000NP-Nw for bug-guix@gnu.org; Sun, 13 Dec 2020 13:20:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1koVyT-00032U-JL for bug-guix@gnu.org; Sun, 13 Dec 2020 13:20:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#43610: IceCat segfault Resent-From: Alex ter Weele Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 13 Dec 2020 18:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43610 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: raingloom Received: via spool by 43610-submit@debbugs.gnu.org id=B43610.160788358511651 (code B ref 43610); Sun, 13 Dec 2020 18:20:01 +0000 Received: (at 43610) by debbugs.gnu.org; 13 Dec 2020 18:19:45 +0000 Received: from localhost ([127.0.0.1]:50160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koVyD-00031o-Du for submit@debbugs.gnu.org; Sun, 13 Dec 2020 13:19:45 -0500 Received: from mail-qv1-f50.google.com ([209.85.219.50]:38764) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koVyB-00031F-Sv for 43610@debbugs.gnu.org; Sun, 13 Dec 2020 13:19:44 -0500 Received: by mail-qv1-f50.google.com with SMTP id az16so4708954qvb.5 for <43610@debbugs.gnu.org>; Sun, 13 Dec 2020 10:19:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=7qKOr0ZpPFGWEpYg8KSJpMc2iaRH12+41wuTFzuoIYI=; b=YOgumXnU8aUR/W0XfL+1e9t+E0CvgWD/6t1dvDB9+ksjiens9zmZOjmq3KwR/sE5w/ Dx1rmRLrR0DkfObx7RrFSGbGTlmwTXTPqHXiTBVP/0gp48GZvLfPoD+ckyo38i1lR/01 tJCRfNqjrbr/67PAtEWmmVvHn8oTRM5/YK+ill9ZDfqgpvl/ghpuMvbjmzLaaHQ52UXh uPtRVYwYcc3dl197tb64evr2pCUILMiWhzdXOZaKoaw3fY1ICxBc3txADgQNHB/JRCKq fnzHFuh21oQ//Ne3oD2qna6N1P1c3fN/d7vXZ/qVOwW/WowpovjWi6OhXG1yKX9AZBS2 BMUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=7qKOr0ZpPFGWEpYg8KSJpMc2iaRH12+41wuTFzuoIYI=; b=R+z8eLsmvgxbALEKYrTWYmixZ1vIi119facHwNshwMYjSygH+VHy3eHwQS3h8s5Sjl 8YgBK8sJAYCoYFzWDhrT7CrIaCwHjKW82x5dS8ZiPJpUrwbJtDRTVjQVIJRl0eAD6f/b Fd1L0s8T6vUXlajAKtxP76krNMfOVOOSJpjQFBjfGg8xGACmBEL0DqogH15GiJItNtSv Oq9Kq7H62e4ZTrOryE0S2fIupPNvwxKCUnoUawF9/cfvdP9yavdo4JAkjb6aYXvok79S SHdBAQPf+jajkLH2Z1jM8i1Zd/nd0iaGDb5ql0/AhdYXjy7FCQIeXh6fMOazKG2qruix +lFg== X-Gm-Message-State: AOAM5306XfKWLO9B7e4ukcDtlF//qP7HOVOb1lv6mKfWVbM1qVje/5qv Db2Qx1oNwhsA/83t2KGb4kw0fyXr6vw= X-Google-Smtp-Source: ABdhPJxAUoO6rn9D5ztC93VW9Ybi4oeE5tBfTABpfzY4PAPk4m+OWymZ0Bmrmh9bEY3zI5NSCgKfrQ== X-Received: by 2002:a0c:9ad8:: with SMTP id k24mr28936025qvf.28.1607883578199; Sun, 13 Dec 2020 10:19:38 -0800 (PST) Received: from librem ([154.27.195.158]) by smtp.gmail.com with ESMTPSA id z26sm12325557qtf.58.2020.12.13.10.19.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Dec 2020 10:19:37 -0800 (PST) From: Alex ter Weele X-Google-Original-From: Alex ter Weele References: <20200925152609.104d0e10@riseup.net> <87r1qp96py.fsf@netris.org> <20200926043425.7724956d@riseup.net> <87blhs8lb7.fsf@netris.org> <20200927074937.3b23c327@riseup.net> <87v9fz6jnk.fsf@netris.org> <20201002005739.4b7185eb@riseup.net> <20201002012849.42ae8392@riseup.net> Date: Sun, 13 Dec 2020 13:19:36 -0500 In-Reply-To: <20201002012849.42ae8392@riseup.net> (raingloom@riseup.net's message of "Fri, 2 Oct 2020 01:28:49 +0200") Message-ID: <87czzda7rb.fsf@librem.i-did-not-set--mail-host-address--so-tickle-me> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Mon, 14 Dec 2020 10:53:48 -0500 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 43610@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.21 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=YOgumXnU; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 9258694023D X-Spam-Score: -1.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0YMTa4/iBP0s raingloom writes: > On Fri, 2 Oct 2020 00:57:39 +0200 > raingloom wrote: > > Well, what ended up working was deleting a bunch of file from the > profile directory. No idea which deletion made it work and at this > point I just wanna crawl back to Netsurf. > Can't say I'd recommend this workaround to regular users, but if you > can guess what those files are, you should be safe. Thanks to raingloom, we know that deleting some parts of the profile can work around the segfault. I set out to find the minimal part of my profile that I could delete while still working around the segfault. All I had to delete was the line user_pref("network.captive-portal-service.enabled", true); from ~/.mozilla/icecat/$my-profile/prefs.js. Methodology: I put my whole profile into a git repo, then deleted it file by file with for i in * ; do rm $i git commit -am "Remove $i" done then I used git bisect to find which file(s) had to be deleted before icecat wouldn't segfault. Once I had a set of files whose deletion avoided the segfault, I minimized that set by "un"deleting them by git reverting the commits that deleted them. Eventually I undeleted all the files in the set except prefs.js. I then bisected on the lines in prefs.js, this time manually. I found that the deletion of just the network.captive-portal-service.enabled pref is sufficient to avoid the segfault. I tested this with icecat 78.4.0-guix0-preview1. $ guix describe Generation 318 Nov 12 2020 07:36:51 (current) ... guix 07914de repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 07914def98ca0d148e3522466227304e45286786