Application stuck in a phase


#1

Hi,

Please refer the log below:

Oct 31 11:56:26 swi-mdm9x15 user.info Legato:  INFO | supervisor[478]/supervisor T=main | app.c CreateTmpFs() 1211 | Mounted tmpfs at /legato/systems/current/appsWriteable/first_build/tmp.
Oct 31 11:56:26 swi-mdm9x15 user.info Legato:  INFO | supervisor[478]/supervisor T=main | app.c CreateFileLink() 1559 | Created file link '/tmp/legato/serviceDirectoryServer' to '/legato/systems/current/appsWriteable/first_build/tmp/legato/serviceDirectoryServer'.
Oct 31 11:56:26 swi-mdm9x15 user.info Legato:  INFO | supervisor[478]/supervisor T=main | app.c CreateFileLink() 1559 | Created file link '/tmp/legato/serviceDirectoryClient' to '/legato/systems/current/appsWriteable/first_build/tmp/legato/serviceDirectoryClient'.
Oct 31 11:56:26 swi-mdm9x15 user.info Legato:  INFO | supervisor[478]/supervisor T=main | proc.c proc_Start() 1239 | Starting process 'first_build' with pid 16370
Oct 31 11:56:26 swi-mdm9x15 user.info Legato:  INFO | supervisor[16370]/supervisor T=main | proc.c proc_Start() 1204 | Execing 'first_build'
Oct 31 11:56:26 swi-mdm9x15 user.debug Legato:  DBUG | _UNKNOWN_[16370]/framework T=main | le_mdc_client.c DoConnectService() 328 | ======= Starting client for 'first_build.myComponents.le_mdc' service ========
Oct 31 11:56:26 swi-mdm9x15 user.debug Legato:  DBUG | first_build[16370]/framework T=main | LE_FILENAME InitPool() 303 | Memory pool name 'framework.msgs-LogControlProtocol' is truncated to 'framework.msgs-LogControlProtoc'
Oct 31 11:56:26 swi-mdm9x15 user.debug Legato:  DBUG | first_build[16370]/framework T=main | LE_FILENAME le_mem_ForceAlloc() 841 | Memory pool 'framework.SigMonitor' overflowed. Expanded to 1 blocks.
Oct 31 11:56:26 swi-mdm9x15 user.debug Legato:  DBUG | first_build[16370]/framework T=main | LE_FILENAME le_mem_ForceAlloc() 841 | Memory pool 'framework.SigHandler' overflowed. Expanded to 1 blocks.
Oct 31 11:56:26 swi-mdm9x15 user.debug Legato:  DBUG | first_build[16370]/first_build_exe T=main | _main.c main() 63 | == Starting Event Processing Loop ==
Oct 31 11:56:26 swi-mdm9x15 user.info Legato:  INFO | first_build[16370]/myComponents T=main | main.cc _myComponents_COMPONENT_INIT() 313 | Hi from s2cgcloud app! 
Oct 31 11:56:26 swi-mdm9x15 user.info Legato:  INFO | first_build[16370]/myComponents T=main | main.cc generateJWT() 127 | Generated Token: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1MDkzNzA2MzYsImlhdCI6MTU0MDkwMzAzNiwianRpIjoibm93ICsgY3VycmVudCB0aW1lIiwidHlwIjoic3Rh
Oct 31 11:56:26 swi-mdm9x15 user.info Legato:  INFO | first_build[16370]/myComponents T=main | main.cc start() 175 |  +++++Update: Configuring MQTT
Oct 31 11:56:26 swi-mdm9x15 user.debug Legato:  DBUG | first_build[16370]/framework T=main | LE_FILENAME le_mem_ForceAlloc() 841 | Memory pool 'framework.SafeRef-Map' overflowed. Expanded to 11 blocks.
Oct 31 11:56:26 swi-mdm9x15 user.debug Legato:  DBUG | first_build[16370]/framework T=main | LE_FILENAME InitPool() 303 | Memory pool name 'framework.hashMap_refle_data_ClientHandle' is truncated to 'framework.hashMap_refle_data_Cl'
Oct 31 11:56:26 swi-mdm9x15 user.debug Legato:  DBUG | first_build[16370]/framework T=main | LE_FILENAME msgMessage_CreatePool() 112 | Pool name truncated to 'msgs-116d3126f5ace608102ffc16df' for protocol '116d3126f5ace608102ffc16dff0b5e3'.
Oct 31 11:56:26 swi-mdm9x15 user.debug Legato:  DBUG | first_build[16370]/framework T=main | LE_FILENAME InitPool() 303 | Memory pool name 'framework.msgs-116d3126f5ace608102ffc16df' is truncated to 'framework.msgs-116d3126f5ace608'
Oct 31 11:56:26 swi-mdm9x15 user.warn Legato: -WRN- | first_build[16370]/framework T=main | LE_FILENAME le_fdMonitor_Create() 672 | FD Monitor object name 'first_build.myComponents.le_data' truncated to 'first_build.myComponents.le_dat'.
Oct 31 11:56:26 swi-mdm9x15 user.debug Legato:  DBUG | first_build[16370]/framework T=main | LE_FILENAME le_mem_ForceAlloc() 841 | Memory pool '.le_data_ClientThreadData' overflowed. Expanded to 1 blocks.
Oct 31 11:56:26 swi-mdm9x15 user.debug Legato:  DBUG | first_build[16370]/framework T=main | le_data_client.c DoConnectService() 328 | ======= Starting client for 'first_build.myComponents.le_data' service ========
Oct 31 11:56:26 swi-mdm9x15 user.info Legato:  INFO | first_build[16370]/myComponents T=main | main.cc configureMQTT() 136 | +++++Update: Exiting le_data_ConnectService()
Oct 31 11:56:26 swi-mdm9x15 user.debug Legato:  DBUG | first_build[16370]/framework T=main | LE_FILENAME le_mem_ForceAlloc() 841 | Memory pool 'framework.SafeRef-Map' overflowed. Expanded to 12 blocks.
Oct 31 11:56:26 swi-mdm9x15 user.debug Legato:  DBUG | first_build[16370]/framework T=main | LE_FILENAME InitPool() 303 | Memory pool name 'framework.hashMap_refmqtt_ClientHandlers' is truncated to 'framework.hashMap_refmqtt_Clien'
Oct 31 11:56:26 swi-mdm9x15 user.debug Legato:  DBUG | first_build[16370]/framework T=main | LE_FILENAME msgMessage_CreatePool() 112 | Pool name truncated to 'msgs-bd88dd37a51051634f9f846f50' for protocol 'bd88dd37a51051634f9f846f50b216e1'.
Oct 31 11:56:26 swi-mdm9x15 user.debug Legato:  DBUG | first_build[16370]/framework T=main | LE_FILENAME InitPool() 303 | Memory pool name 'framework.msgs-bd88dd37a51051634f9f846f50' is truncated to 'framework.msgs-bd88dd37a5105163'

It seems to have stuck after InitPool().

Does anybody have an idea what might cause this?


#3

Which version of Legato , what is the sierra module that you are using.
What is the operation that you are doing with your application when this problem occurred.
Is the legato framework used by you the sierra released one or the one modified by you?
Can you give the system details and scenario when the issue occurred?


#4

@Vasantha_lax: Thanks for reverting. I did manage to resolve the issue.