Barry Pederson wrote .. > As I mentioned in another message, I did some experimenting with > disabling other unittests and found if you disable just > "test_fileupload", all the remaining tests including > "test_connectionhandler" pass. > > If you disable everything except "test_fileupload" and > "test_connectionhandler", then "test_connectionhandler" still crashes. > > So I suspect that it's code involved with running "test_fileupload" > (Testing 1 MB file upload support) that's really the source of the > problem, and it's screwing up some part of memory thats only tripped > over later later during the connectionhandler test.
FWIW, when I came across this on Mac OS X, it wasn't when running the unit tests. In fact the unit tests work fine. It was happening for the very first request after an Apache stop/start. Thus it couldn't have been the result of a specific prior history of requests. Anyway, I am going to give Jim's suggested change a go in a little while and have a bit of a look at the code again to see if I can spot anything obvious. Since though it was on the very first read and no buffer resize was involved, suspecting that it will not help. Graham