Stable branch is completely outdated
If you are looking to use motion, be aware that the stable branch (3.0, latest version 3.0.7) is not being developed anymore, and the development versions (3.1, latest at time of writing is 3.1.14) are indeed just as stable if not more-so, and have many important bug-fixes and many new, useful features.
And if you do find a bug, please report it to the mailing list!
patch against 3.0.5
I created a patch which adds a configuration parameter "syslog" to motion. If enabled, motion will then log in syslog when it starts up, exits and when it detects motion or when errors occur. This patch also fiddles with socket-fd's so that you no longer get this annoying bind-problem ("socket already in use") when starting motion very quick after stopping it. Also a small performance improvement was made. Solved a problem when using certain versions of GLIBC, it would not create directories. This was caust by incorrect usage of sprintf(). Furthermore: set temporary buffers for filenames to correct max. size (PATH_MAX) instead of 255.
You can find the patch here: www.vanheusden.com/Linux/
A dev utility for the InterSystems database Caché.
A high availability clustering package for Linux and Unix.