Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YAML Parsing Error Causes Segmentation Violation #113

Open
nsoblath opened this issue Feb 5, 2018 · 0 comments
Open

YAML Parsing Error Causes Segmentation Violation #113

nsoblath opened this issue Feb 5, 2018 · 0 comments

Comments

@nsoblath
Copy link
Member

nsoblath commented Feb 5, 2018

I removed a colon in a valid config file to produce an error and Katydid crashed. Needless to say, that's undesirable.

10:30:05 [ERROR] ndLineHandler.cc(306): Argument <PrintInfoTypo.yaml> does not match --<name>=<value> pattern
10:30:05 [ INFO] KTApplication.cc(102): Final configuration:

{
}

10:30:05 [ERROR] ndLineHandler.cc(306): Argument <PrintInfoTypo.yaml> does not match --<name>=<value> pattern
10:30:05 [ PROG] cessorToolbox.cc(47): Configuring . . .

 *** Break *** segmentation violation
[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
[/usr/lib/dyld] initialPoolContent (no debug info)
[/Users/obla999/Work/Project8/Software/Katydid/build-develop-debug/lib/libKatydidTime.dylib] scarab::param_node::array_at(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/map:1222
[/Users/obla999/Work/Project8/Software/Katydid/build-develop-debug/lib/libNymph_Katydid.dylib] Nymph::KTProcessorToolbox::Configure(scarab::param_node const*) /Users/obla999/Work/Project8/Software/Katydid/Nymph/Library/Application/KTProcessorToolbox.cc:49
[/Users/obla999/Work/Project8/Software/Katydid/build-develop-debug/lib/libNymph_Katydid.dylib] Nymph::RunNymph(std::__1::shared_ptr<Nymph::KTApplication>) /Users/obla999/Work/Project8/Software/Katydid/Nymph/Library/Application/KTRunNymph.cc:36
[/Users/obla999/Work/Project8/Software/katydid/build-develop-debug/bin/Katydid] main /Users/obla999/Work/Project8/Software/Katydid/Source/Executables/Main/Katydid.cc:56
[/usr/lib/system/libdyld.dylib] start (no debug info)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant