SKKU-ESLAB / opel-alpha

Open Platform Event Logger (OPEL) Project
Other
3 stars 0 forks source link

Crash of App Core Manager when app launch command is issued #171

Closed RedCarrottt closed 7 years ago

RedCarrottt commented 7 years ago

OPEL Manager(Beta 1 Release 2)에서 user application을 실행할 때 App Core Manager가 crash되는 issue가 발생하였습니다.

해당 상황에서 OPEL 장치 측에서는 다음과 같은 Log가 발생합니다.

[CommManager] getMsg >> received msg : {"type":"1001","appID":"1","appName":"QuickCam"}
Received Msg : {"type":"1001","appID":"1","appName":"QuickCam"}
[MAIN] Request >> Execute App
[SELECT * from APPPACKAGE where APID=1]success
[SELECT * from APPPACKAGE where APID=1]success
[MAIN] run app runpath : /etc/opel/apps/user/2017_04_11_14_42_32/index.js, dir path : /etc/opel/apps/user/2017_04_11_14_42_32
[JsonString] Find value >> Cannot find the item with key:appPath json:{"type":"1001","appID":"1","appName":"QuickCam","dirPath":"/etc/opel/apps/user/2017_04_11_14_42_32"}
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_M_construct null not valid
[AppStatusManager] runNewApp full run Path : /etc/opel/apps/user/2017_04_11_14_42_32/index.js
[SystemServer] An OPEL process (pid 21331) is dead.
Application start
sensor 1: BUTTON[Module] Start dbus initializing
Convert : from 21342 to CBDEC
Total address : type='signal', interface='org.opel.CBDEC'
Dbus initializing complete
[Module] Start dbus initializing
Total address : type='signal', interface='org.opel.CBDEC'
Dbus initializing complete
[NIL] SendEventPage to Manager>>  {"noti":"noti","description":"Snapshot Saved","text":"Quick Cam Snapshot"}
[NIL] send All_UNREGISTER message to org.opel.sensorManager | /org/opel/sensorManager
[SM] Start Unregister Operation
[DEBUG] Received data check : [21342 / -1 ]
[SM] Start unregister operation
[SM] Delete request from sensor 0
[SM]All request is deleted
RedCarrottt commented 7 years ago

PR #170 에서 해결하였으므로 해당 issue를 close합니다.