[ 
https://issues.apache.org/jira/browse/MINIFICPP-990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16897484#comment-16897484
 ] 

Mr TheSegfault commented on MINIFICPP-990:
------------------------------------------

Thanks for debugging. I always assumed the issue is that we wait on the sem, 
close it then unlink it before unloading flow controller, meaning when we 
sem_post, the semaphore won't exist. We should likely move those sem close and 
sem unlink after "MiNiFi exit"  – but I haven't actually debugged it myself. I 
always made a mental note to "look into it" but never did.

> Segfault on SIGINT after shutdown initiated 
> --------------------------------------------
>
>                 Key: MINIFICPP-990
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-990
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: Bug
>            Reporter: Andrew Christianson
>            Priority: Major
>
> If I send a SIGINT (ctrl-c) to MiNiFI, MiNiFi begins shutdown. If I send 
> another SIGINT while that shutdown is in progress, MiNiFi crashes with a 
> segfault.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to