You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reacted by Federico, Operandom, Lenin Sanchez, Joel Kirchartz, Diego Jara, Doodad/Doodead, J. Austin Hughey, Alex, Aida Lie, Viliami Tuanaki and 2 more
Chris Brooks (@kurisubrooks) - Thanks for letting us know. As you have noted, shutdown syscall is not implemented for AF_UNIX\SOCK_SEQPACKET sockets. We have taken a note of this issue and will work on it.
Reacted by Federico, Operandom, Joel Kirchartz and Doodad/Doodead
Just an update that the shutdown method for the AF_UNIX\SOCK_SEQPACKET has been checked in the dev branch and should reach the insider build soon. Please stay tuned.
Reacted by Federico, therealkenc, Ray Cardillo and J. Austin Hughey
@rwobben You can hit windows + r and enter winver in the dialog box.
But if you're on a Windows Insider build, you should get a watermark in your desktop that also says the build you're in.
If you're not on a Windows Insider build, then that means you have the anniversary update, and in that case that explains why you still have that error, as it was only recently fixed.
Sunil Muthuswamy (@sunilmut) Opera Browser seems to start on 14926, so Shutdown now works, but it hangs again on Clone and if i launh it using --no-sandbox (workaround) it hangs on Dbus. Of course I use the fix for Dbus but Opera ignores it.
Any news for Socket Clone and Dbus?
federico@Bestia:/Scaricati$ opera --no-sandbox
[0916/133113:ERROR:browser_main_loop.cc(227)] Running without the SUID sandbox. [0916/133113:ERROR:stack_trace_posix.cc(584)] Failed to parse the contents of /proc/self/maps
[0916/133114:ERROR:address_tracker_linux.cc(172)] Could not bind NETLINK socket: Argomento non valido
[0916/133114:ERROR:bus.cc(432)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: File o directory non esistente
[0916/133114:ERROR:bus.cc(432)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: File o directory non esistente
[0916/133114:ERROR:bus.cc(432)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: File o directory non esistente
[0916/133114:ERROR:bus.cc(432)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: File o directory non esistente
Assertion 'pthread_mutex_unlock(&m->mutex) == 0' failed at pulsecore/mutex-posix.c:108, function pa_mutex_unlock(). Aborting.
Annullato (core dump creato)
federico@Bestia:/Scaricati$ [0916/133114:ERROR:stack_trace_posix.cc(584)] Failed to parse the contents of /proc/self/maps
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
[0916/133114:FATAL:thread_helpers.cc(44)] Check failed: 3UL <= task_stat.st_nlink (3 vs. 1)
#0 0x000003962cee #1 0x00000397747b #2 0x000001156c25 #3 0x00000065bb4f #4 0x00000065b4e6 #5 0x00000121cd38 #6 0x00000121c1b2 #7 0x000002e0b737 #8 0x000002e0a250 #9 0x000003d9cfda OperaMain #10 0x7f5b760f0830 __libc_start_main #11 0x00000045bf85
Federico (@iz0eyj) - Those are mostly the issues I worked around here. Much of the code shares the same pedigree. AF_NETLINK sockets for address queries is the neverending +1 thread at #468. stack_trace_posix.cc(584) I mentioned in #758. You can work around pulsecore/mutex-posix.c:108 with the steps in #486. Dbus (#376) is much better as of 14926; you need to start the system bus service like Sunil describes here. You're dying at thread_helpers.cc(44) because it can't find three entries in /proc/self/task/. This can be worked around but I haven't opened a bug for it.
therealkenc yes, I already read all this work and I can fix and workaround... but I'm a betatester so I must report the problems because end-users expects a WSL thar runs "out of the box" :)
The WSL crew is great, but also Socket and Dbus problems are great. :)
@rwobben I am not sure which version is 1607. If you would like to stay latest on WSL release from MS, Insider fast developer ring is the best option right now. But, please do take some time to review what that means to your setup (because it is not a release build), as we would not want it to be disruptive to your workflow.
Any news for Socket Clone and Dbus?
Can you please share out the strace and detailed repro steps for your scenario? From the output you shared, it appears that it is failing in NETLINK bind, for which we have very currently very limited support, but something we are looking into.
@rwobben
Is this problem solved in the fast or also in the slow ring ?
Developer builds are first released to the fast ring and after some stabilization, move to the slow ring. So, you can expect a delay. A good way to track what build is available in fast vs slow ring can be found in the Windows Insider blog
Ken Marfilla (@marfillaster)
This issue is specific to the socket shutdown call. If you can open a new issue with detailed repro steps and strace, it will make it easy to track it there.
You need the insider builds (it's easy to opt in), but there are still other blockers on Electron if that's what you're after. You'll hit #1267 next. There's a patch here but that won't get you as far as you'd probably like right now either.
Activity
[-]`shutdown` system call is unimplemented[/-][+]`shutdown` socket system call is unimplemented[/+]therealkenc commentedon Aug 5, 2016
#546
sunilmut commentedon Aug 5, 2016
Chris Brooks (@kurisubrooks) - Thanks for letting us know. As you have noted, shutdown syscall is not implemented for AF_UNIX\SOCK_SEQPACKET sockets. We have taken a note of this issue and will work on it.
iz0eyj commentedon Aug 8, 2016
Same thing with Opera Browser
sunilmut commentedon Aug 16, 2016
Just an update that the shutdown method for the AF_UNIX\SOCK_SEQPACKET has been checked in the dev branch and should reach the insider build soon. Please stay tuned.
iz0eyj commentedon Aug 16, 2016
Sunil Muthuswamy (@sunilmut) Please check also dbus, thanks.
therealkenc commentedon Aug 17, 2016
Might want to mark #546 as duplicate since the fixinbound is here.
sunilmut commentedon Sep 7, 2016
14915 should have the fix for this. Closing this out, please re-open if the issue still exists.
sunilmut commentedon Sep 15, 2016
@rwobben Which build are you seeing the error on? As indicated earlier, this should be fixed in 14915+.
doodead commentedon Sep 16, 2016
@rwobben You can hit windows + r and enter

winverin the dialog box.But if you're on a Windows Insider build, you should get a watermark in your desktop that also says the build you're in.

If you're not on a Windows Insider build, then that means you have the anniversary update, and in that case that explains why you still have that error, as it was only recently fixed.
iz0eyj commentedon Sep 16, 2016
Sunil Muthuswamy (@sunilmut) Opera Browser seems to start on 14926, so Shutdown now works, but it hangs again on Clone and if i launh it using --no-sandbox (workaround) it hangs on Dbus. Of course I use the fix for Dbus but Opera ignores it.
Any news for Socket Clone and Dbus?
1 remaining item
therealkenc commentedon Sep 16, 2016
Federico (@iz0eyj) - Those are mostly the issues I worked around here. Much of the code shares the same pedigree. AF_NETLINK sockets for address queries is the neverending +1 thread at #468.
stack_trace_posix.cc(584)I mentioned in #758. You can work around pulsecore/mutex-posix.c:108 with the steps in #486. Dbus (#376) is much better as of 14926; you need to start the system bus service like Sunil describes here. You're dying atthread_helpers.cc(44)because it can't find three entries in/proc/self/task/. This can be worked around but I haven't opened a bug for it.I might get back to it this weekend if it rains.
iz0eyj commentedon Sep 16, 2016
therealkenc yes, I already read all this work and I can fix and workaround... but I'm a betatester so I must report the problems because end-users expects a WSL thar runs "out of the box" :)
The WSL crew is great, but also Socket and Dbus problems are great. :)
sunilmut commentedon Sep 16, 2016
@rwobben I am not sure which version is
1607. If you would like to stay latest on WSL release from MS, Insider fast developer ring is the best option right now. But, please do take some time to review what that means to your setup (because it is not a release build), as we would not want it to be disruptive to your workflow.iz0eyj commentedon Sep 18, 2016
@rwobben to get any WSL beta test update you must switch on Fast Ring.
marfillaster commentedon Sep 18, 2016
This is fixed as of build 14915. Still can't open chromium based apps such as atom-editor due to another issue.
sunilmut commentedon Sep 19, 2016
Federico (@iz0eyj)
@rwobben
Ken Marfilla (@marfillaster)
This issue is specific to the
socket shutdowncall. If you can open a new issue with detailed repro steps and strace, it will make it easy to track it there.armandobelardo commentedon Nov 12, 2016
Hey, getting the same thing, and I am just trying to run the electron quick start app.
Any leads?
[16431:1111/232057:FATAL:render_sandbox_host_linux.cc(40)] Check failed: 0 == shutdown(renderer_socket_, SHUT_RD). shutdown: Invalid argument
#0 0x000001e52dce
#1 0x000001e68acb
#2 0x000001e6908d
#3 0x00000292b5e2
#4 0x0000026f44b5
#5 0x0000026fa81f
#6 0x0000026f3c46
#7 0x00000121ccf7
#8 0x00000121b7d0
#9 0x000003473ea3 main
#10 0x7fdaed2a1f45 __libc_start_main
#11 0x000000574509
sunilmut commentedon Nov 14, 2016
iamabel - Which Windows build are you on? The fixes for WSL are being pushed out in the Windows Insider builds, until the next major Windows release.
cassidoo commentedon Nov 22, 2016
I'm on version 1607, build 14393.447.
Also getting this error with the Electron quick start app:
Asked about it here:
https://stackoverflow.com/questions/40733521/electron-not-working-out-of-the-box-on-windows-bash#40733521
How can I get the fixes?
therealkenc commentedon Nov 22, 2016
You need the insider builds (it's easy to opt in), but there are still other blockers on Electron if that's what you're after. You'll hit #1267 next. There's a patch here but that won't get you as far as you'd probably like right now either.