Hi all, When turning debug on (OPENAIS_BUILD=DEBUG in Makefile.inc), aisexec core dumps while existing.
The backtrace is in object_find of exec/objdb.c, and the reason is instance->find_child_list is not a valid list entry after unlink. The attached patch simply call object_find_reset in every iteration in openais_service_unlink_all, which fix this issue. Please help to review. BTW: I submit several other patches to the list days ago, and there's no response at all. Is that there's no one interested in saLck ? Or my patch is naive and simply wrong ? Thanks.
--- exec/service.c.orig 2008-05-16 12:32:30.000000000 -0400 +++ exec/service.c 2008-05-16 12:28:51.000000000 -0400 @@ -316,6 +316,7 @@ objdb->object_destroy (object_service_handle); log_printf(LOG_LEVEL_NOTICE, "%s was unlinked\n", service_name); logsys_flush (); + objdb->object_find_reset (OBJECT_PARENT_HANDLE); } return (0);
_______________________________________________ Openais mailing list [email protected] https://lists.linux-foundation.org/mailman/listinfo/openais
