From: Alex ter Weele <alex.ter.weele@gmail.com>
To: raingloom <raingloom@riseup.net>
Cc: 43610@debbugs.gnu.org
Subject: bug#43610: IceCat segfault
Date: Sun, 13 Dec 2020 13:19:36 -0500 [thread overview]
Message-ID: <87czzda7rb.fsf@librem.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <20201002012849.42ae8392@riseup.net> (raingloom@riseup.net's message of "Fri, 2 Oct 2020 01:28:49 +0200")
raingloom <raingloom@riseup.net> writes:
> On Fri, 2 Oct 2020 00:57:39 +0200
> raingloom <raingloom@riseup.net> 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
next prev parent reply other threads:[~2020-12-14 15:54 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-25 13:26 bug#43610: IceCat segfault raingloom
2020-09-25 16:11 ` Mark H Weaver
2020-09-26 2:34 ` raingloom
2020-09-26 18:05 ` Mark H Weaver
2020-09-27 5:49 ` raingloom
2020-09-27 20:36 ` Mark H Weaver
2020-10-01 22:57 ` raingloom
2020-10-01 23:28 ` raingloom
2020-10-09 7:42 ` Ricardo Wurmus
2020-11-30 20:06 ` Ricardo Wurmus
2020-11-30 20:12 ` Ricardo Wurmus
2020-12-13 18:19 ` Alex ter Weele [this message]
2020-12-15 11:24 ` Ludovic Courtès
2022-07-11 18:38 ` Maxim Cournoyer
2020-10-01 1:56 ` Mike Gerwitz
2023-04-07 16:14 ` bug#43610: Segfault still an issue Dominik Delgado via Bug reports for GNU Guix
2023-04-08 7:55 ` Dominik Delgado via Bug reports for GNU Guix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87czzda7rb.fsf@librem.i-did-not-set--mail-host-address--so-tickle-me \
--to=alex.ter.weele@gmail.com \
--cc=43610@debbugs.gnu.org \
--cc=raingloom@riseup.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.