﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	field_blocks	field_dependson	field_seealso
344	as_area_destroy() broken on mips32, ppc32	Martin Decky	Jakub Jermář	"The implementation of as_area_destroy() seems to be broken on mips32 and ppc32.

On mips32 (in GXemul) the malloc3 test fails (heap structure gets corrupted), on ppc32 the framebuffer server is killed due to various memory management problems. The user space heap allocator has been extensively examined and tested on other platforms and it doesn't seem to be the culprit.

On ppc32 the problem can be worked around by removing the memory sharing code in the framebuffer server. On both platforms the problem can be completely worked around by changing the kernel function sys_as_area_destroy() into a no-op.

Both ppc32 and mips32 use hierarchical page tables (as_pt.c, page_pt.c) as the kernel memory management backend. This hints what might be the root cause (although other possibilities still cannot be eliminated yet)."	defect	new	critical	0.5.0	helenos/kernel/genarch	mainline						
