9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: [9fans] interesting deadlock
Date: Thu, 16 Sep 2010 23:02:48 -0400	[thread overview]
Message-ID: <48038affccd3ef00676d162365448522@brasstown.quanstro.net> (raw)

i have these processes all deadlocked.  8.out
is serving /n/mntpt.

xxx        11921346    0:00   0:00      436K Create   8.out
xxx        11921785    0:00   0:00       24K Open     cat /n/mntpt/sos
xxx        11921786    0:00   0:00       24K Unmount  unmount /n/mntpt
xxx        11921787    0:00   0:00       44K Pwrite   echo x y

minooka# acid -l/tmp/acid -k 11921346 /386/9pccpu
/386/9pccpu:386 plan 9 boot image
/sys/lib/acid/port
/sys/lib/acid/386
acid: stk()
sched()+0x140 /sys/src/9/port/proc.c:156
rlock(q=0xf6400490)+0x9d /sys/src/9/port/qlock.c:113
findmount(qid=0x407325,type=0x7,dev=0x252c,mp=0xf6b27998,cp=0xf6b279c8)+0x25 /sys/src/9/port/chan.c:845
domount(cp=0xf6b279c8,mp=0xf6b27998,path=0xf6b279c0)+0x42 /sys/src/9/port/chan.c:883
namec(aname=0xf6cdb870,amode=0x5,omode=0x11,perm=0x1b6)+0x5a4 /sys/src/9/port/chan.c:1457
syscreate(arg=0xf050cf48)+0x62 /sys/src/9/port/sysfile.c:1126
syscall(ureg=0xf6b27a54)+0x1c6 /sys/src/9/pc/trap.c:714
_syscallintr()+0x18 /sys/src/9/pc/plan9l.s:45
0xf6b27a54 ?file?:0
acid:
echo kill > /proc/11921346/ctl
minooka# acid -l/tmp/acid -k 11921785 /386/9pccpu
/386/9pccpu:386 plan 9 boot image
/sys/lib/acid/port
/sys/lib/acid/386
acid: stk()
sleep(r=0xf742276c,arg=0xf7422540,f=0xf011af60)+0x1ab /sys/src/9/port/proc.c:785
mountio(m=0xf6ccbc10,r=0xf7422540)+0x292 /sys/src/9/port/devmnt.c:808
mountrpc(r=0xf7422540,m=0xf6ccbc10)+0x2e /sys/src/9/port/devmnt.c:745
mntwalk(nc=0xf6a374d0,nname=0x1,c=0xf6c6d140,name=0xf6694898)+0x1b5 /sys/src/9/port/devmnt.c:426
ewalk(c=0xf6c6d140,nc=0x0,name=0xf6694898,nname=0x1)+0x79 /sys/src/9/port/chan.c:937
walk(cp=0xf723c2a8,nnames=0x3,nerror=0xf723c298,names=0xf6694890,nomount=0x0)+0x5d8 /sys/src/9/port/chan.c:1017
namec(aname=0xf741b680,amode=0x3,omode=0x0,perm=0x0)+0x325 /sys/src/9/port/chan.c:1420
sysopen(arg=0xf04eea08)+0x5e /sys/src/9/port/sysfile.c:273
syscall(ureg=0xf723c334)+0x1c6 /sys/src/9/pc/trap.c:714
_syscallintr()+0x18 /sys/src/9/pc/plan9l.s:45
0xf723c334 ?file?:0
acid:
echo kill > /proc/11921785/ctl
minooka# acid -l/tmp/acid -k 11921786 /386/9pccpu
/386/9pccpu:386 plan 9 boot image
/sys/lib/acid/port
/sys/lib/acid/386
acid: stk()
sched()+0x140 /sys/src/9/port/proc.c:156
wlock(q=0xf66921c0)+0xad /sys/src/9/port/qlock.c:168
cunmount(mnt=0xf756a140,mounted=0x0)+0xd4 /sys/src/9/port/chan.c:781
sysunmount(arg=0xf0543ecc)+0x11d /sys/src/9/port/sysfile.c:1111
syscall(ureg=0xf7421934)+0x1c6 /sys/src/9/pc/trap.c:714
_syscallintr()+0x18 /sys/src/9/pc/plan9l.s:45
0xf7421934 ?file?:0


- erik



             reply	other threads:[~2010-09-17  3:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-17  3:02 erik quanstrom [this message]
2010-09-17 21:11 ` Russ Cox
2010-09-17 22:12   ` erik quanstrom
2010-09-17 23:21     ` Russ Cox
2010-09-17 23:57   ` erik quanstrom

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=48038affccd3ef00676d162365448522@brasstown.quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.net \
    /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).