OCPlatform APIs issue on android arm64-v8a
I am facing some crash while running the android sample application on a particular android architecture i.e.
The crash occurs in
, when API throws any exception, Although the application is catching the exception properly.
Same code and applications are working for "
For testing this crash scenario, I have modified the
android sample application, and pushed the changes to gerrit:
Steps to reproduce the crash:
1. Take the latest 1.3-rel branch code.
- Apply patch from gerrit: [
- Build it for android platform for "
" architecture ->
scons TARGET_OS=android TARGET_ARCH=arm64-v8a RELEASE=0 SECURED=1 WITH_TCP=1 WITH_CLOUD=1
4. Install and Run the sample application in android mobile.
5. Press start button
ARM64-V8A Test button
[It will result in crash]
On pressing this button internally it will call the stopPresence API,
will fail and it will throw the exception. Even we are catching in app it will crash.
Note: As an example I have used stopPresence API , even
** I tried with different APIs of OCPlatform, but APIs resulted in crash when it throws the exception.**
If we build same code for "
" arch, no crash will occur.
: scons TARGET_OS=android TARGET_ARCH=armeabi RELEASE=0 SECURED=1 WITH_TCP=1 WITH_CLOUD=1
JIRA migration meta data
- JIRA Issue ID: IOT-2459
- Reporter: jay.sharma
- Assignee: georgen
- Creator: jay.sharma
- Created at: 2017-07-02T04:52:15.000-0700
- Found in Version: 1.3
- Fix in Version: 1.3-rel
- Issue Severity: Critical
- Reproducibility: Always (100%)
- Operating System: Android
- Hardware/ OEM Platform: None
- External URL: None
- Bugzilla ID: None
- Product: None
- Status: Closed
- Components: Platform Support
- Priority: Undecided
- Due Date: None
Issue Type: Bug
END of JIRA migration meta data