Closed Bug 1231040 Opened 6 years ago Closed 6 years ago

Assertion failure: shouldYFlip || srcStride != dstStride (Performance trap -- should handle this case earlier to avoid memcpy), at dom/canvas/WebGLTexelConversions.cpp:381

Categories

(Core :: Canvas: WebGL, defect)

Unspecified
macOS
defect
Not set
major

Tracking

()

RESOLVED FIXED
mozilla46
Tracking Status
firefox45 --- affected
firefox46 --- fixed

People

(Reporter: bc, Assigned: jgilbert)

References

()

Details

(Keywords: assertion, testcase, Whiteboard: [gfx-noted])

Attachments

(3 files)

Attached file minidump crash report
1. http://m.thehindu.com/news/national/latest-updates-on-chennai-floods/article7951783.ece

2. Assertion failure: shouldYFlip || srcStride != dstStride (Performance trap -- should handle this case earlier to avoid memcpy), at /builds/slave/m-cen-m64-d-000000000000000000/build/src/dom/canvas/WebGLTexelConversions.cpp:381

Reproduced Nightly/45 OSX 10.8

build: https://hg.mozilla.org/mozilla-central/rev/cc9c6cd756cb744596ba039dcc5ad3065a7cc3ea

I can reproduce with a saved version. I'll try to reduce.
Summary: ssertion failure: shouldYFlip || srcStride != dstStride (Performance trap -- should handle this case earlier to avoid memcpy), at dom/canvas/WebGLTexelConversions.cpp:381 → Assertion failure: shouldYFlip || srcStride != dstStride (Performance trap -- should handle this case earlier to avoid memcpy), at dom/canvas/WebGLTexelConversions.cpp:381
untar the file then load ./bug-1231040/m.thehindu.com/news/national/latest-updates-on-chennai-floods/index.html

You may need to create a new profile each time you want to reproduce this. I don't have time to work up a script that will recreate it each time in order to reduce it.
Keywords: testcase
Jeff, what should we do here?
Flags: needinfo?(jgilbert)
Whiteboard: [gfx-noted]
Historically we hit this because we messed up an earlier branch; we really should be catching this before it gets here.

The profile requirement might be the CrashGuard stuff?
Flags: needinfo?(jgilbert)
Assignee: nobody → jgilbert
Attachment #8698293 - Flags: review?(jmuizelaar)
Attachment #8698293 - Flags: review?(jmuizelaar) → review+
Flags: needinfo?(jgilbert)
https://hg.mozilla.org/mozilla-central/rev/5ab4f7bd7eda
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
You need to log in before you can comment on or make changes to this bug.