[
https://issues.apache.org/jira/browse/MINIFICPP-2487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adam Debreceni updated MINIFICPP-2487:
--------------------------------------
Description: PyException holds a reference to the python exception object,
when it escapes the scope of GIL (into an outer catch block) its destruction
crashes the application and the python library logs the reason as not holding
the lock, this can occur when e.g. the describe function is malformed (declared
with the incorrect number of positional arguments)
> Destroy PyException while holding GIL
> --------------------------------------
>
> Key: MINIFICPP-2487
> URL: https://issues.apache.org/jira/browse/MINIFICPP-2487
> Project: Apache NiFi MiNiFi C++
> Issue Type: Bug
> Reporter: Adam Debreceni
> Assignee: Adam Debreceni
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> PyException holds a reference to the python exception object, when it escapes
> the scope of GIL (into an outer catch block) its destruction crashes the
> application and the python library logs the reason as not holding the lock,
> this can occur when e.g. the describe function is malformed (declared with
> the incorrect number of positional arguments)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)