-
Notifications
You must be signed in to change notification settings - Fork 860
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Urbit fails to boot #1667
Comments
Below is the tail end of the linked Anyway, I am guessing but have not confirmed this is #708 (I haven't installed it). You can confirm by running There doesn't seem to be anything resembling a command prompt in the native strace linked; it ends midway through a turn. I could have missed it in the noise though. The WSL Since we're here, I'd like to renew my humble request to stub a Native:
Tail end of strace on WSL:
|
Oops. Looks like I truncated the strace before the prompt. It looks like this when Urbit gets to it:
Here is the output from
In this case there is a consistent delay of circa 94 ms after each first I have found something else. Grepping a native strace for
but on WSL you get
The
However, if you replace
which is the same as one of the two errors you've pointed out for IPFS (#1666). |
Informative follow-up; thank you. I should have included another stat in my original reply:
But yeah even with 17k turns, if the initial reads are really only taking an average of ~10ms (as opposed to ~100ms), then you can't account for slowness there alone. Since there aren't that many calls between open-to-open, whatever is causing the delay should stick out. Actually the only real suspects are [edit: 1671 isn't related...]
Which is different than your case, but you've got:
It might just be similar enough if signal delivery is taking ages. That's highly speculative though. That |
Thanks for the suggestion to follow the strace in real time with
A correction about the delays: they have actually all been 100±10 ms. I got lower delays when I parsed an strace file wrong.
It looks like this wasn't a proper hang to begin with. If I let Urbit sit there long enough after it prints
it restarts from with the message I've also noticed that the |
Okay. If we use your original 94ms, that works out to ~1650 seconds or ~27.5 minutes for 17553 turns, all things being equal. I wouldn't overthink the |
|
Probably not the right patch. See libuv's gyp file here. [Unless Urbit on Ubuntu is picking up Android stuff?] Anyway it looks like NETLINK_ROUTE is fixed as of 15007+ #468 (message). Silly I missed that. I also didn't pick up that you are on Anniversary Update (14393). Best bet at this point is to upgrade to insider builds. That won't address #708 mind, but you'll be on more solid footing. |
You're right. I spoke too soon. Looks like the I'll try 15007 and get back to you. |
A comet does talk to the network pretty early. If you want an independent startup, the process is a little more involved, but basically: have the |
@dbohdan - Please let us know if this still repro's for you on 15007+? Thanks for trying out WSL. |
@sunilmut - Yes this reproduces on 15046. The problem here isn't
...except it isn't going to take a few minutes. To a user it just hangs forever, because it progresses too slowly. Repro is:
Eventually it will start looping on the following pattern:
There's also an EINVAL on setitimer() earlier on:
...but I doubt that's the core problem here. Marking this issue with label 'network' is premature at best. My money is on #708, but you be the judge. |
@sunilmut You're very welcome! I really like WSL. It's a major reason I use Windows on a daily basis again. I plan on doing more testing when the Creators Update comes out. (I intended to test on 15007+ earlier, but development VMs won't receive Fast Ring updates for me and I don't want to run an Insider Build on my desktop/laptop since you can't go back to stable without reinstalling. Maybe you don't get those updates in Windows 10's evaluation mode?) @therealkenc Regarding |
@dbohdan - Apologize for the delayed response. I tried your repro steps (below) on a recent dev build of WSL and the results I am seeing seem to match that of native Ubuntu. I am not an Are you able to try your repro on the latest Windows Insider build? If not, you can wait for the
|
@sunilmut - That is a screencap of Urbit promising to return in "a few minutes". You only made it to ' Success on Real Linux looks something like below.
|
@sunilmut I've given up on getting the evaluation VM to update, so I'm waiting for the Creators Update to come out. As @therealkenc says, that screenshot doesn't show a success. On 14393 Urbit fails after the output in the screenshot. |
@dbohdan I tried it on the Creators Update and it doesn't work there either. See my post linked in this thread. |
@dbohdan - might want to give this another try on FCU (16299) or better. #708 had improvements that will affect your scenario. I am not entirely convinced Urbit will run, mind, because I have a suspicion |
Please try this on a newer build and let us know if you still run into this issue. If you can please provide more information when you do that would also be very helpful! |
Heads up, as mentioned in urbit/urbit#2611, urbit seems to run fine on WSL2. |
Wow, I didn't know this became an ongoing thing. It's great that they fixed it. I've transitioned to nothing but Linux. Android watch, Android phone, Ubuntu laptop, Ubuntu Desktop, GoDaddy Linux web server etc.
|
A good chunk of open&actionable issues have been addressed by WSL2. We didn't create a make-work project out of finding and marking them all fixed-in-wsl2, but if someone pipes up with a confirmation I'll usually tag-em if I see the post. |
Thanks.
|
Thanks.
|
Urbit 0.4.3, "a secure peer-to-peer network of personal servers, built on a clean-slate system software stack", fails to boot on WSL. It boots correctly on Ubuntu 14.04.
Urbit creating a new "comet" (identity), connecting to the network, downloading data and showing the command prompt.
Urbit hangs at the point you see in the log below.
Microsoft Windows [Version 10.0.14393]
wget https://media.urbit.org/dist/debian/urbit_0.4.3-1_amd64.deb sudo dpkg -i urbit_0.4.3-1_amd64.deb sudo apt-get update sudo apt-get install -f -y urbit -c ~/mycomet
The following Vagrantfile sets up an Ubuntu 14.04 VM in VirtualBox where the command
urbit -c ~/mycomet
works as expected.Too large to paste or attach on GitHub. You can download it from https://ipfs.io/ipfs/QmbjRAMgLm9xXW539AfHfXMwXV6o6b9GCsLkTjeyJB3PE1.
In case it may be helpful, here is an strace of Urbit operating correctly on Ubuntu 14.04: https://ipfs.io/ipfs/QmWgdzvTz2uB54eBdBwHF7nWReQGWemnnfdzWCuhcCHkCR.
See the steps to reproduce above.
The text was updated successfully, but these errors were encountered: