2016-08-10 67 views
1

無法啓動服務alljoyn-gwagent運行 'sudo的服務alljoyn開始'無法啓動服務alljoyn-gwagent alljoyn守護程序啓動

經過日誌位於/ var後後/日誌/ alljoyn-gwagent。日誌,它有

0.685 ****** ERROR STRING external ... yn/common/src/String.cc:94 |從nullptr構造字符串將導致未來版本崩潰!:ER_WARNING alljoyn-gwagent:/root/alljoyn/core/alljoyn/common/src/String.cc:95:qcc :: String :: String(const char *) :斷言`str!= nullptr'失敗。

其次在不同的是我們是在主分支https://wiki.allseenalliance.org/gateway/getting_started

任何幫助將非常感激具體步驟。提前致謝!

編輯:它工作時,我們嘗試與分支RB14.12相同的步驟!

回答

0

該項目存在已知的錯誤。您可以通過應用以下修補程序來修復它。

@@ -222,7 +222,7 @@ void GatewayConnectorAppManifest::parseObjects(xmlNode* currentKey, Capabilities 
       xmlFree(xmlInterfaceFriendly); 
       qcc::String interfaceName = (const char*)interfaceKey->children->content; 
       xmlChar*xmlSecured = xmlGetProp(interfaceKey, (const xmlChar*)"secured"); 
-    qcc::String secured = (const char*)xmlSecured; 
+    qcc::String secured = xmlSecured ? (const char*)xmlSecured : ""; 
       xmlFree(xmlSecured); 
       if (secured.compare("true") == 0) { 

在此列出的bug的細節提交https://cgit.allseenalliance.org/gateway/gwagent.git/commit/?h=4067906a545020d9b55ea5f49fc3cf791b24e8e0