Hi Yu-Hsin,

Can you please log a jira ticket item for this? This will ensure that the issue 
is tracked and fixed by IoTivity's bug tracking system. There are weekly 
meetings (Wednesdays) to prioritize new bugs and assign them to the proper 
people for fixing.

http://jira.iotivity.org/
(You can sign in with your Linux Foundation username and password.)
This new jira ticket item may sit until Wednesday, unless you assign the ticket 
to someone then work may start sooner.)

Thanks!

Joey Morrow


From: iotivity-dev-bounces at lists.iotivity.org 
[mailto:[email protected]] On Behalf Of Hung Yu-Hsin
Sent: Thursday, July 30, 2015 2:30 AM
To: iotivity-dev at lists.iotivity.org
Subject: [dev] [Android] JNI local reference table overflow (CA)

Hi All,

Recently I found that the multi transport restriction of Android in CA's scons 
script is removed, so I tried to build a new aar to support IP/EDR/LE 
simultaneously.

My application runs well before I added reference to the new aar, although it 
only support IP adapter due to IoTivity limitation. After integrate with the 
new aar, the Android sample app: simpleclient and simpleserver, work great with 
Bluetooth EDR connection, but often crashed on my application.

Basically my client will do polling to server periodically (assume 5s), and the 
app always crashed after about one minute. The log says there is an error: "JNI 
ERROR (app bug): local reference table overflow (max=512)", so I guess there 
are some issues in the CA implementation.

Also, if I set the period more frequently, almost no operation will succeed 
(findResource, get...), I suspect the implementation of EDR is not thread-safe, 
so the data operation on the Bluetooth interface will lead to unexpected 
behavior?

Here are some logs of my application for this issue: http://pastie.org/10319711


Thanks!

Best Regard,

===
Yu-Hsin Hung,
Electrical Engineering and Computer Science Undergraduate Honors Program,
National Chiao-Tung Universiry, Hsinchu 300, Taiwan
(Phone) +886911012113
(Email) hungys at hotmail.com<mailto:hungys at hotmail.com>
(Website)  http://hungys.logdown.com/
===
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150730/cda1a3c1/attachment.html>

Reply via email to