This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
RE: Interrupted system call problem
- To: "deCarmo, Linden" <LDecarmo at convergentnet dot com>
- Subject: RE: Interrupted system call problem
- From: Keith Seitz <keiths at cygnus dot com>
- Date: Thu, 22 Mar 2001 08:35:25 -0800 (PST)
- cc: "'insight at sourceware dot cygnus dot com'" <insight at sourceware dot cygnus dot com>
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...
> 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)?
If it also has this problem, then there has been a regression in gdb
handling shared libraries on Solaris 2.8. Ask on the gdb list
(gdb@sources.redhat.com). There will be a lot more people over there who
would know about this.
Good luck.
Keith