Hi Habib We are just compiling the IoTivity code and run it.
Can we select the json file or new data file from API? Otherwise should we initialize the environment? BR, Uze Choi From: [email protected] [mailto:iotivity-dev- bounces at lists.iotivity.org] On Behalf Of Habib Virji Sent: Friday, March 25, 2016 6:22 PM To: hyunjun2.kim at samsung.com; iotivity-dev at lists.iotivity.org Subject: Re: [dev] Is there anybody who has seen an assertion abort of tinycbor? Hi, It is due to wrong format of the file security PSI is reading. Security stack now read dat file and it might be your code is using json file and that?s why it fails. Can you please make sure that your simple server is not using json file and instead using new dat file. Assert condition in tinycbor comes when it is expecting a certain a particular format. Kind Regard Habib From: [email protected] [mailto:iotivity-dev- bounces at lists.iotivity.org] On Behalf Of ??? Sent: 25 March 2016 08:46 To: iotivity-dev at lists.iotivity.org Subject: [dev] Is there anybody who has seen an assertion abort of tinycbor? Dear all, I have faced an assertion abort of tinycbor when it was run simpleserver. IoTivity was built as secured and debug mode. (using build command, "scons TARGET_OS=linux TARGET_ARCH=x86 TARGET_TRANSPORT=IP SECURED=1 RELEASE=0") It seems like an assertion check about cbor creation. If you have any idea to avoid this, please let me know. please see below running log. 51:12.332 DEBUG: OIC_CA_NW_CONFIG: Add network type(NFC) - Not Supported 51:12.332 DEBUG: OIC_CA_CONN_MGR: CAAddNetworkType(CA_ADAPTER_NFC) function returns result : 12 51:12.332 DEBUG: SRM: SRMRegisterHandler !! 51:12.332 DEBUG: OIC_CA_CONN_MGR: CARegisterHandler 51:12.332 DEBUG: OIC_CA_CONN_MGR: CAStartListeningServer 51:12.332 DEBUG: OIC_CA_IP_MONITOR: Got ifaddrs 51:12.332 DEBUG: OIC_CA_IP_MONITOR: Added interface: eth0 (2) 51:12.332 DEBUG: OIC_CA_IP_SERVER: IP network interfaces found: 1 51:12.332 DEBUG: OIC_CA_IP_SERVER: IPv4 network interface: eth0 51:12.332 INFO: OIC_RI_STACK: Server mode: CAStartListeningServer 51:12.332 INFO: OIC_RI_STACK: Entering OCCreateResource 51:12.332 INFO: OIC_RI_STACK: Added type oic.wk.ad to /oic/ad 51:12.332 INFO: OIC_RI_STACK: Binding core.r interface to /oic/ad 51:12.332 INFO: OIC_RI_OBSERVE: Entering SendObserverNotification 51:12.332 INFO: OIC_RI_OBSERVE: Resource has no observers 51:12.332 DEBUG: SRM-PSI: File Read Size: 1163 simpleserver: extlibs/tinycbor/tinycbor/src/cborparser.c:681: cbor_value_map_find_value: Assertion `cbor_value_is_map(map)' failed. Aborted (core dumped) I have created a jira ticket. (https://jira.iotivity.org/browse/IOT-1046) Please inform to me if I have missed an anything then i will close this. Thank you, BR. ???( HyunJun Kim ) Engineer IoT Solution Lab. | Web & Convergence Team. Software R&D Center Digital Media & Communications Business SAMSUNG ELECTRONICS CO,. LTD. Mobile +82-10-5096-0151 E-Mail HyunJun2.Kim at samsung.com <mailto:hyunjun2.kim at samsung.com> | kiness at gmail.com <mailto:kiness at gmail.com> <http://ext.samsung.net/mailcheck/SeenTimeChecker?do=ffcf397c39a8fbf2de112af 6e6f786ad7ccfac3aba9390114d7c95afdd26519213d69ea60670f66e1fac5bf6c61543587bc 8a6096cfbfc9f02e038c8d853bffbdb9fdddda33e82cbe4a391424e62fcf6cf878f9a26ce15a 0> -------------- next part -------------- HTML ?????? ??????????????... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160325/14089d67/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 13168 bytes Desc: ?????? ?? ????????. URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160325/14089d67/attachment.gif>
