Date: Sat, 17 Jun 2000 11:30:03 -0700 (PDT) From: Greg Prosser <greg@straynet.com> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/19355: fstat gives signal 10 (SIGBUS) when outputting data Message-ID: <200006171830.LAA70371@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/19355; it has been noted by GNATS.
From: Greg Prosser <greg@straynet.com>
To: freebsd-gnats-submit@FreeBSD.org
Cc:
Subject: Re: bin/19355: fstat gives signal 10 (SIGBUS) when outputting data
Date: Sat, 17 Jun 2000 14:28:16 -0400 (EDT)
Hey .. I was playing around a little more with gdb, isolated it a little
more to the exact line, and have some variable context information ..
(gdb) step
350 bcopy(filed0.fd_dfiles, ofiles,
(filed.fd_lastfile+1) * FPSIZE);
(gdb) p filed0
$3 = {fd_fd = {fd_ofiles = 0xc8128d80, fd_ofileflags = 0x0, fd_cdir = 0x0,
fd_rdir = 0x0, fd_nfiles = 0, fd_lastfile = 6922, fd_freefile = 12635,
fd_cmask = 12859, fd_refcnt = 29236}, fd_dfiles = {0x32325b1b,
0x1b48313b,
0x20204b5b, 0x20202020, 0x20202020, 0x20202020, 0x20202020,
0x2f232020,
0x4057753c, 0x23205469, 0x57753c2f, 0x20546940, 0x753c2f23,
0x54694057,
0x3c2f2320, 0x69405775, 0x2f232054, 0x4057753c, 0x23205469,
0x57753c2f},
fd_dfileflags = "@iT\e[K\e[1;22r\e[22;1H"}
(gdb) p filed0.fd_fd.fd_lastfile
$4 = 6922
(gdb) p ofiles
$5 = (struct file **) 0x8068000
(gdb) p *ofiles
$6 = (struct file *) 0x0
(gdb) p (filed0.fd_fd.fd_lastfile+1)
$7 = 6923
[note: FPSIZE must be a define, I had several errors printing the whole
expression]
(gdb) p filed0.fd_dfiles
$8 = {0x32325b1b, 0x1b48313b, 0x20204b5b, 0x20202020, 0x20202020,
0x20202020,
0x20202020, 0x2f232020, 0x4057753c, 0x23205469, 0x57753c2f, 0x20546940,
0x753c2f23, 0x54694057, 0x3c2f2320, 0x69405775, 0x2f232054, 0x4057753c,
0x23205469, 0x57753c2f}
I'm still puzzled .. if no information comes back regarding more requests
for info without the next 30 minutes - hour, i'm going to kill the
offending pid, and end this. (note: I tracked down the pid by fstat'ing
each of the user's processes).
/gp
.... .. . ... . . . . .
g r e g @ s t r a y n e t . c o m
.-----.----.-----.-----. senior administrator, straynet online
| _ | _| -__| _ | head network administrator, wen dot net
|___ |__| |_____|___ | staff consultant, micro web company
|_____| |_____| icq: 10405504 / aol im: xysters
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006171830.LAA70371>
