[MacPorts] #72358: samba4 4.22: smbd crashes (since 4.21.x)
MacPorts
noreply at macports.org
Thu Apr 17 21:13:50 UTC 2025
#72358: samba4 4.22: smbd crashes (since 4.21.x)
------------------------+------------------------
Reporter: CL-Jeremy | Owner: mohd-akram
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Resolution: | Keywords:
Port: samba4 |
------------------------+------------------------
Comment (by CL-Jeremy):
Sorry, upon further investigation, this files above should be considered
arm64-bound, which is totally different from what I previously had.
I did a cross-test with Homebrew and found out the following:
- arm64 (macOS 14.7.4): Homebrew samba 4.20.4 4.21.2 4.22.0 all work;
MacPorts samba4 4.22.0 as well as my samba420 4.20.8 crash with the above
stack trace.
- x86_64 (macOS 15.4): Homebrew samba 4.22.0 works perfectly; MacPorts
samba4 4.22.0 works perfectly.
- x86_64 (macOS 10.15.7): My samba420 4.20.7 4.20.8 work perfectly,
official MacPorts samba4 4.21.2 4.22.0 crash.
A new crash log for 4.22.0 on macOS 10.15.7:
{{{
% sudo /opt/local/sbin/smbd -i -F --debug-stdout
Password:
smbd version 4.22.0 started.
Copyright Andrew Tridgell and the Samba Team 1992-2025
===============================================================
INTERNAL ERROR: Signal 6: Abort trap: 6 in smbd () () pid 54473 (4.22.0)
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 54473): Signal 6: Abort trap: 6 in 4.22.0
BACKTRACE: 16 stack frames:
#0 0 libgenrand-private-samba.dylib 0x000000010dfdf28b
log_stack_trace + 52
#1 1 libgenrand-private-samba.dylib 0x000000010dfdf35a smb_panic +
14
#2 2 libgenrand-private-samba.dylib 0x000000010dfdf3df
BlockSignals + 0
#3 3 libgenrand-private-samba.dylib 0x000000010dfdf0bc
smb_panic_log + 0
#4 4 libsystem_platform.dylib 0x00007fff6e76c5fd _sigtramp +
29
#5 5 libtalloc-tevent.dylib 0x000000010f935148
_dyld_private + 0
#6 6 libsystem_c.dylib 0x00007fff6e642808 abort + 120
#7 7 libtalloc-tevent.dylib 0x000000010f932cfb
_tc_free_internal + 0
#8 8 libtalloc-tevent.dylib 0x000000010f932cab
__talloc_with_prefix + 616
#9 9 libtalloc-tevent.dylib 0x000000010f93090b
talloc_named_const + 27
#10 10 libtevent.0.dylib 0x000000010f3c056f
_tevent_create_immediate + 26
#11 11 libsmbconf.0.dylib 0x000000010d3a47c3
messaging_register_event_context + 149
#12 12 libsmbconf.0.dylib 0x000000010d3a312b
messaging_init + 297
#13 13 libsmbconf.0.dylib 0x000000010d3acaed
global_messaging_context + 31
#14 14 smbd 0x000000010ce9250f main +
1090
#15 15 libdyld.dylib 0x00007fff6e573cc9 start + 1
dumping core in /opt/local/var/log/samba/cores/smbd
zsh: abort sudo /opt/local/sbin/smbd -i -F --debug-stdout
}}}
--
Ticket URL: <https://trac.macports.org/ticket/72358#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list