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.

S.

> On 24 Nov 2015, at 17:56, Matthias Urlichs <matth...@urlichs.de> wrote:
> 
> On 24.11.2015 17:10, Matthias Urlichs wrote:
>> I'll take a look ASAP.
> 
> I have rebased my "master" branch. Seems I mistyped a branch name
> yesterday. Sorry about that.
> 
> I'd be even happier with the idea of releasing if somebody found the
> cause for the persistent hang I have on my raspberry pi, which basically
> works like this:
> 
> * after some hours, owserver doesn't react any more
> * restarting it doesn't work, still hangs
> * run owserver under strace, it works
> * restart it normally, still works
> * repeat
> 
> Apparently others have seen that problem to some extent.
> 
> The MoaT part itself is stable for now; while I plan to add a few some
> enhancements (PID controller, access to the serial port, firmware
> upload, …) they'll take some time, and implementing them won't cause
> incompatibilities.
> 
> -- Matthias Urlichs
> 
> 
> ------------------------------------------------------------------------------
> 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=254741551&iu=/4140
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers

------------------------------------------------------------------------------
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=254741551&iu=/4140
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to