Opened 3 weeks ago

Last modified 3 days ago

#72563 new defect

samba4 @4.22.1+universal: crashes on startup on Sequoia 15.5

Reported by: acediac (Acediac) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.7
Keywords: Cc: iamGavinJ (GΛVĪN), i0ntempest
Port: Samba4

Description (last modified by acediac (Acediac))

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

Change History (9)

comment:1 Changed 3 weeks ago by acediac (Acediac)

Summary: samba4samba4 crashes

comment:2 Changed 3 weeks ago by acediac (Acediac)

Port: Samba4 added
Version: 2.10.7

comment:3 Changed 3 weeks ago by acediac (Acediac)

Summary: samba4 crashessamba4 @4.22.1+universal: crashes on startup

comment:4 Changed 3 weeks ago by acediac (Acediac)

Summary: samba4 @4.22.1+universal: crashes on startupsamba4 @4.22.1+universal: crashes on startup on Sequoia 15.5

comment:5 Changed 3 weeks ago by acediac (Acediac)

Description: modified (diff)

comment:6 Changed 9 days ago by iamGavinJ (GΛVĪN)

Cc: iamGavinJ added

comment:7 Changed 9 days ago by iamGavinJ (GΛVĪN)

+1 also seeing this macOS 15.5 / M4 Max Mac Studio [aarch64]

comment:8 Changed 9 days ago by iamGavinJ (GΛVĪN)

Also happens on 4.22.2 upstream

Builtin modules:
   vfs_default vfs_not_implemented auth_builtin auth_sam auth_winbind pdb_smbpasswd pdb_tdbsam auth_unix nss_info_template idmap_tdb idmap_passdb idmap_nss pdb_samba_dsdb auth_samba4 vfs_dfs_samba4 pdb_ldapsam idmap_ldap charset_macosxfs
get_current_groups: user is in 25 groups: 0, 1, 2, 3, 4, 5, 8, 9, 12, 20, 29, 61, 80, 101, 206, 33, 98, 100, 204, 250, 395, 398, 399, 400, 701
===============================================================
INTERNAL ERROR: Signal 6: Abort trap: 6 in smbd () () pid 31465 (4.22.2)
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 31465): Signal 6: Abort trap: 6 in 4.22.2
BACKTRACE: 15 stack frames:
 #0 0   libgenrand-private-samba.dylib      0x0000000105822d70 log_stack_trace + 52
 #1 1   libgenrand-private-samba.dylib      0x0000000105822e38 smb_panic + 20
 #2 2   libgenrand-private-samba.dylib      0x0000000105822c4c smb_panic_log + 0
 #3 3   libsystem_platform.dylib            0x000000019a26c624 _sigtramp + 56
 #4 4   libsystem_pthread.dylib             0x000000019a23288c pthread_kill + 296
 #5 5   libsystem_c.dylib                   0x000000019a13bc60 abort + 124
 #6 6   libtalloc-tevent.dylib              0x0000000106772eac _tc_free_internal + 0
 #7 7   libtalloc-tevent.dylib              0x0000000106772e5c __talloc_with_prefix + 564
 #8 8   libtalloc-tevent.dylib              0x000000010677084c talloc_named_const + 52
 #9 9   libtevent.0.16.2.dylib              0x00000001069c0524 _tevent_create_immediate + 32
 #10 10  libsmbconf.0.0.1.dylib              0x0000000104ef7348 messaging_register_event_context + 92
 #11 11  libsmbconf.0.0.1.dylib              0x0000000104ef6058 messaging_init + 264
 #12 12  libsmbconf.0.0.1.dylib              0x0000000104efeac4 global_messaging_context + 40
 #13 13  smbd                                0x0000000104bbe870 main + 880
 #14 14  dyld                                0x0000000199e92b98 start + 6076
dumping core in /opt/local/var/log/samba/cores/smbd
zsh: abort      smbd --debuglevel=10 --debug-stdout --interactive --foreground

comment:9 Changed 3 days ago by i0ntempest

Cc: i0ntempest added
Note: See TracTickets for help on using tickets.