Subject: Re: select()/i386
To: Patrick Welche <prlw1@newn.cam.ac.uk>
From: David Brownlee <abs@anim.dreamworks.com>
List: netbsd-help
Date: 04/08/1999 09:16:31
	Thats slightly more bizarre than the average :)
	Congratulations on getting it!

		David/absolute

 -=-  "I know its not the right thing, and I know its not the good thing"  -=-

On Thu, 8 Apr 1999, Patrick Welche wrote:

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