Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/23038 )
Change subject: Avoid hooking dl_iterate_phdr on Rocky Linux to prevent ASan crashes ...................................................................... Patch Set 2: (3 comments) http://gerrit.cloudera.org:8080/#/c/23038/2//COMMIT_MSG Commit Message: http://gerrit.cloudera.org:8080/#/c/23038/2//COMMIT_MSG@9 PS2, Line 9: In ASan builds on Rocky Linux, overriding dl_iterate_phdr can lead to : segmentation faults during early runtime initialization due to conflicts : with the sanitizer's internal usage of this symbol. I would be nice to provide an example stack trace for that in the description at least for posterity if similar issue hits some other platform. http://gerrit.cloudera.org:8080/#/c/23038/2//COMMIT_MSG@13 PS2, Line 13: This patch introduces a new compile-time macro, __rocky__, to disable : the dl_iterate_phdr hook specifically for Rocky Linux environments. I'd think that it's attributed to particular toolchain version and the flags used for the linker. I'm curious: how did you build Kudu ASAN bits when the issue manifested itself? Did you use CLANG from the Kudu's 3rd party to build Kudu with ASAN instrumentation of that was some other CLANG compiler? http://gerrit.cloudera.org:8080/#/c/23038/2//COMMIT_MSG@22 PS2, Line 22: https://github.com/google/sanitizers/issues/915 How is this generic item relevant to the issue you describe? It would be great if you provided more details in this context. -- To view, visit http://gerrit.cloudera.org:8080/23038 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I5043e587c85dc18a37259f49b9c2f2008b3295ee Gerrit-Change-Number: 23038 Gerrit-PatchSet: 2 Gerrit-Owner: KeDeng <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Comment-Date: Tue, 17 Jun 2025 18:25:05 +0000 Gerrit-HasComments: Yes
