psql-mail(at)freeuk(dot)com writes:
> #0 SN_create_env (S_size=0, I_size=2, B_size=1) at api.c:6
> 6 z->p = create_s();
Hm. Is it possible you're running out of memory? If the crash is right
there, and not inside create_s(), it seems like a null return from calloc
is the only explanation. This code doesn't seem to be checking for
calloc() failure (I wonder why it's not using palloc/pfree anyway).
regards, tom lane