
28 Apr
2008
28 Apr
'08
7:51 p.m.
On Mon, 2008-04-28 at 20:16 +0100, Daniel P. Berrange wrote:
I've just hacked up a similar approach to the one DBus uses to fail the 'nth' malloc
Does that fail exactly the nth malloc or the nth malloc and after (or from nth malloc to (n+k)th malloc) ? The latter two are more realistic for an OOM scenario, and make sure you don't blow up in some error handling routine.
and run the 'xmconfigtest' test case for every 'n' between 1 and 200 and OOM handling worked correctly in every case.
Excellent. David