On Ubuntu it causes same issue (previous one was on Windows 2008 R2).
php[59336]: segfault at 280e74010 ip 00000000006c9b31 sp 00007fff17051be0 error 6 in php5[400000+748000]

But if I call $html->clear() after I finish using object it seems to solve the issue.