Article View: news.software.nntp
Article #40556Re: Diablo debugging problems...
From: Brad Knowles
Date: Tue, 05 Oct 1999 00:00
Date: Tue, 05 Oct 1999 00:00
43 lines
2998 bytes
2998 bytes
In article <brad-0510991348210001@brad.techos.skynet.be>,
brad@shub-internet.org (Brad Knowles) wrote:
> I know that the routine is being put into the library and the binaries
> are being linked agains that library, but until I see one of those lines
> logged, I can't be sure that the program is actually using it.
Sigh.... Stupid me, when I moved the routine, I didn't do an xmake
clean. So it was never really put in the library, and therefore wasn't
being called. When I finally did an xmake clean and then put the new set
of binaries into production, it locked up pretty fast.
The man page for write(2) says that the second argument is a "const
void *", while all of the routines I can find that use it in Diablo
actually call it with a "const char *" or a "char *" in the second
argument.
I also apparently found a single-bit memory error around the same time
-- 2B0D6000h (fortunately, I have ECC RAM). I hit the reset switch and
the machine rebooted, but then diablo child processes started dying
regularly with signal 11's. I've put the old binary back into production.
I'm going to try to do some more debugging and figure out if I can
find a proper cast for the second argument for xwrite(), one that won't
cause gcc to complain (too much), and one that hopefully won't cause those
signal 11's.
I'm also going to have to see if we've got a maintenance contract for
these machines and see if I can get the memory replaced where we found the
single-bit error.
Blargh. This is really annoying.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 100? If so, please contact me via private e-mail for details.
Technical Details
Message-ID:
<brad-0510991730300001@brad.techos.skynet.be>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<brad-0110991517500001@brad.techos.skynet.be> <37f4e0b3$0$10188@news.execpc.com> <brad-0410991834410001@brad.techos.skynet.be> <yl670ndpwz.fsf@windlord.stanford.edu> <brad-0410992339180001@dialup1042.brussels2.skynet.be> <ylg0zqaja4.fsf@windlord.stanford.edu> <brad-0510990113060001@dialup1042.brussels2.skynet.be> <brad-0510991317560001@brad.techos.skynet.be> <brad-0510991348210001@brad.techos.skynet.be>Show Full Headers
Complete Article Headers
Message-ID: <brad-0510991730300001@brad.techos.skynet.be> Subject: Re: Diablo debugging problems... Date: Tue, 05 Oct 1999 00:00:00 +0000 From: brad@shub-internet.org (Brad Knowles) References: <brad-0110991517500001@brad.techos.skynet.be> <37f4e0b3$0$10188@news.execpc.com> <brad-0410991834410001@brad.techos.skynet.be> <yl670ndpwz.fsf@windlord.stanford.edu> <brad-0410992339180001@dialup1042.brussels2.skynet.be> <ylg0zqaja4.fsf@windlord.stanford.edu> <brad-0510990113060001@dialup1042.brussels2.skynet.be> <brad-0510991317560001@brad.techos.skynet.be> <brad-0510991348210001@brad.techos.skynet.be> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 533109397 X-Complaints-To: abuse@skynet.be X-Trace: news0.skynet.be 939137498 19418 195.238.1.121 (5 Oct 1999 15:31:38 GMT) Organization: Shub-Internet X-URL: http://www.shub-internet.org/ NNTP-Posting-Date: 5 Oct 1999 15:31:38 GMT Newsgroups: news.software.nntp