I would sugguest you to try the following steps in sequence ( only forward step on each try ):
1. Remove FFAudioSource and AudioDub in AviSynth, and --acodec/aquality/acodec-quality in x264 switches
2. If 1 still crashes, change output format to mkv instead of mp4
3. If 2 still crashes, use LSMASHVideo instead of FFVideoSource, or mux mov into mkv
4. If 3 still crashes, try vanilla build from x264.nl to see if it helps
Some settings can be safely reduced for speed: -m 10 (note you've set it twice, so remove one of them before tweaking), -t 2, --ref 6, --b-adapt 2, --bframes 8, -A all, --direct auto, --me umh, --merange 32. As your encoding process finished as expected, those video encoding settings shouldn't be harmful so we could skip them when testing. Actually you could remove all video encoding settings before trying in the first place.
P.S. If everything works fine after step 1, re-install QuickTime in your system to see if qtaac works again. If not, directly feed your input clip to x264 instead of using AviSynth ("./x264_10.exe" "D:/works/work.mov" --acodec qtaac --output output.mp4 ). If it still crashes, I suppose it is qtaac encoder to be blamed. However, according to
http://nmm-hd.org/newbbs/viewtopic.php? ... =260#p9096, it is quite likely that it would not be fixed in the near future.