GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [DO NOT MERGE] DPL: run framework test through leaks on macos by aalkin · Pull Request #15955 · AliceO2Group/AliceO2

Conversation

@aalkin

@aalkin aalkin commented Oct 14, 2026

Copy link
Copy Markdown
Member

XCode provide a convenient command-line memory leak detection utility. This change wraps framework:core test with it. There is plenty of memory leaks which means the test fails, this PR will be used to monitor gradual fixing of the leaks.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@aalkin
aalkin requested a review from a team as a code owner October 14, 2026 08:47
ktf
ktf previously approved these changes Oct 14, 2026
View reviewed changes

@ktf ktf left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine with me if passes the tests.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
aalkin and others added 7 commits October 14, 2026 14:21
@aalkin
DPL: run framework test through leaks on macos
271c627
@aalkin @claude
Store service names as std::string in ServiceRegistry
be01fc2
Meta::name was a strdup'ed char const* that was never freed. Use std::string.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@aalkin @claude
Do not leak frames in TestWSHandler
517b4da
TestWSHandler stored strdup'ed copies of every frame and never freed them.
Keep the frames in a std::vector<std::string> instead.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@aalkin @claude
Free encoded websocket chunks in test_HTTPParser
4569fff
The buffers produced by encode_websocket_frames are malloc'ed and were never
released. Free them at the end of each test block.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@aalkin @claude
Do not leak input buffers in test_HTTPParser
56953ec
Request and frame inputs were strdup'ed and never freed. Use string_view on
literals, make parse_http_request take char const*, and free the malloc'ed
buffers.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@aalkin @claude
Delete deserialized ROOT objects in test_DataRefUtils
aa07fd8
The objects returned by the deserialization helpers were never deleted.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@aalkin @claude
Free input messages in test_InputRecord
7931f5e
The inputs array allocated by the test was never released.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@aalkin
aalkin dismissed ktf’s stale review via 7931f5e October 14, 2026 12:22
@aalkin
aalkin force-pushed the add-leaks-test-on-macos branch from 65aa13d to 7931f5e Compare October 14, 2026 12:22
@alibuild alibuild mentioned this pull request Oct 14, 2026
Please consider the following formatting changes to #15955 aalkin/AliceO2#158
Closed
@alibuild

alibuild commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2/fullCI_slc9 for 65aa13d at 2026-10-14 16:54:

## sw/BUILD/O2Physics-latest/log
CMake Error at PWGHF/HFL/Tasks/cmake_install.cmake:244 (file):

Full log here.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@aalkin
aalkin marked this pull request as draft October 16, 2026 12:26

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@ktf ktf ktf left review comments

At least 1 approving review is required to merge this pull request.

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@aalkin @alibuild @ktf
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.