Mario Charest
01/12/2009 7:10 PM
post19924
|
Uncompress that file. The binary is testcase.exe. Make sure LD_LIBRARY_PATH points to the poco_1.3.3_1_QNX6.3.2/lib.
If you want to build it run the build script.
If necessary I can sent you the poco stuff (source) as well but it's quite bit.
Meanwhile I will try to build a static debug version of Poco to link against and send you the whole thing.
> -----Original Message-----
> From: Ryan Mansfield [mailto:community-noreply@qnx.com]
> Sent: January-12-09 7:02 PM
> To: ostech-core_os
> Subject: Re: 6.3.2 cpp on 6.4.0
>
> Mario Charest wrote:
> > If you want I can create a small test case to demonstrate the
> problem. We use 3.3.5,gcc_ntox86.
>
> Yes, could you please create the testcase? I'd really like to have a
> look.
>
> Regards,
>
> Ryan Mansfield
>
> _______________________________________________
> OSTech
> http://community.qnx.com/sf/go/post19923
>
|
|
|
Mario Charest
01/12/2009 7:51 PM
post19925
|
This is a version with all static libraries, it still crashes (hence it's not related to the Poco librairies being
shared object). With the debugger I can see where it crashes:
void ParserEngine::init()
{
if (_parser)
XML_ParserFree(_parser);
if (!_pBuffer)
_pBuffer = new char[PARSE_BUFFER_SIZE];
// --- CRASHED in the function __dynamic_cast ../../gcc/cp/tinfo2.cc
if (dynamic_cast<NoNamespacePrefixesStrategy*>(_pNamespaceStrategy))
{
_parser = XML_ParserCreateNS(_encodingSpecified ? _encoding.c_str() : 0, '\t');
XML_SetNamespaceDeclHandler(_parser, handleStartNamespaceDecl, handleEndNamespaceDecl);
}
else if (dynamic_cast<NamespacePrefixesStrategy*>(_pNamespaceStrategy))
{
_parser = XML_ParserCreateNS(_encodingSpecified ? _encoding.c_str() : 0, '\t');
XML_SetReturnNSTriplet(_parser, 1);
XML_SetNamespaceDeclHandler(_parser, handleStartNamespaceDecl, handleEndNamespaceDecl);
}
else
{
_parser = XML_ParserCreate(_encodingSpecified ? _encoding.c_str() : 0);
}
XML_SetUserData(_parser, this);
XML_SetElementHandler(_parser, handleStartElement, handleEndElement);
XML_SetCharacterDataHandler(_parser, handleCharacterData);
XML_SetProcessingInstructionHandler(_parser, handleProcessingInstruction);
if (_expandInternalEntities)
XML_SetDefaultHandlerExpand(_parser, handleDefault);
else
XML_SetDefaultHandler(_parser, handleDefault);
XML_SetUnparsedEntityDeclHandler(_parser, handleUnparsedEntityDecl);
XML_SetNotationDeclHandler(_parser, handleNotationDecl);
XML_SetExternalEntityRefHandler(_parser, handleExternalEntityRef);
XML_SetCommentHandler(_parser, handleComment);
XML_SetCdataSectionHandler(_parser, handleStartCdataSection, handleEndCdataSection);
XML_SetDoctypeDeclHandler(_parser, handleStartDoctypeDecl, handleEndDoctypeDecl);
XML_SetEntityDeclHandler(_parser, handleEntityDecl);
XML_SetSkippedEntityHandler(_parser, handleSkippedEntity);
XML_SetParamEntityParsing(_parser, _externalParameterEntities ? XML_PARAM_ENTITY_PARSING_ALWAYS :
XML_PARAM_ENTITY_PARSING_NEVER);
XML_SetUnknownEncodingHandler(_parser, handleUnknownEncoding, this);
}
> -----Original Message-----
> From: Ryan Mansfield [mailto:community-noreply@qnx.com]
> Sent: January-12-09 7:02 PM
> To: ostech-core_os
> Subject: Re: 6.3.2 cpp on 6.4.0
>
> Mario Charest wrote:
> > If you want I can create a small test case to demonstrate the
> problem. We use 3.3.5,gcc_ntox86.
>
> Yes, could you please create the testcase? I'd really like to have a
> look.
>
> Regards,
>
> Ryan Mansfield
>
> _______________________________________________
> OSTech
> http://community.qnx.com/sf/go/post19923
>
|
|
|
Mario Charest
01/14/2009 11:45 AM
post20054
|
Should I also create a ticket through support because this is a show stopper for us.
|
|
|