Bug#1074378: bind9: Bind9 SEGFAULT when enable DLZ with samba

2024-06-30 Thread Michael Saxl
just making some experiments and traces. first of all: I'm not a bind9 expert so I have not found the place where bind dload's the dlz module, but the issue seems to be the following: the dlz module gets loaded, the default tdb implementation is in a .so file loaded by this. then the ldb modules

Bug#1074378: bind9: Bind9 SEGFAULT when enable DLZ with samba

2024-06-30 Thread Michael Saxl
just some findings (after the hint about jemalloc) The breaking commit is probably " 6328. [func] Add workaround to enforce dynamic linker to pull jemalloc earlier than libc to ensure all memory allocations are done via jemalloc. [GL #4404

Bug#1074378: bind9: Bind9 SEGFAULT when enable DLZ with samba

2024-06-30 Thread Michael Saxl
just for comparison: here the stacktrace on a older bind9 (9.19.21-1+b1) with the same samba dlz module when set a breakpoint on the line that causes an issue on newer bind9 (and stepped into "free"): #0 __GI___libc_free (mem=0x55a6b4273020) at ./malloc/malloc.c:3356 #1 0x7f7bead76155 in s

Bug#1074378: bind9: Bind9 SEGFAULT when enable DLZ with samba

2024-06-30 Thread Michael Saxl
Dear Maintainer, here a stacktrace with debug symbols #0 __pthread_kill_implementation (threadid=, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44 #1 0x7f67b8cf4b6f in __pthread_kill_internal (signo=6, threadid=) at ./nptl/pthread_kill.c:78 #2 0x7f67b8ca64e2 in