Cannot start application on WP8548


#1

Hi all,

I encountered an problem on running applocation on my WP8548 via command line. The app that I tried with is the sample code helloWorld that came from the Legato installation. What strange enought is that when I try the same thing with another sample code it worked properly. Below I attach the log content when the error occurs.

Jan 6 00:02:28 swi-mdm9x15 user. info Legato: INFO | supervisor[449]/supervisor T=main | app.c CreateTmpFs() 1204 | Mounted tmpfs at /legato/systems/current/appsWriteable/helloWorld/tmp.
Jan 6 00:02:28 swi-mdm9x15 user. info Legato: INFO | supervisor[449]/supervisor T=main | app.c CreateFileLink() 1504 | Created file link ‘/tmp/legato/serviceDirectoryServer’ to ‘/legato/systems/current/appsWriteable/helloWorld/tmp/legato/serviceDirectoryServer’.
Jan 6 00:02:28 swi-mdm9x15 user. info Legato: INFO | supervisor[449]/supervisor T=main | app.c CreateFileLink() 1504 | Created file link ‘/tmp/legato/serviceDirectoryClient’ to ‘/legato/systems/current/appsWriteable/helloWorld/tmp/legato/serviceDirectoryClient’.
Jan 6 00:02:28 swi-mdm9x15 user. info Legato: INFO | supervisor[449]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxCoreDumpFileBytes to value 102400.
Jan 6 00:02:28 swi-mdm9x15 user. info Legato: INFO | supervisor[449]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxFileBytes to value 102400.
Jan 6 00:02:28 swi-mdm9x15 user. info Legato: INFO | supervisor[449]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxLockedMemoryBytes to value 8192.
Jan 6 00:02:28 swi-mdm9x15 user. info Legato: INFO | supervisor[449]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxFileDescriptors to value 256.
Jan 6 00:02:28 swi-mdm9x15 user. info Legato: INFO | supervisor[449]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxMQueueBytes to value 512.
Jan 6 00:02:28 swi-mdm9x15 user. info Legato: INFO | supervisor[449]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxThreads to value 20.
Jan 6 00:02:28 swi-mdm9x15 user. info Legato: INFO | supervisor[449]/supervisor T=main | resourceLimits.c SetRLimitValue() 282 | Setting resource limit maxQueuedSignals to value 100.
Jan 6 00:02:28 swi-mdm9x15 user. info Legato: INFO | supervisor[449]/supervisor T=main | proc.c proc_Start() 1190 | Starting process ‘helloWorld’ with pid 1176
Jan 6 00:02:28 swi-mdm9x15 user. info Legato: INFO | supervisor[1176]/supervisor T=main | proc.c proc_Start() 1155 | Execing 'helloWorld’
Jan 6 00:02:28 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[1176]/framework T=unknown | LE_FILENAME InitPool() 303 | Memory pool name ‘framework.hashMap_refPathIteratorMap’ is truncated to 'framework.hashMap_refPathIterat’
Jan 6 00:02:28 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[1176]/framework T=main | LE_FILENAME InitPool() 303 | Memory pool name ‘framework.hashMap_refEventHandlers’ is truncated to 'framework.hashMap_refEventHandl’
Jan 6 00:02:28 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[1176]/framework T=main | LE_FILENAME InitPool() 303 | Memory pool name ‘framework.hashMap_refDefault Timer SafeRe’ is truncated to 'framework.hashMap_refDefault Ti’
Jan 6 00:02:28 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[1176]/framework T=main | LE_FILENAME InitPool() 303 | Memory pool name ‘framework.MessagingClientInterfaces’ is truncated to 'framework.MessagingClientInterf’
Jan 6 00:02:28 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[1176]/framework T=main | LE_FILENAME InitPool() 303 | Memory pool name ‘framework.hashMap_refHandlersRef’ is truncated to 'framework.hashMap_refHandlersRe’
Jan 6 00:02:28 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[1176]/framework T=main | LE_FILENAME InitPool() 303 | Memory pool name ‘framework.hashMap_MessagingServices’ is truncated to 'framework.hashMap_MessagingServ’
Jan 6 00:02:28 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[1176]/framework T=main | LE_FILENAME InitPool() 303 | Memory pool name ‘framework.hashMap_MessagingClients’ is truncated to 'framework.hashMap_MessagingClie’
Jan 6 00:02:28 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[1176]/framework T=main | LE_FILENAME InitPool() 303 | Memory pool name ‘framework.PipelineSIGCHLD-reports’ is truncated to 'framework.PipelineSIGCHLD-repor’
Jan 6 00:02:28 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[1176]/framework T=main | LE_FILENAME le_mem_ForceAlloc() 841 | Memory pool ‘framework.DestructorObjs’ overflowed. Expanded to 1 blocks.
Jan 6 00:02:28 swi-mdm9x15 user.debug Legato: DBUG | UNKNOWN[1176]/ T=main | _componentMain.c _helloComponent_Init() 26 | Initializing helloComponent component library.
Jan 6 00:02:28 swi-mdm9x15 user.debug Legato: DBUG | helloWorld[1176]/framework T=main | LE_FILENAME InitPool() 303 | Memory pool name ‘framework.msgs-LogControlProtocol’ is truncated to 'framework.msgs-LogControlProtoc’
Jan 6 00:02:28 swi-mdm9x15 user.err Legato: =ERR= | helloWorld[1176] | helloWorld: symbol lookup error: helloWorld: undefined symbol: le_sig_InstallShowStackHandler
Jan 6 00:02:28 swi-mdm9x15 user. info Legato: INFO | supervisor[449]/supervisor T=main | proc.c proc_SigChildHandler() 1942 | Process ‘helloWorld’ (PID: 1176) has exited with exit code 127.
Jan 6 00:02:28 swi-mdm9x15 user. info Legato: INFO | supervisor[449]/supervisor T=main | proc.c GetFaultAction() 1744 | No fault action specified for process ‘helloWorld’. Assuming ‘ignore’.
Jan 6 00:02:28 swi-mdm9x15 user.warn Legato: -WRN- | supervisor[449]/supervisor T=main | app.c app_SigChildHandler() 3221 | Process ‘helloWorld’ in app ‘helloWorld’ faulted: Ignored.
Jan 6 00:02:28 swi-mdm9x15 user.warn Legato: -WRN- | _appStopClient[1177]/framework T=main | LE_FILENAME CreateSocket() 550 | Socket opened as standard i/o file descriptor 2!
Jan 6 00:02:28 swi-mdm9x15 user. info Legato: INFO | supervisor[449]/supervisor T=main | apps.c DeactivateAppContainer() 340 | Application ‘helloWorld’ has stopped.

Could you please help me to find what is wrong? Thanks a lot.


#2

Hello Lichen,

Would you please confirm the Legato framework version on your build system and running on WP8548?

Is it running identical version?

Thx


#3

Hi Lotam,

Yes you make the exact point. I solved this problem shortly after this post. The platform version should be identical.

Thanks.