Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module_adapter: fix double-free of base_cfg_ext data #8790

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

kv2019i
Copy link
Collaborator

@kv2019i kv2019i commented Jan 25, 2024

Fix handling of input_pins free. Module reset can be called multiple times, so move the resource release to module_adapter_free().

Fixes: 7046004 ("module_adapter_ipc4: Save and pre-parse base_cfg_ext data")

@kv2019i
Copy link
Collaborator Author

kv2019i commented Jan 25, 2024

@kv2019i
Copy link
Collaborator Author

kv2019i commented Jan 25, 2024

System/merge/build failed on 06_00_TestHdaCodecLoopback on TGL, but seems to be an infra issue ("Unhandled Exception: System.BadImageFormatException: Could not load file or assembly" -- the test run itself went through on the DSP without errors).

@kv2019i kv2019i mentioned this pull request Jan 25, 2024
Fix handling of input_pins free. Module reset can be called multiple times,
so move the resource release to module_adapter_free().

Fixes: 7046004 ("module_adapter_ipc4: Save and pre-parse base_cfg_ext data")
Signed-off-by: Kai Vehmanen <[email protected]>
@kv2019i kv2019i force-pushed the 202401-fix-module-adapter3 branch from 09b8b65 to 08edfff Compare January 25, 2024 13:46
@kv2019i
Copy link
Collaborator Author

kv2019i commented Jan 25, 2024

V2:

  • no codechange, just a rebase to retrigger the Intel quickbuild CI that failed (I checked, seems to be an infra issue unrelated to the PR, but we'll know soon enough whether this is correct or not)

@kv2019i kv2019i merged commit c3da4e3 into thesofproject:main Jan 25, 2024
39 of 44 checks passed
@marc-hb
Copy link
Collaborator

marc-hb commented Jan 25, 2024

as seen on ...

A lot more sample failures listed in bug number #8721 which was missing from the description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants