This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

FW: Interrupted system call problem


I really would be grateful if someone had advice about how to work around or
debug this.  It isn't a gdb issue and appears to be specific to Insight and
select() on Solaris 8.  I even have tried multiple Solaris 8 boxes.

> -----Original Message-----
> From: deCarmo, Linden 
> Sent: Tuesday, April 03, 2001 8:24 AM
> To: 'insight@sourceware.cygnus.com'
> Subject: FW: Interrupted system call problem
> 
> 
> Just noticed that I forgot to copy the list on my response.
> 
> Any ideas to work around this?
> 
> > On Tue, 20 Mar 2001, deCarmo, Linden wrote:
> > 
> > > Ok, the latest snapshot hangs rather than reports 
> > "Interrupted system call"
> > > whenever the the code below is executed.  To be specific, 
> the source
> > > disappears and it reports:
> > > 
> > > Select function name to disassemble
> > > 
> > > ====
> > > 
> > > The stack is listed as ???? 
> > 
> > You're probably in a dynamic loader stub or similar, sitting 
> > at the first 
> > instruction. Gdb is obviously a little confused about where 
> it is... 
> > (This should not happen.)
> > 
> > > struct timeval tv;
> > >  	336	
> > > -	337		tv.tv_sec = seconds;
> > >  	338		tv.tv_usec = microseconds;
> > > -	340		return(select(0,NULL,NULL,NULL,&tv));
> > 
> > Let me guess, it does this on line 340? Then I would guess 
> > that shared 
> > libraries are a little broken on your system. Hmmm.... 
> > Solaris 2.8...  
> >
> 
> Works fine with ddd/gdb, and gdb -nw.
>  
> > > Any idea what I can try next?  Its weird that ddd doesn't 
> > have the same
> > > issue using gdb.
> > 
> > Does command line gdb exhibit the same behavior (run the 
> insight gdb 
> > with the "-nw" flag)?
> > 
> 
> No, works ok with -nw.  Only Insight exhibits this behavior.
>  
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]