[xsd-users] Segmentation fault running xsd with openADR 2.0b profile schema

James Weinkam jweinkam at enbala.com
Tue Mar 8 09:53:53 EST 2016


Yes, I still get the segmentation fault.

CodeSynthesis XSD XML Schema to C++ compiler 4.1.0.a7
Copyright (c) 2005-2014 Code Synthesis Tools CC
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Here is the stack trace from the core file.

#0  0x000000000063d034 in XSDFrontend::SemanticGraph::Instance::type() const ()
#1  0x000000000069f939 in XSDFrontend::(anonymous namespace)::Resolver::resolve_element(XSDFrontend::SemanticGraph::Element&) ()
#2  0x0000000000428a15 in cutl::compiler::dispatcher<XSDFrontend::SemanticGraph::Node>::dispatch(XSDFrontend::SemanticGraph::Node&) ()
#3  0x0000000000429325 in cutl::compiler::dispatcher<XSDFrontend::SemanticGraph::Edge>::dispatch(XSDFrontend::SemanticGraph::Edge&) ()
#4  0x000000000041b690 in XSDFrontend::Traversal::ScopeTemplate<XSDFrontend::SemanticGraph::Namespace>::names(XSDFrontend::SemanticGraph::Namespace&)
    ()
#5  0x000000000041b1a3 in XSDFrontend::Traversal::Namespace::traverse(XSDFrontend::SemanticGraph::Namespace&) ()
#6  0x0000000000428a15 in cutl::compiler::dispatcher<XSDFrontend::SemanticGraph::Node>::dispatch(XSDFrontend::SemanticGraph::Node&) ()
#7  0x0000000000429325 in cutl::compiler::dispatcher<XSDFrontend::SemanticGraph::Edge>::dispatch(XSDFrontend::SemanticGraph::Edge&) ()
#8  0x000000000041b520 in XSDFrontend::Traversal::ScopeTemplate<XSDFrontend::SemanticGraph::Schema>::names(XSDFrontend::SemanticGraph::Schema&) ()
#9  0x000000000041b7a6 in XSDFrontend::Traversal::Schema::traverse(XSDFrontend::SemanticGraph::Schema&) ()
#10 0x0000000000428a15 in cutl::compiler::dispatcher<XSDFrontend::SemanticGraph::Node>::dispatch(XSDFrontend::SemanticGraph::Node&) ()
#11 0x0000000000660d32 in XSDFrontend::Parser::Impl::parse(cutl::fs::basic_path<char> const&)::Uses::traverse(XSDFrontend::SemanticGraph::Uses&) ()
#12 0x0000000000429325 in cutl::compiler::dispatcher<XSDFrontend::SemanticGraph::Edge>::dispatch(XSDFrontend::SemanticGraph::Edge&) ()
#13 0x000000000041b793 in XSDFrontend::Traversal::Schema::traverse(XSDFrontend::SemanticGraph::Schema&) ()
#14 0x0000000000428a15 in cutl::compiler::dispatcher<XSDFrontend::SemanticGraph::Node>::dispatch(XSDFrontend::SemanticGraph::Node&) ()
#15 0x0000000000660d32 in XSDFrontend::Parser::Impl::parse(cutl::fs::basic_path<char> const&)::Uses::traverse(XSDFrontend::SemanticGraph::Uses&) ()
#16 0x0000000000429325 in cutl::compiler::dispatcher<XSDFrontend::SemanticGraph::Edge>::dispatch(XSDFrontend::SemanticGraph::Edge&) ()
#17 0x000000000041b793 in XSDFrontend::Traversal::Schema::traverse(XSDFrontend::SemanticGraph::Schema&) ()
#18 0x0000000000428a15 in cutl::compiler::dispatcher<XSDFrontend::SemanticGraph::Node>::dispatch(XSDFrontend::SemanticGraph::Node&) ()
#19 0x0000000000660d32 in XSDFrontend::Parser::Impl::parse(cutl::fs::basic_path<char> const&)::Uses::traverse(XSDFrontend::SemanticGraph::Uses&) ()
#20 0x0000000000429325 in cutl::compiler::dispatcher<XSDFrontend::SemanticGraph::Edge>::dispatch(XSDFrontend::SemanticGraph::Edge&) ()
#21 0x000000000041b793 in XSDFrontend::Traversal::Schema::traverse(XSDFrontend::SemanticGraph::Schema&) ()
#22 0x0000000000428a15 in cutl::compiler::dispatcher<XSDFrontend::SemanticGraph::Node>::dispatch(XSDFrontend::SemanticGraph::Node&) ()
#23 0x00000000006836a4 in XSDFrontend::Parser::Impl::parse(cutl::fs::basic_path<char> const&) ()
#24 0x0000000000684343 in XSDFrontend::Parser::parse(cutl::fs::basic_path<char> const&) ()
#25 0x000000000040939d in main ()

Thanks,
James

-----Original Message-----
From: Boris Kolpackov [mailto:boris at codesynthesis.com] 
Sent: March 08, 2016 5:59 AM
To: James Weinkam <jweinkam at enbala.com>
Cc: xsd-users at codesynthesis.com
Subject: Re: [xsd-users] Segmentation fault running xsd with openADR 2.0b profile schema

Hi James,

James Weinkam <jweinkam at enbala.com> writes:

> The following command line worked with the old version, but now 
> results in a segmentation fault.

Could you try the latest pre-release and see if it makes any difference?

http://codesynthesis.com/~boris/tmp/xsd/

Thanks,
Boris




More information about the xsd-users mailing list