Closed
Bug 1331828
Opened 8 years ago
Closed 8 years ago
First boot causes crashes on Windows
Categories
(Core :: Graphics: WebRender, defect)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
mozilla54
People
(Reporter: sotaro, Assigned: sotaro)
References
Details
Attachments
(1 file)
849 bytes,
patch
|
Details | Diff | Splinter Review |
When I build graphics branch locally, first boot causes crashes.
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → sotaro.ikeda.g
Assignee | ||
Comment 1•8 years ago
|
||
I saw another problem with latest source, e10s with multiple tabs caused tab crash.
Comment 2•8 years ago
|
||
I was seeing at least one crash caused by the call to SetLayerObserverEpoch in TabChild.cpp getting called before the WebRenderBridge was properly initialized. I have patches pending that will fix that (some in bug 1331509, and one in bug 1326421). If there are other crashes that you're seeing that are different then we'll need to investigate those.
Assignee | ||
Comment 3•8 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #1) > I saw another problem with latest source, e10s with multiple tabs caused tab > crash. It was caused by the call to SetLayerObserverEpoch. It seems same to comment 2. The crash of comment 0 is happened in WebRenderBridgeParent::RecvDPGetSnapshot().
Depends on: 1331847
Assignee | ||
Comment 4•8 years ago
|
||
The crash was caused by the following assert failure in gleam. pub fn read_pixels_into_buffer(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, pixel_type: GLenum, dst_buffer: &mut [u8]) { // Assumes that the user properly allocated the size for dst_buffer. assert!(calculate_length(width, height, format, pixel_type) == dst_buffer.len());
Assignee | ||
Comment 5•8 years ago
|
||
Assignee | ||
Comment 6•8 years ago
|
||
argument buffer_size of wr_readback_into_buffer() is usize, but it is uint32_t in webrender_ffi.h. pub extern fn wr_readback_into_buffer(window: &mut WrWindowState, width: u32, height: u32, dst_buffer: *mut u8, buffer_size: usize) {
Assignee | ||
Comment 7•8 years ago
|
||
It is a regression of Bug 1319170.
Pushed by sikeda@mozilla.com: https://hg.mozilla.org/projects/graphics/rev/543c59f9d5df Fix ffi inconsistency of wr_readback_into_buffer() r=gfx?
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Target Milestone: --- → mozilla54
You need to log in
before you can comment on or make changes to this bug.
Description
•