Skip to content
This repository has been archived by the owner on Dec 3, 2017. It is now read-only.

Beaker occasionally crashes with ~50 portals #28

Open
lsjroberts opened this issue Oct 14, 2017 · 9 comments
Open

Beaker occasionally crashes with ~50 portals #28

lsjroberts opened this issue Oct 14, 2017 · 9 comments
Labels

Comments

@lsjroberts
Copy link
Collaborator

lsjroberts commented Oct 14, 2017

I've added 51 user's dats (and 44 online at this time) and occasionally Beaker crashes. I'm not sure if this is a bug in Beaker or Rotonde.

@pfrazee thoughts? Should it be able to handle this many connections? I have noticed some general slowdown in hitting other unrelated dat urls after visiting my rotonde.

@pfrazee
Copy link

pfrazee commented Oct 14, 2017

Known issue, unfortunately. There's a race condition in electron's handling of custom protocols.

Beaker issue: beakerbrowser/beaker#474
Electron issue: electron/electron#9342

It'll be fixed by 0.8's official release.

@neauoire
Copy link
Contributor

Is the trick to limit the number of profiles we follow? @lsjroberts, do you think that if all users has the latest build the crashes would stop?

@pfrazee
Copy link

pfrazee commented Oct 14, 2017

Having more content basically increases the odds of hitting the race condition. It's the kind of bug which I like to call, "a total f*ing bummer"

@lsjroberts
Copy link
Collaborator Author

This PR #29 does seem to have made it less likely to crash on my own profile. It only affects the rendering not fetching any data, but I would guess it doesn't help having the dom keep splatting over itself 50 times in a few milliseconds while doing requests. But I don't really know enough about that side of things.

@pfrazee
Copy link

pfrazee commented Oct 14, 2017 via email

@lsjroberts
Copy link
Collaborator Author

Ah interesting. I'll bear that in mind.

@neauoire
Copy link
Contributor

It's a lot more stable for me now!

@frozenpandaman
Copy link

Not sure if this is a separate issue or not, but Beaker Browser is crashing for me (Mac OS X 10.11) constantly when I'm following certain users' portals/profiles (e.g. @tha_rami's) and when navigating to my own home portal (Menu > Library > Rotonde, or manually navigating to my own dat URL). I can see the text "Fetching 5 feeds…" underneath the command box for a split second after which a crash (95% of the time) immediately follows… on rare occasions the page will load, but refreshing it once or twice will then cause a crash. Removing the dat:// entry from the list associated with theport key in portal.json seems to fix it. I'm still able to navigate to these portals manually or via hyperlink – the crash only seems to occur when certain portals are listed in the sidebar of my home portal/dat site.

@lsjroberts
Copy link
Collaborator Author

@frozenpandaman Definitely sounds related, I'll take a look and see if I can spot some points to optimise. Sounds like there may not be too much we can do until Beaker 0.8 is out though.

@lsjroberts lsjroberts added the bug label Oct 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants