Am 25.11.2015 um 01:13 schrieb Stefano Miccoli:
> I have a bug on my RPi: (no time to investigate right now, but reporting, 
> just in case it can be reproduced).
> 
> start owserver as
> 
> owserver --tester=DS18S20 —debug
> 
> and run (in another terminal)
> 
> owread /10.000010EF0000
> 
> and owserver segfaults:
> 
>    CALL: data.c:(144) Read message
>   DEBUG: read.c:(55) ReadHandler start
>   DEBUG: read.c:(61) ReadHandler: From Client sm->payload=17 sm->size=65536 
> sm->offset=0
>   DEBUG: read.c:(79) ReadHandler: call FS_read_postparse on /10.000010EF0000
>   DEBUG: ow_read.c:(72) /10.000010EF0000
>   DEBUG: ow_read.c:(231) About to read </10.000010EF0000> extension=0 size=8 
> offset=0
> Segmentation fault (core dumped)
> 
> The error is triggered when you try to read (message type 2, read) a node 
> which is a directory. Expected behaviour in this case is failure with errcode 
> 21.
> 
Fixed with commit cad4fde8e49ad87285a6d3f84c01bc06bfa15978, I hope.

And sorry for getting your first name wrong in the commit message.

Kind regards

        Jan


------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to