problem segfault in windows (xemldocument line 569)