final gestion segfault