gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] tests hanging on netsbd-6 i386


From: Greg Troxel
Subject: Re: [gpsd-dev] tests hanging on netsbd-6 i386
Date: Fri, 30 Jan 2015 10:33:55 -0500
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.4 (berkeley-unix)

"Eric S. Raymond" <address@hidden> writes:

> Greg Troxel <address@hidden>: 
>> With the assert fix, that test hangs.  If I kill gpsd, the next test
>> starts and hangs.  (There's a bug; abend should result in test failure.)
>
> Can you bisect to identify the commit where the falure entered?  Do you know
> what function it is hanging in?

290 works, 291 failed many tests, 304 hangs.  (no data in between yet)

-rw-r--r--  1 gdt  ir    10529 Jan 28 15:49 CHECK.release-3.11-290-ga19ac5a
-rw-r--r--  1 gdt  ir  3225942 Jan 28 20:31 CHECK.release-3.11-291-g422ad05
-rw-r--r--  1 gdt  ir     4774 Jan 29 19:27 CHECK.release-3.11-304-g89993d9

(gdb) bt
#0  0xbba3c5b7 in read () from /usr/lib/libc.so.12
#1  0xbbb3003e in read () from /usr/lib/libpthread.so.1
#2  0xbbb9b94f in packet_get (fd=10, lexer=0x8055860) at packet.c:2106
#3  0xbbba4265 in generic_get (session=0x8053b00) at drivers.c:23
#4  0xbbb934f1 in gpsd_poll (session=0x8053b00) at libgpsd_core.c:1158
#5  0xbbb941bf in gpsd_multipoll (data_ready=true, device=0x8053b00, 
handler=0x804db95 <all_reports>, reawake_time=0.00999999978) at 
libgpsd_core.c:1497
#6  0x0804f87e in main (argc=9, argv=0xbfbfecc8) at gpsd.c:2259

and gpsd's wchan is 'ttyraw'.

Glancing at packet.c, I don't immediately see where it's put in
non-blocking mode, but I didn't look for more than a few seconds.

> Sleeping for a fixed interval is exactly what the second version of
> the buzzkill code did.  That seemed to produce hangs.

But was it doing this only when incorrect select behavior was detected?
How prevalent is the bad behavior?

Attachment: pgp0W7zV7K2aV.pgp
Description: PGP signature


reply via email to

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