Joseph Witt created MINIFICPP-355:
-------------------------------------

             Summary: 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


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=<optimized out>,
    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=<optimized out>, maxlen=<optimized out>, 
format=0x609884 "Setting %d as the max queue size for %s") at snprintf.c:33
#4  0x00284a4c in std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> > 
org::apache::nifi::minifi::core::logging::format_string<long long, char 
const*>(char const*, long long&&, char const*&&) [clone .isra.369] ()
#5  0x00285dec in void 
org::apache::nifi::minifi::core::logging::Logger::log<long long, 
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > 
>(spdlog::level::level_enum, char const*, long long const&, 
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > 
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<char,
 std::char_traits<char>, std::allocator<char> > 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)

Reply via email to