Useing le_atClient causes system update to crash

Hi guys
I use le_atClient.api and IPC interfaces binding atServices.le_atClient in legato.
But when I execute the application,it crashes on update.
show:

Feb 3 09:25:52 | updateDaemon[673]/updateDaemon T=main | updateUnpack.c JsonDone() 890 | App with MD5 sum 0d3cad6ce6a3ab1be7417981c4eef5c9 being unpacked.
Feb 3 09:25:52 | updateDaemon[673]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 563 | Payload copied: 49027/183559
Feb 3 09:25:52 | updateDaemon[673]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 563 | Payload copied: 65109/183559
Feb 3 09:25:52 | updateDaemon[673]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 563 | Payload copied: 89685/183559
Feb 3 09:25:52 | updateDaemon[673]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 563 | Payload copied: 97726/183559
Feb 3 09:25:53 | updateDaemon[673]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 563 | Payload copied: 114261/183559
Feb 3 09:25:53 | updateDaemon[673]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 563 | Payload copied: 130343/183559
Feb 3 09:25:53 | updateDaemon[673]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 563 | Payload copied: 154919/183559
Feb 3 09:25:53 | updateDaemon[673]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 563 | Payload copied: 162960/183559
Feb 3 09:25:53 | updateDaemon[673]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 563 | Payload copied: 179495/183559
Feb 3 09:25:53 | updateDaemon[673]/updateDaemon T=main | updateUnpack.c CopyBytesToPipeline() 563 | Payload copied: 183559/183559
Feb 3 09:25:53 | supervisor[635]/supervisor T=main | supervisor.c SigChildHandler() 783 | Reaping unconfigured child process 6266.
Feb 3 09:25:54 | updateDaemon[673]/updateDaemon T=main | system.c system_Snapshot() 882 | Snapshot taken of system index 60. Current system index is now 61.
Feb 3 09:25:54 | updateDaemon[673]/updateDaemon T=main | system.c system_SymlinkApp() 584 | Creating symlink /legato/systems/current/apps/.new.LteSmsPwrCtrl → /legato/apps/0d3cad6ce6a3ab1be7417981c4eef5c9
Feb 3 09:25:54 | updateDaemon[673]/updateDaemon T=main | supCtrl.c supCtrl_StopApp() 102 | Stopping app ‘LteSmsPwrCtrl’.
Feb 3 09:25:54 | supervisor[635]/supervisor T=main | app.c app_Stop() 3017 | Stopping app ‘LteSmsPwrCtrl’
Feb 3 09:25:54 | sms[5974]/framework T=main | LE_FILENAME TermSignalHandler() 643 | Terminated
Feb 3 09:25:55 | watchdog[689]/watchdogDaemon T=main | watchdog.c CleanUpClosedClient() 355 | Client session closed
Feb 3 09:25:55 | gpioService[746]/sysfsGpio T=main | gpioSysfsUtils.c gpioSysfs_SessionCloseHandlerFunc() 1178 | Releasing GPIO 7
Feb 3 09:25:55 | _appStopClient[6272]/framework T=main | LE_FILENAME CreateSocket() 550 | Socket opened as standard i/o file descriptor 2!
Feb 3 09:25:55 | gpioService[746]/sysfsGpio T=main | gpioSysfsUtils.c gpioSysfs_SessionCloseHandlerFunc() 1178 | Releasing GPIO 8
Feb 3 09:25:55 | supervisor[635]/supervisor T=main | apps.c DeactivateAppContainer() 374 | Application ‘LteSmsPwrCtrl’ has stopped.
Feb 3 09:25:55 | gpioService[746]/sysfsGpio T=main | gpioSysfsUtils.c gpioSysfs_SessionCloseHandlerFunc() 1178 | Releasing GPIO 33
Feb 3 09:25:55 | modemDaemon[752]/modemDaemon T=main | le_sms.c CloseSessionEventHandler() 2311 | SessionRef (0xb6fc513c) has been closed
Feb 3 09:25:55 | supervisor[635]/supervisor T=main | supervisor.c SigChildHandler() 783 | Reaping unconfigured child process 6277.
Feb 3 09:25:55 | supervisor[635]/supervisor T=main | supervisor.c SigChildHandler() 783 | Reaping unconfigured child process 6282.
Feb 3 09:25:55 | updateDaemon[673]/updateDaemon T=main | system.c system_SymlinkApp() 584 | Creating symlink /legato/systems/current/apps/LteSmsPwrCtrl → /legato/apps/0d3cad6ce6a3ab1be7417981c4eef5c9
Feb 3 09:25:55 | updateDaemon[673]/framework T=main | LE_FILENAME fs_TryLazyUmount() 97 | Could not lazy unmount ‘/legato/systems/current/appsWriteable/.new.LteSmsPwrCtrl’. No such file or directory.
Feb 3 09:25:55 | sdir[6285]/framework T=main | LE_FILENAME user_Init() 445 | /etc is writable
Feb 3 09:25:56 | updateDaemon[673]/framework T=main | LE_FILENAME sysStatus_MarkTried() 261 | Current system has been marked “tried 1”.
Feb 3 09:25:56 | avcDaemon[1088]/avcDaemon T=main | avcAppUpdate.c AppInstallHandler() 851 | Application, ‘LteSmsPwrCtrl,’ has been installed.
Feb 3 09:25:56 | avcDaemon[1088]/avcDaemon T=main | avcAppUpdate.c AppInstallHandler() 898 | Local install, create new object9 instance.
Feb 3 09:25:56 | updateDaemon[673]/updateDaemon T=main | supCtrl.c supCtrl_StartApp() 61 | Starting app ‘LteSmsPwrCtrl’.
Feb 3 09:25:56 | supervisor[635]/supervisor T=main | app.c app_Create() 2735 | Creating app ‘LteSmsPwrCtrl’
Feb 3 09:25:56 | supervisor[635]/supervisor T=main | proc.c GetWatchdogAction() 359 | sms watchdogAction ‘restartApp’ in proc section
Feb 3 09:25:56 | supervisor[635]/supervisor T=main | app.c app_Start() 2926 | Starting app ‘LteSmsPwrCtrl’
Feb 3 09:25:56 | avcDaemon[1088]/avcDaemon T=main | avcAppUpdate.c GetObject9InstanceForApp() 631 | Instance exists and has been reused.
Feb 3 09:25:56 | supervisor[635]/supervisor T=main | app.c CreateFileLink() 1619 | Created file link ‘/legato/systems/current/apps/LteSmsPwrCtrl/read-only/lib/libComponent_smsClient.so’ to '/legato/systems/current/appsWriteable/LteSmsPw
Feb 3 09:25:56 | supervisor[635]/supervisor T=main | app.c CreateFileLink() 1619 | Created file link ‘/legato/systems/current/apps/LteSmsPwrCtrl/read-only/bin/sms’ to ‘/legato/systems/current/appsWriteable/LteSmsPwrCtrl/bin/sms’.
Feb 3 09:25:56 | supervisor[635]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxCoreDumpFileBytes to value 524288.
Feb 3 09:25:56 | supervisor[635]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxFileBytes to value 524288.
Feb 3 09:25:56 | supervisor[635]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxLockedMemoryBytes to value 8192.
Feb 3 09:25:56 | supervisor[635]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxFileDescriptors to value 256.
Feb 3 09:25:56 | supervisor[635]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxMQueueBytes to value 512.
Feb 3 09:25:56 | supervisor[635]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxThreads to value 20.
Feb 3 09:25:56 | supervisor[635]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxQueuedSignals to value 100.
Feb 3 09:25:56 | supervisor[635]/supervisor T=main | proc.c proc_Start() 1389 | Starting process ‘sms’ with pid 6294
Feb 3 09:25:56 | updateDaemon[673]/updateDaemon T=main | app.c app_InstallIndividual() 788 | App LteSmsPwrCtrl <0d3cad6ce6a3ab1be7417981c4eef5c9> installed
Feb 3 09:25:56 | updateDaemon[673]/updateDaemon T=main | updateDaemon.c ApplyAppUpdate() 914 | App ‘LteSmsPwrCtrl<0d3cad6ce6a3ab1be7417981c4eef5c9>’ installed properly.
Feb 3 09:25:56 | updateDaemon[673]/updateDaemon T=main | updateDaemon.c StartProbation() 218 | System on probation (timer started).
Feb 3 09:25:56 | supervisor[6294]/supervisor T=main | proc.c proc_Start() 1354 | Execing ‘sms’
Feb 3 09:25:56 | supervisor[635]/supervisor T=main | supervisor.c SigChildHandler() 783 | Reaping unconfigured child process 6293.
Feb 3 09:25:56 | avcDaemon[1088]/avcDaemon T=main | avcAppUpdate.c avcApp_SetSwUpdateState() 3027 | No update is going on. CurrentObj9 = null
Feb 3 09:25:56 | avcDaemon[1088]/avcDaemon T=main | avcAppUpdate.c avcApp_SetSwUpdateResult() 2962 | No update is going on. CurrentObj9 = null
Feb 3 09:25:56 | avcDaemon[1088]/avcDaemon T=main | avcAppUpdate.c NotifyObj9List() 691 | Found 3 object 9 instances
Feb 3 09:25:56 | avcDaemon[1088]/avcDaemon T=main | avcAppUpdate.c NotifyObj9List() 692 | obj9ListLen; 38 obj9List: </lwm2m/9/2>,</lwm2m/9/4>,</lwm2m/9/5>
Feb 3 09:26:06 | updateDaemon[673]/updateDaemon T=main | updateDaemon.c updateDaemon_MarkGood() 231 | System passed probation. Marking ‘good’.
Feb 3 09:26:06 | updateDaemon[673]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 74c94b5b246783555c15adbf881a02ca is still needed.
Feb 3 09:26:06 | updateDaemon[673]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 119dc9bc171fc89e71ab8d0fee8ef98e is still needed.
Feb 3 09:26:06 | updateDaemon[673]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 31299ac197e4fd6af00665f466369cee is still needed.
Feb 3 09:26:06 | updateDaemon[673]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum c3c083d8abcb9a7b5cff8a8d5eb8e2d7 is still needed.
Feb 3 09:26:06 | updateDaemon[673]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum f622d1ac65fed8459b50eb6583e26c03 is still needed.
Feb 3 09:26:06 | updateDaemon[673]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum b7661abb4ca39e6aac4dd539f74079e8 is still needed.
Feb 3 09:26:06 | updateDaemon[673]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 41d9966ae8bbe2a9d9f2918dcfdde7f6 is still needed.
Feb 3 09:26:06 | updateDaemon[673]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 1290fb6bfa10d790eab7c6e72c0b08a8 is still needed.
Feb 3 09:26:06 | updateDaemon[673]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 0d3cad6ce6a3ab1be7417981c4eef5c9 is still needed.
Feb 3 09:26:06 | updateDaemon[673]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1037 | Removing unused app with MD5 sum 6f369e0df1ddf96b9de312b01b794223.
Feb 3 09:26:06 | updateDaemon[673]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum e5f43ac1aa043ab590267983f1c18032 is still needed.
Feb 3 09:26:06 | updateDaemon[673]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 6fa9390e100aca67ee5d6b6a038796d2 is still needed.
Feb 3 09:26:06 | updateDaemon[673]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 21974f5025d379a0b8004ed753c56fa8 is still needed.
Feb 3 09:26:06 | updateDaemon[673]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum f7c90fcc04163cc526ae245e0bb201bd is still needed.
Feb 3 09:26:06 | updateDaemon[673]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 70720b6fc4c69f20056a4301ef8bc45c is still needed.
Feb 3 09:26:06 | updateDaemon[673]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 588ce07bab3c0569c298775a63862748 is still needed.
Feb 3 09:26:06 | updateDaemon[673]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum c657e544e518603d844202a93b8ff502 is still needed.
Feb 3 09:26:06 | updateDaemon[673]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 5d3a10c3b147749000e248f42e605227 is still needed.
Feb 3 09:26:06 | updateDaemon[673]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 3b875b612f0b137e0a39b0e25b3a42ea is still needed.
Feb 3 09:26:06 | updateDaemon[673]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 3eb7473078e44086c8480deb1e2c595c is still needed.
Feb 3 09:26:06 | updateDaemon[673]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 023dca24ee29284451606d01e7806ea4 is still needed.
Feb 3 09:26:06 | updateDaemon[673]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 94eb1df659f9d2a9f91daa13f4a408cd is still needed.
Feb 3 09:26:06 | updateDaemon[673]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 11314867c6b02e58061351b579d143f4 is still needed.
Feb 3 09:26:06 | updateDaemon[673]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 50d5cdf61ef0f8b91c06115a063dfb99 is still needed.
Feb 3 09:26:06 | updateDaemon[673]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum d6b08d9524b012416229543a701354aa is still needed.
Feb 3 09:26:06 | updateDaemon[673]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum e9f6d07b9c118b9221d7b9b938df2aaf is still needed.
Feb 3 09:26:06 | updateDaemon[673]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 39deb514f33c0bb569336f6726616953 is still needed.
Feb 3 09:26:06 | updateDaemon[673]/updateDaemon T=main | system.c system_RemoveUnusedApps() 1046 | App with MD5 sum 826fd8091014f624cd99530619756d32 is still needed.

But when I don’t use le_atClient.api,that back to normal.
I want to use AT command,so I need this.Is there any way?

Please try the test app first.
/apps/test/atServices/atClientTest

1 Like