🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #53260

Re: CNFSflushhead: write failed (-1 bytes): Bad file descriptor

#53260
From: Alex Kiernan
Date: Thu, 12 Jul 2001 04:56
38 lines
2942 bytes
Roland Jesse <jesse@cs.uni-magdeburg.de> writes:

> Alex Kiernan <alexk@demon.net> writes:
> 
> > Drop a debugger on it, stop in CNFSinit_disks and print out *rpx after
> > the read.
> 
> INN was compiled without debugging switched on. What I can do easily,
> though, is to run innfeed with ktrace. The result does not tell me
> that much. Here is the part of the log after reading the config files
> (inn.conf, storage.conf, cycbuff.conf) up until the error message:
> 
> -------------------------------------------------------------------
> ...
>    634 innfeed  CALL  open(0x8090010,0,0x460)
>    634 innfeed  NAMI  "/articles/one"
>    634 innfeed  RET   open 4
>    634 innfeed  CALL  fcntl(0x4,0x1,0)
>    634 innfeed  RET   fcntl 0
>    634 innfeed  CALL  fcntl(0x4,0x2,0x1)
>    634 innfeed  RET   fcntl 0
>    634 innfeed  CALL  lseek(0x4,0,0,0,0)
>    634 innfeed  RET   lseek 0
>    634 innfeed  CALL  read(0x4,0xbfbff590,0xc0)
>    634 innfeed  GIO   fd 4 read 192 bytes
>        "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
> 	\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
> 	\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
> 	\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
> 	\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
> 	\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"

OK, so they're definately not getting initialised; can you grab a
similar chunk from when innd starts up?

-- 
Alex Kiernan, Principal Engineer, Development, Thus PLC
Technical Details
Message-ID: <72d776oicx.fsf@nd1.eng.demon.net>
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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!212.74.64.35!colt.net!dispose.news.demon.net!news.demon.co.uk!demon!nd1.eng.demon.net!not-for-mail
References: <0vd77afhon.fsf@cs.uni-magdeburg.de> <20010709.220953.105575579.10056@franconews.org> <0vhewldsdz.fsf@cs.uni-magdeburg.de> <9ieom9$r3g$2@marduk.litech.org> <0vd778dexv.fsf@cs.uni-magdeburg.de> <yld778x0h0.fsf@windlord.stanford.edu> <72wv5ffve9.fsf@nd1.eng.demon.net> <0v4rsjmtll.fsf@cs.uni-magdeburg.de>

Show Full Headers
Complete Article Headers
Message-ID: <72d776oicx.fsf@nd1.eng.demon.net>
Subject: Re: CNFSflushhead: write failed (-1 bytes): Bad file descriptor
Date: Thu, 12 Jul 2001 04:56:46 +0000
From: Alex Kiernan <alexk@demon.net>
References: <0vd77afhon.fsf@cs.uni-magdeburg.de> <20010709.220953.105575579.10056@franconews.org> <0vhewldsdz.fsf@cs.uni-magdeburg.de> <9ieom9$r3g$2@marduk.litech.org> <0vd778dexv.fsf@cs.uni-magdeburg.de> <yld778x0h0.fsf@windlord.stanford.edu> <72wv5ffve9.fsf@nd1.eng.demon.net> <0v4rsjmtll.fsf@cs.uni-magdeburg.de>
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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!212.74.64.35!colt.net!dispose.news.demon.net!news.demon.co.uk!demon!nd1.eng.demon.net!not-for-mail
Newsgroups: news.software.nntp
Sender: alexk@nd1.eng.demon.net
NNTP-Posting-Host: nd1.eng.demon.net
X-NNTP-Posting-Host: nd1.eng.demon.net:194.217.90.2
X-Trace: news.demon.co.uk 994913806 nnrp-14:24343 NO-IDENT nd1.eng.demon.net:194.217.90.2
X-Complaints-To: abuse@demon.net
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Canyonlands)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Lines: 37