[CalendarServer-dev] Exception in recvfd --was: Re: continuing work on FreeBSD ports
Axel Rau
Axel.Rau at Chaos1.DE
Thu Feb 14 01:43:38 PST 2013
Hi,
Am 14.02.2013 um 09:56 schrieb Axel Rau:
> I will try fflush(3)...
A fflush(ddfp); before the return produced these results:
1. after startup:
---
-rw-r--r-- 1 root wheel 64 Feb 14 10:33 debug.dat.63406
-rw-r--r-- 1 root wheel 0 Feb 14 10:33 debug.dat.63431
-rw-r--r-- 1 root wheel 0 Feb 14 10:33 debug.dat.63432
-rw-r--r-- 1 root wheel 0 Feb 14 10:33 debug.dat.63433
-rw-r--r-- 1 root wheel 0 Feb 14 10:33 debug.dat.63434
# cat /tmp/debug.dat.63406
recvmsg: fd [27] [0] result [1]
recvmsg: fd [25] [0] result [1]
#
---
2. After the error occured:
---
-rw-r--r-- 1 root wheel 64 Feb 14 10:33 debug.dat.63406
-rw-r--r-- 1 root wheel 56 Feb 14 10:34 debug.dat.63431
-rw-r--r-- 1 root wheel 0 Feb 14 10:33 debug.dat.63432
-rw-r--r-- 1 root wheel 0 Feb 14 10:33 debug.dat.63433
-rw-r--r-- 1 root wheel 0 Feb 14 10:33 debug.dat.63434
# cat /tmp/debug.dat.63431
recvmsg: fd [24] [0] result [3]
recvmsg: value:
d 0 0 0
---
Does this enlighten someone?
I don't know why there are still empty debug files.
Axel
---
PGP-Key:29E99DD6 ☀ +49 151 2300 9283 ☀ computing @ chaos claudius
More information about the calendarserver-dev
mailing list