The apr_socket_sendfile routine does not exist on all platforms. APR_HAS_SENDFILE is set to 0 in these cases. The tomcat native support does not respect this flag, and tries to call the sendfile routine anyway, resulting in a crash at runtime. This occurs, for instance, on Mac OS X 10.4 Tiger, where the underlying sendfile routine is not implemented. Perhaps there's a way to back away from using sendfile if the routine doesn't exist, while still allowing the rest of apr support?
Fixed in the SVN. See: http://svn.apache.org/viewcvs?rev=378588&view=rev and http://svn.apache.org/viewcvs?rev=378586&view=rev Thanks for spotting that.