9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] drawterm hangups
@ 2009-08-18 12:03 roger peppe
  2009-08-18 12:08 ` erik quanstrom
  0 siblings, 1 reply; 5+ messages in thread
From: roger peppe @ 2009-08-18 12:03 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 912 bytes --]

every so often using drawterm (mac os version) i've been getting
a hangup. it's not a sudden thing - rio continues running,
but first i lose keyboard input, then mouse input.

it seems to be to do with one window, which was probably in
rawon mode.

if i get access to the rio session via another route,
then i find that it's still working ok, except
that a write to the offending window's cons file
will hang (it's interruptable) - other windows' cons files
are writable, and all the text files are readable too.

i've spent an hour or so on this but can't afford any more
time, so if anyone has any ideas, please let me know.
i'll leave the offending drawterm running just in case.

i attach two files, showing the process listing and stack
traces of all the rio processes. before.txt is after the keyboard
hangup but before the mouse hangup; after.txt is after the mouse
hangup.

  rog.

[-- Attachment #2: after.txt --]
[-- Type: text/plain, Size: 14754 bytes --]

rog           85257    0:00   0:10     4040K Exits    rio
rog          198318    0:00   0:05     2572K Rendez   rio
rog          198376    0:00   0:07     2572K Rendez   rio
rog          198377    0:00   0:01     2572K Rendez   rio
rog          198378    0:00   0:04     2572K Sleep    rio
rog          198379    0:00   0:00     2572K Pread    rio
rog          198380    0:00   0:00     2572K Pread    rio
rog          198393    0:00   0:00     2572K Await    rio
rog          198437    0:00   0:00     2572K Await    rio
rog          219377    0:00   0:00     2572K Await    rio
rog          220991    0:00   0:00     2572K Await    rio
rog          242058    0:00   0:00     2572K Await    rio
rog          297099    0:00   0:00     2572K Await    rio
rog          308349    0:00   0:00     2572K Await    rio
fiddle% for(i in `{psu  |grep rio| awk '{print $2}'}){echo ------ $i; echo '$C' | db $i}
------ 85257
386 binary
system call
/sys/src/libc/9syscall/_exits.s:5 _exits+7/               	RET
_exits() /sys/src/libc/9syscall/_exits.s:3 called from _threadnote+88 /sys/src/libthread/note.c:98
------ 198318
386 binary
system call
/sys/src/libc/9syscall/rendezvous.s:5 rendezvous+7/               	RET
rendezvous() /sys/src/libc/9syscall/rendezvous.s:3 called from runthread+83 /sys/src/libthread/sched.c:144
runthread(p=0x3ccf0) /sys/src/libthread/sched.c:131 called from _sched+90 /sys/src/libthread/sched.c:113
       	runthread.q/         	0x3cdb4
       	runthread.t/         	0x4c0c0
_sched() /sys/src/libthread/sched.c:99 called from _schedinit+1a4 /sys/src/libthread/sched.c:77
       	_sched.p/         	0x3ccf0
       	_sched.t/         	0x0
       	_sched..safe/         	0x3ccf0
_schedinit(arg=0x3ccf0) /sys/src/libthread/sched.c:27 called from main+e7 /sys/src/libthread/main.c:48
       	_schedinit.p/         	0x3ccf0
       	_schedinit.t/         	0x4c0c0
main(argc=0x3, argv=0xdfffef94) /sys/src/libthread/main.c:23 called from _main+31 /sys/src/libc/386/main9.s:16
       	main.p/         	0x3ccf0
------ 198376
386 binary
system call
/sys/src/libc/9syscall/rendezvous.s:5 rendezvous+7/               	RET
rendezvous() /sys/src/libc/9syscall/rendezvous.s:3 called from runthread+83 /sys/src/libthread/sched.c:144
runthread(p=0x43880) /sys/src/libthread/sched.c:131 called from _sched+90 /sys/src/libthread/sched.c:113
       	runthread.q/         	0x43944
       	runthread.t/         	0x44220
_sched() /sys/src/libthread/sched.c:99 called from _schedinit+1a4 /sys/src/libthread/sched.c:77
       	_sched.p/         	0x43880
       	_sched.t/         	0x0
       	_sched..safe/         	0x43880
_schedinit(arg=0x43880) /sys/src/libthread/sched.c:27 called from main+38 /sys/src/libthread/main.c:34
       	_schedinit.p/         	0x43880
       	_schedinit.t/         	0x44220
main(argc=0x3, argv=0xdfffef94) /sys/src/libthread/main.c:23 called from _main+31 /sys/src/libc/386/main9.s:16
       	main.p/         	0x43880
------ 198377
386 binary
system call
/sys/src/libc/9syscall/rendezvous.s:5 rendezvous+7/               	RET
rendezvous() /sys/src/libc/9syscall/rendezvous.s:3 called from runthread+83 /sys/src/libthread/sched.c:144
runthread(p=0x45460) /sys/src/libthread/sched.c:131 called from _sched+90 /sys/src/libthread/sched.c:113
       	runthread.q/         	0x45524
       	runthread.t/         	0x45ec8
_sched() /sys/src/libthread/sched.c:99 called from _schedinit+1a4 /sys/src/libthread/sched.c:77
       	_sched.p/         	0x45460
       	_sched.t/         	0x0
       	_sched..safe/         	0x45460
_schedinit(arg=0x45460) /sys/src/libthread/sched.c:27 called from main+38 /sys/src/libthread/main.c:34
       	_schedinit.p/         	0x45460
       	_schedinit.t/         	0x45ec8
main(argc=0x3, argv=0xdfffef94) /sys/src/libthread/main.c:23 called from _main+31 /sys/src/libc/386/main9.s:16
       	main.p/         	0x45460
------ 198378
386 binary
system call
/sys/src/libc/9syscall/sleep.s:5 sleep+7/               	RET
pread() /sys/src/libc/9syscall/pread.s:3 called from nsec+6f /sys/src/libc/9sys/nsec.c:32
nsec(.ret=0x49c84) /sys/src/libc/9sys/nsec.c:19 called from msec+f /sys/src/cmd/rio/time.c:20
       	nsec.opened/         	0x0
       	nsec.b/         	0xffffffff
       	nsec.t/         	0x2
msec() /sys/src/cmd/rio/time.c:18 called from timerproc+50 /sys/src/cmd/rio/time.c:52
       	msec..safe/         	0x470c8
timerproc() /sys/src/cmd/rio/time.c:38 called from launcher386+10 /sys/src/libthread/386.c:10
       	timerproc.t/         	0xb31d8
       	timerproc.na/         	0xa
       	timerproc.nt/         	0x1
       	timerproc.old/         	0x0
       	timerproc.dt/         	0x0
       	timerproc.i/         	0x0
       	timerproc.x/         	0x96770
       	timerproc.del/         	0x0
launcher386(arg=0x0, f=0x6658) /sys/src/libthread/386.c:7 called from etext+103dcdf 
------ 198379
386 binary
system call
/sys/src/libc/9syscall/pread.s:5 pread+7/               	RET
pread() /sys/src/libc/9syscall/pread.s:3 called from read+2f /sys/src/libc/9sys/read.c:7
read(fd=0xf, buf=0x5cb38, n=0x2017) /sys/src/libc/9sys/read.c:5 called from wctlproc+4f /sys/src/cmd/rio/wctl.c:502
wctlproc(v=0x544c0) /sys/src/cmd/rio/wctl.c:490 called from launcher386+10 /sys/src/libthread/386.c:10
       	wctlproc.c/         	0x544c0
       	wctlproc.eofs/         	0x0
       	wctlproc.buf/         	0x5cb38
launcher386(arg=0x544c0, f=0x7d2a) /sys/src/libthread/386.c:7 called from etext+103dcdf 
------ 198380
386 binary
system call
/sys/src/libc/9syscall/pread.s:5 pread+7/               	RET
pread() /sys/src/libc/9syscall/pread.s:3 called from read+2f /sys/src/libc/9sys/read.c:7
read(fd=0xc, buf=0x61cd0, n=0x4) /sys/src/libc/9sys/read.c:5 called from readn+3a /sys/src/libc/port/readn.c:13
readn(n=0x4, av=0x61cd0, f=0xc) /sys/src/libc/port/readn.c:5 called from read9pmsg+24 /sys/src/libc/9sys/read9pmsg.c:14
       	readn.a/         	0x61cd0
       	readn.t/         	0x0
read9pmsg(abuf=0x61cd0, fd=0xc, n=0x2018) /sys/src/libc/9sys/read9pmsg.c:6 called from filsysproc+67 /sys/src/cmd/rio/fsys.c:196
       	read9pmsg.buf/         	0x61cd0
       	read9pmsg.len/         	0x0
filsysproc(arg=0x54440) /sys/src/cmd/rio/fsys.c:181 called from launcher386+10 /sys/src/libthread/386.c:10
       	filsysproc.fs/         	0x54440
       	filsysproc.x/         	0xadc98
       	filsysproc.buf/         	0x61cd0
       	filsysproc.n/         	0xb
       	filsysproc..safe/         	0xfefefefe
       	filsysproc.t/         	0xfefefefe
launcher386(arg=0x54440, f=0x4a86) /sys/src/libthread/386.c:7 called from etext+103dcdf 
------ 198393
386 binary
system call
/sys/src/libc/9syscall/await.s:5 await+7/               	RET
await() /sys/src/libc/9syscall/await.s:3 called from wait+1b /sys/src/libc/9sys/wait.c:13
wait() /sys/src/libc/9sys/wait.c:6 called from _schedexecwait+41 /sys/src/libthread/main.c:185
       	wait.buf/         	0xfefefefe
       	wait.fld/         	0xfefefefe
       	wait.l/         	0x31e43
       	wait.w/         	0xfefefefe
_schedexecwait() /sys/src/libthread/main.c:170 called from procexec+1ea /sys/src/libthread/exec.c:72
       	_schedexecwait.pid/         	0x306fc
procexec(prog=0x2e64b, pidc=0x63ed0, args=0x63d10) /sys/src/libthread/exec.c:9 called from winshell+1aa /sys/src/cmd/rio/wind.c:1378
       	procexec.t/         	0x64c30
       	procexec.p/         	0x676b0
winshell(args=0x64bf0) /sys/src/cmd/rio/wind.c:1340 called from launcher386+10 /sys/src/libthread/386.c:10
       	winshell.w/         	0x642d0
       	winshell.pidc/         	0x63ed0
       	winshell.cmd/         	0x2e64b
       	winshell.argv/         	0x63d10
       	winshell.dir/         	0x562a0
launcher386(arg=0x64bf0, f=0xbc6a) /sys/src/libthread/386.c:7 called from etext+103dcdf 
------ 198437
386 binary
system call
/sys/src/libc/9syscall/await.s:5 await+7/               	RET
await() /sys/src/libc/9syscall/await.s:3 called from wait+1b /sys/src/libc/9sys/wait.c:13
wait() /sys/src/libc/9sys/wait.c:6 called from _schedexecwait+41 /sys/src/libthread/main.c:185
       	wait.buf/         	0xfefefefe
       	wait.fld/         	0xfefefefe
       	wait.l/         	0x31e43
       	wait.w/         	0xfefefefe
_schedexecwait() /sys/src/libthread/main.c:170 called from procexec+1ea /sys/src/libthread/exec.c:72
       	_schedexecwait.pid/         	0x30726
procexec(prog=0x359d0, pidc=0x70ac8, args=0x36550) /sys/src/libthread/exec.c:9 called from winshell+1aa /sys/src/cmd/rio/wind.c:1378
       	procexec.t/         	0x71508
       	procexec.p/         	0x86a10
winshell(args=0x714c8) /sys/src/cmd/rio/wind.c:1340 called from launcher386+10 /sys/src/libthread/386.c:10
       	winshell.w/         	0x70b68
       	winshell.pidc/         	0x70ac8
       	winshell.cmd/         	0x359d0
       	winshell.argv/         	0x36550
       	winshell.dir/         	0x0
launcher386(arg=0x714c8, f=0xbc6a) /sys/src/libthread/386.c:7 called from etext+103dcdf 
------ 219377
386 binary
system call
/sys/src/libc/9syscall/await.s:5 await+7/               	RET
await() /sys/src/libc/9syscall/await.s:3 called from wait+1b /sys/src/libc/9sys/wait.c:13
wait() /sys/src/libc/9sys/wait.c:6 called from _schedexecwait+41 /sys/src/libthread/main.c:185
       	wait.buf/         	0xfefefefe
       	wait.fld/         	0xfefefefe
       	wait.l/         	0x31e43
       	wait.w/         	0xfefefefe
_schedexecwait() /sys/src/libthread/main.c:170 called from procexec+1ea /sys/src/libthread/exec.c:72
       	_schedexecwait.pid/         	0x358f2
procexec(prog=0x359d0, pidc=0x95d50, args=0x36550) /sys/src/libthread/exec.c:9 called from winshell+1aa /sys/src/cmd/rio/wind.c:1378
       	procexec.t/         	0xb3498
       	procexec.p/         	0xbd858
winshell(args=0xb3138) /sys/src/cmd/rio/wind.c:1340 called from launcher386+10 /sys/src/libthread/386.c:10
       	winshell.w/         	0xb98b8
       	winshell.pidc/         	0x95d50
       	winshell.cmd/         	0x359d0
       	winshell.argv/         	0x36550
       	winshell.dir/         	0x0
launcher386(arg=0xb3138, f=0xbc6a) /sys/src/libthread/386.c:7 called from etext+103dcdf 
------ 220991
386 binary
system call
/sys/src/libc/9syscall/await.s:5 await+7/               	RET
await() /sys/src/libc/9syscall/await.s:3 called from wait+1b /sys/src/libc/9sys/wait.c:13
wait() /sys/src/libc/9sys/wait.c:6 called from _schedexecwait+41 /sys/src/libthread/main.c:185
       	wait.buf/         	0xfefefefe
       	wait.fld/         	0xfefefefe
       	wait.l/         	0x31e43
       	wait.w/         	0xfefefefe
_schedexecwait() /sys/src/libthread/main.c:170 called from procexec+1ea /sys/src/libthread/exec.c:72
       	_schedexecwait.pid/         	0x35f40
procexec(prog=0x359d0, pidc=0xb9c98, args=0x36550) /sys/src/libthread/exec.c:9 called from winshell+1aa /sys/src/cmd/rio/wind.c:1378
       	procexec.t/         	0x8ef60
       	procexec.p/         	0xba458
winshell(args=0xb8d38) /sys/src/cmd/rio/wind.c:1340 called from launcher386+10 /sys/src/libthread/386.c:10
       	winshell.w/         	0x8ec20
       	winshell.pidc/         	0xb9c98
       	winshell.cmd/         	0x359d0
       	winshell.argv/         	0x36550
       	winshell.dir/         	0x0
launcher386(arg=0xb8d38, f=0xbc6a) /sys/src/libthread/386.c:7 called from etext+103dcdf 
------ 242058
386 binary
system call
/sys/src/libc/9syscall/await.s:5 await+7/               	RET
await() /sys/src/libc/9syscall/await.s:3 called from wait+1b /sys/src/libc/9sys/wait.c:13
wait() /sys/src/libc/9sys/wait.c:6 called from _schedexecwait+41 /sys/src/libthread/main.c:185
       	wait.buf/         	0xfefefefe
       	wait.fld/         	0xfefefefe
       	wait.l/         	0x31e43
       	wait.w/         	0xfefefefe
_schedexecwait() /sys/src/libthread/main.c:170 called from procexec+1ea /sys/src/libthread/exec.c:72
       	_schedexecwait.pid/         	0x3b18b
procexec(prog=0x359d0, pidc=0x95360, args=0x36550) /sys/src/libthread/exec.c:9 called from winshell+1aa /sys/src/cmd/rio/wind.c:1378
       	procexec.t/         	0x102c70
       	procexec.p/         	0x1022d0
winshell(args=0x102290) /sys/src/cmd/rio/wind.c:1340 called from launcher386+10 /sys/src/libthread/386.c:10
       	winshell.w/         	0xb2338
       	winshell.pidc/         	0x95360
       	winshell.cmd/         	0x359d0
       	winshell.argv/         	0x36550
       	winshell.dir/         	0x0
launcher386(arg=0x102290, f=0xbc6a) /sys/src/libthread/386.c:7 called from etext+103dcdf 
------ 297099
386 binary
system call
/sys/src/libc/9syscall/await.s:5 await+7/               	RET
await() /sys/src/libc/9syscall/await.s:3 called from wait+1b /sys/src/libc/9sys/wait.c:13
wait() /sys/src/libc/9sys/wait.c:6 called from _schedexecwait+41 /sys/src/libthread/main.c:185
       	wait.buf/         	0xfefefefe
       	wait.fld/         	0xfefefefe
       	wait.l/         	0x31e43
       	wait.w/         	0xfefefefe
_schedexecwait() /sys/src/libthread/main.c:170 called from procexec+1ea /sys/src/libthread/exec.c:72
       	_schedexecwait.pid/         	0x4888c
procexec(prog=0x359d0, pidc=0x94b20, args=0x36550) /sys/src/libthread/exec.c:9 called from winshell+1aa /sys/src/cmd/rio/wind.c:1378
       	procexec.t/         	0x944a0
       	procexec.p/         	0xf1328
winshell(args=0xe8af8) /sys/src/cmd/rio/wind.c:1340 called from launcher386+10 /sys/src/libthread/386.c:10
       	winshell.w/         	0x94660
       	winshell.pidc/         	0x94b20
       	winshell.cmd/         	0x359d0
       	winshell.argv/         	0x36550
       	winshell.dir/         	0x0
launcher386(arg=0xe8af8, f=0xbc6a) /sys/src/libthread/386.c:7 called from etext+103dcdf 
------ 308349
386 binary
system call
/sys/src/libc/9syscall/await.s:5 await+7/               	RET
await() /sys/src/libc/9syscall/await.s:3 called from wait+1b /sys/src/libc/9sys/wait.c:13
wait() /sys/src/libc/9sys/wait.c:6 called from _schedexecwait+41 /sys/src/libthread/main.c:185
       	wait.buf/         	0xfefefefe
       	wait.fld/         	0xfefefefe
       	wait.l/         	0x31e43
       	wait.w/         	0xfefefefe
_schedexecwait() /sys/src/libthread/main.c:170 called from procexec+1ea /sys/src/libthread/exec.c:72
       	_schedexecwait.pid/         	0x4b47e
procexec(prog=0x359d0, pidc=0x429a0, args=0x36550) /sys/src/libthread/exec.c:9 called from winshell+1aa /sys/src/cmd/rio/wind.c:1378
       	procexec.t/         	0xf2d48
       	procexec.p/         	0x263500
winshell(args=0xf2d08) /sys/src/cmd/rio/wind.c:1340 called from launcher386+10 /sys/src/libthread/386.c:10
       	winshell.w/         	0x91740
       	winshell.pidc/         	0x429a0
       	winshell.cmd/         	0x359d0
       	winshell.argv/         	0x36550
       	winshell.dir/         	0x0
launcher386(arg=0xf2d08, f=0xbc6a) /sys/src/libthread/386.c:7 called from etext+103dcdf 

[-- Attachment #3: before.txt --]
[-- Type: text/plain, Size: 17913 bytes --]

rog           85257    0:00   0:10     4040K Exits    rio
rog          198318    0:00   0:05     2572K Rendez   rio
rog          198376    0:00   0:07     2572K Pread    rio
rog          198377    0:00   0:01     2572K Rendez   rio
rog          198378    0:00   0:02     2572K Sleep    rio
rog          198379    0:00   0:00     2572K Pread    rio
rog          198380    0:00   0:00     2572K Pread    rio
rog          198393    0:00   0:00     2572K Await    rio
rog          198399    0:00   0:00     2572K Await    rio
rog          198437    0:00   0:00     2572K Await    rio
rog          198489    0:00   0:00     2572K Await    rio
rog          219377    0:00   0:00     2572K Await    rio
rog          220991    0:00   0:00     2572K Await    rio
rog          242058    0:00   0:00     2572K Await    rio
rog          297099    0:00   0:00     2572K Await    rio
rog          308349    0:00   0:00     2572K Await    rio
rog          310639    0:00   0:00     2572K Await    rio
fiddle% for(i in `{psu  |grep rio| awk '{print $2}'}){echo ------ $i; echo '$C' | db $i}
------ 85257
386 binary
system call
/sys/src/libc/9syscall/_exits.s:5 _exits+7/               	RET
_exits() /sys/src/libc/9syscall/_exits.s:3 called from _threadnote+88 /sys/src/libthread/note.c:98
------ 198318
386 binary
system call
/sys/src/libc/9syscall/rendezvous.s:5 rendezvous+7/               	RET
rendezvous() /sys/src/libc/9syscall/rendezvous.s:3 called from runthread+83 /sys/src/libthread/sched.c:144
runthread(p=0x3ccf0) /sys/src/libthread/sched.c:131 called from _sched+90 /sys/src/libthread/sched.c:113
       	runthread.q/         	0x3cdb4
       	runthread.t/         	0x4c0c0
_sched() /sys/src/libthread/sched.c:99 called from _schedinit+1a4 /sys/src/libthread/sched.c:77
       	_sched.p/         	0x3ccf0
       	_sched.t/         	0x0
       	_sched..safe/         	0x3ccf0
_schedinit(arg=0x3ccf0) /sys/src/libthread/sched.c:27 called from main+e7 /sys/src/libthread/main.c:48
       	_schedinit.p/         	0x3ccf0
       	_schedinit.t/         	0x4c0c0
main(argc=0x3, argv=0xdfffef94) /sys/src/libthread/main.c:23 called from _main+31 /sys/src/libc/386/main9.s:16
       	main.p/         	0x3ccf0
------ 198376
386 binary
system call
/sys/src/libc/9syscall/pread.s:5 pread+7/               	RET
pread() /sys/src/libc/9syscall/pread.s:3 called from read+2f /sys/src/libc/9sys/read.c:7
read(fd=0x7, buf=0x4525f, n=0x3d) /sys/src/libc/9sys/read.c:5 called from _ioproc+71 /sys/src/libdraw/mouse.c:62
_ioproc(arg=0x42b40) /sys/src/libdraw/mouse.c:47 called from launcher386+10 /sys/src/libthread/386.c:10
       	_ioproc.mc/         	0x42b40
       	_ioproc.one/         	0x1
       	_ioproc.m/         	0x0
       	_ioproc.nerr/         	0x0
       	_ioproc.buf/         	0x2020206d
       	_ioproc.n/         	0x31
launcher386(arg=0x42b40, f=0x10390) /sys/src/libthread/386.c:7 called from etext+103dcdf 
------ 198377
386 binary
system call
/sys/src/libc/9syscall/rendezvous.s:5 rendezvous+7/               	RET
rendezvous() /sys/src/libc/9syscall/rendezvous.s:3 called from runthread+83 /sys/src/libthread/sched.c:144
runthread(p=0x45460) /sys/src/libthread/sched.c:131 called from _sched+90 /sys/src/libthread/sched.c:113
       	runthread.q/         	0x45524
       	runthread.t/         	0x45ec8
_sched() /sys/src/libthread/sched.c:99 called from _schedinit+1a4 /sys/src/libthread/sched.c:77
       	_sched.p/         	0x45460
       	_sched.t/         	0x0
       	_sched..safe/         	0x45460
_schedinit(arg=0x45460) /sys/src/libthread/sched.c:27 called from main+38 /sys/src/libthread/main.c:34
       	_schedinit.p/         	0x45460
       	_schedinit.t/         	0x45ec8
main(argc=0x3, argv=0xdfffef94) /sys/src/libthread/main.c:23 called from _main+31 /sys/src/libc/386/main9.s:16
       	main.p/         	0x45460
------ 198378
386 binary
system call
/sys/src/libc/9syscall/sleep.s:5 sleep+7/               	RET
sleep() /sys/src/libc/9syscall/sleep.s:3 called from timerproc+4b /sys/src/cmd/rio/time.c:52
timerproc() /sys/src/cmd/rio/time.c:38 called from launcher386+10 /sys/src/libthread/386.c:10
       	timerproc.t/         	0xb31d8
       	timerproc.na/         	0xa
       	timerproc.nt/         	0x1
       	timerproc.old/         	0x0
       	timerproc.dt/         	0x0
       	timerproc.i/         	0x0
       	timerproc.x/         	0x96770
       	timerproc.del/         	0x0
launcher386(arg=0x0, f=0x6658) /sys/src/libthread/386.c:7 called from etext+103dcdf 
------ 198379
386 binary
system call
/sys/src/libc/9syscall/pread.s:5 pread+7/               	RET
pread() /sys/src/libc/9syscall/pread.s:3 called from read+2f /sys/src/libc/9sys/read.c:7
read(fd=0xf, buf=0x5cb38, n=0x2017) /sys/src/libc/9sys/read.c:5 called from wctlproc+4f /sys/src/cmd/rio/wctl.c:502
wctlproc(v=0x544c0) /sys/src/cmd/rio/wctl.c:490 called from launcher386+10 /sys/src/libthread/386.c:10
       	wctlproc.c/         	0x544c0
       	wctlproc.eofs/         	0x0
       	wctlproc.buf/         	0x5cb38
launcher386(arg=0x544c0, f=0x7d2a) /sys/src/libthread/386.c:7 called from etext+103dcdf 
------ 198380
386 binary
system call
/sys/src/libc/9syscall/pread.s:5 pread+7/               	RET
pread() /sys/src/libc/9syscall/pread.s:3 called from read+2f /sys/src/libc/9sys/read.c:7
read(fd=0xc, buf=0x27bb00, n=0x4) /sys/src/libc/9sys/read.c:5 called from readn+3a /sys/src/libc/port/readn.c:13
readn(n=0x4, av=0x27bb00, f=0xc) /sys/src/libc/port/readn.c:5 called from read9pmsg+24 /sys/src/libc/9sys/read9pmsg.c:14
       	readn.a/         	0x27bb00
       	readn.t/         	0x0
read9pmsg(abuf=0x27bb00, fd=0xc, n=0x2018) /sys/src/libc/9sys/read9pmsg.c:6 called from filsysproc+67 /sys/src/cmd/rio/fsys.c:196
       	read9pmsg.buf/         	0x27bb00
       	read9pmsg.len/         	0x0
filsysproc(arg=0x54440) /sys/src/cmd/rio/fsys.c:181 called from launcher386+10 /sys/src/libthread/386.c:10
       	filsysproc.fs/         	0x54440
       	filsysproc.x/         	0x0
       	filsysproc.buf/         	0x27bb00
       	filsysproc.n/         	0x17
       	filsysproc..safe/         	0xfefefefe
       	filsysproc.t/         	0xfefefefe
launcher386(arg=0x54440, f=0x4a86) /sys/src/libthread/386.c:7 called from etext+103dcdf 
------ 198393
386 binary
system call
/sys/src/libc/9syscall/await.s:5 await+7/               	RET
await() /sys/src/libc/9syscall/await.s:3 called from wait+1b /sys/src/libc/9sys/wait.c:13
wait() /sys/src/libc/9sys/wait.c:6 called from _schedexecwait+41 /sys/src/libthread/main.c:185
       	wait.buf/         	0xfefefefe
       	wait.fld/         	0xfefefefe
       	wait.l/         	0x31e43
       	wait.w/         	0xfefefefe
_schedexecwait() /sys/src/libthread/main.c:170 called from procexec+1ea /sys/src/libthread/exec.c:72
       	_schedexecwait.pid/         	0x306fc
procexec(prog=0x2e64b, pidc=0x63ed0, args=0x63d10) /sys/src/libthread/exec.c:9 called from winshell+1aa /sys/src/cmd/rio/wind.c:1378
       	procexec.t/         	0x64c30
       	procexec.p/         	0x676b0
winshell(args=0x64bf0) /sys/src/cmd/rio/wind.c:1340 called from launcher386+10 /sys/src/libthread/386.c:10
       	winshell.w/         	0x642d0
       	winshell.pidc/         	0x63ed0
       	winshell.cmd/         	0x2e64b
       	winshell.argv/         	0x63d10
       	winshell.dir/         	0x562a0
launcher386(arg=0x64bf0, f=0xbc6a) /sys/src/libthread/386.c:7 called from etext+103dcdf 
------ 198399
386 binary
system call
/sys/src/libc/9syscall/await.s:5 await+7/               	RET
await() /sys/src/libc/9syscall/await.s:3 called from wait+1b /sys/src/libc/9sys/wait.c:13
wait() /sys/src/libc/9sys/wait.c:6 called from _schedexecwait+41 /sys/src/libthread/main.c:185
       	wait.buf/         	0xfefefefe
       	wait.fld/         	0xfefefefe
       	wait.l/         	0x31e43
       	wait.w/         	0xfefefefe
_schedexecwait() /sys/src/libthread/main.c:170 called from procexec+1ea /sys/src/libthread/exec.c:72
       	_schedexecwait.pid/         	0x30700
procexec(prog=0x2e64b, pidc=0x718e8, args=0x63ed0) /sys/src/libthread/exec.c:9 called from winshell+1aa /sys/src/cmd/rio/wind.c:1378
       	procexec.t/         	0x72348
       	procexec.p/         	0x5ec78
winshell(args=0x72308) /sys/src/cmd/rio/wind.c:1340 called from launcher386+10 /sys/src/libthread/386.c:10
       	winshell.w/         	0x71988
       	winshell.pidc/         	0x718e8
       	winshell.cmd/         	0x2e64b
       	winshell.argv/         	0x63ed0
       	winshell.dir/         	0x61cd8
launcher386(arg=0x72308, f=0xbc6a) /sys/src/libthread/386.c:7 called from etext+103dcdf 
------ 198437
386 binary
system call
/sys/src/libc/9syscall/await.s:5 await+7/               	RET
await() /sys/src/libc/9syscall/await.s:3 called from wait+1b /sys/src/libc/9sys/wait.c:13
wait() /sys/src/libc/9sys/wait.c:6 called from _schedexecwait+41 /sys/src/libthread/main.c:185
       	wait.buf/         	0xfefefefe
       	wait.fld/         	0xfefefefe
       	wait.l/         	0x31e43
       	wait.w/         	0xfefefefe
_schedexecwait() /sys/src/libthread/main.c:170 called from procexec+1ea /sys/src/libthread/exec.c:72
       	_schedexecwait.pid/         	0x30726
procexec(prog=0x359d0, pidc=0x70ac8, args=0x36550) /sys/src/libthread/exec.c:9 called from winshell+1aa /sys/src/cmd/rio/wind.c:1378
       	procexec.t/         	0x71508
       	procexec.p/         	0x86a10
winshell(args=0x714c8) /sys/src/cmd/rio/wind.c:1340 called from launcher386+10 /sys/src/libthread/386.c:10
       	winshell.w/         	0x70b68
       	winshell.pidc/         	0x70ac8
       	winshell.cmd/         	0x359d0
       	winshell.argv/         	0x36550
       	winshell.dir/         	0x0
launcher386(arg=0x714c8, f=0xbc6a) /sys/src/libthread/386.c:7 called from etext+103dcdf 
------ 198489
386 binary
system call
/sys/src/libc/9syscall/await.s:5 await+7/               	RET
await() /sys/src/libc/9syscall/await.s:3 called from wait+1b /sys/src/libc/9sys/wait.c:13
wait() /sys/src/libc/9sys/wait.c:6 called from _schedexecwait+41 /sys/src/libthread/main.c:185
       	wait.buf/         	0xfefefefe
       	wait.fld/         	0xfefefefe
       	wait.l/         	0x31e43
       	wait.w/         	0xfefefefe
_schedexecwait() /sys/src/libthread/main.c:170 called from procexec+1ea /sys/src/libthread/exec.c:72
       	_schedexecwait.pid/         	0x3075a
procexec(prog=0x359d0, pidc=0x96190, args=0x36550) /sys/src/libthread/exec.c:9 called from winshell+1aa /sys/src/cmd/rio/wind.c:1378
       	procexec.t/         	0x99580
       	procexec.p/         	0x98be0
winshell(args=0x98ba0) /sys/src/cmd/rio/wind.c:1340 called from launcher386+10 /sys/src/libthread/386.c:10
       	winshell.w/         	0x96230
       	winshell.pidc/         	0x96190
       	winshell.cmd/         	0x359d0
       	winshell.argv/         	0x36550
       	winshell.dir/         	0x0
launcher386(arg=0x98ba0, f=0xbc6a) /sys/src/libthread/386.c:7 called from etext+103dcdf 
------ 219377
386 binary
system call
/sys/src/libc/9syscall/await.s:5 await+7/               	RET
await() /sys/src/libc/9syscall/await.s:3 called from wait+1b /sys/src/libc/9sys/wait.c:13
wait() /sys/src/libc/9sys/wait.c:6 called from _schedexecwait+41 /sys/src/libthread/main.c:185
       	wait.buf/         	0xfefefefe
       	wait.fld/         	0xfefefefe
       	wait.l/         	0x31e43
       	wait.w/         	0xfefefefe
_schedexecwait() /sys/src/libthread/main.c:170 called from procexec+1ea /sys/src/libthread/exec.c:72
       	_schedexecwait.pid/         	0x358f2
procexec(prog=0x359d0, pidc=0x95d50, args=0x36550) /sys/src/libthread/exec.c:9 called from winshell+1aa /sys/src/cmd/rio/wind.c:1378
       	procexec.t/         	0xb3498
       	procexec.p/         	0xbd858
winshell(args=0xb3138) /sys/src/cmd/rio/wind.c:1340 called from launcher386+10 /sys/src/libthread/386.c:10
       	winshell.w/         	0xb98b8
       	winshell.pidc/         	0x95d50
       	winshell.cmd/         	0x359d0
       	winshell.argv/         	0x36550
       	winshell.dir/         	0x0
launcher386(arg=0xb3138, f=0xbc6a) /sys/src/libthread/386.c:7 called from etext+103dcdf 
------ 220991
386 binary
system call
/sys/src/libc/9syscall/await.s:5 await+7/               	RET
await() /sys/src/libc/9syscall/await.s:3 called from wait+1b /sys/src/libc/9sys/wait.c:13
wait() /sys/src/libc/9sys/wait.c:6 called from _schedexecwait+41 /sys/src/libthread/main.c:185
       	wait.buf/         	0xfefefefe
       	wait.fld/         	0xfefefefe
       	wait.l/         	0x31e43
       	wait.w/         	0xfefefefe
_schedexecwait() /sys/src/libthread/main.c:170 called from procexec+1ea /sys/src/libthread/exec.c:72
       	_schedexecwait.pid/         	0x35f40
procexec(prog=0x359d0, pidc=0xb9c98, args=0x36550) /sys/src/libthread/exec.c:9 called from winshell+1aa /sys/src/cmd/rio/wind.c:1378
       	procexec.t/         	0x8ef60
       	procexec.p/         	0xba458
winshell(args=0xb8d38) /sys/src/cmd/rio/wind.c:1340 called from launcher386+10 /sys/src/libthread/386.c:10
       	winshell.w/         	0x8ec20
       	winshell.pidc/         	0xb9c98
       	winshell.cmd/         	0x359d0
       	winshell.argv/         	0x36550
       	winshell.dir/         	0x0
launcher386(arg=0xb8d38, f=0xbc6a) /sys/src/libthread/386.c:7 called from etext+103dcdf 
------ 242058
386 binary
system call
/sys/src/libc/9syscall/await.s:5 await+7/               	RET
await() /sys/src/libc/9syscall/await.s:3 called from wait+1b /sys/src/libc/9sys/wait.c:13
wait() /sys/src/libc/9sys/wait.c:6 called from _schedexecwait+41 /sys/src/libthread/main.c:185
       	wait.buf/         	0xfefefefe
       	wait.fld/         	0xfefefefe
       	wait.l/         	0x31e43
       	wait.w/         	0xfefefefe
_schedexecwait() /sys/src/libthread/main.c:170 called from procexec+1ea /sys/src/libthread/exec.c:72
       	_schedexecwait.pid/         	0x3b18b
procexec(prog=0x359d0, pidc=0x95360, args=0x36550) /sys/src/libthread/exec.c:9 called from winshell+1aa /sys/src/cmd/rio/wind.c:1378
       	procexec.t/         	0x102c70
       	procexec.p/         	0x1022d0
winshell(args=0x102290) /sys/src/cmd/rio/wind.c:1340 called from launcher386+10 /sys/src/libthread/386.c:10
       	winshell.w/         	0xb2338
       	winshell.pidc/         	0x95360
       	winshell.cmd/         	0x359d0
       	winshell.argv/         	0x36550
       	winshell.dir/         	0x0
launcher386(arg=0x102290, f=0xbc6a) /sys/src/libthread/386.c:7 called from etext+103dcdf 
------ 297099
386 binary
system call
/sys/src/libc/9syscall/await.s:5 await+7/               	RET
await() /sys/src/libc/9syscall/await.s:3 called from wait+1b /sys/src/libc/9sys/wait.c:13
wait() /sys/src/libc/9sys/wait.c:6 called from _schedexecwait+41 /sys/src/libthread/main.c:185
       	wait.buf/         	0xfefefefe
       	wait.fld/         	0xfefefefe
       	wait.l/         	0x31e43
       	wait.w/         	0xfefefefe
_schedexecwait() /sys/src/libthread/main.c:170 called from procexec+1ea /sys/src/libthread/exec.c:72
       	_schedexecwait.pid/         	0x4888c
procexec(prog=0x359d0, pidc=0x94b20, args=0x36550) /sys/src/libthread/exec.c:9 called from winshell+1aa /sys/src/cmd/rio/wind.c:1378
       	procexec.t/         	0x944a0
       	procexec.p/         	0xf1328
winshell(args=0xe8af8) /sys/src/cmd/rio/wind.c:1340 called from launcher386+10 /sys/src/libthread/386.c:10
       	winshell.w/         	0x94660
       	winshell.pidc/         	0x94b20
       	winshell.cmd/         	0x359d0
       	winshell.argv/         	0x36550
       	winshell.dir/         	0x0
launcher386(arg=0xe8af8, f=0xbc6a) /sys/src/libthread/386.c:7 called from etext+103dcdf 
------ 308349
386 binary
system call
/sys/src/libc/9syscall/await.s:5 await+7/               	RET
await() /sys/src/libc/9syscall/await.s:3 called from wait+1b /sys/src/libc/9sys/wait.c:13
wait() /sys/src/libc/9sys/wait.c:6 called from _schedexecwait+41 /sys/src/libthread/main.c:185
       	wait.buf/         	0xfefefefe
       	wait.fld/         	0xfefefefe
       	wait.l/         	0x31e43
       	wait.w/         	0xfefefefe
_schedexecwait() /sys/src/libthread/main.c:170 called from procexec+1ea /sys/src/libthread/exec.c:72
       	_schedexecwait.pid/         	0x4b47e
procexec(prog=0x359d0, pidc=0x429a0, args=0x36550) /sys/src/libthread/exec.c:9 called from winshell+1aa /sys/src/cmd/rio/wind.c:1378
       	procexec.t/         	0xf2d48
       	procexec.p/         	0x263500
winshell(args=0xf2d08) /sys/src/cmd/rio/wind.c:1340 called from launcher386+10 /sys/src/libthread/386.c:10
       	winshell.w/         	0x91740
       	winshell.pidc/         	0x429a0
       	winshell.cmd/         	0x359d0
       	winshell.argv/         	0x36550
       	winshell.dir/         	0x0
launcher386(arg=0xf2d08, f=0xbc6a) /sys/src/libthread/386.c:7 called from etext+103dcdf 
------ 310639
386 binary
system call
/sys/src/libc/9syscall/await.s:5 await+7/               	RET
await() /sys/src/libc/9syscall/await.s:3 called from wait+1b /sys/src/libc/9sys/wait.c:13
wait() /sys/src/libc/9sys/wait.c:6 called from _schedexecwait+41 /sys/src/libthread/main.c:185
       	wait.buf/         	0xfefefefe
       	wait.fld/         	0xfefefefe
       	wait.l/         	0x31e43
       	wait.w/         	0xfefefefe
_schedexecwait() /sys/src/libthread/main.c:170 called from procexec+1ea /sys/src/libthread/exec.c:72
       	_schedexecwait.pid/         	0x4bd70
procexec(prog=0x359d0, pidc=0xe84d8, args=0x36550) /sys/src/libthread/exec.c:9 called from winshell+1aa /sys/src/cmd/rio/wind.c:1378
       	procexec.t/         	0xe8218
       	procexec.p/         	0x271be0
winshell(args=0x11f928) /sys/src/cmd/rio/wind.c:1340 called from launcher386+10 /sys/src/libthread/386.c:10
       	winshell.w/         	0xe86d8
       	winshell.pidc/         	0xe84d8
       	winshell.cmd/         	0x359d0
       	winshell.argv/         	0x36550
       	winshell.dir/         	0x0
launcher386(arg=0x11f928, f=0xbc6a) /sys/src/libthread/386.c:7 called from etext+103dcdf 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] drawterm hangups
  2009-08-18 12:03 [9fans] drawterm hangups roger peppe
@ 2009-08-18 12:08 ` erik quanstrom
  2009-08-18 12:50   ` roger peppe
  0 siblings, 1 reply; 5+ messages in thread
From: erik quanstrom @ 2009-08-18 12:08 UTC (permalink / raw)
  To: 9fans

> every so often using drawterm (mac os version) i've been getting
> a hangup. it's not a sudden thing - rio continues running,
> but first i lose keyboard input, then mouse input.
>

wireless connection to the server?

- erik



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] drawterm hangups
  2009-08-18 12:08 ` erik quanstrom
@ 2009-08-18 12:50   ` roger peppe
  2009-08-18 15:03     ` Steve Simon
  2009-08-22  5:58     ` Jeff Sickel
  0 siblings, 2 replies; 5+ messages in thread
From: roger peppe @ 2009-08-18 12:50 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

2009/8/18 erik quanstrom <quanstro@quanstro.net>:
> wireless connection to the server?

nope. the server is VMware on the same machine.

the connection itself is fine (i see text appear
in the rio windows when writing to their cons files,
for example)

i've been getting this happening once a week
or so.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] drawterm hangups
  2009-08-18 12:50   ` roger peppe
@ 2009-08-18 15:03     ` Steve Simon
  2009-08-22  5:58     ` Jeff Sickel
  1 sibling, 0 replies; 5+ messages in thread
From: Steve Simon @ 2009-08-18 15:03 UTC (permalink / raw)
  To: 9fans

I am using ppc drawterm under osx quite a
bit and have never seen this problem.

Not sure if that helps or not...

-Steve



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] drawterm hangups
  2009-08-18 12:50   ` roger peppe
  2009-08-18 15:03     ` Steve Simon
@ 2009-08-22  5:58     ` Jeff Sickel
  1 sibling, 0 replies; 5+ messages in thread
From: Jeff Sickel @ 2009-08-22  5:58 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs


On Aug 18, 2009, at 7:50 AM, roger peppe wrote:

> 2009/8/18 erik quanstrom <quanstro@quanstro.net>:
>> wireless connection to the server?
>
> nope. the server is VMware on the same machine.

I'm seeing something a bit different that tends to require starting up
a new terminal and then using drawterm:

% Sat Aug 22 00:47:37 dhatura.local drawterm[35006] <Error>:
CGContextDrawImage: invalid context
Sat Aug 22 00:47:37 dhatura.local drawterm[35006] <Error>:
CGContextFlush: invalid context
Sat Aug 22 00:47:37 dhatura.local drawterm[35006] <Error>:
CGContextFlush: invalid context


This is from an Intel Mac to a Plan 9 server on the same subnet--but
that's something clearly in the osx specific code.

-jas




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-08-22  5:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-18 12:03 [9fans] drawterm hangups roger peppe
2009-08-18 12:08 ` erik quanstrom
2009-08-18 12:50   ` roger peppe
2009-08-18 15:03     ` Steve Simon
2009-08-22  5:58     ` Jeff Sickel

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).