[Samba] Core dumped on Samba 4.14.9

Douglas Bagnall douglas.bagnall at catalyst.net.nz
Thu Apr 7 23:50:32 UTC 2022

hi Thomas,

Because you are triggering it with samba-tool...

> samba-tool user show thkam
> ===============================================================
> INTERNAL ERROR: Signal 11: Segmentation fault in pid 1229 (4.14.9)

and the crash is in Samba Python bindings...

>   #56 _PyInterpreterState_Get + 0x191 [ip=0x67e471] [sp=0x7ffcc6d42920]
>   #57 PyRun_SimpleFileExFlags + 0x197 [ip=0x67e817] [sp=0x7ffcc6d42970]
>   #58 Py_RunMain + 0x212 [ip=0x6b6fe2] [sp=0x7ffcc6d429f0]
>   #59 Py_BytesMain + 0x2d [ip=0x6b736d] [sp=0x7ffcc6d42ac0]
>   #60 __libc_start_main + 0xf3 [ip=0x7fc2005840b3] [sp=0x7ffcc6d42af0]
>   #61 _start + 0x2e [ip=0x5fa5ce] [sp=0x7ffcc6d42bc0]
> Aborted (core dumped)

I don't think the DC process itself is crashing. (That's good).

It looks to be caused by an attempt to load an invalid .so file:

>  #12 _dl_catch_error + 0x33 [ip=0x7fc2006c0903] [sp=0x7ffcc6d40e40]
>  #13 dlerror + 0x319 [ip=0x7fc200538b59] [sp=0x7ffcc6d40e80]
>  #14 dlopen + 0x4a [ip=0x7fc2005383da] [sp=0x7ffcc6d40ea0]
>  #15 ldb_modules_load_path + 0x3a9 [ip=0x7fc1ffb19471] [sp=0x7ffcc6d40ee0]

which could mean your ldb package is very out of sync with Samba, or (more 
likely, I think) there is some kind of filesystem or memory corruption. 
Ldb makes attempts to cope with dynamic libraries being broken in normal 
ways (e.g. not existing), so it seems something very odd has happened. 
That is of course consistent with your oVirt theory.


More information about the samba mailing list