Skip to content
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

ipc-channel panic on Linux with zero-length data #8082

Open
asajeffrey opened this issue Oct 19, 2015 · 2 comments
Open

ipc-channel panic on Linux with zero-length data #8082

asajeffrey opened this issue Oct 19, 2015 · 2 comments
Labels

Comments

@asajeffrey
Copy link
Member

@asajeffrey asajeffrey commented Oct 19, 2015

Running the Dromaeo DOM Core tests:

$ ./target/release/servo tests/dromaeo/dromaeo/web/index.html 
[dromaeo] getAttribute
...
[dromaeo] cloneNode
thread 'ImageCacheThread' panicked at 'assertion failed: libc::close(self.fd) == 0', /home/ajeffrey /tmp/servo/.cargo/git/checkouts/ipc-channel-d95a23d1f1577bfc/master/platform/linux/mod.rs:101
thread '<unnamed>' panicked at 'index out of bounds: the len is 0 but the index is 0', src/libcollections/vec.rs:1044
thread 'ImageCacheThread' panicked at 'assertion failed: libc::close(self.fd) == 0', /home/ajeffrey/tmp/servo/.cargo/git/checkouts/ipc-channel-d95a23d1f1577bfc/master/platform/linux/mod.rs:101
stack backtrace:
thread '<unnamed>' panicked at 'assertion failed: libc::close(pollfd.fd) >= 0', /home/ajeffrey/tmp/servo/.cargo/git/checkouts/ipc-channel-d95a23d1f1577bfc/master/platform/linux/mod.rs:300
thread 'ScriptTask PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(1) }' panicked at 'called `Result::unwrap()` on an `Err` value: "SendError(..)"', src/libcore/result.rs:736
   1:     0x7ff7133be070 - sys::fatal runtime error: backtrace::tracing::imp::Could not unwind stack, error = write::h23bfa7a49ed99d87Klt5
   2:     0x7ff7133c05c5 - panicking::log_panic::_<closureIllegal instruction (core dumped)

Looks similar to #7802 but for Linux rather than MacOS.

@jdm jdm added the I-panic label Oct 19, 2015
@jdm jdm mentioned this issue Nov 12, 2015
@jdm
Copy link
Member

@jdm jdm commented Nov 12, 2015

@nox
Copy link
Member

@nox nox commented Sep 30, 2017

Is this still true?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.