gpsd-commit-watch
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gpsd-commit-watch] [SCM] GPSD branch, master, updated. release-3.11-292


From: Eric S. Raymond
Subject: [gpsd-commit-watch] [SCM] GPSD branch, master, updated. release-3.11-292-gc22e4ad
Date: Thu, 29 Jan 2015 03:15:51 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GPSD".

The branch, master has been updated
       via  c22e4adc07305d0ff39756843015be6b092cbcb6 (commit)
      from  422ad051a0b9092448c6b6950849fc91a292f85b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c22e4adc07305d0ff39756843015be6b092cbcb6
Author: Eric S. Raymond <address@hidden>
Date:   Wed Jan 28 22:08:49 2015 -0500

    Using SIOCOUTQ to flush output on client socket close caused a hard hang.
    
    To replicate the problem:
    
    (1) Check out the parent of this revision.
    
    (2) Run "gpsd -n -N -D 3 /dev/ttyUSB0" substituting the device as needed.
    
    (3) Run the following script in another window:
    
    while true
    do
      date
      ./gpspipe -n 3 -R -o /dev/null # hang if gpsd is sick
      ./gpspipe -d -R -o /dev/null
      sleep 2
      DELAY=$RANDOM      # 0-32K
      #usleep ${DELAY}00  # 0-3 seconds
      sleep  `echo "scale=6; $DELAY / 1000000" | bc`
      killall gpspipe
      #ps ax | grep gpspipe
    done
    
    (4) Run gpsmon in a third window.
    
    gpsd will hang in 3-5 minutes, requiring kill -9, in the kernal hrtime
    function.

-----------------------------------------------------------------------

Summary of changes:
 gpsd.c |   17 -----------------
 1 files changed, 0 insertions(+), 17 deletions(-)


hooks/post-receive
-- 
GPSD



reply via email to

[Prev in Thread] Current Thread [Next in Thread]