unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / Atom feed
* bug#43610: IceCat segfault
@ 2020-09-25 13:26 raingloom
  2020-09-25 16:11 ` Mark H Weaver
  0 siblings, 1 reply; 10+ messages in thread
From: raingloom @ 2020-09-25 13:26 UTC (permalink / raw)
  To: 43610

Haven't had time to look deeper into it yet. It worked in my profile
from sept 11, it broke after pulling and upgrading yesterday.
Idk what my commit is because I'm using a private branch.




^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#43610: IceCat segfault
  2020-09-25 13:26 bug#43610: IceCat segfault raingloom
@ 2020-09-25 16:11 ` Mark H Weaver
  2020-09-26  2:34   ` raingloom
  0 siblings, 1 reply; 10+ messages in thread
From: Mark H Weaver @ 2020-09-25 16:11 UTC (permalink / raw)
  To: raingloom, 43610

Hi,

raingloom <raingloom@riseup.net> writes:
> Haven't had time to look deeper into it yet. It worked in my profile
> from sept 11, it broke after pulling and upgrading yesterday.
> Idk what my commit is because I'm using a private branch.

On Sept 22, I pushed a major update of IceCat from 68.12.0 to 78.3.0:

  commit c7011ff850420fdbe1319b3d218bd362f2f9d618
  Author: Mark H Weaver <mhw@netris.org>
  Date:   Sun Sep 6 21:47:33 2020 -0400

  gnu: icecat: Update to 78.3.0-guix0-preview1 [security-fixes].
  
  Includes fixes for CVE-2020-15673, CVE-2020-15676, CVE-2020-15677, and
  CVE-2020-15678.

  [...]

More details would be helpful.  For example, it's not clear from your
report whether it segfaults immediately on startup or sometime later,
whether a window appears, etc.  Also, are you using Guix on top of a
foreign distro, or natively?  Wayland or X?

It would also be useful to know how IceCat 78 behaves on your system
with a fresh profile.  Try it by running "icecat -p", creating a new
profile from the profile manager window, and then starting icecat with
that new profile selected.  If that works, it would then be useful to
try adding back any extensions that were installed in the profile that
crashed, and see if that makes a difference.

      Thanks,
        Mark




^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#43610: IceCat segfault
  2020-09-25 16:11 ` Mark H Weaver
@ 2020-09-26  2:34   ` raingloom
  2020-09-26 18:05     ` Mark H Weaver
  0 siblings, 1 reply; 10+ messages in thread
From: raingloom @ 2020-09-26  2:34 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: 43610

On Fri, 25 Sep 2020 12:11:10 -0400
Mark H Weaver <mhw@netris.org> wrote:

> Hi,
> 
> raingloom <raingloom@riseup.net> writes:
> > Haven't had time to look deeper into it yet. It worked in my profile
> > from sept 11, it broke after pulling and upgrading yesterday.
> > Idk what my commit is because I'm using a private branch.  
> 
> On Sept 22, I pushed a major update of IceCat from 68.12.0 to 78.3.0:
> 
>   commit c7011ff850420fdbe1319b3d218bd362f2f9d618
>   Author: Mark H Weaver <mhw@netris.org>
>   Date:   Sun Sep 6 21:47:33 2020 -0400
> 
>   gnu: icecat: Update to 78.3.0-guix0-preview1 [security-fixes].
>   
>   Includes fixes for CVE-2020-15673, CVE-2020-15676, CVE-2020-15677,
> and CVE-2020-15678.
> 
>   [...]
> 
> More details would be helpful.  For example, it's not clear from your
> report whether it segfaults immediately on startup or sometime later,
> whether a window appears, etc.  Also, are you using Guix on top of a
> foreign distro, or natively?  Wayland or X?
> 
> It would also be useful to know how IceCat 78 behaves on your system
> with a fresh profile.  Try it by running "icecat -p", creating a new
> profile from the profile manager window, and then starting icecat with
> that new profile selected.  If that works, it would then be useful to
> try adding back any extensions that were installed in the profile that
> crashed, and see if that makes a difference.
> 
>       Thanks,
>         Mark

It crashed immediately without any visible activity.
It does start up properly with a fresh profile. I'll try to bisect the
addons list later.

Tbh this would be a good time to have a debug output for IceCat on hand.




^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#43610: IceCat segfault
  2020-09-26  2:34   ` raingloom
@ 2020-09-26 18:05     ` Mark H Weaver
  2020-09-27  5:49       ` raingloom
  2020-10-01  1:56       ` Mike Gerwitz
  0 siblings, 2 replies; 10+ messages in thread
From: Mark H Weaver @ 2020-09-26 18:05 UTC (permalink / raw)
  To: raingloom; +Cc: 43610

Hi,

raingloom <raingloom@riseup.net> writes:
> It crashed immediately without any visible activity.

Okay.

> It does start up properly with a fresh profile. I'll try to bisect the
> addons list later.

In the meantime, to start IceCat 78 with your existing profile but with
addons temporarily disabled, try running:

  icecat -safe-mode

That should allow you to recover your existing bookmarks, history,
cookies, saved passwords, tabs, etc.  Then you can try adding back your
preferred addons incrementally to find out which one is causing the
problem.

> Tbh this would be a good time to have a debug output for IceCat on hand.

While I acknowledge that it might occasionally be useful in edge cases
like this, it would also dramatically increase the memory requirements
at build time.  For what it's worth, in the ~6 years that I've been
maintaining the IceCat package in Guix, I don't recall being asked for a
debug output before now.

I'm particularly sensitive to the memory requirements at build time,
because I choose not to trust the build farm and therefore to build my
entire Guix system with GNOME from source code on a relatively old
Thinkpad X200 with only 4 GB of RAM.  I've been doing this for many
years, and I'd like to enable other Guix users to do so if they wish.

My impression is that IceCat debug outputs would primarily useful to
people who are actively developing IceCat, in which case it makes more
sense to build it manually to allow incremental rebuilds after modifying
the source code.

If it turns out that there's more interest in IceCat debug outputs than
I've anticipated (others: please speak up if you need this!), I'm not
necessarily opposed to adding them, but someone with a more powerful
machine would need to take over maintenance of our IceCat package,
because I would be unable to locally test the official build.

What do you think?  Do other people need IceCat 'debug' outputs?

      Thanks,
        Mark




^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#43610: IceCat segfault
  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  1:56       ` Mike Gerwitz
  1 sibling, 1 reply; 10+ messages in thread
From: raingloom @ 2020-09-27  5:49 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: 43610

On Sat, 26 Sep 2020 14:05:53 -0400
Mark H Weaver <mhw@netris.org> wrote:

> Hi,
> 
> raingloom <raingloom@riseup.net> writes:
> > It crashed immediately without any visible activity.  
> 
> Okay.
> 
> > It does start up properly with a fresh profile. I'll try to bisect
> > the addons list later.  
> 
> In the meantime, to start IceCat 78 with your existing profile but
> with addons temporarily disabled, try running:
> 
>   icecat -safe-mode
> 
> That should allow you to recover your existing bookmarks, history,
> cookies, saved passwords, tabs, etc.  Then you can try adding back
> your preferred addons incrementally to find out which one is causing
> the problem.

It still crashes with the -safe-mode flag. Luckily I keep most things
outside modern browsers, so it's not a huge loss. (For obvious reasons
I do not consider them reliable.)

> > Tbh this would be a good time to have a debug output for IceCat on
> > hand.  
> 
> While I acknowledge that it might occasionally be useful in edge cases
> like this, it would also dramatically increase the memory requirements
> at build time.  For what it's worth, in the ~6 years that I've been
> maintaining the IceCat package in Guix, I don't recall being asked
> for a debug output before now.
> 
> I'm particularly sensitive to the memory requirements at build time,
> because I choose not to trust the build farm and therefore to build my
> entire Guix system with GNOME from source code on a relatively old
> Thinkpad X200 with only 4 GB of RAM.  I've been doing this for many
> years, and I'd like to enable other Guix users to do so if they wish.
> 
> My impression is that IceCat debug outputs would primarily useful to
> people who are actively developing IceCat, in which case it makes more
> sense to build it manually to allow incremental rebuilds after
> modifying the source code.
> 
> If it turns out that there's more interest in IceCat debug outputs
> than I've anticipated (others: please speak up if you need this!),
> I'm not necessarily opposed to adding them, but someone with a more
> powerful machine would need to take over maintenance of our IceCat
> package, because I would be unable to locally test the official build.
> 
> What do you think?  Do other people need IceCat 'debug' outputs?
> 
>       Thanks,
>         Mark


Huh, I was not aware that it increased build time memory requirements.
I assumed it just gets sent to the void in the 'strip phase, just like
it is in other packages.
Maybe feature flags could help with this in the future. Since
(hopefully) nothing depends on IceCat, the build farm could just build
it with debug symbols, and those who want to build it locally can
build it without them. But that's off topic for this thread.
Local builds are definitely cool. As a fellow 4 gigger/thinkpadder I
appreciate anything that lets me build things locally without 16+ gigs
of swap. (you might think that's an exaggeration, but then you haven't
tried to build Idris 2 with Idris 1.)




^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#43610: IceCat segfault
  2020-09-27  5:49       ` raingloom
@ 2020-09-27 20:36         ` Mark H Weaver
  2020-10-01 22:57           ` raingloom
  0 siblings, 1 reply; 10+ messages in thread
From: Mark H Weaver @ 2020-09-27 20:36 UTC (permalink / raw)
  To: raingloom; +Cc: 43610

Hi,

raingloom <raingloom@riseup.net> writes:

> On Sat, 26 Sep 2020 14:05:53 -0400
> Mark H Weaver <mhw@netris.org> wrote:
>
>> In the meantime, to start IceCat 78 with your existing profile but
>> with addons temporarily disabled, try running:
>> 
>>   icecat -safe-mode
>> 
>> That should allow you to recover your existing bookmarks, history,
>> cookies, saved passwords, tabs, etc.  Then you can try adding back
>> your preferred addons incrementally to find out which one is causing
>> the problem.
>
> It still crashes with the -safe-mode flag. Luckily I keep most things
> outside modern browsers, so it's not a huge loss. (For obvious reasons
> I do not consider them reliable.)

If you'd like to try another experiment, it would be interesting to know
if you're able to recover most of your old profile by running "icecat
-safe-mode -p", selecting your old profile, and clicking on the "Refresh
IceCat" button that is presented.  That will reset all preferences to
the IceCat defaults, but might enable you to recover the things I listed
above.

>> > Tbh this would be a good time to have a debug output for IceCat on
>> > hand.  
>> 
>> While I acknowledge that it might occasionally be useful in edge cases
>> like this, it would also dramatically increase the memory requirements
>> at build time. [...]
>
> Huh, I was not aware that it increased build time memory requirements.
> I assumed it just gets sent to the void in the 'strip phase, just like
> it is in other packages.

We currently pass "--disable-debug" and "--disable-debug-symbols" to
IceCat's configure script, which causes it to pass compiler flags that
disable generation of debug symbols during the build.

> As a fellow 4 gigger/thinkpadder I
> appreciate anything that lets me build things locally without 16+ gigs
> of swap. (you might think that's an exaggeration, but then you haven't
> tried to build Idris 2 with Idris 1.)

I've actually tried (and failed) to build Idris 1 locally, so I can
sympathize :-/

       Mark




^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#43610: IceCat segfault
  2020-09-26 18:05     ` Mark H Weaver
  2020-09-27  5:49       ` raingloom
@ 2020-10-01  1:56       ` Mike Gerwitz
  1 sibling, 0 replies; 10+ messages in thread
From: Mike Gerwitz @ 2020-10-01  1:56 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: 43610

On Sat, Sep 26, 2020 at 14:05:53 -0400, Mark H Weaver wrote:
> I'm particularly sensitive to the memory requirements at build time,
> because I choose not to trust the build farm and therefore to build my
> entire Guix system with GNOME from source code on a relatively old
> Thinkpad X200 with only 4 GB of RAM.  I've been doing this for many
> years, and I'd like to enable other Guix users to do so if they wish.

As someone with the same system as you, I have appreciated this for
as long as I've used Guix.  Thank you.

> My impression is that IceCat debug outputs would primarily useful to
> people who are actively developing IceCat, in which case it makes more
> sense to build it manually to allow incremental rebuilds after modifying
> the source code.

I agree---I think it's best not to burden all users (that choose to or
have to build) in this case.

-- 
Mike Gerwitz




^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#43610: IceCat segfault
  2020-09-27 20:36         ` Mark H Weaver
@ 2020-10-01 22:57           ` raingloom
  2020-10-01 23:28             ` raingloom
  0 siblings, 1 reply; 10+ messages in thread
From: raingloom @ 2020-10-01 22:57 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: 43610

On Sun, 27 Sep 2020 16:36:52 -0400
Mark H Weaver <mhw@netris.org> wrote:

> Hi,
> 
> raingloom <raingloom@riseup.net> writes:
> 
> > On Sat, 26 Sep 2020 14:05:53 -0400
> > Mark H Weaver <mhw@netris.org> wrote:
> >  
> >> In the meantime, to start IceCat 78 with your existing profile but
> >> with addons temporarily disabled, try running:
> >> 
> >>   icecat -safe-mode
> >> 
> >> That should allow you to recover your existing bookmarks, history,
> >> cookies, saved passwords, tabs, etc.  Then you can try adding back
> >> your preferred addons incrementally to find out which one is
> >> causing the problem.  
> >
> > It still crashes with the -safe-mode flag. Luckily I keep most
> > things outside modern browsers, so it's not a huge loss. (For
> > obvious reasons I do not consider them reliable.)  
> 
> If you'd like to try another experiment, it would be interesting to
> know if you're able to recover most of your old profile by running
> "icecat -safe-mode -p", selecting your old profile, and clicking on
> the "Refresh IceCat" button that is presented.  That will reset all
> preferences to the IceCat defaults, but might enable you to recover
> the things I listed above.

What I tried was running the old IceCat and disabling every single
addon. It did not fix anything.
Gonna see if my about:config modifications are messing something up.

I hate these "modern" (transl.: google approved) browsers so fricking
much...




^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#43610: IceCat segfault
  2020-10-01 22:57           ` raingloom
@ 2020-10-01 23:28             ` raingloom
  2020-10-09  7:42               ` Ricardo Wurmus
  0 siblings, 1 reply; 10+ messages in thread
From: raingloom @ 2020-10-01 23:28 UTC (permalink / raw)
  To: 43610

On Fri, 2 Oct 2020 00:57:39 +0200
raingloom <raingloom@riseup.net> wrote:

> On Sun, 27 Sep 2020 16:36:52 -0400
> Mark H Weaver <mhw@netris.org> wrote:
> 
> > Hi,
> > 
> > raingloom <raingloom@riseup.net> writes:
> >   
> > > On Sat, 26 Sep 2020 14:05:53 -0400
> > > Mark H Weaver <mhw@netris.org> wrote:
> > >    
> > >> In the meantime, to start IceCat 78 with your existing profile
> > >> but with addons temporarily disabled, try running:
> > >> 
> > >>   icecat -safe-mode
> > >> 
> > >> That should allow you to recover your existing bookmarks,
> > >> history, cookies, saved passwords, tabs, etc.  Then you can try
> > >> adding back your preferred addons incrementally to find out
> > >> which one is causing the problem.    
> > >
> > > It still crashes with the -safe-mode flag. Luckily I keep most
> > > things outside modern browsers, so it's not a huge loss. (For
> > > obvious reasons I do not consider them reliable.)    
> > 
> > If you'd like to try another experiment, it would be interesting to
> > know if you're able to recover most of your old profile by running
> > "icecat -safe-mode -p", selecting your old profile, and clicking on
> > the "Refresh IceCat" button that is presented.  That will reset all
> > preferences to the IceCat defaults, but might enable you to recover
> > the things I listed above.  
> 
> What I tried was running the old IceCat and disabling every single
> addon. It did not fix anything.
> Gonna see if my about:config modifications are messing something up.
> 
> I hate these "modern" (transl.: google approved) browsers so fricking
> much...

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.

Files and directories I deleted: (taken from ~/.local/share/Trash/files)

```
{513646f8-fb87-4135-a41e-4cf1d1ccccf2}
{74145f27-f039-47ce-a470-a662b129930a}
{9063c2e9-e07c-4c2c-9646-cfe7ca8d0498}
AlternateServices.2.txt
AlternateServices.txt
blocklist.xml
broadcast-listeners.json
{c2c003ee-bd69-42a2-b0e9-6f34222cb046}
{c607c8df-14a7-4f28-894f-29e8722976af}
cert_override.txt
compatibility.2.ini
compatibility.ini
containers.json
datareporting
{de89ec3b-0f2a-45af-aeec-931d16988f72}
{e4a8a97b-f2ed-450b-b12d-ee082ba24781}
enumerate_devices.txt
gmp
handlers.json
https-everywhere@eff.org
pkcs11.txt
prefs.js
SecurityPreloadState.txt
sessionCheckpoints.json
sessionstore.jsonlz4
shinigamieyes@shinigamieyes
SiteSecurityServiceState.txt
staged
storage.sqlite
storage-sync.sqlite
Telemetry.ShutdownTime.txt
times.json
TRRBlacklist.txt
wappalyzer@crunchlabz.com
weave
```




^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#43610: IceCat segfault
  2020-10-01 23:28             ` raingloom
@ 2020-10-09  7:42               ` Ricardo Wurmus
  0 siblings, 0 replies; 10+ messages in thread
From: Ricardo Wurmus @ 2020-10-09  7:42 UTC (permalink / raw)
  To: raingloom, Mark H Weaver; +Cc: 43610

I have the same problem.  Icecat segfaults right away without any window
appearing.  “-safe-mode” does not make a difference, but with “-p” I’m
presented with the profile manager.  I haven’t tried creating a new
profile yet, nor have I tried deleting files from my existing profile.

I’m using Gnome on Guix System.  To be sure that it isn’t caused by a
known bug in how we packaged Gnome Shell, I unset LD_LIBRARY_PATH before
running icecat, but with no effect.

I see a segfault with the latest icecat-78.3.1-guix0-preview1 and with
the older 78.3.0-guix0-preview1.  No segfault with
68.12.0-guix0-preview1.

-- 
Ricardo




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-10-09  7:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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-10-01  1:56       ` Mike Gerwitz

unofficial mirror of bug-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-bugs/0 guix-bugs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-bugs guix-bugs/ https://yhetil.org/guix-bugs \
		bug-guix@gnu.org
	public-inbox-index guix-bugs

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.bugs
	nntp://news.gmane.io/gmane.comp.gnu.guix.bugs


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git