Issue 9907 - lloadd config/shutdown leaks
Summary: lloadd config/shutdown leaks
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: lloadd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: 2.6.4
Assignee: Ondřej Kuzník
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-01 09:04 UTC by Ondřej Kuzník
Modified: 2023-02-09 18:51 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Ondřej Kuzník 2022-09-01 09:04:23 UTC
lloadd leaks some memory in cn=config and at shutdown time. Fixes coming
Comment 1 Ondřej Kuzník 2022-09-01 09:06:13 UTC
Picked up by running lloadd with clang's -fsanitise=address which also picked up some symbol conflicts between lloadd/slapd.
Comment 3 Quanah Gibson-Mount 2022-09-12 20:50:15 UTC
head:

  • ad79add5 
by Ondřej Kuzník at 2022-09-01T10:09:19+01:00 
ITS#9907 Do not redefine variables inherited from slapd

  • ad79add5 
by Ondřej Kuzník at 2022-09-01T10:09:19+01:00 
ITS#9907 Do not redefine variables inherited from slapd

  • 9014e8bb 
by Ondřej Kuzník at 2022-09-02T12:56:25+01:00 
ITS#9907 Do not redefine variables inherited from slapd


RE26:

  • ce5d5641 
by Ondřej Kuzník at 2022-09-12T20:42:37+00:00 
ITS#9907 Do not redefine variables inherited from slapd

  • 63afbc1d 
by Ondřej Kuzník at 2022-09-12T20:42:44+00:00 
ITS#9907 Plug shutdown related leaks in lloadd

  • a35b935a 
by Ondřej Kuzník at 2022-09-12T20:45:15+00:00 
ITS#9907 Do not redefine variables inherited from slapd
Comment 4 Quanah Gibson-Mount 2022-09-26 16:31:35 UTC
  • 034225ff 
by Ondřej Kuzník at 2022-09-15T17:33:39+01:00 
ITS#9907 Some tools consider abandoned global data a leak
Comment 5 Howard Chu 2022-10-11 17:06:31 UTC
Apparently this causes lloadd to SEGV on shutdown, at least on arm64 MacOSX. (Noticed as part of ITS#9931)
Comment 6 Quanah Gibson-Mount 2022-10-13 16:11:01 UTC
head:

  • 13d9c925 
by Ondřej Kuzník at 2022-10-12T17:36:12+00:00 
ITS#9907 Move TLS context cleanup into lload_global_destroy



RE26:

  • b0503315 
by Ondřej Kuzník at 2022-10-13T15:45:21+00:00 
ITS#9907 Move TLS context cleanup into lload_global_destroy