Unexpected "Exiting normally" 2.1.8?

Craig Campbell craig at ccraft.ca
Wed Nov 18 13:44:00 CET 2009


Ok,
    I hope this is helpful.  Below please find the git bisect log.
There were a number of iterations with make errors which I then skipped.  I 
suspect the errors were OS specific and were clearly fixed in later 
iterations.

-bash-3.2$ git bisect log
git bisect start
# bad: [9dbc8974fdd2300a70293eda9c62bce20a3c9165] errormsg may be NULL
git bisect bad 9dbc8974fdd2300a70293eda9c62bce20a3c9165
# good: [321c0ae58641f709d115526bb564cbd8c4dab71d] Fix typos
git bisect good 321c0ae58641f709d115526bb564cbd8c4dab71d
# skip: [44119cccba8278fad9599969ec458e880dc25415] Check value of 
Fall-Through, too
git bisect skip 44119cccba8278fad9599969ec458e880dc25415
# skip: [c0b41a30bff50e7b8d207a9397e5df2a25dc5e64] Replace references to 
<ltdl.h> with <freeradius-devel/modpriv.h>
git bisect skip c0b41a30bff50e7b8d207a9397e5df2a25dc5e64
# good: [4f02141e5ee092f0f9a4a8b8b364897ad273d2a3] RFC 5580 and dictionary
git bisect good 4f02141e5ee092f0f9a4a8b8b364897ad273d2a3
# skip: [ada7bae4e68c3181759bbc5ab70a1dc6770c3857] Add scaffolding for proxy 
listeners.
git bisect skip ada7bae4e68c3181759bbc5ab70a1dc6770c3857
# skip: [c7a9d2aa1b3fa91591ce95f19aa5ba42c102f4f7] Stop processing packets 
when the socket is closed.
git bisect skip c7a9d2aa1b3fa91591ce95f19aa5ba42c102f4f7
# good: [f9302474d9bd38242d13e13f37043a745f460bf0] Fix values as note on 
list
git bisect good f9302474d9bd38242d13e13f37043a745f460bf0
# skip: [0d8afaf03ef7b5df7556304f2664ac43dbe822f7] Clean up state machine so 
it's more forgiving
git bisect skip 0d8afaf03ef7b5df7556304f2664ac43dbe822f7
# skip: [1a176810b6786c78ba744e1839d808cc6804788e] Check for NOOP from 
opendir.c
git bisect skip 1a176810b6786c78ba744e1839d808cc6804788e
# skip: [f2273694594b65174b30680bef077485c9372f92] Forgot to include this...
git bisect skip f2273694594b65174b30680bef077485c9372f92
# skip: [7c638d0134c07c2481d0e7c866c1f8dd9d346048] 64-bit fixes.
git bisect skip 7c638d0134c07c2481d0e7c866c1f8dd9d346048
# skip: [9261f3e0026323b2c397af13d02fbc5780908143] Ensure that there is a 
cleanup event for proxied packets
git bisect skip 9261f3e0026323b2c397af13d02fbc5780908143
# skip: [92ab5fef40320d1dbc3fe59db82cb20a3ec69249] Fixed compile error
git bisect skip 92ab5fef40320d1dbc3fe59db82cb20a3ec69249
# skip: [83b08deebddf31adcc4229359df905673f2b1703] Allow the packet API to 
auto-discover TCP
git bisect skip 83b08deebddf31adcc4229359df905673f2b1703
# skip: [5fe2ab70a782fc1389748897f8d7838e8b63efc2] Removed unnecessary line
git bisect skip 5fe2ab70a782fc1389748897f8d7838e8b63efc2
# skip: [f687388c0f7b9bdc81db3482e319e684231bca8e] Document TCP options for 
clients and home servers.
git bisect skip f687388c0f7b9bdc81db3482e319e684231bca8e
# skip: [4ca219b1f1ab68fc8434072e51a8e4b95cf37c16] Be more flexible about 
parsing detail files
git bisect skip 4ca219b1f1ab68fc8434072e51a8e4b95cf37c16
# skip: [ecf751a2a662d8749f45fa77f8b023b37b01056c] Set broadcast && 
reuseaddr before binding to socket
git bisect skip ecf751a2a662d8749f45fa77f8b023b37b01056c
# skip: [52880d0020b7b900ae8383b142b08e4e11cde639] Fixed typo && include 
attrs.access_challenge in build
git bisect skip 52880d0020b7b900ae8383b142b08e4e11cde639
# skip: [05b63f38b036995164a7d3f5cbe5d81676058d95] Track the number of 
outstanding packets on a TCP connection.
git bisect skip 05b63f38b036995164a7d3f5cbe5d81676058d95
# good: [4d73838c46c713ac427f7da6b5c40fe2a87bd457] As posted to the list
git bisect good 4d73838c46c713ac427f7da6b5c40fe2a87bd457
# skip: [545ed1e65f5852a3c1fb2001221531f76b6abb27] Allow outgoing TCP 
connections to home servers.
git bisect skip 545ed1e65f5852a3c1fb2001221531f76b6abb27
# skip: [6840a546d793271a36cdf331a1492a49573c11ee] Reference $(INCLTDL) 
instead of fixed link
git bisect skip 6840a546d793271a36cdf331a1492a49573c11ee
# skip: [1013e94b66064f24170e394e63ba4f093c141d74] Start simplifying the 
code that encodes attributes
git bisect skip 1013e94b66064f24170e394e63ba4f093c141d74
# skip: [b853a84e6c4ccd5d9e2c4ad9da2c421a234e887f] Fix openssl checks
git bisect skip b853a84e6c4ccd5d9e2c4ad9da2c421a234e887f
# skip: [e6c108b5e68f0ebe1f8a5d4a1c08500bbadcdab4] Fix passwords to have 
even length
git bisect skip e6c108b5e68f0ebe1f8a5d4a1c08500bbadcdab4
# skip: [f0697780861ace0e52ba8fd0526454097caf567f] No need to include 
modules.h twice
git bisect skip f0697780861ace0e52ba8fd0526454097caf567f
# skip: [751e9a39b2221a2623001a4611021a8e01cf4375] Increase max_sessions
git bisect skip 751e9a39b2221a2623001a4611021a8e01cf4375
# skip: [828ef4d40c8b43977b48fb11d02cc69263f3ce0f] Be less forgiving about 
the allowed operators.
git bisect skip 828ef4d40c8b43977b48fb11d02cc69263f3ce0f
# skip: [e237107e1dca922dab291c5b011468ee24b768c2] event.c frees the 
listener, so we don't need to
git bisect skip e237107e1dca922dab291c5b011468ee24b768c2
# skip: [9b70af0c517daad7d374f4cc948488429d3a9cc0] Print env vars in parent, 
not child
git bisect skip 9b70af0c517daad7d374f4cc948488429d3a9cc0
# skip: [66b8e171eb8f7f67d09032aed4f541ed88523f9a] Fix arguments to 
client_find
git bisect skip 66b8e171eb8f7f67d09032aed4f541ed88523f9a
# skip: [58ee226a502cf2fb2e33ba48c46e9a78b73b1f9c] Added sample configs for 
MySQL cluster
git bisect skip 58ee226a502cf2fb2e33ba48c46e9a78b73b1f9c
# skip: [2065201e7df32961cc870d7e862ca9b2f9ae59f7] Moved illegal attributes 
to the new dictionary
git bisect skip 2065201e7df32961cc870d7e862ca9b2f9ae59f7
# skip: [f2d96581f98990d24991c99a681d018a3df85e92] Define names
git bisect skip f2d96581f98990d24991c99a681d018a3df85e92
# skip: [4baebf8202d7db372a9ad2ce5026ec6c986f0de7] Allow old-style 
dictionary formats, too
git bisect skip 4baebf8202d7db372a9ad2ce5026ec6c986f0de7
# skip: [b1e815d0b4bec01f9721d4b92786960b2218f149] Write the PID file as 
late as possible
git bisect skip b1e815d0b4bec01f9721d4b92786960b2218f149
# skip: [e04b62f1bd257489bd92ccc584b0886c7e2011e8] Jumbo patch to clean up 
socket handling
git bisect skip e04b62f1bd257489bd92ccc584b0886c7e2011e8
# skip: [a92700b3fb88239ccb0db9f5ece68dd430937df3] Fix typo
git bisect skip a92700b3fb88239ccb0db9f5ece68dd430937df3
# skip: [28d8dd3de3e4251b252a6b2846bfc4079df09c66] Get private key 
passphrase from keychain using certadmin command.
git bisect skip 28d8dd3de3e4251b252a6b2846bfc4079df09c66
# good: [d047c4beb2130c196d266d39ba6974bc2ecac10a] Move "set state" to 
before log message
git bisect good d047c4beb2130c196d266d39ba6974bc2ecac10a
# skip: [731db3b088a482726c765b56f46a33e2a4e45522] More plumbing to get the 
server to listen on TCP sockets.
git bisect skip 731db3b088a482726c765b56f46a33e2a4e45522
# skip: [9491d6eb7b963532855ccc8a63a523a2a1e3af2b] Use packet codes from 
libradius
git bisect skip 9491d6eb7b963532855ccc8a63a523a2a1e3af2b
# skip: [057c7ac764a4639f715edcbde7dc22491b79be62] Don't use source IP for 
EAP packets.
git bisect skip 057c7ac764a4639f715edcbde7dc22491b79be62
# skip: [137e3759b2ffc0c4f99064dadbd7461d3e86ae2a] Moved Ascends illegal 
attributes to their own file
git bisect skip 137e3759b2ffc0c4f99064dadbd7461d3e86ae2a
# skip: [fbdc02ad699b9bc4d410daaa54f76df7141d2f64] Ensure that cached SSL 
sessions have data
git bisect skip fbdc02ad699b9bc4d410daaa54f76df7141d2f64
# skip: [1fef8c64bf31668808bb9c2a67c480d9d0a7f2d6] Assign variable before 
using it
git bisect skip 1fef8c64bf31668808bb9c2a67c480d9d0a7f2d6
# skip: [fa0e98d1056e22fa413078dbd8c3fe0d85532826] Changed order of code to 
avoid race conditions
git bisect skip fa0e98d1056e22fa413078dbd8c3fe0d85532826
# good: [7d8c35a78970319b948ef3356d1c5504d6c015c2] Print out a little more 
information
git bisect good 7d8c35a78970319b948ef3356d1c5504d6c015c2
# skip: [12ead56dffca9b3ecddc8a7860a1ef5b5361b374] Return rather than use 
the same ptr twice
git bisect skip 12ead56dffca9b3ecddc8a7860a1ef5b5361b374
# skip: [1700127c8a7150f57056495a2980fd132dafdb92] As posted to the list
git bisect skip 1700127c8a7150f57056495a2980fd132dafdb92
# skip: [215cb16a373f3cdb88a6c196c7cb53ef69b5fb4c] 64-bit fixes and return 
NOOP for AD users.
git bisect skip 215cb16a373f3cdb88a6c196c7cb53ef69b5fb4c
# skip: [d9dd62aae7baa5346f19236cead4414c03546d45] Conf for debugging
git bisect skip d9dd62aae7baa5346f19236cead4414c03546d45
# skip: [6e45792b73caf67c01e4776065c52acc62d28d2b] Mark home server dead if 
it doesn't respond to pings
git bisect skip 6e45792b73caf67c01e4776065c52acc62d28d2b
# good: [18987ef653986dc1647a7c43144c51dddaa96671] Allow home servers to use 
TCP
git bisect good 18987ef653986dc1647a7c43144c51dddaa96671
# skip: [f6e2dba8a7e4dd31d36d5b8ee434d21600e3f99f] Simplify the code
git bisect skip f6e2dba8a7e4dd31d36d5b8ee434d21600e3f99f
# skip: [a6e46823d1756782b974257184e35d4e796c98a3] Always initialize proto
git bisect skip a6e46823d1756782b974257184e35d4e796c98a3
# skip: [81f6cad3846b61227fd4c5f92959306a8b7e140c] Include proto in API, no 
matter what build options
git bisect skip 81f6cad3846b61227fd4c5f92959306a8b7e140c
# skip: [0ce61f286385679608bbb82967e371641c47d381] More ifdef's and 
assertions for checkign TCP != UDP
git bisect skip 0ce61f286385679608bbb82967e371641c47d381
# skip: [83c2cd412b1208e67381372baa73c779cd2848f6] More detailed debugging 
for detail
git bisect skip 83c2cd412b1208e67381372baa73c779cd2848f6
# skip: [092f0ea30cdfc2d669afe47061fafb9407269641] Initialize via attr
git bisect skip 092f0ea30cdfc2d669afe47061fafb9407269641
# skip: [2db0b3fe16a9d460efc63cf76e38584419dcdfe0] Use new API
git bisect skip 2db0b3fe16a9d460efc63cf76e38584419dcdfe0
# skip: [98b22609015439b16cc62cf45e4472a14377da2a] Retry if there was no 
response to the packet.
git bisect skip 98b22609015439b16cc62cf45e4472a14377da2a
# skip: [1628ef2387d9f7a89b3c2ff8945f49777eb135f1] Be more restrictive on 
bad input
git bisect skip 1628ef2387d9f7a89b3c2ff8945f49777eb135f1
# skip: [572d4fd5f3f735e17bce2980af72fed12376fb62] Scaffolding to make it 
build.
git bisect skip 572d4fd5f3f735e17bce2980af72fed12376fb62
# skip: [64700e41098a874581d683c8606c94f9ad23079d] Check for undefined 
types, too
git bisect skip 64700e41098a874581d683c8606c94f9ad23079d
# skip: [f4dd3a6e803219b61f3ec1d1b7f3767ee54e8eec] Free tcp structure, too
git bisect skip f4dd3a6e803219b61f3ec1d1b7f3767ee54e8eec
# skip: [382b6c2223ba1a233ca9f4d248beb888a0123f3e] Print more descriptive 
error message for too many EAP sessions
git bisect skip 382b6c2223ba1a233ca9f4d248beb888a0123f3e
# skip: [5aa01c58d91063b5bbbf5aef941137d7cf638bbe] Changed stop packet msg 
to debug rather than error
git bisect skip 5aa01c58d91063b5bbbf5aef941137d7cf638bbe
# skip: [e69be18535bd8b9a2cfb50a9df7cb44e3129ab4c] Added more debugging 
messages
git bisect skip e69be18535bd8b9a2cfb50a9df7cb44e3129ab4c
# skip: [817e64f14df0e5816d87784f995e8fc4a240e048] Initialize proto for 
old-style realms
git bisect skip 817e64f14df0e5816d87784f995e8fc4a240e048
# skip: [d711a368ebf0e057e54596d22584ca2ce37e209c] Make 
client/port/key-balance more like fail-over
git bisect skip d711a368ebf0e057e54596d22584ca2ce37e209c
# skip: [ff89e4cac7f2a9256c7d360b1d53a1eb69a28f40] More plumbing to get to 
home servers via TCP
git bisect skip ff89e4cac7f2a9256c7d360b1d53a1eb69a28f40
# skip: [fe4bf0a8d6d7e168e0c6729115df1315abbe5e20] Fix typo
git bisect skip fe4bf0a8d6d7e168e0c6729115df1315abbe5e20
# skip: [732917380982c0aa5ff862ffa2d901fbe52dac36] Allow radclient to 
send/receive RADIUS over TCP
git bisect skip 732917380982c0aa5ff862ffa2d901fbe52dac36
# skip: [a4202aeb848174ed430fd29573e3dd2db78ae2a1] fix debian/rules to 
honour CFLAGS
git bisect skip a4202aeb848174ed430fd29573e3dd2db78ae2a1
# skip: [6a6d2b450fd7ddff65e9f73bbe96ba3f5f914f08] Check src_port, not 
dst_port
git bisect skip 6a6d2b450fd7ddff65e9f73bbe96ba3f5f914f08
# skip: [30adbf8230730a7503f5e3654df90c5c2a38a8ed] Call detach only if 
function exists
git bisect skip 30adbf8230730a7503f5e3654df90c5c2a38a8ed
# skip: [8fa1a08726aad4f379c7bcc6df608f8d79594a34] Removed recursive 
mutexes.
git bisect skip 8fa1a08726aad4f379c7bcc6df608f8d79594a34
# skip: [ce2a48e678fd80199b886aeda654ed2f94340c19] Allow clients to use TCP
git bisect skip ce2a48e678fd80199b886aeda654ed2f94340c19
-bash-3.2$
----- Original Message ----- 
From: "Alan DeKok" <aland at deployingradius.com>
To: "FreeRadius users mailing list" <freeradius-users at lists.freeradius.org>
Sent: Monday, November 16, 2009 11:02 AM
Subject: Re: Unexpected "Exiting normally" 2.1.8?


> Craig Campbell wrote:
>> Still running tests with bisect.
>>
>> successful runs take some time to identify (a day).
>>
>> Please let me know if the bug is identified, otherwise I'll keep
>> plugging away.
>
>  Thanks.  Once we know the commit, the fix should hopefully be easy.
>
>  Alan DeKok.
> -
> List info/subscribe/unsubscribe? See 
> http://www.freeradius.org/list/users.html
>
> __________ Information from ESET Smart Security, version of virus 
> signature database 4612 (20091116) __________
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>
>
> 


__________ Information from ESET Smart Security, version of virus signature database 4617 (20091118) __________

The message was checked by ESET Smart Security.

http://www.eset.com






More information about the Freeradius-Users mailing list