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: Gary E. Miller
Subject: Re: [gpsd-dev] scons check - gpsd:ERROR: SER: error setting port attributes: Invalid argument
Date: Mon, 23 May 2016 12:53:15 -0700

Yo Eric!

On Mon, 23 May 2016 13:42:16 -0400
"Eric S. Raymond" <address@hidden> wrote:

> Jason Azze <address@hidden>:
> > I've been neglecting my automated tests for a few days and just
> > noticed some trouble in the logs.
> > 
> > Since the changes* to serial.c about 7 days ago, scons check has
> > been giving me lots of:
> > 
> > gpsd:ERROR: SER: error setting port attributes: Invalid argument
> > 
> > My test machines are CentOS 7.2, CentOS 6.7, and Fedora 23.
> > 
> > -Jason
> > 
> > *http://git.savannah.gnu.org/cgit/gpsd.git/commit/?id=6394b4ebd980c92e02748b2285ba097aae42375c

Weird, all that one does is prefix logs from serial.c with "SER:".

If changing static strings is a problem that could be a wild pointer?

> > http://git.savannah.gnu.org/cgit/gpsd.git/commit/?id=0435464b5d5e8954cb820db84418aee8df5306e0
> >   

That one throws errors when csetattr() fails.  Maybe the error is actually
OK to proceed with??

> 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?

Not failing for me either.  I just tried on 64-bit amd64/gentoo and
32bit arm7/Gentoo.

Are you seeing an error like this:
        "SER: error setting port attributes: %s\n"

Otherwise that change should have no effect.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1 541 382 8588

Attachment: pgpatho9I2Vq8.pgp
Description: OpenPGP digital signature


reply via email to

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