From mboxrd@z Thu Jan 1 00:00:00 1970 From: Valters Jansons To: location@lists.ipfire.org Subject: Segfault on d5ff39d "tree: Actually delete any deleted nodes" Date: Mon, 17 Jul 2023 21:35:29 +0300 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8784936074208525283==" List-Id: --===============8784936074208525283== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi, I am seeing a segfault during tests (src/test-as, src/test-country and src/test-signature) for all Ubuntu LTS versions. This only occurs with the latest commit (d5ff39d) applied. Looking at the change, the node still seems to be used after dereference, but I am not fully sure of the way you have planned out the deletion, therefore I am not offering a patch/resolution. >>From gdb I am seeing: Program received signal SIGSEGV, Segmentation fault. loc_network_tree_delete_nodes (tree=0x55555555a370) at src/network.c:1045 1045 tree->root->deleted = 0; Best regards, Valters Jansons --===============8784936074208525283==--