bro hangs or segfaults when user runs "broctl scripts"

Description

After the broker merge, I noticed the broctl "command.scripts" test would
sometimes fail. I was able to reproduce this failure on CentOS 7, and I saw
it fail in two different ways. Sometimes "broctl scripts" runs normally and
does not fail.

Sometimes, it fails and bro dumps core.

Sometimes, it hangs due to the "bro" process
hanging that was spawned by the "share/broctl/scripts/check-config"
script. In this case, I had to kill bro with "kill -9".

Environment

None

Status

Assignee

Unassigned

Reporter

Daniel Thayer

Labels

None

External issue ID

None

Components

Fix versions

Priority

Normal
Configure