marco polo created MINIFI-378: --------------------------------- Summary: Shutdown can cause ProcessSessionFactory pointer to be deleted causing page fault at shutdown Key: MINIFI-378 URL: https://issues.apache.org/jira/browse/MINIFI-378 Project: Apache NiFi MiNiFi Issue Type: Bug Components: C++ Reporter: marco polo Assignee: marco polo Priority: Blocker
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)