Sending packet: $vCont;C0b:p1449.1449;c:p1449.-1#3c...Packet received: Xb;process:1449
Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
-------------------------------------
0x001561b8 in bOS::XML::Data::XMLObject::init (this=0x4, root=0x5f7568)
at /opt/cBPM-android/criteria-lin/src/Criteria/Criteria.Libraries.bOS/XML/Data/bOSXMLObject.cpp:62
62 this->init();
-------------------------------------
(gdb) bt
#0 0x001561b8 in bOS::XML::Data::XMLObject::init (this=0x4, root=0x5f7568)
at /opt/cBPM-android/criteria-lin/src/Criteria/Criteria.Libraries.bOS/XML/Data/bOSXMLObject.cpp:62
#1 0x000e0f9c in DataManager::Panorama::DataBase::Connection::init (this=0x4, node=0x5f7568)
at /opt/cBPM-android/criteria-lin/src/Criteria/Criteria.WorkflowEngine/DataBase/Connection.cpp:34
#2 0x0003c67c in DataManager::DataBase::DataBaseTemplate::setXMLConnection (this=0x0, _connection=0x5eb4e0)
at /opt/cBPM-android/criteria-lin/src/Criteria/Criteria.WorkflowEngine/DataBase/DataBaseTemplate.cpp:58
#3 0x00034670 in DataManager::DataBase::DataBaseHelper::open (this=0x5eb0a8, sConfigurationFile=...)
at /opt/cBPM-android/criteria-lin/src/Criteria/Criteria.WorkflowEngine/DataBase/DataBaseHelper.cpp:184
#4 0x0000ed10 in InitSessionWithParams (acConfigFile=0x5b74b8 "/data/data/criteria/database/Criteria.xml", response=0x5b4b20)
at /opt/cBPM-android/criteria-lin/src/Criteria/Criteria.WorkflowEngine/WAPI/WAPI.cpp:78
#5 0x0000e910 in InitSession (response=0x5b4b20)
at /opt/cBPM-android/criteria-lin/src/Criteria/Criteria.WorkflowEngine/WAPI/WAPI.cpp:63
#6 0x0000b314 in main (argc=2, argv=0xbec3da34)
at /opt/cBPM-android/criteria-lin/src/Criteria/Criteria.Tools/Criteria.Tools.Executor/src/main.cpp:63
(gdb)
-------------------------------------
设置断点
break bOSXMLHelper.cpp:170
break DataBaseHelper.cpp:101
-------------------------------------问题解决,方法如下:
codeblocks 局部参数 设置: Criteria.WorkflowEngine
【Settings】->【Compiler】->【GNU ARM GCC Compiler For Android】->【Compiler Settings】->【#defines】
添加 _FILESYSTEM_
阅读(624) | 评论(0) | 转发(0) |