Application xxxService has crashed 1 time


#1

syslog-xivelyClient-xivelyclient-316019463.txt (1.9 MB)
syslog-positioningService-posDaemon-316019463.txt (1.9 MB)

I installed an APP on the legato, and had running about 1 day, then stop. See the logs attached.
For this issue, I would like to re-test the APP again. However, If you have any ideas, it would a great help for me.

Thank you.

Regards!


#2
Jan  6 15:11:01 swi-mdm9x15 user.warn kernel: [54652.653190] posDaemon invoked oom-killer: gfp_mask=0xd0, order=0, oom_score_adj=0
Jan  6 15:11:01 swi-mdm9x15 user.info kernel: [54652.659752] posDaemon cpuset=/ mems_allowed=0
Jan  6 15:11:01 swi-mdm9x15 user.warn kernel: [54652.671533] CPU: 0 PID: 720 Comm: posDaemon Not tainted 3.14.29ltsi-a00e464379_b0ce579abb #2

Looks like you were out of memory, are you cleaning properly with le_pos_sample_Release for instance?


#3

CoRfr,
First of all, thank you for your information.
Second, I tested the APP again, I had the same issue: app crashed automatically after running about 1 day.

Looks like you were out of memory, are you cleaning properly with le_pos_sample_Release for instance?

Not, I am not. Can you tell me when I should release the memory?

Regards!


#4

Hi CoRfr,
It seems OK now. I added a function : Before start-

systemCtl.gpsCtl.fd = le_posCtrl_Request();
By the end of process, added:

le_posCtrl_Release(systemCtl.gpsCtl.fd);