Hello,

We recently build the new 1.1.0 and used the .aar files into our project 
however, the new build is causing a crash during the call to 
registerDeviceInfo().
The crash is A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x2636a7 in 
tid 31174 (Thread-247).
The current attached log is for a x86 phone running Android 6.0 but we also 
tested on x86 6.0.1, armv7 Android 5.1.1, armv7 Android 6.0 and armv7 Android 
6.0.1 and see the same error message as above.

For the attached log we used the iotivity-base-x86-debug .aar file from the 
version 1.1.0. We are seeing "ps is NULL" messages ( is ps referring to 
OcPersistentStorage) and could that be one of the issue?

        publishOptions = new Options(
                "Publisher-" + android_id,
                ServiceType.IN_PROC,
                ModeType.SERVER,
                QualityOfService.LOW,
                "PlatformId",
                "Intel",
                "1.0",
               "100",
                "1.1.1",
                "5.1",
                "110000",
                "0.0.0.0",
                0);
OcDeviceInfo deviceInfo = new OcDeviceInfo(options.getDeviceName()); // the 
device name would be something like "Publisher-28b2722a"
OcPlatform.registerDeviceInfo(deviceInfo) // crash occurs somewhere here in the 
native code.

Thanks,
Neil.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160517/6ebb0535/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crashLog1.png
Type: image/png
Size: 307883 bytes
Desc: crashLog1.png
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160517/6ebb0535/attachment.png>

Reply via email to