[Paul Alfille]

> Any information you can give me on problems you find in owserver would
> be appreciated.
>
> 1. When you say it crashes, does it just close? Become unresponsive? Segfault?
> 2. What bus master and devices a re involved.
> 3. How is owserver being accessed? owhttpd? owfs? shell?

It ran overnight, then crashed again this morning, this time with
--error_level 9.  The complete log is 623 MB.  The final few lines
below.  Let me know if you'd like more from the log (8.6 MB bzip2'ed).

To your questions:

1. The crash in this case seems to be an assert (see log).

2. I'm off site, but I'm pretty sure that I'm using The Link.  If not,
it's a DS9097U.  Then a USB-to-RS232 adapter.  The OS is Linux.

The files accessed are:

26.396385000000/temperature
26.396385000000/HIH4000/humidity
12.325E23000000/TAI8570/pressure
12.325E23000000/TAI8570/temperature
10.53F652010800/temperature
28.56747E010000/temperature
28.1D437E010000/temperature
28.6D6B31000000/temperature
28.FA9831000000/temperature
28.ED7715000000/temperature
28.856C31000000/temperature
uncached/1D.9E220A000000/counters.B
uncached/1D.311B09000000/counters.B

3. owserver is being accessed through owcapi from a program running on
the same computer (accessing localhost:3001).  The program has a local
queue to make sure that owserver only receives one request at a time
(used to cause serious trouble if otherwise).  On the other hand,
owserver will usually get a new request immediately after finishing
one.  There also is a shell script using owget to read one sensor
every 10 minutes (so owserver can get two requests simultaniously, but
this happens so rarely that it doesn't seem to be a problem).  It can
occationally use owwrite as well, which happened twice during this
run, several hours before the crash.


The "final words" of owserver:

OWQ OneWireQuery structure of /26.396385000000/HIH4000/humidity                 
                                                             
    OneWireQuery size=12 offset=0, extension=0                                  
                                                             
Byte buffer OneWireQuery buffer, length=12
--000: 20 20 20 20 20 20 32 35 2E 38 30 39
   <      25.809>
    Cleanup = 0006    OneWireQuery I=12 U=12 F=25.809 Y=12 D=Thu Jan  1 
01:00:12 1970

--- OneWireQuery done
  DEBUG: ow_read.c:FS_read_distribute(223) /26.396385000000/HIH4000/humidity 
return 12
  DEBUG: ow_read.c:FS_read_postparse(100) /26.396385000000/HIH4000/humidity 
return 12
  DEBUG: read.c:ReadHandler(88) ReadHandler: FS_read_postparse read on 
/26.396385000000/HIH4000/humidity return = 12
OWQ OneWireQuery structure of /26.396385000000/HIH4000/humidity
    OneWireQuery size=12 offset=0, extension=0
Byte buffer OneWireQuery buffer, length=12
--000: 20 20 20 20 20 20 32 35 2E 38 30 39
   <      25.809>
    Cleanup = 0006    OneWireQuery I=12 U=12 F=25.809 Y=12 D=Thu Jan  1 
01:00:12 1970

--- OneWireQuery done
  DEBUG: read.c:ReadHandler(96) ReadHandler: FS_read_postparse ok size=12
  DEBUG: read.c:ReadHandler(107) ReadHandler: To Client cm->payload=12 
cm->size=12 cm->offset=0
Byte buffer Data returned to client, length=12
-- NULL buffer
  DEBUG: data.c:DataHandler(140) Read message done value=0x948a3b8
  DEBUG: ow_parsename.c:FS_ParsedName_destroy(54) 
/26.396385000000/HIH4000/humidity
  DEBUG: data.c:DataHandler(188) DataHandler: FS_ParsedName_destroy done
  DEBUG: data.c:DataHandler(202) DataHandler: cm.ret=12
  DEBUG: to_client.c:ToClient(56) payload=12 size=12, ret=12, sg=0x101 offset=0
Writev byte buffer ionr=1/2 length=24
--000: 00 00 00 00 00 00 00 0C 00 00 00 0C 00 00 01 01
--016: 00 00 00 0C 00 00 00 00
   <........................>
Writev byte buffer ionr=2/2 length=12
--000: 20 20 20 20 20 20 32 35 2E 38 30 39
   <      25.809>
  DEBUG: handler.c:Handler(141) OWSERVER handler done
  DEBUG: ow_net_server.c:ProcessAcceptSocket(225) Normal exit.
owserver: tpp.c:66: __pthread_tpp_change_priority: Assertion `previous_prio == 
-1 || (previous_prio >= __sched_fifo_min_prio && previous_prio <= 
__sched_fifo_max_prio)' failed.



Please let me know if there is anything more I can get.

-- 
Steinar

------------------------------------------------------------------------------
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to