Skip to content

[Bug]: Cannot get or set policy from policy notification #1818

Description

@kuqin12

Is there an existing issue for this?

  • I have searched existing issues

Current Behavior

When a notification was hit through policy service, any get/set policy call will run into asserts due to reentrant of a lock acquisition operation.

Expected Behavior

The set operation is said to be supported inside a notification callback. So the lock should not be acquired recursively.

Steps To Reproduce

Register a call back and call get/set policy from inside the callback, the system will assert.

Build Environment

- OS(s): Win11
- Tool Chain(s): Any
- Targets Impacted: Any

Version Information

Top of main.

Urgency

Low

Are you going to fix this?

Someone else needs to fix it

Do you need maintainer feedback?

No maintainer feedback needed

Anything else?

No response

Metadata

Metadata

Assignees

Labels

state:needs-triageNeeds to triaged to determine next stepstype:bugSomething isn't workingurgency:lowLittle to no impact

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions