当调用 updateContext 到注册到订阅的实体时,Orion Context Broker 崩溃。
从 updateContext 调用到 segfault 的日志:
time=2014-10-23T12:34:50.527EDT | lvl=INFO | trans=1414082071-014-00000000001 | function=connectionTreat | comp=Orion | msg=rest.cpp[629]: Starting transaction from 179.148.168.28:52459/NGSI10/updateContext
time=2014-10-23T12:34:50.528EDT | lvl=INFO | trans=1414082071-014-00000000001 | function=processContextElement | comp=Orion | msg=MongoCommonUpdate.cpp[1518]: Database Operation Successful ({ _id.id: "AguasSaoPedro_Rua1_02", _id.type: "Lamp", _id.servicePath: { $exists: false } })
time=2014-10-23T12:34:50.546EDT | lvl=INFO | trans=1414082071-014-00000000001 | function=addTriggeredSubscriptions | comp=Orion | msg=MongoCommonUpdate.cpp[811]: Database Operation Successful ({ $or: [ { entities.id: "XXXX", $or: [ { entities.type: "Lamp" }, { entities.type: { $exists: false } } ], entities.isPattern: "false", conditions.type: "ONCHANGE", conditions.value: "intensity", expiration: { $gt: 1414082090 } }, { entities.isPattern: "true", conditions.type: "ONCHANGE", conditions.value: "intensity", expiration: { $gt: 1414082090 }, $where: function(){for (var i=0; i < this.entities.length; i++) {if (this.enti... } ] })
可能有什么问题,或者有什么建议可以识别问题?