Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upCrash in get_or_create_similar_vao_with_offset #160
Comments
|
We'll try and reproduce this - have you come across anything with a smaller test case that repros this? |
|
No small test case. Loading http://github.com directly in Servo (no browser.html) crashes the same way, before the page finish loading. It happens regularly, but not all the time. For the record, this is how I run Servo:
|
|
I was using this code:
with:
… it crashes, maybe, one out of twelve runs. |
|
@paulrouget @pcwalton I've spent about two hours now trying to reproduce this and it just doesn't seem to occur on my Linux system. I don't see how it could be mac-specific, but I'll try to build on mac in the morning and see if I can reproduce. Failing that, we may need to see if @pcwalton can reproduce it, or add some debugging logs and run it on Paul's machine. |
|
I'm pretty sure this happens every time my computer (macbook) wakes up. Then, after the first crash, it's hard to reproduce. |
|
@paulrouget Complete shot in the dark, but since you mentioned it's based on wakeup, have you tried switching between integrated and discrete GPUs to see if the results change? gfxCardStatus allows you to control this: https://gfx.io/ |
Before this patch, there was a chance that batch updates could be delivered to the compositor thread (destroying old resources) and then a render operation could be invoked before arrival of the new frame. This would cause the compositor thread to attempt to render frame N with the resources of frame N+1, which would usually crash. Closes servo#160.
|
(My macbook air has only one GPU) Thanks a lot for looking at this! |
This happens regularly. I'm loading github.com in browser.html: