Hi, Ports-group! OpenBSD ORLOV-NB.sharifa.local 6.6 GENERIC.MP#358 amd64
net ads <commands> is coredumped on last snapshot ORLOV-NB:~$doas net ads testjoin ORLOV-NB:~$doas net ads testjoin doas ([email protected]) password: net(67870) in free(): bogus pointer (double free?) 0xffffffffffffffff Abort trap (core dumped) ORLOV-NB:~$uname -a OpenBSD ORLOV-NB.sharifa.local 6.6 GENERIC.MP#358 amd64 pkg_info -v samba Information for inst:samba-4.8.12p1 Comment: SMB and CIFS client and server for UNIX Required by: gvfs-smb-1.40.2 Description: The Samba suite is a set of programs that implement a server for the Windows file- and printer-sharing protocols (SMB/CIFS) and Active Directory compatible Domain Controller. Maintainer: Ian McWilliam <[email protected]>, Jeremie Courreges-Anglas <[email protected]> WWW: https://www.samba.org/ Size: 89560080 Signature: samba-4.8.12p1,5,@avahi-0.7p6,@cups-libs-2.3.0,@gamin-0.1.10p24,@gettext-runtime-0.20.1p0,@gnutls-3.6.10,@jansson-2.12,@ldb-1.3.8p0,@libexecinfo-0.3p2v0,@libiconv-1.16p0,@libtalloc-2.1.14,@openldap-client-2.4.48,@openpam-20141014,@popt-1.16p2,@py-dnspython-1.16.0p2,@samba-util-4.8.12,@tdb-1.3.16p0,avahi-client.0.1,avahi-common.0.1,c.95.1,crypto.45.5,cups.7.1,curses.14.0,dbus-1.11.2,execinfo.2.0,fam.1.0,gnutls.46.3,iconv.7.0,intl.6.0,jansson.3.2,lber.12.0,ldap.13.1,ldb.0.8,lib/samba/replace.8.0,lib/samba/util-setid.8.0,m.10.1,pam.5.0,popt.1.0,pthread.26.1,pyldb-util.0.5,pytalloc-util.0.1,python2.7.0.0,readline.4.0,talloc.1.1,tdb.4.3,tevent.0.4,util.13.1,z.5.0 Packing-list: @comment $OpenBSD: PLIST-main,v 1.49 2019/04/12 18:21:17 jca Exp $ @name samba-4.8.12p1 @url http://fastly.cdn.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/samba-4.8.12p1.tgz @version 5 @signer openbsd-66-pkg @digital-signature signify2:2019-10-01T15:30:22Z:external @option manual-installation @comment pkgpath=net/samba,-main ftp=yes @arch amd64 ORLOV-NB# egdb /usr/local/bin/net GNU gdb (GDB) 7.12.1 Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-openbsd6.6". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/local/bin/net...(no debugging symbols found)...done. (gdb) set args ads testjoin (gdb) run Starting program: /usr/local/bin/net ads testjoin net(12241) in free(): bogus pointer (double free?) 0xffffffffffffffff Program received signal SIGABRT, Aborted. thrkill () at -:3 3 -: No such file or directory. (gdb) bt full #0 thrkill () at -:3 No locals. #1 0x0000039c9afc48ee in _libc_abort () at /usr/src/lib/libc/stdlib/abort.c:51 mask = 4294967263 sa = <optimized out> #2 0x0000039c9afba046 in wrterror (d=0x39d413b2a20, msg=0x39c9af5497c "bogus pointer (double free?) %p") at /usr/src/lib/libc/stdlib/malloc.c:300 ap = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7f7ffffe2bc0, reg_save_area = 0x7f7ffffe2ac0}} saved_errno = 0 #3 0x0000039c9afbd229 in findpool (p=0xffffffffffffffff, argpool=<optimized out>, foundpool=0x7f7ffffe2c40, saved_function=0x7f7ffffe2c48) at /usr/src/lib/libc/stdlib/malloc.c:1355 nmutexes = <optimized out> i = <optimized out> pool = <optimized out> r = <optimized out> #4 0x0000039c9afba35a in ofree (argpool=0x7f7ffffe2ca0, p=0xffffffffffffffff, clear=0, check=0, argsz=0) at /usr/src/lib/libc/stdlib/malloc.c:1369 pool = 0x7f7ffffe2cf0 saved_function = 0x39ce9252355 <ber_get_next+1333> "H\205\300\017\216\250" r = <optimized out> sz = <optimized out> #5 0x0000039c9afba290 in free (ptr=0xffffffffffffffff) at /usr/src/lib/libc/stdlib/malloc.c:1488 saved_errno = 0 d = 0x39d413b2a20 #6 0x0000039d60224933 in ldap_free_request_int () from /usr/local/lib/libldap.so.13.1 No symbol table info available. #7 0x0000039d60210384 in ldap_result () from /usr/local/lib/libldap.so.13.1 No symbol table info available. #8 0x0000039d6021254a in ldap_pvt_search_s () from /usr/local/lib/libldap.so.13.1 No symbol table info available. #9 0x0000039d60212495 in ldap_search_ext_s () from /usr/local/lib/libldap.so.13.1 No symbol table info available. #10 0x0000039cd4a6e9d8 in ldap_search_with_timeout () from /usr/local/lib/samba/libads-samba4.so No symbol table info available. #11 0x0000039cd4a6e83b in ads_do_search () from /usr/local/lib/samba/libads-samba4.so No symbol table info available. #12 0x0000039cd4a6d631 in ads_current_time () from /usr/local/lib/samba/libads-samba4.so No symbol table info available. #13 0x0000039cd4a6cc9b in ads_connect () from /usr/local/lib/samba/libads-samba4.so ---Type <return> to continue, or q <return> to quit--- No symbol table info available. #14 0x0000039a75eef094 in ads_startup_int () No symbol table info available. #15 0x0000039a75ef0543 in net_ads_testjoin () No symbol table info available. #16 0x0000039a75ef1acc in net_ads () No symbol table info available. #17 0x0000039a75eedbc4 in main () No symbol table info available. (gdb) -- Dmitry Orlov
