[MacPorts] #64814: samba4: mdsearch Segmentation fault: 11 in 4.15.5
MacPorts
noreply at macports.org
Sun Mar 13 11:14:58 UTC 2022
#64814: samba4: mdsearch Segmentation fault: 11 in 4.15.5
----------------------+-----------------------------
Reporter: ra1nb0w | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: samba4 mbsearch
Port: samba4 |
----------------------+-----------------------------
Comment (by ra1nb0w):
Only the move is not already in 4.15.5.
This is the full debug disabling client protection
{{{
$ mdsearch --debug-stdout -d=10 --client-protection=off -U rainbow
arca.home.irh.it rainbow '*=="746"'
INFO: Current debug levels:
all: 10
tdb: 10
printdrivers: 10
lanman: 10
smb: 10
rpc_parse: 10
rpc_srv: 10
rpc_cli: 10
passdb: 10
sam: 10
auth: 10
winbind: 10
vfs: 10
idmap: 10
quota: 10
acls: 10
locking: 10
msdfs: 10
dmapi: 10
registry: 10
scavenger: 10
dns: 10
ldb: 10
tevent: 10
auth_audit: 10
auth_json_audit: 10
kerberos: 10
drs_repl: 10
smb2: 10
smb2_credits: 10
dsdb_audit: 10
dsdb_json_audit: 10
dsdb_password_audit: 10
dsdb_password_json_audit: 10
dsdb_transaction_audit: 10
dsdb_transaction_json_audit: 10
dsdb_group_audit: 10
dsdb_group_json_audit: 10
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: increasing rlimit_max (256) to minimum Windows limit (16384)
INFO: Current debug levels:
all: 10
tdb: 10
printdrivers: 10
lanman: 10
smb: 10
rpc_parse: 10
rpc_srv: 10
rpc_cli: 10
passdb: 10
sam: 10
auth: 10
winbind: 10
vfs: 10
idmap: 10
quota: 10
acls: 10
locking: 10
msdfs: 10
dmapi: 10
registry: 10
scavenger: 10
dns: 10
ldb: 10
tevent: 10
auth_audit: 10
auth_json_audit: 10
kerberos: 10
drs_repl: 10
smb2: 10
smb2_credits: 10
dsdb_audit: 10
dsdb_json_audit: 10
dsdb_password_audit: 10
dsdb_password_json_audit: 10
dsdb_transaction_audit: 10
dsdb_transaction_json_audit: 10
dsdb_group_audit: 10
dsdb_group_json_audit: 10
pm_process() returned No
lp_servicenumber: couldn't find homes
Can't load /opt/local/etc/samba/smb.conf - run testparm to debug it
added interface en0 ip=10.243.20.203 bcast=10.243.20.255
netmask=255.255.255.0
directory_create_or_exist: mkdir failed on directory
/opt/local/var/lock/samba: No such file or directory
cmdline_messaging_context: Unable to initialize messaging context.
directory_create_or_exist: mkdir failed on directory
/opt/local/var/lock/samba: No such file or directory
sitename_fetch: No stored sitename for realm ''
internal_resolve_name: looking up arca.home.irh.it#20 (sitename (null))
directory_create_or_exist: mkdir failed on directory
/opt/local/var/lock/samba: No such file or directory
namecache_fetch: no entry for arca.home.irh.it#20 found.
resolve_hosts: Attempting host lookup for name arca.home.irh.it<0x20>
remove_duplicate_addrs2: looking for duplicate address/port pairs
namecache_store: storing 1 address for arca.home.irh.it#20: 10.243.20.254
directory_create_or_exist: mkdir failed on directory
/opt/local/var/lock/samba: No such file or directory
internal_resolve_name: returning 1 addresses: 10.243.20.254
Connecting to 10.243.20.254 at port 445
socket options: SO_KEEPALIVE=0, SO_REUSEADDR=0, SO_BROADCAST=0,
TCP_NODELAY=4, TCP_KEEPCNT=8, TCP_KEEPINTVL=75, IPTOS_LOWDELAY=0,
IPTOS_THROUGHPUT=0, SO_REUSEPORT=0, SO_SNDBUF=131768, SO_RCVBUF=131768,
SO_SNDLOWAT=2048, SO_RCVLOWAT=1, SO_SNDTIMEO=0, SO_RCVTIMEO=0
Password for [WORKGROUP\rainbow]:
cli_session_creds_prepare_krb5: Doing kinit for rainbow at WORKGROUP to
access arca.home.irh.it
kerberos_kinit_password_ext: as rainbow at WORKGROUP using
[MEMORY:cliconnect] as ccache and config [(null)]
Kinit for rainbow at WORKGROUP to access arca.home.irh.it failed: Cannot
contact any KDC for requested realm
cli_session_setup_spnego_send: Connect to arca.home.irh.it as
rainbow at WORKGROUP using SPNEGO
GENSEC backend 'gssapi_spnego' registered
GENSEC backend 'gssapi_krb5' registered
GENSEC backend 'gssapi_krb5_sasl' registered
GENSEC backend 'spnego' registered
GENSEC backend 'schannel' registered
GENSEC backend 'naclrpc_as_system' registered
GENSEC backend 'sasl-EXTERNAL' registered
GENSEC backend 'ntlmssp' registered
GENSEC backend 'ntlmssp_resume_ccache' registered
GENSEC backend 'http_basic' registered
GENSEC backend 'http_ntlm' registered
GENSEC backend 'http_negotiate' registered
Starting GENSEC mechanism spnego
Starting GENSEC submechanism gse_krb5
smb_gss_krb5_import_cred ccache[MEMORY:cliconnect] failed with [
Miscellaneous failure (see text): unknown mech-code 2 for mech 1 2 840
113554 1 2 2] -the caller may retry after a kinit.
===============================================================
INTERNAL ERROR: Signal 11: Segmentation fault: 11 in pid 34415 (4.15.5)
If you are running a recent Samba version, and if you think this problem
is not yet fixed in the latest versions, please consider reporting this
bug, see https://wiki.samba.org/index.php/Bug_Reporting
===============================================================
PANIC (pid 34415): Signal 11: Segmentation fault: 11 in 4.15.5
BACKTRACE: 29 stack frames:
#0 0 libsamba-util.0.dylib 0x000000010b279359
log_stack_trace + 52
#1 1 libsamba-util.0.dylib 0x000000010b279428 smb_panic +
14
#2 2 libsamba-util.0.dylib 0x000000010b27966f
BlockSignals + 0
#3 3 libsamba-util.0.dylib 0x000000010b2791c2
smb_panic_log + 0
#4 4 libsystem_platform.dylib 0x00007fff6347cb5d _sigtramp +
29
#5 5 ??? 0x00000001171783e0 0x0 +
4682384352
#6 6 libgssapi-samba4.2.dylib 0x000000010bcc78cf
gss_oid_equal + 50
#7 7 libgse-samba4.dylib 0x000000010b480892
gse_context_destructor + 252
#8 8 libtalloc.2.dylib 0x000000010aef1696
_tc_free_internal + 955
#9 9 libgse-samba4.dylib 0x000000010b47eca9
gensec_gse_client_start + 598
#10 10 libgensec-samba4.dylib 0x000000010b4e617b
gensec_start_mech + 248
#11 11 libgensec-samba4.dylib 0x000000010b4e87d5
gensec_spnego_client_negTokenInit_step + 122
#12 12 libgensec-samba4.dylib 0x000000010b4e868a
gensec_spnego_client_negTokenInit_start + 214
#13 13 libgensec-samba4.dylib 0x000000010b4e757e
gensec_spnego_update_send + 1280
#14 14 libgensec-samba4.dylib 0x000000010b4e4ac3
gensec_update_send + 260
#15 15 liblibsmb-samba4.dylib 0x000000010b0d82ab
cli_session_setup_gensec_local_next + 92
#16 16 liblibsmb-samba4.dylib 0x000000010b0d4dca
cli_session_setup_creds_send + 855
#17 17 liblibsmb-samba4.dylib 0x000000010b0d9d9e
cli_full_connection_creds_sess_start + 56
#18 18 libcli-smb-common-samba4.dylib 0x000000010bbc5932
smbXcli_negprot_smb2_done + 970
#19 19 libtevent.0.dylib 0x000000010b072007
tevent_common_invoke_immediate_handler + 196
#20 20 libtevent.0.dylib 0x000000010b0720a7
tevent_common_loop_immediate + 20
#21 21 libtevent.0.dylib 0x000000010b073cfe
poll_event_loop_once + 90
#22 22 libtevent.0.dylib 0x000000010b070e41
_tevent_loop_once + 204
#23 23 libtevent.0.dylib 0x000000010b072b09
tevent_req_poll + 40
#24 24 libtevent-util.0.dylib 0x000000010b31401b
tevent_req_poll_ntstatus + 15
#25 25 liblibsmb-samba4.dylib 0x000000010b0d7931
cli_full_connection_creds + 149
#26 26 mdsearch 0x000000010ae28e3a main + 983
#27 27 libdyld.dylib 0x00007fff632913d5 start + 1
#28 28 ??? 0x0000000000000009 0x0 + 9
Can not dump core: corepath not set up
}}}
Probably I need to send this upstream.
--
Ticket URL: <https://trac.macports.org/ticket/64814#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list