Closed Bug 1352287 Opened 7 years ago Closed 7 years ago

Crash when opening 2nd Tab

Categories

(Core :: Graphics: WebRender, defect)

Unspecified
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1351777

People

(Reporter: sotaro, Assigned: sotaro)

References

Details

Attachments

(1 file)

On latest graphic branch, when I opened 2nd tab with local build, Firefox crashed.
Blocks: webrender
Assignee: nobody → sotaro.ikeda.g
In RenderFrameParent::Init(), sonehow RenderFrameParent got BasicLayerManager of PuppetWidget that is created as WindowlessBrowser.
TabChild::InitRenderingState() seems to have a problem, it does not handle a case of windowless browsers.
On window there is another problem to cause the crash https://github.com/servo/webrender/issues/1044.
I strongly suspect this will cause all sorts of test failures. Can you explain how you reproduced this problem? I think it will be fixed by the patches I have on bug 1351777 but the only place I reproduced it was in an xpcshell-test. Do you see it happening when running the browser? On a clean profile?
I was also seeing the crash on opening the second tab, and it looked like a shader compilation error but I had an opt build with an incomplete stack and didn't get around to debugging it. The issue you filed on github seems to be the cause of the crash as far as i can tell.
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #5)
> I strongly suspect this will cause all sorts of test failures.

Yes.

> Can you explain how you reproduced this problem?

[1] ./mach run
[2] push + button

> I think it will be fixed by the patches I have on bug 1351777 but the only place I reproduced it was in an
> xpcshell-test.

It seems to address the problem.

> Do you see it happening when running the browser? On a clean profile?

Yes.
I saw it on linux. On windows, I did not see it until I locally addressed https://github.com/servo/webrender/issues/1044.
(In reply to Sotaro Ikeda [:sotaro] from comment #8)
> I saw it on linux. On windows, I did not see it until I locally addressed
> https://github.com/servo/webrender/issues/1044.

Interesting, I don't see it happening on Linux. I ran into the shader error on windows but haven't tried the fix for that yet. Anyway, good to know the patches on bug 1351777 fix it.
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #9)
> (In reply to Sotaro Ikeda [:sotaro] from comment #8)
> > I saw it on linux. On windows, I did not see it until I locally addressed
> > https://github.com/servo/webrender/issues/1044.
> 
> Interesting, I don't see it happening on Linux. I ran into the shader error
> on windows but haven't tried the fix for that yet. Anyway, good to know the
> patches on bug 1351777 fix it.

I do not try it yet. I am going to test it next week.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: