Open Bug 1274019 Opened 8 years ago Updated 2 years ago

Crash when quitting browser with RDM viewport loading page

Categories

(DevTools :: Responsive Design Mode, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: jryans, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [multiviewport][reserve-rdm])

From :ochameau's review in bug 1240913:

Another shutdown crash STR:
- Open www.lemonde.fr (heavy website)
- toggle RDM
- open a new tab
- close the browser from the hamburger menu

Firefox won't close until a while and will end up crashing:
Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: Receive IPC close with reason=AbnormalShutdown (t=75.8457) 
###!!! [Child][MessageChannel] Error: (msgtype=0x4600DE,name=PContent::Msg_GraphicsError) Channel closing: too late to send/recv, messages will be lost

[GFX1-]: Receive IPC close with reason=AbnormalShutdown

Note that the website is still loading while the browser is closing.
If you press Escape before toggle RDM to stop website load, it won't crash.
I can't reproduce this on Mac right now, might be Linux specific?
Flags: qe-verify?
Flags: qe-verify? → qe-verify+
QA Contact: mihai.boldan
:ochameau, are you able to reproduce this issue still?  I can't seem to make it happen here.
Flags: needinfo?(poirot.alex)
No. I don't see any crashes anymore. Still various IPC errors but I don't think that's related to your work.

I saw something else being broken while testing that.
You get this exception:
JavaScript error: resource://devtools/client/responsivedesign/responsivedesign-child.js, line 127: TypeError: d.contentViewer is null

and you can't toggle RDM off anymore.
STR:
- open lemonde.fr (also happens on cnn.com but less frequently)
- toggle on RDM while the website is still loading
- toggle off RDM again, while this very heavy website is still loading
> get the exception and the RDM doesn't turn off.

Note that I don't know if it depends on the humidity of the room you are in, the temperature, light level, but sometime it always reproduces and some other it never...
But you might be able to figure out something with the exception.
Flags: needinfo?(poirot.alex)
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.