gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] scons check - gpsd:ERROR: SER: error setting port attribu


From: Jason Azze
Subject: Re: [gpsd-dev] scons check - gpsd:ERROR: SER: error setting port attributes: Invalid argument
Date: Mon, 23 May 2016 16:51:32 -0400

On Mon, May 23, 2016 at 1:42 PM, Eric S. Raymond <address@hidden> wrote:
>
> Not reproducing here.  Can you replicate one of the failures under gdb and 
> show
> me the call stack at the time the message is emitted?

I can't reproduce on Ubuntu 14.04, but I can on a CentOS 7.2 x86_64
box here at work.

I'm not sure I'm doing what Eric has asked. I've never used gdb before
and it took me a while to figure out what scons was doing during scons
check. I chose the tn200 test as one of the many that are giving the
error.

(gdb) run gpsfake -p test/daemon/tn200.log
Starting program: /usr/bin/python gpsfake -p test/daemon/tn200.log
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Processing test/daemon/tn200.log
Detaching after fork from child process 6966.
gpsd:ERROR: SER: error setting port attributes: Invalid argument
gpsfake: log cycle of test/daemon/tn200.log begins.
{"class":"VERSION","release":"3.17~dev","rev":"release-3.16-334-gc3456cf","proto_major":3,"proto_minor":12}
{"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/pts/19","activated":"2016-05-23T20:40:51.792Z","native":0,"bps":9600,"parity":"N","stopbits":1,"cycle":1.00}]}
{"class":"WATCH","enable":true,"json":true,"nmea":true,"raw":0,"scaled":false,"timing":false,"split24":false,"pps":false}
gpsfake: log cycle of test/daemon/tn200.log begins.
gpsfake: log cycle of test/daemon/tn200.log begins.
gpsfake: log cycle of test/daemon/tn200.log begins.

Then output goes on forever, presumably consuming gpsfake data.

=============

@Gary

Here's a sample of scons check output, snipped down.

timespec tests succeeded
:; /usr/bin/python ./gpsfake -T
sys linux2 platform
Linux-3.10.0-327.13.1.el7.x86_64-x86_64-with-centos-7.2.1511-Core:
WRITE_PAD = 0.00000
./regress-driver -q test/daemon/passthrough.log
Processing test/daemon/passthrough.log
gpsd:ERROR: SER: error setting port attributes: Invalid argument
Regression test test/daemon/passthrough.log successful
./regress-driver -q -u test/daemon/passthrough.log
Processing test/daemon/passthrough.log
Regression test test/daemon/passthrough.log successful
./regress-driver -q -o -t test/daemon/passthrough.log
Processing test/daemon/passthrough.log
Regression test test/daemon/passthrough.log successful
./regress-driver test/daemon/*.log
Testing the daemon...
Processing test/daemon/GPSmap-76S.log
gpsd:ERROR: SER: error setting port attributes: Invalid argument



reply via email to

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