Hi all,
OS: Android L
ANT+ Plugins Service: 3.5.0
i monitor com.dsi.ant.plusings.antplus process:
$ adb shell ls -a /proc/"process's pid"/fd
When my android use MultiDeivceSearch to search HeartRate sensor,
i find a sensor, the folder "fd" will be increase 3 inode.
when i close search, these inode will be release.
When i connect to HeartRate sensor, the fd will incress 3 inode,
but i release hrpcc, these inode no be released,
=================================================================================
like it:
lrwx------ u0_a25 u0_a25 2010-01-06 22:25 0 -> /dev/null
lrwx------ u0_a25 u0_a25 2010-01-06 22:25 1 -> /dev/null
lr-x------ u0_a25 u0_a25 2010-01-06 22:25 10 -> /system/framework/mediatek-res/mediatek-res.apk
lr-x------ u0_a25 u0_a25 2010-01-06 22:25 11 -> pipe:[332592]
lr-x------ u0_a25 u0_a25 2010-01-06 22:25 12 -> /dev/alarm
l-wx------ u0_a25 u0_a25 2010-01-06 22:25 13 -> pipe:[332592]
l-wx------ u0_a25 u0_a25 2010-01-06 22:25 14 -> /dev/cpuctl/tasks
l-wx------ u0_a25 u0_a25 2010-01-06 22:25 15 -> /dev/cpuctl/bg_non_interactive/tasks
lrwx------ u0_a25 u0_a25 2010-01-06 22:25 16 -> socket:[392835]
lrwx------ u0_a25 u0_a25 2010-01-06 22:25 17 -> /dev/binder
lr-x------ u0_a25 u0_a25 2010-01-06 22:25 18 -> pipe:[392838]
l-wx------ u0_a25 u0_a25 2010-01-06 22:25 19 -> pipe:[392838]
lrwx------ u0_a25 u0_a25 2010-01-06 22:25 2 -> /dev/null
lrwx------ u0_a25 u0_a25 2010-01-06 22:25 20 -> anon_inode:[eventpoll]
lr-x------ u0_a25 u0_a25 2010-01-06 22:25 21 -> /system/app/ANTPlusPlugins/ANTPlusPlugins.apk
lr-x------ u0_a25 u0_a25 2010-01-06 22:25 22 -> pipe:[393165]
l-wx------ u0_a25 u0_a25 2010-01-06 22:25 23 -> pipe:[393165]
lrwx------ u0_a25 u0_a25 2010-01-06 22:25 24 -> anon_inode:[eventpoll]
lr-x------ u0_a25 u0_a25 2010-01-06 22:25 25 -> pipe:[393167]
l-wx------ u0_a25 u0_a25 2010-01-06 22:25 26 -> pipe:[393167]
lrwx------ u0_a25 u0_a25 2010-01-06 22:25 27 -> anon_inode:[eventpoll]
lr-x------ u0_a25 u0_a25 2010-01-06 22:25 28 -> pipe:[393412]
l-wx------ u0_a25 u0_a25 2010-01-06 22:25 29 -> pipe:[393412]
lrwx------ u0_a25 u0_a25 2010-01-06 22:25 3 -> socket:[4467]
lrwx------ u0_a25 u0_a25 2010-01-06 22:25 30 -> anon_inode:[eventpoll]
lr-x------ u0_a25 u0_a25 2010-01-06 22:25 31 -> pipe:[394253]
l-wx------ u0_a25 u0_a25 2010-01-06 22:25 32 -> pipe:[394253]
lrwx------ u0_a25 u0_a25 2010-01-06 22:25 33 -> anon_inode:[eventpoll]
l-wx------ u0_a25 u0_a25 2010-01-06 22:25 4 -> /sys/kernel/debug/tracing/trace_marker
lrwx------ u0_a25 u0_a25 2010-01-06 22:25 5 -> socket:[4593]
lr-x------ u0_a25 u0_a25 2010-01-06 22:25 6 -> /system/framework/framework-res.apk
lr-x------ u0_a25 u0_a25 2010-01-06 22:25 7 -> /system/framework/core-libart.jar
lr-x------ u0_a25 u0_a25 2010-01-06 22:25 8 -> /dev/__properties__
lrwx------ u0_a25 u0_a25 2010-01-06 22:25 9 -> socket:[332591]
=================================================================================
When the inode's number over 1024, the "com.dsi.ant.plugins.antplus" will be crash, so SQLiteDatabase cannot open file.
My question is:
1. Is "com.dsi.ant.plugins.antplus" not close some file, when i release hrpcc?
2. How to solved it?
More information:
i try ANT+ Plugins Service: 3.6.0, also had same issue.
Thanks
Henry