[Samba] Core dumped - net ads dns gethostbzname

zby at post.cz zby at post.cz
Wed Aug 21 09:34:45 UTC 2019


Hi.

Performing a DNS search for a hostname results in a segmentation fault:




## Debian 10 Buster 64bit




root at hostxzy:~# net ads dns gethostbyname name $(hostname)
Bad talloc magic value - unknown value
PANIC (pid 15749): Bad talloc magic value - unknown value
BACKTRACE: 12 stack frames:
 #0 /lib/x86_64-linux-gnu/libsamba-util.so.0(log_stack_trace+0x32) [0x7f0827
a408d2]
 #1 /lib/x86_64-linux-gnu/libsmbconf.so.0(smb_panic_s3+0x20) [0x7f08278811c
0]
 #2 /lib/x86_64-linux-gnu/libsamba-util.so.0(smb_panic+0x2f) [0x7f0827a409
df]
 #3 /lib/x86_64-linux-gnu/libtalloc.so.2(+0x3591) [0x7f0826ceb591]
 #4 /usr/lib/x86_64-linux-gnu/samba/libaddns.so.0(dns_open_connection+0x174)
[0x7f0827d20424]
 #5 net(do_gethostbyname+0x32) [0x5567e6e4acc2]
 #6 net(+0x38a50) [0x5567e6e11a50]
 #7 net(+0x36168) [0x5567e6e0f168]
 #8 net(net_ads+0x47) [0x5567e6e16f17]
 #9 net(main+0x980) [0x5567e6dfb5b0]
 #10 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb) [0x7f082686009
b]
 #11 net(_start+0x2a) [0x5567e6dfb87a]
Can not dump core: corepath not set up
root at hostxzy:~# dpkg -l winbind
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-
pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version        Architecture Description
+++-==============-==============-============-=============================
========================================
ii  winbind        2:4.9.5+dfsg-5 amd64        service to resolve user and 
group information from Windows NT servers
root at hostxzy:~#




Please advise.

Thank you

Zbynek


More information about the samba mailing list