Comments (11)
cc @danlrobertson
from ipc-channel.
You mention mio
in the issue, but mio
was not used in the commit mentioned. Did you use git bisect
to determine that 357abb9 was at fault? If it was the introduction of mio
that is causing this, the at fault commit would be f6cefc5.
from ipc-channel.
f6cefc5 makes the panics appear, and be88285 makes them disappear.
from ipc-channel.
(those are the two most recent commits according to git log --topo-order
)
from ipc-channel.
My original comment could have been written more clearly; I did not mean to indicate that 357abb9 was the commit at fault.
from ipc-channel.
Thanks that's super helpful! I'll look into it ASAP.
from ipc-channel.
Did you figure anything out, @danlrobertson?
from ipc-channel.
I did some work on this last night, and after some digging around tokio-rs/mio#494 and https://github.com/servo/ipc-channel/blob/master/src/platform/unix/mod.rs#L475-L478 look like likely culprits. Tonight I'm going to try ignoring EINTR
.
from ipc-channel.
Can we unstuck this to progress on the servo bump?
from ipc-channel.
If you need it ASAP (today) I can pull the tests out and submit a separate PR for that... Otherwise I've got to do some work on that to make it work on Mac. I'd rather keep it as one PR but I totally understand if you need it ASAP
from ipc-channel.
Beginning of next week is fine too.
from ipc-channel.
Related Issues (20)
- Add API to IpcReceiver that wraps the ROUTER integration
- IpcReceiver hangs indefinitely on MacOS when other process ends HOT 6
- Add API so allow for a select-like mechanism using the ROUTER
- macos::OsIpcSharedMemory::from_bytes aborts if passed an empty slice
- Implement `std::error::Error` on error types
- IpcBytesSender::send will hang up when receiver is not work. HOT 1
- Panic on large data transfer HOT 1
- IpcReceiver hang, forking leaks file descriptors, problem/discussion HOT 1
- Release a new version HOT 2
- panic when some conditions
- Could you please publish a new version to crates.io?
- cargo-careful panics due to `stat` being left uninitialized
- Channel between 64-bit and 32-bit process
- Trivial Example Not Working HOT 6
- Why can I only connect to IpcSender and not IpcReceiver? HOT 8
- IpcOneShotServer::accept is blocking and has no non-blocking version HOT 2
- Vulnerability in crossbeam-utils dependency HOT 1
- Apple recommends against direct use of Mach
- Sending an IpcReceiver over a previously sent IpcChannel doesn't work on Windows HOT 1
- macOS builds are broken with recent rustc HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipc-channel.