2016-08-10 4 views
1

service de départ Impossible AllJoyn-gwagent après l'exécution du 'service sudo AllJoyn start'incapable de démarrer le service AllJoyn-gwagent après AllJoyn démon a commencé

Contrôlé le journal/var/log/AllJoyn-gwagent. log, il a

0.685 ****** ERREUR STRING externe ... yn/common/src/String.cc: 94 | Construire une chaîne à partir de nullptr provoquera un plantage dans les futures versions!: ER_WARNING alljoyn-gwagent: /root/alljoyn/core/alljoyn/common/src/String.cc:95: qcc :: String :: String (const char *) : Assertion `str! = Nullptr 'a échoué.

exactes à suivi les étapes, sauf que nous sommes sur la branche principale https://wiki.allseenalliance.org/gateway/getting_started

Toute aide serait grandement appréciée. Merci d'avance!

EDIT: Cela a fonctionné quand nous avons essayé avec la branche RB14.12 avec les mêmes étapes !!!

Répondre

0

Un bogue était connu dans le projet. Vous pouvez le réparer en appliquant le patch suivant.

@@ -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) { 

Le détail du bug est répertorié à ce commit https://cgit.allseenalliance.org/gateway/gwagent.git/commit/?h=4067906a545020d9b55ea5f49fc3cf791b24e8e0