Skip to content

Conversation

@jhkim-pii
Copy link

Problem

If disconnect_pin is called for a pin w/ SDC, segmentation fault occurs.

Cause

Sdc::pin_exception_ has been added recently, but it may not be unrecorded appropriately.
Sdc::recordExceptionPins(ExceptionPath *exception) does not have its counter-part Sdc::unrecordExceptionPins(ExceptionPath *exception).

Solution

Implemented Sdc::unrecordExceptionPins(ExceptionPath *exception).
Called it in Sdc::unrecordException(ExceptionPath *exception).
This can resolve the crash.

Fixes #327

@CLAassistant
Copy link

CLAassistant commented Nov 10, 2025

CLA assistant check
All committers have signed the CLA.

@jhkim-pii jhkim-pii changed the title Added Sdc::unrecordExceptionPins(ExceptionPath*) to resolve a crash sdc: Add unrecordExceptionPins(ExceptionPath*) to resolve a crash Nov 10, 2025
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.

Crash during disconnect_pin on a pin w/ SDC

2 participants