From: lucio@proxima.alt.za
To: 9fans@cse.psu.edu
Subject: [9fans] _SLEEP.s
Date: Thu, 1 Apr 2004 19:06:56 +0200 [thread overview]
Message-ID: <c0fd987170d5af39f131a70b62ee7fdf@proxima.alt.za> (raw)
When attempting to debug tcl 7.6, one of the tests that fails uses
select() and seems to get caught in an infinite loop.
Acid reports:
acid: lstk()
_SLEEP()+0x7 /sys/src/ape/lib/ap/syscall/_SLEEP.s:5
select(timeout=0x5d2d0,rfds=0x0,wfds=0x0,efds=0x0,nfds=0x0)+0x5e3 /sys/src/ape/lib/ap/plan9/_buf.c:280
t=0xa
f=0x7fffd3c4
i=0x8a43a26c
n=0xe9d6f
slots=0x0
err=0x7fffd3bc
Tcl_Sleep(ms=0xa)+0xe8 /pub/src/tcl7.6/plan9/tclPlan9Notfy.c:319
before=0x8a43a26c
after=0x8a43a26c
[ ... ]
and what baffles me is that the stated syscall code is not to be found
in the given location. The nearest I came up with was in the
.../gnu/ape hierarchy.
I checked sources and that also has no entries other than the mkfile
in /sys/src/ape/lib/ap/syscall so perhaps somebody can explain how
that mkfile works, at least in broad terms.
Lastly, can anyone hazard a reasonable guess as to how the sleep
syscall actually gets itself in a loop? The timeout value is "10", if
acid is not lying.
++L
next reply other threads:[~2004-04-01 17:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-01 17:06 lucio [this message]
2004-04-01 18:54 ` C H Forsyth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c0fd987170d5af39f131a70b62ee7fdf@proxima.alt.za \
--to=lucio@proxima.alt.za \
--cc=9fans@cse.psu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).