Thank you for the talloc dump.

I think I was able to identify a memory leak:
https://github.com/SSSD/sssd/pull/7822


On Tue, Feb 4, 2025 at 12:19 PM Alexey Tikhonov <[email protected]> wrote:

>
>
> On Mon, Feb 3, 2025 at 4:34 PM John Beranek via sssd-users <
> [email protected]> wrote:
>
>> So, that ran and produced a 0 byte file, and made sssd_kcm exit...
>>
>
> I've just tried this both on Fedora 41 and RHEL 9.5 and it works for me:
> ```
> # dnf debuginfo-install glibc sssd-common libtalloc
> ...
> # rpm -q sssd-common
> sssd-common-2.9.5-4.el9_5.4.x86_64
>
> # dnf install krb5-workstation gdb
> ...
> # klist
> klist: Credentials cache 'KCM:0' not found
>
> # PROCESS=$(pidof sssd_kcm)
> # FILE=/tmp/talloc.$PROCESS
> # gdb -quiet -batch -p $PROCESS \
>     -ex "set \$file = (FILE*)fopen(\"$FILE\", \"w+\")" \
>     -ex 'call (void) talloc_report_full(0, $file)' \
>     -ex 'detach' \
>     -ex 'quit'
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib64/libthread_db.so.1".
> 0x00007fec9f50e33a in epoll_wait (epfd=5, events=0x7ffe7c4c85dc,
> maxevents=1, timeout=9119) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
> 30  return SYSCALL_CANCEL (epoll_wait, epfd, events, maxevents, timeout);
> [Inferior 1 (process 4631) detached]
> [root@vm-10-0-184-105 ~]# ls -la /tmp/talloc.4631
> -rw-------. 1 root root 13851 Feb  4 06:14 /tmp/talloc.4631
>
> # head -n 3 /tmp/talloc.4631
> full talloc report on 'null_context' (total   9884 bytes in 127 blocks)
>     struct ops_list_entry          contains     16 bytes in   1 blocks
> (ref 0) 0x55f438a42b40
>     struct ops_list_entry          contains     16 bytes in   1 blocks
> (ref 0) 0x55f438a423a0
> ```
>
> Btw, what is the difference in Oracle's 2.9.5-4.0.1.el9_5.4 as compared
> with stock RHEL's 2.9.5-4.el9_5.4?
>
>
>
-- 
_______________________________________________
sssd-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to