You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Marton Szasz (Jira)" <ji...@apache.org> on 2021/01/21 15:52:15 UTC

[jira] [Updated] (MINIFICPP-1116) Segfault when trying to use non-existent C2 protocol class

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

Marton Szasz updated MINIFICPP-1116:
------------------------------------
    Fix Version/s:     (was: 0.8.0)
                   0.9.0

> Segfault when trying to use non-existent C2 protocol class
> ----------------------------------------------------------
>
>                 Key: MINIFICPP-1116
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1116
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: Bug
>    Affects Versions: master
>         Environment: Ubuntu 18.04.3 LTS
>            Reporter: Marton Szasz
>            Assignee: Marton Szasz
>            Priority: Minor
>             Fix For: 0.9.0
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> h3. Steps to reproduce:
>  # Compile minifi-cpp with no CoAP support
>  # Configure C2 with {{nifi.c2.agent.protocol.class=CoapProtocol}}
>  # Start MiNiFi C++
> h3. Expected behavior:
> Print an error message to stderr, produce a log message with log level of at least error and exit. Alternatively, produce a log message with log level of at least warning and continue execution without C2.
> h3. Actual behavior:
> No output on stderr.
>  Error message logged with log level info.
>  Segmentation fault in {{C2Agent.cpp:329}}, trying to dereference {{C2Agent::protocol_}}, but it's null.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)