[Bug 742640] Segmentation fault when switching locale to Thai