Closed Bug 1640272 Opened 4 years ago Closed 23 days ago

Clicking on a scroll bar of the javascript debugger blows up firefox

Categories

(Core :: Graphics: WebRender, defect)

defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox76 --- wontfix
firefox77 --- wontfix
firefox78 --- fix-optional

People

(Reporter: jsearle3, Unassigned)

References

Details

Attachments

(5 files)

Attached file mozconfig

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18363

Steps to reproduce:

Built firefox on Windows 10 from mozilla-central with the mozconfig file as attahed below. Than ran it without a pre-existing C:\mozilla-source\mozilla-central\obj-x86_64-pc-mingw32\tmp\profile-default file. Killed the new features tab. entered about:debugging for the existing tab. Clicked on This Nightly. Loaded by temporary Add-on. Opened my .html file. Brought up the JavaScript debugger. Caused the debugger to load ExpTypeGreekNew.html. caused the debugger to load "cutCopyPasteTextarea.js". Set a breakpoint on line 1147 of "ExpTypeGreekNew.html". Set a breakpoint on line 4 of "cutCopyPasteTextarea.js". Entered some characters in the textarea element of the html. Used the mouse to select a portion to the characters just entered. FWIW, these will be Unicode characters in the Greek and Coptic block by default. Right click on the textarea elements portion of the page to bring up my context menu. Left click on "Copy" of the my context menu to force the JavaScript debugger to hit the breakpoint in "ExpTypeGreekNew.html". Left click on the debugger's stepover icon to force the evaluation of "choice". Left click on the right most scroll bar so that I can confirm the value of choice in the scope area. It has the correct value "Copy". "Step Over" until I got to line 1182 to confirm that the switch statement performed as expected. Left click on Continue to cause the debugger to hit the breakpoint set in "cutCopyPasteTextarea.js". Once there click on Step Over once to force the evaluation of "choice". Try to confirm the value choice by left clicking on the right most scroll bar of the debugger in the "open" area of that scroll bar (not on the incremental down arrow) to get to the Scope area and examine the value of "choice".

Actual results:

Instead of scrolling that sub window, firefox barfs on std out and terminates.
FWIW, just before this when I got this point, I was using the down arrow repeatedly to scroll to the Scope area to confirm the value "choice". I suppose if I'd give the debugger's window more vertical height I wouldn't be getting into these scrolling problems. Anyway, repeatedly using the Scroll bar's down arrow caused it to stop working. In standard out I saw something to the effect: too many micro scroll adjustments, the scroll bar is now locked!. Paraphrasing the military, debugging the debugger seems to be a target rich environment.

Expected results:

Should have scrolled that sub window.

Attached file ExpTypeGreekNew.html
Attached file manifest.json

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Debugger
Product: Firefox → DevTools

This looks like a pretty WebRender-heavy stack trace, so gonna bump this over there for now.

Component: Debugger → Graphics: WebRender
Product: DevTools → Core

Looks like OOM shmem in BuildWrMaskImage.
Nicola, perhaps you have an idea?
Marking as S2 in the meantime.

Severity: -- → S2
Flags: needinfo?(nical.bugzilla)

S1 or S2 bugs need an assignee - could you find someone for this bug?

Flags: needinfo?(jbonisteel)
Severity: S2 → S3
Flags: needinfo?(jbonisteel)
Depends on: 1582954
Flags: needinfo?(nical.bugzilla)

The bug has a release status flag that shows some version of Firefox is affected, thus it will be considered confirmed.

Status: UNCONFIRMED → NEW
Ever confirmed: true

Assuming this is resolved, please reopen if not.

Status: NEW → RESOLVED
Closed: 23 days ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: