Hi All, Please take a look at the log file below. We are seeing a crash inside of CACreateWiFiJNIInterfaceObject function. The codebase is built with TARGET_TRANSPORT=WIFI. It seems like CAWiFiJniInit is never called.
Are we missing anything? Thanks, Tim 04-13 20:28:09.452 28532-28550/? I/CA?s initialize adapters.. 04-13 20:28:09.452 28532-28550/? I/WIFI_ADAP?s IN 04-13 20:28:09.452 28532-28550/? I/WIFI_MONITOR?s IN 04-13 20:28:09.452 28532-28550/? I/WIFI_MONITOR?s [WIFICore] CACreateWiFiJNIInterfaceObject 04-13 20:28:09.452 28532-28570/? I/UTHREADPOOL?s Calling routine with data as parameter 04-13 20:28:09.452 28532-28550/? A/libc?s Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 28550 (ationTestRunner) 04-13 20:28:09.452 28532-28570/? I/CA?s retransmission main thread start.. 04-13 20:28:09.452 28532-28570/? I/CA?s wait..there is no retransmission data. 04-13 20:28:09.557 2668-2668/? I/DEBUG?s *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 04-13 20:28:09.557 2668-2668/? I/DEBUG?s Build fingerprint: 'cloudfone/cloudpad/one7_0_4_coho:5.0/LRX21Q/COHOL00475:user/release-keys' 04-13 20:28:09.557 2668-2668/? I/DEBUG?s Revision: '0' 04-13 20:28:09.557 2668-2668/? I/DEBUG?s ABI: 'x86' 04-13 20:28:09.557 2668-2668/? I/DEBUG?s pid: 28532, tid: 28550, name: ationTestRunner >>> org.iotivity.base.test <<< 04-13 20:28:09.558 2668-2668/? I/DEBUG?s signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 04-13 20:28:09.575 2668-2668/? I/DEBUG?s eax 00000000 ebx e4afaef8 ecx e43ff03c edx fd4c8d27 04-13 20:28:09.575 2668-2668/? I/DEBUG?s esi e4af635b edi 00000000 04-13 20:28:09.575 2668-2668/? I/DEBUG?s xcs 00000023 xds 0000002b xes 0000002b xfs 0000006f xss 0000002b 04-13 20:28:09.575 2668-2668/? I/DEBUG?s eip e4af208a ebp e43ff058 esp e43ff01c flags 00210282 04-13 20:28:09.575 2668-2668/? I/DEBUG?s backtrace: 04-13 20:28:09.575 2668-2668/? I/DEBUG?s #00 pc 0000d08a /data/app/org.iotivity.base.test-1/lib/x86/libconnectivity_abstraction.so (CAWiFiInitializeNetworkMonitor+126) 04-13 20:28:09.575 2668-2668/? I/DEBUG?s #01 pc 0000b671 /data/app/org.iotivity.base.test-1/lib/x86/libconnectivity_abstraction.so (CAInitializeWIFI+161) 04-13 20:28:09.575 2668-2668/? I/DEBUG?s #02 pc 00005b61 /data/app/org.iotivity.base.test-1/lib/x86/libconnectivity_abstraction.so (CAInitializeAdapters+83) 04-13 20:28:09.575 2668-2668/? I/DEBUG?s #03 pc 000074ca /data/app/org.iotivity.base.test-1/lib/x86/libconnectivity_abstraction.so (CAInitializeMessageHandler+380) 04-13 20:28:09.575 2668-2668/? I/DEBUG?s #04 pc 00005393 /data/app/org.iotivity.base.test-1/lib/x86/libconnectivity_abstraction.so (CAInitialize+44) 04-13 20:28:09.575 2668-2668/? I/DEBUG?s #05 pc 0000852a /data/app/org.iotivity.base.test-1/lib/x86/liboctbstack.so (OCInit+65) 04-13 20:28:09.575 2668-2668/? I/DEBUG?s #06 pc 0005e399 /data/app/org.iotivity.base.test-1/lib/x86/liboc.so (OC::InProcServerWrapper::InProcServerWrapper(std::weak_ptr<std::recursive_mutex>, OC::PlatformConfig)+205) 04-13 20:28:09.575 2668-2668/? I/DEBUG?s #07 pc 000435a4 /data/app/org.iotivity.base.test-1/lib/x86/liboc.so (std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<OC::InProcServerWrapper, std::allocator<OC::InProcServerWrapper>, std::weak_ptr<std::recursive_mutex>&, OC::PlatformConfig&>(std::_Sp_make_shared_tag, OC::InProcServerWrapper*, std::allocator<OC::InProcServerWrapper> const&, std::weak_ptr<std::recursive_mutex>&&&, OC::PlatformConfig&&&)+130) 04-13 20:28:09.576 2668-2668/? I/DEBUG?s #08 pc 00043668 /data/app/org.iotivity.base.test-1/lib/x86/liboc.so (OC::WrapperFactory::CreateServerWrapper(std::weak_ptr<std::recursive_mutex>, OC::PlatformConfig)+70) 04-13 20:28:09.576 2668-2668/? I/DEBUG?s #09 pc 00042630 /data/app/org.iotivity.base.test-1/lib/x86/liboc.so (OC::OCPlatform_impl::init(OC::PlatformConfig const&)+348) 04-13 20:28:09.576 2668-2668/? I/DEBUG?s #10 pc 0004334b /data/app/org.iotivity.base.test-1/lib/x86/liboc.so (OC::OCPlatform_impl::OCPlatform_impl(OC::PlatformConfig const&)+215) 04-13 20:28:09.576 2668-2668/? I/DEBUG?s #11 pc 000433ef /data/app/org.iotivity.base.test-1/lib/x86/liboc.so (OC::OCPlatform_impl::Instance()+71) 04-13 20:28:09.576 2668-2668/? I/DEBUG?s #12 pc 00040897 /data/app/org.iotivity.base.test-1/lib/x86/liboc.so (OC::OCPlatform::registerResource(void*&, std::string&, std::string const&, std::string const&, std::function<OCEntityHandlerResult (std::shared_ptr<OC::OCResourceRequest>)>, unsigned char)+79) 04-13 20:28:09.576 2668-2668/? I/DEBUG?s #13 pc 00036a59 /data/app/org.iotivity.base.test-1/lib/x86/libocstack-jni.so (Java_org_iotivity_base_OcPlatform_registerResource1+489) 04-13 20:28:09.576 2668-2668/? I/DEBUG?s #14 pc 000036aa /data/dalvik-cache/x86/data at [email protected] at [email protected] 04-13 20:28:09.773 2668-2668/? I/DEBUG?s Tombstone written to: /data/tombstones/tombstone_09 04-13 20:28:09.773 2966-2987/? I/BootReceiver?s Copying /data/tombstones/tombstone_09 to DropBox (SYSTEM_TOMBSTONE) 04-13 20:28:09.775 2966-3998/? E/SharedPreferencesImpl?s Couldn't create directory for SharedPreferences file shared_prefs/log_files.xml 04-13 20:28:09.776 2966-28571/? W/ActivityManager?s Error in app org.iotivity.base.test running instrumentation ComponentInfo{org.iotivity.base.test/android.test.InstrumentationTestRunner}: 04-13 20:28:09.776 2966-28571/? W/ActivityManager?s Native crash 04-13 20:28:09.776 2966-28571/? W/ActivityManager?s Native crash: Segmentation fault -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150414/92933337/attachment.html>
