Subject: Re: select()/i386
To: David Brownlee <abs@anim.dreamworks.com>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: netbsd-help
Date: 04/08/1999 16:07:42
Patrick Welche wrote:
> 
> David Brownlee wrote:
> > 
> > 	That looks perfectly sane - what arch and OS version are you
> > 	using? Also, are you certain its coming from that select() call,
> > 	and not one somewhere else in the program :)
> 
> NetBSD-current/i386. I just added code to print out the return value of
> the select, and now
> 
> Illegal instruction (core dumped)
> #0  0x1521f in _PROCEDURE_LINKAGE_TABLE_ ()
> #1  0x40077dd3 in pqWait (forRead=1, forWrite=0, conn=0x19000) at fe-misc.c:569
> !!
> still in the select(). The target keeps moving... compiled with -g -O0...

You won't believe this, but the cause of it all was that I had a variable
of type "class filter" called select! I'm sure I should have seen different
symptoms...

Cheers,

Patrick