X crashes due to freed memory read in damageDestroyPixmap() from sna_early_close_screen() from xf86CrtcCloseScreen()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xorg-server (Ubuntu) |
Won't Fix
|
Critical
|
Unassigned |
Bug Description
XMir: DDX memory use after being freed from libmirclient. Though it looks like bug 1221616 might be the root cause so see that first.
==32480== Invalid read of size 8
==32480== at 0x234D84: damageDestroyPixmap (damage.c:1544)
==32480== by 0xA1C6A3B: sna_early_
==32480== by 0x1CE476: xf86CrtcCloseScreen (xf86Crtc.c:732)
==32480== by 0x1EB64D: CursorCloseScreen (cursor.c:193)
==32480== by 0x2324B5: AnimCurCloseScreen (animcur.c:106)
==32480== by 0x14C636: main (main.c:351)
==32480== Address 0xb98d190 is 16 bytes inside a block of size 296 free'd
==32480== at 0x4C2BADC: operator delete(void*) (in /usr/lib/
==32480== by 0x8A03F07: __gnu_cxx:
==32480== by 0x8A03CB0: std::allocator_
==32480== by 0x8A046A5: std::_Sp_
==32480== by 0x89E1091: std::_Sp_
==32480== by 0x89E0EC0: std::__
==32480== by 0x89E6711: std::__
==32480== by 0x89E6751: std::shared_
==32480== by 0x8A00490: MirSurface:
==32480== by 0x8A00661: MirSurface:
==32480== by 0x8A04A12: google:
==32480== by 0x8A1E81A: mir::client:
==32480==
==32480== Invalid read of size 4
==32480== at 0x234E03: damageDestroyPixmap (damage.c:1548)
==32480== by 0xA1C6A3B: sna_early_
==32480== by 0x1CE476: xf86CrtcCloseScreen (xf86Crtc.c:732)
==32480== by 0x1EB64D: CursorCloseScreen (cursor.c:193)
==32480== by 0x2324B5: AnimCurCloseScreen (animcur.c:106)
==32480== by 0x14C636: main (main.c:351)
==32480== Address 0xb98d1a8 is 40 bytes inside a block of size 296 free'd
==32480== at 0x4C2BADC: operator delete(void*) (in /usr/lib/
==32480== by 0x8A03F07: __gnu_cxx:
==32480== by 0x8A03CB0: std::allocator_
==32480== by 0x8A046A5: std::_Sp_
==32480== by 0x89E1091: std::_Sp_
==32480== by 0x89E0EC0: std::__
==32480== by 0x89E6711: std::__
==32480== by 0x89E6751: std::shared_
==32480== by 0x8A00490: MirSurface:
==32480== by 0x8A00661: MirSurface:
==32480== by 0x8A04A12: google:
==32480== by 0x8A1E81A: mir::client:
description: | updated |
summary: |
- XMir: DDX memory use after being freed from libmirclient + Freed memory read in damageDestroyPixmap() from sna_early_close_screen() + from xf86CrtcCloseScreen() |
tags: | added: make-xmir-default |
Changed in xmir: | |
assignee: | nobody → Chris Halse Rogers (raof) |
summary: |
- Freed memory read in damageDestroyPixmap() from sna_early_close_screen() - from xf86CrtcCloseScreen() + X crashes due to freed memory read in damageDestroyPixmap() from + sna_early_close_screen() from xf86CrtcCloseScreen() |
Changed in xorg-server (Ubuntu): | |
importance: | Undecided → Critical |
Changed in xmir: | |
status: | New → Confirmed |
Changed in xorg-server (Ubuntu): | |
status: | New → Confirmed |
description: | updated |
no longer affects: | xmir |
tags: | added: xmir |
Actually, this looks like it might be a side-effect of bug 1221616