From: mirtchov@cpsc.ucalgary.ca
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Forwarded attachment...
Date: Fri, 19 Dec 2003 10:21:52 -0700 [thread overview]
Message-ID: <2919a26ef6f18d0b1c9dc29e082a60e0@plan9.ucalgary.ca> (raw)
In-Reply-To: <E1AX6gH-000Ejs-Kc@t40.swtch.com>
>> This patch fixes links crashing terminals. I lost all my work from yesterday so I
>> couldn't get it on the web.
>
> why does the kernel crash?
> i'd rather fix that first.
trace on a terminal that doesn't panic:
octarine% acid 59461
/proc/59461/text:386 plan 9 executable
/sys/lib/acid/port
/sys/lib/acid/386
acid: lstk()
memcpy(p1=0x7fffed9c,p2=0x0,n=0x4,p=0x7fffed9c)+0x3e /sys/src/ape/lib/ap/386/memcpy.s:47
do_real_lookup(name=0x25531c,host=0x7fffed9c)+0x5f /usr/andrey/src/links-ape/dns.c:50
lookup_fn(name=0x25531c,h=0x13)+0x17 /usr/andrey/src/links-ape/dns.c:56
host=0x0
start_thread(ptr=0x25531c,fn=0x27bda)+0x8d /usr/andrey/src/links-ape/os_dep.c:190
p=0x11
f=0x0
do_lookup(q=0x255304,force_async=0x0)+0x49 /usr/andrey/src/links-ape/dns.c:92
do_queued_lookup(q=0x255304)+0x17 /usr/andrey/src/links-ape/dns.c:107
find_host_no_cache(name=0x25e054,data=0x2545ec,fn=0x1665e,qp=0x254634,addr=0x25e010)+0x8c /usr/andrey/src/links-ape/dns.c:186
q=0x255304
find_host(qp=0x254634,name=0x25e054,addr=0x25e010,data=0x2545ec,fn=0x1665e)+0x6d /usr/andrey/src/links-ape/dns.c:200
dnsentry=0x25dffc
make_connection(c=0x2545ec,func=0x5198e,sock=0x25462c,port=0x7a7)+0x15c /usr/andrey/src/links-ape/connect.c:93
host=0x25e054
as=0x2817eb
http_func(c=0x2545ec)+0x6b /usr/andrey/src/links-ape/http.c:144
run_connection(c=0x2545ec)+0x18d /usr/andrey/src/links-ape/sched.c:427
func=0x51902
hc=0x280acc
try_connection(c=0x2545ec)+0x82 /usr/andrey/src/links-ape/sched.c:474
check_queue()+0x100 /usr/andrey/src/links-ape/sched.c:539
c=0x2545ec
cp=0x3
d=0x113388
dd=0x2545ec
check_bottom_halves()+0x76 /usr/andrey/src/links-ape/select.c:140
fn=0x7e651
data=0x0
bh=0x280acc
check_timers()+0x70 /usr/andrey/src/links-ape/select.c:190
interval=0x0
t=0x25dfa4
tt=0x1
select_loop(init=0x6b90b)+0x104 /usr/andrey/src/links-ape/select.c:531
tm=0x0
tv=0x12c
n=0x1
i=0x37
stbuf=0x0
main(argv=0x7fffefa4,argc=0x2)+0x41 /usr/andrey/src/links-ape/main.c:467
_main+0x26 /sys/src/ape/lib/ap/386/main9.s:12
acid:
here's a snapshot of a different terminal that panicked:
http://pages.cpsc.ucalgary.ca/~mirtchov/screenshots/trace.gif
and the kernel image that goes with it:
http://pages.cpsc.ucalgary.ca/~mirtchov/p9/9pcdisk.gz
I am just assuming that the panic is triggered by the same bug in
dns.c. Okamoto reported that Links doesn't panic his terminals with
the dns fixed.
hth, andrey
next prev parent reply other threads:[~2003-12-19 17:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-19 15:22 andrey mirtchovski
2003-12-18 22:31 ` Russ Cox
2003-12-19 17:21 ` mirtchov [this message]
2003-12-19 22:40 ` David Presotto
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=2919a26ef6f18d0b1c9dc29e082a60e0@plan9.ucalgary.ca \
--to=mirtchov@cpsc.ucalgary.ca \
--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).