segfault for static init