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

Rust runtime crashes when reflectively printing DisplayItem #150

Closed
burg opened this issue Oct 24, 2012 · 2 comments
Closed

Rust runtime crashes when reflectively printing DisplayItem #150

burg opened this issue Oct 24, 2012 · 2 comments

Comments

@burg
Copy link

@burg burg commented Oct 24, 2012

This can be triggered by uncommenting the FIXMEs with this issue number in src/gfx/display_list.rs, and then running with RUST_LOG=servo::gfx::display_list

@burg
Copy link
Author

@burg burg commented Nov 14, 2012

Also crashes while reflectively printing SpecifiedFontStyle and UsedFontStyle.

@jdm
Copy link
Member

@jdm jdm commented Jul 20, 2015

Pretty sure this isn't an issue any more.

@jdm jdm closed this Jul 20, 2015
bors-servo added a commit that referenced this issue Aug 16, 2019
Fix build error when using the 'webgl_backtrace' feature

This patch fixes a build error that happens when building with `--features webgl_backtrace`.

However, while working on this I've noticed that calling `Backtrace::new()` instantly causes a segmentation fault. This didn't happen with the example code of [the package](https://crates.io/crates/backtrace) though, so I wasn't sure where to report this (maybe related: [backtrace-rs/#150](rust-lang/backtrace-rs#150), [backtrace-rs/#189](rust-lang/backtrace-rs#189)).

cc @alexcrichton @jdm

---

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ___
- [x] These changes fix an issue that happens with a compile time feature not tested by the CI

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23966)
<!-- Reviewable:end -->
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
2 participants
You can’t perform that action at this time.