-
Notifications
You must be signed in to change notification settings - Fork 104
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
Terminal just closes on bunch of output #169
Comments
I'm also having this issue with 3.0.1 when performing a long listing of files in a directory. The terminal just closes. There are 132 lines in the listing. Downgrading back to 3.0.0 does allow me to do that long listing. |
So I guess it's more like a certain character, or just large amounts of
output in short time, that break it.
Can't really figure out a proper way to debug this, and I'm not setup to
be able to bisect between 3.0.0 and 3.0.1.
|
I have the same issue after upgrading to 3.0.1 with git pull. I also tried to edit in VIM and when I went to do an insert it closed. Not a big file at all, it was the .zshrc. |
Also please provide a reproducible test case. In this case, it would be a terminal log (option --log=file, can be added to the shortcut, use an absolute Windows path name to be sure to find the log file). |
On long file listing, I'm getting |
It's 100% reproducible for me on two PCs by just opening a new terminal, hitting Ctrl+R, and entering stuff and removing it again a couple times. After 2~4 rounds of that it will close. I added -h always, and I get "/bin/wslbridge: Exit 1." in red when it happens. Logfile also contains that same "wslbridge error: connection broken" Replacing wslbridge.exe and wslbridge-backend with the old version from 3.0.0 makes things work again. |
I have a similar issue when i try to install rustc in ubuntu 18.04: |
I did not write the code and I have no idea. What part of the code would behave erratically just because of static linking? If we find a clue, maybe there can be a workaround. For now, I will simply drop the static linking patch and release 3.0.1.2 in a minute. The drawback is that Alpine Linux (and possibly others?) will not work again (#156). |
Released 3.0.1.2. |
I've been using my own statically compiled
Steps
After dropping in the replacement I intend to try this again soon after I re-install/upgrade I didn't investigate whether there are any differences from what you had in the |
Is your patch based on the current version, with my previous patch reverted? Thanks for this great discovery. How did you arrive at this solution? |
Void and Arch run fine, too. Except, is it correct that they both use the Ubuntu icon? |
Some hours searching on github issues, mostly. I'm not very experienced with C/C++ compilation apart from a foray into The solution presented utilizes what I assume is the Not wanting to muddy my nice, shiny To your last point it looks like It sounds like you've also got the |
About the icon, both "self-made" distros do not have a PackageFamilyName registry entry. Arrgh, yet another way to identify an icon, we love that! |
When I came across https://github.com/yuk7/wsldl it looked like the Windows 10 "1903" release might obsolete it with the new WSL tools it included. While I was tempted to jump into the early release channels at the time, I didn't want to risk it on my daily driver desktop, so I just went ahead with the Just something to consider if you think it's worth detecting their icons or seeing if the author would make changes to be more "standardized." It looked like the |
FYI, distros using musl: |
Uploaded a patch to find proper icon and rootfs. |
I've now reintroduced the local getpwuid implementation, amended with getpwuid loaded dynamically, despite static linking, with dlopen. |
I'd be happy to test a beta -- I don't have cygwin installed/setup right now. |
Pre-release 3.0.2.2 available. |
With the installed
The |
Might be possibly related to the patch file you added. |
That's only the patch syntax, you can place the diff files whereever you want for generating the patch diff. |
Sorry to be confusing, Arch isn't musl-based and neither are all wsldl distros. I just had Arch in my reference above because it has the most complete steps on how to set up a wsldl distro after download. That aside, I would still guess that the patch didn't get applied (properly) because otherwise wslbridge-backend should be a different size from previous releases. |
I'm afraid you're right, the build process has a problem and didn't pack the new binary. |
Can confirm. |
Released 3.0.5 with new WSL gateway. |
After I updated to 3.0.1 today, from I think 3.0.0, the moment I connect to a server via ssh and then do a "git pull" in a directory there, the terminal window just closes.
Even if I do it in a screen, and then later reconnect to that screen, that also closes the terminal.
I can't see any errors anywhere, just an immediate close of the terminal window.
After downgrading back to 3.0.0 the issue is gone.
The text was updated successfully, but these errors were encountered: