There might be a chance that RegionUninit() is trying to free() some struct that's actually coming from .data segment. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>