Discussion:
"No error" condition
(too old to reply)
Stas Degteff
2012-03-07 23:05:48 UTC
Permalink
Hello Nick.

07 Mar 12 08:49, you wrote to All:

NA> I am running version 1.0a-521/Win32. Occasionally a system will be
NA> downloading large packets of mail and sometimes I see:

NA> 20120307 08:10:07 [28936] VER Internet Rex 2.29 Win32 (binkp/1.1)
NA> 20120307 08:10:07 [28936] addr: 1:229/***@fidonet
NA> 20120307 08:10:07 [28936] unexpected password digest from the remote
NA> 20120307 08:10:07 [28936] sending C:\QUEUE\D-00106D.08C\FF1CFF56.FR9
NA> as FF1CFF56.FR9 (242
NA> 20120307 08:10:34 [28936] GET: error seeking FF1CFF56.FR9 to
NA> 414945280: No error
----------------^^^^^^^^
fseek() return -1 but errno don't set in the fseek()

For real diagnose a error you shoulds increase log level to 5, look an error,
extract log lines from "rcvd msg FILE" to "GET: error seeking" and send its for
me or Paul Gulchuk or to echo, don;t forget output of the command `binkd -v`

Example of log lines needed for diagnostic:
=====
08 Mar 02:40:56 [3161] rcvd msg FILE a713c464.thb 1102 1331152850 0
08 Mar 02:40:56 [3161] file not found, trying to create a tmpname
- 08 Mar 02:40:56 [3161] receiving a713c464.thb (1102 byte(s), off 0)
+ 08 Mar 02:40:56 [3161] a713c464.thb -> /fido/inbound-secure/a713c464.thb
08 Mar 02:40:56 [3161] unlinked `/fido/inbound-binkd-tmp/6bf8ff3b.hr'
====
(this log lines demonstrates successful file receiving process)

Stas
Jabber-ID: ***@grumbler.org
GPG key 0x72186DB9 (keyserver: hkp://wwwkeys.eu.pgp.net)
... Golded+, Husky & RNTrack maintainer, Binkd developer&webmaster
Nick Andre
2012-03-08 04:05:54 UTC
Permalink
On 08 Mar 12 03:05:48, Stas Degteff said the following to Nick Andre:

SD> fseek() return -1 but errno don't set in the fseek()
SD>
SD> For real diagnose a error you shoulds increase log level to 5, look an erro
SD> extract log lines from "rcvd msg FILE" to "GET: error seeking" and send its
SD> for me or Paul Gulchuk or to echo, don;t forget output of the command `bink
SD> -v`

C:\DB>binkdwin -v
Binkd 1.0a-521 (Nov 25 2008 16:59:39/Win32)

When the log level is set to 5 I do not see any additional error messages that
may be helpful, other than again its trying to seek to a nonexistent position.

08 Mar 08:00:34 [19868] rcvd msg GET FF1CFF56.WE0 1708 1331211614 66236416
? 08 Mar 08:00:34 [19868] GET: error seeking FF1CFF56.WE0 to 66236416: No
error
+ 08 Mar 08:00:34 [19868] done (from 1:229/***@fidonet, failed, S/R: 0/0 (0/0
bytes))
08 Mar 08:00:34 [19868] session closed, quitting...
? 08 Mar 08:00:34 [19868] receiving of 5E85FF78.SU0 interrupted at 0
08 Mar 08:00:34 [19868] 5E85FF78.SU0: empty partial
08 Mar 08:00:34 [19868] unlinked `C:\INBOUND\4f58f582.dt'
08 Mar 08:00:34 [19868] unlinked `C:\INBOUND\4f58f582.hr'
08 Mar 08:00:34 [19868] unlinked `data\fidonet\00e5012c.bsy'

It appears now that the remote system cannot deliver mail due to no way around
the "no error" condition? If this is true then that is a serious problem.

Can you modify the code so if fseek fails it will skip the file and/or just
send whatever contents of the file are?

Nick

Loading...