Cannot Start assetDataTutorial


#1

Hello,

I’m working through the tutorial found here: legato.io/legato-docs/latest/howToAirVantageExchangeData.html

I’m using a WP8548 on MangOH Green with 07.12.09.00 firmware and Legato version 16.10.3

I’m successful with all steps except when I try the final step of: # app start assetDataTutorial

I don’t see the app start, and this is the log output -

Jun 9 17:56:50 swi-mdm9x15 user.info Legato: INFO | supervisor[473]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxCoreDumpFileBytes to value 102400.
Jun 9 17:56:50 swi-mdm9x15 user.info Legato: INFO | supervisor[473]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxFileBytes to value 102400.
Jun 9 17:56:50 swi-mdm9x15 user.info Legato: INFO | supervisor[473]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxLockedMemoryBytes to value 8192.
Jun 9 17:56:50 swi-mdm9x15 user.info Legato: INFO | supervisor[473]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxFileDescriptors to value 256.
Jun 9 17:56:50 swi-mdm9x15 user.info Legato: INFO | supervisor[473]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxMQueueBytes to value 512.
Jun 9 17:56:50 swi-mdm9x15 user.info Legato: INFO | supervisor[473]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxThreads to value 20.
Jun 9 17:56:50 swi-mdm9x15 user.info Legato: INFO | supervisor[473]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxQueuedSignals to value 100.
Jun 9 17:56:50 swi-mdm9x15 user.info Legato: INFO | supervisor[473]/supervisor T=main | proc.c proc_Start() 1190 | Starting process ‘assetDataTutorial’ with pid 24606
Jun 9 17:56:50 swi-mdm9x15 user.info Legato: INFO | supervisor[24606]/supervisor T=main | proc.c proc_Start() 1155 | Execing 'assetDataTutorial’
Jun 9 17:56:51 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[24606]/framework T=unknown | LE_FILENAME InitPool() 303 | Memory pool name ‘framework.hashMap_refPathIteratorMap’ is truncated to 'framework.hashMap_refPathIterat’
Jun 9 17:56:51 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[24606]/framework T=main | LE_FILENAME InitPool() 303 | Memory pool name ‘framework.hashMap_refEventHandlers’ is truncated to 'framework.hashMap_refEventHandl’
Jun 9 17:56:51 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[24606]/framework T=main | LE_FILENAME InitPool() 303 | Memory pool name ‘framework.hashMap_refDefault Timer SafeRe’ is truncated to 'framework.hashMap_refDefault Ti’
Jun 9 17:56:51 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[24606]/framework T=main | LE_FILENAME InitPool() 303 | Memory pool name ‘framework.MessagingClientInterfaces’ is truncated to 'framework.MessagingClientInterf’
Jun 9 17:56:51 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[24606]/framework T=main | LE_FILENAME InitPool() 303 | Memory pool name ‘framework.hashMap_refHandlersRef’ is truncated to 'framework.hashMap_refHandlersRe’
Jun 9 17:56:51 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[24606]/framework T=main | LE_FILENAME InitPool() 303 | Memory pool name ‘framework.hashMap_MessagingServices’ is truncated to 'framework.hashMap_MessagingServ’
Jun 9 17:56:51 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[24606]/framework T=main | LE_FILENAME InitPool() 303 | Memory pool name ‘framework.hashMap_MessagingClients’ is truncated to 'framework.hashMap_MessagingClie’
Jun 9 17:56:51 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[24606]/framework T=main | LE_FILENAME InitPool() 303 | Memory pool name ‘framework.PipelineSIGCHLD-reports’ is truncated to 'framework.PipelineSIGCHLD-repor’
Jun 9 17:56:51 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[24606]/framework T=main | LE_FILENAME le_mem_ForceAlloc() 841 | Memory pool ‘framework.DestructorObjs’ overflowed. Expanded to 1 blocks.
Jun 9 17:56:51 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[24606]/ T=main | _componentMain.c componentAssetData_Init() 32 | Initializing componentAssetData component library.
Jun 9 17:56:51 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[24606]/framework T=main | LE_FILENAME InitPool() 303 | Memory pool name ‘framework.hashMap_refle_avdata_ClientHand’ is truncated to 'framework.hashMap_refle_avdata

Jun 9 17:56:51 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[24606]/framework T=main | LE_FILENAME msgMessage_CreatePool() 112 | Pool name truncated to ‘msgs-00c24407f5702ddd739f1774a5’ for protocol ‘00c24407f5702ddd739f1774a5e2bcdb’.
Jun 9 17:56:51 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[24606]/framework T=main | LE_FILENAME InitPool() 303 | Memory pool name ‘framework.msgs-00c24407f5702ddd739f1774a5’ is truncated to 'framework.msgs-00c24407f5702ddd’
Jun 9 17:56:51 swi-mdm9x15 user.err Legato: =ERR= | serviceDirectory[477]/serviceDirectory_exe T=main | serviceDirectory.c DispatchToServer() 713 | Client (uid 0 ‘root’, pid 24606) disagrees with server (uid 0 ‘root’, pid 530) on protocol ID of service 'assetDataTutorial
Jun 9 17:56:51 swi-mdm9x15 user.emerg Legato: EMR | UNKNOWN[24606]/framework T=main | LE_FILENAME ReceiveSessionOpenResponse() 684 | Unexpected server response: -6 (LE_FAULT).
Jun 9 17:56:51 swi-mdm9x15 user.info Legato: INFO | supervisor[473]/supervisor T=main | proc.c proc_SigChildHandler() 1942 | Process ‘assetDataTutorial’ (PID: 24606) has exited with exit code 1.
Jun 9 17:56:51 swi-mdm9x15 user.info Legato: INFO | supervisor[473]/supervisor T=main | proc.c GetFaultAction() 1744 | No fault action specified for process ‘assetDataTutorial’. Assuming ‘ignore’.
Jun 9 17:56:51 swi-mdm9x15 user.warn Legato: -WRN- | supervisor[473]/supervisor T=main | app.c app_SigChildHandler() 3221 | Process ‘assetDataTutorial’ in app ‘assetDataTutorial’ faulted: Ignored.
Jun 9 17:56:51 swi-mdm9x15 user.warn Legato: -WRN- | _appStopClient[24611]/framework T=main | LE_FILENAME CreateSocket() 550 | Socket opened as standard i/o file descriptor 2!
Jun 9 17:56:51 swi-mdm9x15 user.info Legato: INFO | supervisor[473]/supervisor T=main | apps.c DeactivateAppContainer() 340 | Application ‘assetDataTutorial’ has stopped.

Any suggestions on troubleshooting this issue?

Thanks,

Max


#2

Hi @mxwidmer,

are you sure the version of Legato on your target (so 16.10.3?) matches the version of the sources/SDK you are working with?
According to Client (uid 0 'root', pid 24606) disagrees with server (uid 0 'root', pid 530) on protocol ID of service 'assetDataTutorial I would that you built your app against a different version, resulting in this error.


#3

Hello CoRfr,

Thank you very much for the recommendation! The SDK was at version 16.07, after upgrading to 16.10 and rebuilding the app components I was able to get the application to start successfully.

Thanks again,

Max