Samba 4.22.1 crashes on my Sequoia 15.5 (arm64)
Both nmbd and smbd crash in similar ways immediately when run.
Taking a hint from the other ticket, I tried compiling talloc, tevent and tdb myself and replacing the dylbs but no dice.
Can anyone replicate or have any ideas?
Log from /opt/local/var/log/samba/log.smbd:
smbd version 4.22.1 started.
Copyright Andrew Tridgell and the Samba Team 1992-2025
[2025/06/01 22:51:55.432088, 0] ../../lib/util/fault.c:178(smb_panic_log)
===============================================================
[2025/06/01 22:51:55.432100, 0] ../../lib/util/fault.c:185(smb_panic_log)
INTERNAL ERROR: Signal 6: Abort trap: 6 in smbd () () pid 2708 (4.22.1)
[2025/06/01 22:51:55.432109, 0] ../../lib/util/fault.c:190(smb_panic_log)
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
[2025/06/01 22:51:55.432116, 0] ../../lib/util/fault.c:191(smb_panic_log)
===============================================================
[2025/06/01 22:51:55.432123, 0] ../../lib/util/fault.c:193(smb_panic_log)
PANIC (pid 2708): Signal 6: Abort trap: 6 in 4.22.1
[2025/06/01 22:51:55.432182, 0] ../../lib/util/fault.c:304(log_stack_trace)
BACKTRACE: 15 stack frames:
#0 0 libgenrand-private-samba.dylib 0x000000010564b3cc log_stack_trace + 52
#1 1 libgenrand-private-samba.dylib 0x000000010564b4bc smb_panic + 20
#2 2 libgenrand-private-samba.dylib 0x000000010564b200 smb_panic_log + 0
#3 3 libsystem_platform.dylib 0x00000001882f0624 _sigtramp + 56
#4 4 libsystem_pthread.dylib 0x00000001882b688c pthread_kill + 296
#5 5 libsystem_c.dylib 0x00000001881bfc60 abort + 124
#6 6 libtalloc-tevent.dylib 0x000000010677eeac _tc_free_internal + 0
#7 7 libtalloc-tevent.dylib 0x000000010677ee5c __talloc_with_prefix + 564
#8 8 libtalloc-tevent.dylib 0x000000010677c84c talloc_named_const + 52
#9 9 libtevent.0.16.2.dylib 0x0000000106798524 _tevent_create_immediate + 32
#10 10 libsmbconf.0.0.1.dylib 0x0000000104c5069c messaging_register_event_context + 92
#11 11 libsmbconf.0.0.1.dylib 0x0000000104c4ef6c messaging_init + 264
#12 12 libsmbconf.0.0.1.dylib 0x0000000104c5907c global_messaging_context + 40
#13 13 smbd 0x0000000104923810 main + 876
#14 14 dyld 0x0000000187f16b98 start + 6076
[2025/06/01 22:51:55.432254, 0] ../../source3/lib/dumpcore.c:316(dump_core)
dumping core in /opt/local/var/log/samba/cores/smbd
Log from /opt/local/var/log/samba/log.nmbd:
nmbd version 4.22.1 started.
Copyright Andrew Tridgell and the Samba Team 1992-2025
[2025/06/01 23:01:32.507266, 0] ../../lib/util/fault.c:178(smb_panic_log)
===============================================================
[2025/06/01 23:01:32.507278, 0] ../../lib/util/fault.c:185(smb_panic_log)
INTERNAL ERROR: Signal 6: Abort trap: 6 in nmbd () () pid 2859 (4.22.1)
[2025/06/01 23:01:32.507288, 0] ../../lib/util/fault.c:190(smb_panic_log)
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
[2025/06/01 23:01:32.507297, 0] ../../lib/util/fault.c:191(smb_panic_log)
===============================================================
[2025/06/01 23:01:32.507304, 0] ../../lib/util/fault.c:193(smb_panic_log)
PANIC (pid 2859): Signal 6: Abort trap: 6 in 4.22.1
[2025/06/01 23:01:32.507381, 0] ../../lib/util/fault.c:304(log_stack_trace)
BACKTRACE: 14 stack frames:
#0 0 libgenrand-private-samba.dylib 0x00000001031633cc log_stack_trace + 52
#1 1 libgenrand-private-samba.dylib 0x00000001031634bc smb_panic + 20
#2 2 libgenrand-private-samba.dylib 0x0000000103163200 smb_panic_log + 0
#3 3 libsystem_platform.dylib 0x00000001882f0624 _sigtramp + 56
#4 4 libsystem_pthread.dylib 0x00000001882b688c pthread_kill + 296
#5 5 libsystem_c.dylib 0x00000001881bfc60 abort + 124
#6 6 libtalloc-tevent.dylib 0x0000000103a06eac _tc_free_internal + 0
#7 7 libtalloc-tevent.dylib 0x0000000103a06e5c __talloc_with_prefix + 564
#8 8 libtalloc-tevent.dylib 0x0000000103a0484c talloc_named_const + 52
#9 9 libtevent.0.16.2.dylib 0x0000000103d70524 _tevent_create_immediate + 32
#10 10 libsmbconf.0.0.1.dylib 0x00000001029c469c messaging_register_event_context + 92
#11 11 libsmbconf.0.0.1.dylib 0x00000001029c2f6c messaging_init + 264
#12 12 nmbd 0x0000000102849000 main + 832
#13 13 dyld 0x0000000187f16b98 start + 6076
[2025/06/01 23:01:32.507459, 0] ../../source3/lib/dumpcore.c:316(dump_core)
dumping core in /opt/local/var/log/samba/cores/nmbd
+1 also seeing this
macOS 15.5 / M4 Max Mac Studio [aarch64]