[ 
https://issues.apache.org/jira/browse/MINIFICPP-9?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aldrin Piri resolved MINIFICPP-9.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 0.3.0

> Shutdown can cause ProcessSessionFactory pointer to be deleted during use, 
> causing page fault at shutdown
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: MINIFICPP-9
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-9
>             Project: NiFi MiNiFi C++
>          Issue Type: Bug
>            Reporter: marco polo
>            Assignee: marco polo
>            Priority: Blocker
>             Fix For: 0.3.0
>
>
> If a thread within a processor uses the process session factory to create a 
> session, the pointer will result in an invalid memory access, causing a seg 
> fault. This is because the raw pointer is passed around and deleted. We 
> should either convert this to a shared pointer or be more mindful of the 
> variable's lifecycle given the complexity of processors will only ever 
> increase. Further, we should not be deleting infrastructure components 
> without ensuring all processors are finished. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to