9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] vncs - suicide
@ 2004-09-06 15:26 Lucio De Re
  0 siblings, 0 replies; only message in thread
From: Lucio De Re @ 2004-09-06 15:26 UTC (permalink / raw)
  To: 9fans

I have:

cpu% history /386/bin/vncs
Aug  7 05:35:01 SAT 2004 /386/bin/vncs 469227 [proxima]
Aug  7 05:35:01 SAT 2004 /n/dump/2004/0906/386/bin/vncs 469227 [proxima]
May 20 20:18:47 SAT 2004 /n/dump/2004/0807/386/bin/vncs 472667 [none]

and the newer version fails:

cpu% vncs
cpu% vncs 822: suicide: sys: trap: fault read addr=0x14 pc=0x0000b8b0
server started on display :1

although as the owner of the host (eve, in other words) I do not seem
to have the same problem.  Also, the previous version works quite
adequately.

Acid reports:

acid 822
/proc/822/text:386 plan 9 executable

/sys/lib/acid/port
/sys/lib/acid/386
acid: stk()
Exmkfid(fs=0x1ddad8,fid=0x2b3)+0x53 /sys/src/cmd/vnc/exportfs.c:441
Exattach(rpc=0x1e016c,fs=0x1ddad8)+0x66 /sys/src/cmd/vnc/exportfs.c:535
exslave()+0x46a /sys/src/cmd/vnc/exportfs.c:375
kproc(name=0x50095,a=0x0,f=0xb3cd)+0x65 /sys/src/cmd/vnc/compat.c:54
exportproc(fs=0x1ddad8)+0x186 /sys/src/cmd/vnc/exportfs.c:181
sysexport(fd=0x4,roots=0x1dcc98,nroots=0x3)+0x34 /sys/src/cmd/vnc/exportfs.c:111
extramp(v=0x7fffee78)+0x2c /sys/src/cmd/vnc/exporter.c:47
kproc(name=0x50c1c,a=0x7fffee78,f=0x96bf)+0x65 /sys/src/cmd/vnc/compat.c:54
exporter(dt=0x51244,sfd=0x3f020,fd=0x7fffef4c)+0x175 /sys/src/cmd/vnc/exporter.c:93
main(argv=0x7fffeeb8,argc=0x0)+0x2b2 /sys/src/cmd/vnc/vncs.c:186
_main+0x31 /sys/src/libc/386/main9.s:16
acid: 

but it's not clear to me why this happens as
/sys/src/cmd/vnc/exportfs.c:441 is the line highlighted below (in my
copy of the source, which ought to be up to date, but I suppose it
need not be):

	lock(&fs->fidlock);
	h = fid % Nfidhash;
	for(f = fs->fid[h]; f != nil; f = f->next){
>>>>>>>>>>>
		if(f->fid == fid){
<<<<<<<<<<<
			unlock(&fs->fidlock);
			free(nf);
			return nil;
		}
	}

Any suggestions?

++L



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-09-06 15:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-06 15:26 [9fans] vncs - suicide Lucio De Re

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