Orion Context Broker在调用updateContext时崩溃。它似乎与订阅有关

时间:2014-10-23 17:05:40

标签: fiware-orion

Orion Context Broker在向注册订阅的实体调用updateContext时崩溃。

自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... } ] })

可能出现什么问题,或者有任何建议来确定问题?

1 个答案:

答案 0 :(得分:1)

试图找出我做错了什么:

  • 删除了所有订阅。由于我们使这个服务器可供合作伙伴进行测试,因此有超过200个订阅
  • 更新了CB(至0.17版本,当前安装的版本)

我不确定这是旧问题还是注册了一些破损的订阅,但之后一切正常。