Closed Bug 1673313 Opened 4 years ago Closed 4 years ago

[Wayland] Crash at mozilla::widget::WaylandShmPool::WaylandShmPool

Categories

(Core :: Widget: Gtk, defect, P2)

defect

Tracking

()

RESOLVED FIXED
84 Branch
Tracking Status
firefox84 --- fixed

People

(Reporter: stransky, Assigned: stransky)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

When Shm allocation fails Firefox on Wayland crashes. We should relax that and allow to report such failure.

  • Make WaylandAllocateShmMemory() fallible.
  • Implement WaylandReAllocateShmMemory() to re-allocate Shm pool.
  • Remove WaylandShmPool::Resize() and use WaylandShmPool::Create() only.
  • Implement and use WaylandShmPool::Release().
  • Make WindowSurfaceWayland::CreateWaylandBuffer() as fallible.
Pushed by rmaries@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/dff839f08039
[Wayland] Don't fail when Shm allocation fails, r=jhorak

Updated, Thanks.

Flags: needinfo?(stransky)
Pushed by nbeleuzu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e6a1286e25b7
[Wayland] Don't fail when Shm allocation fails, r=jhorak
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: