I use master release because I can't compile CA branch to android.
simpleclient and simpleserver of master release works on Linux
platform without any error.
But, their put() function didn't work on android.

2015-02-27 2:29 GMT+08:00 Keane, Erich <erich.keane at intel.com>:
> Are you on 0.9.0 master or connectivity abstraction?
>
> I just did a pull of that one, so I'll attempt to reproduce.
>
> In the mean time, the point of master and CA in the git repo
> (https://gerrit.iotivity.org/gerrit/p/iotivity.git ) are reasonably
> stable if you have access.
>
> On Fri, 2015-02-27 at 02:25 +0800, Han-Lin Li wrote:
>> I used 0.9.0 release.
>>
>> 2015-02-27 1:39 GMT+08:00 Keane, Erich <erich.keane at intel.com>:
>> > I don't see anything that is obvious on this one.  Can you tell me what
>> > commit-id you are working off of?  Perhaps I can see if I can reproduce
>> > it.
>> >
>> > Thanks!
>> > -Erich
>> >
>> > On Thu, 2015-02-26 at 19:10 +0800, Han-Lin Li wrote:
>> >> I run simpleclient and simpleserver by adb and get a segmentation fault
>> >>
>> >>
>> >>
>> >> Here is the debug message
>> >>
>> >>
>> >>
>> >> Getting Light Representation...
>> >>
>> >> v:1 t:1 tkl:8 c:1 id:65355 o: [ 7:'\xB5\x95', 11:'a', 11:'light' ]
>> >>
>> >> Jan 16 00:49:27 DEBG bytes_written 23
>> >>
>> >> Jan 16 00:49:27 DEBG coap_read: discarded invalid frame
>> >>
>> >> Jan 16 00:49:27 DEBG coap_read: discarded invalid frame
>> >>
>> >> Jan 16 00:49:27 DEBG coap_read: discarded invalid frame
>> >>
>> >> Jan 16 00:49:27 DEBG coap_read: discarded invalid frame
>> >>
>> >> Jan 16 00:49:27 DEBG set data to 0xf6d5b0a6 (pdu ends at 0xf6d5b0f9)
>> >>
>> >> Jan 16 00:49:27 DEBG ** received 105 bytes from :
>> >>
>> >> v:1 t:1 tkl:8 c:64 id:65355 o: [ 11:'\x01', 12:'\x32', 
>> >> 14:'\xFF\xFF\x02\x00' ]
>> >>
>> >> :{"oc":[{"href":"/a/light","rep":{"name":"John's 
>> >> light","power":0,"state":false
>> >>
>> >> }]}\x00
>> >>
>> >> Jan 16 00:49:27 DEBG coap_read: discarded invalid frame
>> >>
>> >> GET request was successful
>> >>
>> >> Resource URI: /a/light
>> >>
>> >>         state: false
>> >>
>> >>         power: 0
>> >>
>> >>         name: John's light
>> >>
>> >> Putting light representation...
>> >>
>> >> v:1 t:1 tkl:8 c:3 id:65356 o: [ 7:'\xB5\x95', 11:'a', 11:'light' ] 
>> >> d:{"oc":[{"r
>> >>
>> >> p":{"power":15,"state":true}}]}\x00
>> >>
>> >> Jan 16 00:49:27 DEBG bytes_written 67
>> >>
>> >> Segmentation fault (core dumped)
>> >>
>> >>
>> >>
>> >> It should crash in resource->put(rep, QueryParamsMap(), &onPut);
>> >> Any body knows why?
>> >> _______________________________________________
>> >> iotivity-dev mailing list
>> >> iotivity-dev at lists.iotivity.org
>> >> https://lists.iotivity.org/mailman/listinfo/iotivity-dev
>> >
>

Reply via email to