[jira] [Commented] (MINIFICPP-355) Starting minifi on arm fails quietly
[ https://issues.apache.org/jira/browse/MINIFICPP-355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16312289#comment-16312289 ] ASF GitHub Bot commented on MINIFICPP-355: -- Github user asfgit closed the pull request at: https://github.com/apache/nifi-minifi-cpp/pull/227 > Starting minifi on arm fails quietly > > > Key: MINIFICPP-355 > URL: https://issues.apache.org/jira/browse/MINIFICPP-355 > Project: NiFi MiNiFi C++ > Issue Type: Bug >Affects Versions: 0.3.0 > Environment: raspberry pi zero w - arm >Reporter: Joseph Witt > Attachments: config.yml, minifi-app.log > > > During startup the process quietly dies. Aldrin showed me the cool process > to gather more data > gdb bin/minifi > -> run > -> backtrace > which yields > {quote} > [Thread 0xb0eff160 (LWP 24133) exited] > [Thread 0xb2eff160 (LWP 24138) exited] > Thread 1 "minifi" received signal SIGSEGV, Segmentation fault. > strlen () at ../sysdeps/arm/armv6/strlen.S:26 > 26../sysdeps/arm/armv6/strlen.S: No such file or directory. > (gdb) backtrace > #0 strlen () at ../sysdeps/arm/armv6/strlen.S:26 > #1 0xb64f0690 in _IO_vfprintf_internal (s=s@entry=0xbeffc3c0, > format=format@entry=0x609884 "Setting %d as the max queue size for %s", > ap=..., ap@entry=...) > at vfprintf.c:1637 > #2 0xb6513d2c in _IO_vsnprintf (string=0xbeffc4f0 "Setting 0 as the max > queue size for p => [success]", maxlen=, > format=0x609884 "Setting %d as the max queue size for %s", > format@entry=0xbeffcac8 "\330\033\207", args=..., args@entry=...) at > vsnprintf.c:114 > #3 0xb64f5b18 in __snprintf (s=, maxlen=, > format=0x609884 "Setting %d as the max queue size for %s") at snprintf.c:33 > #4 0x00284a4c in std::__cxx11::basic_stringstd::allocator > > org::apache::nifi::minifi::core::logging::format_string const*>(char const*, long long&&, char const*&&) [clone .isra.369] () > #5 0x00285dec in void > org::apache::nifi::minifi::core::logging::Logger::log std::__cxx11::basic_string > >(spdlog::level::level_enum, char const*, long long const&, > std::__cxx11::basic_string > const&) () > #6 0x0027efb4 in > org::apache::nifi::minifi::core::YamlConfiguration::parseConnectionYaml(YAML::Node*, > org::apache::nifi::minifi::core::ProcessGroup*) () > #7 0x0025ef3c in > org::apache::nifi::minifi::core::YamlConfiguration::getYamlRoot(YAML::Node*) > () > #8 0x0025f230 in > org::apache::nifi::minifi::core::YamlConfiguration::getRoot(std::__cxx11::basic_string std::char_traits, std::allocator > const&) () > #9 0x002965b8 in org::apache::nifi::minifi::FlowController::load() () > #10 0x00161998 in main () > {quote} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (MINIFICPP-355) Starting minifi on arm fails quietly
[ https://issues.apache.org/jira/browse/MINIFICPP-355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16312058#comment-16312058 ] ASF GitHub Bot commented on MINIFICPP-355: -- Github user joewitt commented on the issue: https://github.com/apache/nifi-minifi-cpp/pull/227 +1 > Starting minifi on arm fails quietly > > > Key: MINIFICPP-355 > URL: https://issues.apache.org/jira/browse/MINIFICPP-355 > Project: NiFi MiNiFi C++ > Issue Type: Bug >Affects Versions: 0.3.0 > Environment: raspberry pi zero w - arm >Reporter: Joseph Witt > Attachments: config.yml, minifi-app.log > > > During startup the process quietly dies. Aldrin showed me the cool process > to gather more data > gdb bin/minifi > -> run > -> backtrace > which yields > {quote} > [Thread 0xb0eff160 (LWP 24133) exited] > [Thread 0xb2eff160 (LWP 24138) exited] > Thread 1 "minifi" received signal SIGSEGV, Segmentation fault. > strlen () at ../sysdeps/arm/armv6/strlen.S:26 > 26../sysdeps/arm/armv6/strlen.S: No such file or directory. > (gdb) backtrace > #0 strlen () at ../sysdeps/arm/armv6/strlen.S:26 > #1 0xb64f0690 in _IO_vfprintf_internal (s=s@entry=0xbeffc3c0, > format=format@entry=0x609884 "Setting %d as the max queue size for %s", > ap=..., ap@entry=...) > at vfprintf.c:1637 > #2 0xb6513d2c in _IO_vsnprintf (string=0xbeffc4f0 "Setting 0 as the max > queue size for p => [success]", maxlen=, > format=0x609884 "Setting %d as the max queue size for %s", > format@entry=0xbeffcac8 "\330\033\207", args=..., args@entry=...) at > vsnprintf.c:114 > #3 0xb64f5b18 in __snprintf (s=, maxlen=, > format=0x609884 "Setting %d as the max queue size for %s") at snprintf.c:33 > #4 0x00284a4c in std::__cxx11::basic_stringstd::allocator > > org::apache::nifi::minifi::core::logging::format_string const*>(char const*, long long&&, char const*&&) [clone .isra.369] () > #5 0x00285dec in void > org::apache::nifi::minifi::core::logging::Logger::log std::__cxx11::basic_string > >(spdlog::level::level_enum, char const*, long long const&, > std::__cxx11::basic_string > const&) () > #6 0x0027efb4 in > org::apache::nifi::minifi::core::YamlConfiguration::parseConnectionYaml(YAML::Node*, > org::apache::nifi::minifi::core::ProcessGroup*) () > #7 0x0025ef3c in > org::apache::nifi::minifi::core::YamlConfiguration::getYamlRoot(YAML::Node*) > () > #8 0x0025f230 in > org::apache::nifi::minifi::core::YamlConfiguration::getRoot(std::__cxx11::basic_string std::char_traits, std::allocator > const&) () > #9 0x002965b8 in org::apache::nifi::minifi::FlowController::load() () > #10 0x00161998 in main () > {quote} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (MINIFICPP-355) Starting minifi on arm fails quietly
[ https://issues.apache.org/jira/browse/MINIFICPP-355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16312030#comment-16312030 ] ASF GitHub Bot commented on MINIFICPP-355: -- Github user minifirocks commented on the issue: https://github.com/apache/nifi-minifi-cpp/pull/227 looks good, can we merge into 1 commit > Starting minifi on arm fails quietly > > > Key: MINIFICPP-355 > URL: https://issues.apache.org/jira/browse/MINIFICPP-355 > Project: NiFi MiNiFi C++ > Issue Type: Bug >Affects Versions: 0.3.0 > Environment: raspberry pi zero w - arm >Reporter: Joseph Witt > Attachments: config.yml, minifi-app.log > > > During startup the process quietly dies. Aldrin showed me the cool process > to gather more data > gdb bin/minifi > -> run > -> backtrace > which yields > {quote} > [Thread 0xb0eff160 (LWP 24133) exited] > [Thread 0xb2eff160 (LWP 24138) exited] > Thread 1 "minifi" received signal SIGSEGV, Segmentation fault. > strlen () at ../sysdeps/arm/armv6/strlen.S:26 > 26../sysdeps/arm/armv6/strlen.S: No such file or directory. > (gdb) backtrace > #0 strlen () at ../sysdeps/arm/armv6/strlen.S:26 > #1 0xb64f0690 in _IO_vfprintf_internal (s=s@entry=0xbeffc3c0, > format=format@entry=0x609884 "Setting %d as the max queue size for %s", > ap=..., ap@entry=...) > at vfprintf.c:1637 > #2 0xb6513d2c in _IO_vsnprintf (string=0xbeffc4f0 "Setting 0 as the max > queue size for p => [success]", maxlen=, > format=0x609884 "Setting %d as the max queue size for %s", > format@entry=0xbeffcac8 "\330\033\207", args=..., args@entry=...) at > vsnprintf.c:114 > #3 0xb64f5b18 in __snprintf (s=, maxlen=, > format=0x609884 "Setting %d as the max queue size for %s") at snprintf.c:33 > #4 0x00284a4c in std::__cxx11::basic_stringstd::allocator > > org::apache::nifi::minifi::core::logging::format_string const*>(char const*, long long&&, char const*&&) [clone .isra.369] () > #5 0x00285dec in void > org::apache::nifi::minifi::core::logging::Logger::log std::__cxx11::basic_string > >(spdlog::level::level_enum, char const*, long long const&, > std::__cxx11::basic_string > const&) () > #6 0x0027efb4 in > org::apache::nifi::minifi::core::YamlConfiguration::parseConnectionYaml(YAML::Node*, > org::apache::nifi::minifi::core::ProcessGroup*) () > #7 0x0025ef3c in > org::apache::nifi::minifi::core::YamlConfiguration::getYamlRoot(YAML::Node*) > () > #8 0x0025f230 in > org::apache::nifi::minifi::core::YamlConfiguration::getRoot(std::__cxx11::basic_string std::char_traits, std::allocator > const&) () > #9 0x002965b8 in org::apache::nifi::minifi::FlowController::load() () > #10 0x00161998 in main () > {quote} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (MINIFICPP-355) Starting minifi on arm fails quietly
[ https://issues.apache.org/jira/browse/MINIFICPP-355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16300815#comment-16300815 ] ASF GitHub Bot commented on MINIFICPP-355: -- GitHub user phrocker opened a pull request: https://github.com/apache/nifi-minifi-cpp/pull/227 MINIFICPP-355: Resolve issue with 32-bit systems using strtol convert… …ing to long long. Change log to INFO by default Disable C2 services to we don't consume unnecessary threads. Reduce logging verbosity in cases where we are printing debug messages to info. Resolve spurious test failure because of port collision Thank you for submitting a contribution to Apache NiFi - MiNiFi C++. In order to streamline the review of the contribution we ask you to ensure the following steps have been taken: ### For all changes: - [ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message? - [ ] Does your PR title start with MINIFI- where is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character. - [ ] Has your PR been rebased against the latest commit within the target branch (typically master)? - [ ] Is your initial contribution a single, squashed commit? ### For code changes: - [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)? - [ ] If applicable, have you updated the LICENSE file? - [ ] If applicable, have you updated the NOTICE file? ### For documentation related changes: - [ ] Have you ensured that format looks appropriate for the output in which it is rendered? ### Note: Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible. You can merge this pull request into a Git repository by running: $ git pull https://github.com/phrocker/nifi-minifi-cpp MINIFICPP-355 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/nifi-minifi-cpp/pull/227.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #227 commit b4da2d74ab620813d2f3b04120577fef45cc0005 Author: Marc ParisiDate: 2017-12-22T00:59:29Z MINIFICPP-355: Resolve issue with 32-bit systems using strtol converting to long long. Change log to INFO by default Disable C2 services to we don't consume unnecessary threads. Reduce logging verbosity in cases where we are printing debug messages to info. Resolve spurious test failure because of port collision > Starting minifi on arm fails quietly > > > Key: MINIFICPP-355 > URL: https://issues.apache.org/jira/browse/MINIFICPP-355 > Project: NiFi MiNiFi C++ > Issue Type: Bug >Affects Versions: 0.3.0 > Environment: raspberry pi zero w - arm >Reporter: Joseph Witt > Attachments: config.yml, minifi-app.log > > > During startup the process quietly dies. Aldrin showed me the cool process > to gather more data > gdb bin/minifi > -> run > -> backtrace > which yields > {quote} > [Thread 0xb0eff160 (LWP 24133) exited] > [Thread 0xb2eff160 (LWP 24138) exited] > Thread 1 "minifi" received signal SIGSEGV, Segmentation fault. > strlen () at ../sysdeps/arm/armv6/strlen.S:26 > 26../sysdeps/arm/armv6/strlen.S: No such file or directory. > (gdb) backtrace > #0 strlen () at ../sysdeps/arm/armv6/strlen.S:26 > #1 0xb64f0690 in _IO_vfprintf_internal (s=s@entry=0xbeffc3c0, > format=format@entry=0x609884 "Setting %d as the max queue size for %s", > ap=..., ap@entry=...) > at vfprintf.c:1637 > #2 0xb6513d2c in _IO_vsnprintf (string=0xbeffc4f0 "Setting 0 as the max > queue size for p => [success]", maxlen=, > format=0x609884 "Setting %d as the max queue size for %s", > format@entry=0xbeffcac8 "\330\033\207", args=..., args@entry=...) at > vsnprintf.c:114 > #3 0xb64f5b18 in __snprintf (s=, maxlen=, > format=0x609884 "Setting %d as the max queue size for %s") at snprintf.c:33 > #4 0x00284a4c in std::__cxx11::basic_string std::allocator > > org::apache::nifi::minifi::core::logging::format_string const*>(char const*, long long&&, char const*&&) [clone .isra.369] () > #5 0x00285dec in void > org::apache::nifi::minifi::core::logging::Logger::log std::__cxx11::basic_string > >(spdlog::level::level_enum, char const*, long long const&, > std::__cxx11::basic_string > const&) () >
[jira] [Commented] (MINIFICPP-355) Starting minifi on arm fails quietly
[ https://issues.apache.org/jira/browse/MINIFICPP-355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16300247#comment-16300247 ] Joseph Witt commented on MINIFICPP-355: --- confirmed that if i change to INFO level logging instead of debug it works > Starting minifi on arm fails quietly > > > Key: MINIFICPP-355 > URL: https://issues.apache.org/jira/browse/MINIFICPP-355 > Project: NiFi MiNiFi C++ > Issue Type: Bug >Affects Versions: 0.3.0 > Environment: raspberry pi zero w - arm >Reporter: Joseph Witt > Attachments: config.yml, minifi-app.log > > > During startup the process quietly dies. Aldrin showed me the cool process > to gather more data > gdb bin/minifi > -> run > -> backtrace > which yields > {quote} > [Thread 0xb0eff160 (LWP 24133) exited] > [Thread 0xb2eff160 (LWP 24138) exited] > Thread 1 "minifi" received signal SIGSEGV, Segmentation fault. > strlen () at ../sysdeps/arm/armv6/strlen.S:26 > 26../sysdeps/arm/armv6/strlen.S: No such file or directory. > (gdb) backtrace > #0 strlen () at ../sysdeps/arm/armv6/strlen.S:26 > #1 0xb64f0690 in _IO_vfprintf_internal (s=s@entry=0xbeffc3c0, > format=format@entry=0x609884 "Setting %d as the max queue size for %s", > ap=..., ap@entry=...) > at vfprintf.c:1637 > #2 0xb6513d2c in _IO_vsnprintf (string=0xbeffc4f0 "Setting 0 as the max > queue size for p => [success]", maxlen=, > format=0x609884 "Setting %d as the max queue size for %s", > format@entry=0xbeffcac8 "\330\033\207", args=..., args@entry=...) at > vsnprintf.c:114 > #3 0xb64f5b18 in __snprintf (s=, maxlen=, > format=0x609884 "Setting %d as the max queue size for %s") at snprintf.c:33 > #4 0x00284a4c in std::__cxx11::basic_stringstd::allocator > > org::apache::nifi::minifi::core::logging::format_string const*>(char const*, long long&&, char const*&&) [clone .isra.369] () > #5 0x00285dec in void > org::apache::nifi::minifi::core::logging::Logger::log std::__cxx11::basic_string > >(spdlog::level::level_enum, char const*, long long const&, > std::__cxx11::basic_string > const&) () > #6 0x0027efb4 in > org::apache::nifi::minifi::core::YamlConfiguration::parseConnectionYaml(YAML::Node*, > org::apache::nifi::minifi::core::ProcessGroup*) () > #7 0x0025ef3c in > org::apache::nifi::minifi::core::YamlConfiguration::getYamlRoot(YAML::Node*) > () > #8 0x0025f230 in > org::apache::nifi::minifi::core::YamlConfiguration::getRoot(std::__cxx11::basic_string std::char_traits, std::allocator > const&) () > #9 0x002965b8 in org::apache::nifi::minifi::FlowController::load() () > #10 0x00161998 in main () > {quote} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (MINIFICPP-355) Starting minifi on arm fails quietly
[ https://issues.apache.org/jira/browse/MINIFICPP-355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16299111#comment-16299111 ] marco polo commented on MINIFICPP-355: -- I suspect the issue is an exception occurring during setup of the agent. This is likely due to the changes you mentioned. I'll verify and submit a fix. Thanks > Starting minifi on arm fails quietly > > > Key: MINIFICPP-355 > URL: https://issues.apache.org/jira/browse/MINIFICPP-355 > Project: NiFi MiNiFi C++ > Issue Type: Bug >Affects Versions: 0.3.0 > Environment: raspberry pi zero w - arm >Reporter: Joseph Witt > Attachments: config.yml, minifi-app.log > > > During startup the process quietly dies. Aldrin showed me the cool process > to gather more data > gdb bin/minifi > -> run > -> backtrace > which yields > {quote} > [Thread 0xb0eff160 (LWP 24133) exited] > [Thread 0xb2eff160 (LWP 24138) exited] > Thread 1 "minifi" received signal SIGSEGV, Segmentation fault. > strlen () at ../sysdeps/arm/armv6/strlen.S:26 > 26../sysdeps/arm/armv6/strlen.S: No such file or directory. > (gdb) backtrace > #0 strlen () at ../sysdeps/arm/armv6/strlen.S:26 > #1 0xb64f0690 in _IO_vfprintf_internal (s=s@entry=0xbeffc3c0, > format=format@entry=0x609884 "Setting %d as the max queue size for %s", > ap=..., ap@entry=...) > at vfprintf.c:1637 > #2 0xb6513d2c in _IO_vsnprintf (string=0xbeffc4f0 "Setting 0 as the max > queue size for p => [success]", maxlen=, > format=0x609884 "Setting %d as the max queue size for %s", > format@entry=0xbeffcac8 "\330\033\207", args=..., args@entry=...) at > vsnprintf.c:114 > #3 0xb64f5b18 in __snprintf (s=, maxlen=, > format=0x609884 "Setting %d as the max queue size for %s") at snprintf.c:33 > #4 0x00284a4c in std::__cxx11::basic_stringstd::allocator > > org::apache::nifi::minifi::core::logging::format_string const*>(char const*, long long&&, char const*&&) [clone .isra.369] () > #5 0x00285dec in void > org::apache::nifi::minifi::core::logging::Logger::log std::__cxx11::basic_string > >(spdlog::level::level_enum, char const*, long long const&, > std::__cxx11::basic_string > const&) () > #6 0x0027efb4 in > org::apache::nifi::minifi::core::YamlConfiguration::parseConnectionYaml(YAML::Node*, > org::apache::nifi::minifi::core::ProcessGroup*) () > #7 0x0025ef3c in > org::apache::nifi::minifi::core::YamlConfiguration::getYamlRoot(YAML::Node*) > () > #8 0x0025f230 in > org::apache::nifi::minifi::core::YamlConfiguration::getRoot(std::__cxx11::basic_string std::char_traits, std::allocator > const&) () > #9 0x002965b8 in org::apache::nifi::minifi::FlowController::load() () > #10 0x00161998 in main () > {quote} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (MINIFICPP-355) Starting minifi on arm fails quietly
[ https://issues.apache.org/jira/browse/MINIFICPP-355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16299047#comment-16299047 ] Joseph Witt commented on MINIFICPP-355: --- [~phrocker] notice in the log this stuff too [2017-12-20 15:15:28.616] [org::apache::nifi::minifi::RemoteProcessorGroupPort] [debug] controller config System Error The request contained an invalid host header [192.168.7.40:8080] in the request [/nifi-api/controller]. Check for request manipulation or third-party intercept. That is related to changes [~alopresto] needed to make in Apache NiFi recently as well. Not sure if the issue is minifi client side or nifi side. > Starting minifi on arm fails quietly > > > Key: MINIFICPP-355 > URL: https://issues.apache.org/jira/browse/MINIFICPP-355 > Project: NiFi MiNiFi C++ > Issue Type: Bug >Affects Versions: 0.3.0 > Environment: raspberry pi zero w - arm >Reporter: Joseph Witt > Attachments: config.yml, minifi-app.log > > > During startup the process quietly dies. Aldrin showed me the cool process > to gather more data > gdb bin/minifi > -> run > -> backtrace > which yields > {quote} > [Thread 0xb0eff160 (LWP 24133) exited] > [Thread 0xb2eff160 (LWP 24138) exited] > Thread 1 "minifi" received signal SIGSEGV, Segmentation fault. > strlen () at ../sysdeps/arm/armv6/strlen.S:26 > 26../sysdeps/arm/armv6/strlen.S: No such file or directory. > (gdb) backtrace > #0 strlen () at ../sysdeps/arm/armv6/strlen.S:26 > #1 0xb64f0690 in _IO_vfprintf_internal (s=s@entry=0xbeffc3c0, > format=format@entry=0x609884 "Setting %d as the max queue size for %s", > ap=..., ap@entry=...) > at vfprintf.c:1637 > #2 0xb6513d2c in _IO_vsnprintf (string=0xbeffc4f0 "Setting 0 as the max > queue size for p => [success]", maxlen=, > format=0x609884 "Setting %d as the max queue size for %s", > format@entry=0xbeffcac8 "\330\033\207", args=..., args@entry=...) at > vsnprintf.c:114 > #3 0xb64f5b18 in __snprintf (s=, maxlen=, > format=0x609884 "Setting %d as the max queue size for %s") at snprintf.c:33 > #4 0x00284a4c in std::__cxx11::basic_stringstd::allocator > > org::apache::nifi::minifi::core::logging::format_string const*>(char const*, long long&&, char const*&&) [clone .isra.369] () > #5 0x00285dec in void > org::apache::nifi::minifi::core::logging::Logger::log std::__cxx11::basic_string > >(spdlog::level::level_enum, char const*, long long const&, > std::__cxx11::basic_string > const&) () > #6 0x0027efb4 in > org::apache::nifi::minifi::core::YamlConfiguration::parseConnectionYaml(YAML::Node*, > org::apache::nifi::minifi::core::ProcessGroup*) () > #7 0x0025ef3c in > org::apache::nifi::minifi::core::YamlConfiguration::getYamlRoot(YAML::Node*) > () > #8 0x0025f230 in > org::apache::nifi::minifi::core::YamlConfiguration::getRoot(std::__cxx11::basic_string std::char_traits, std::allocator > const&) () > #9 0x002965b8 in org::apache::nifi::minifi::FlowController::load() () > #10 0x00161998 in main () > {quote} -- This message was sent by Atlassian JIRA (v6.4.14#64029)