I have a pretty large project in which I am executing something about 500 queries one after the other and exporting the data and loading it later when process is finished, in another table, all through psql and a bash script on Windows.
PostgreSQL is crashing with this in the logfile:
LOG: server process (PID 5776) was terminated by exception 0xc0000374
DETAIL: Failed process was running: COPY ( SELECT ...)
HINT: See C include file "ntstatus.h" for a description of the hexadecimal value.
Unfortunately I don't have much details on the frequency of this. Seems like sometimes happens and sometimes not and it's not clear when it happens. Looks random to me... It's driving me crazy.
Now 0xc0000374 seems to mean Heap Corruption Exception which is still not so helpful applying it to my context.
How can I understand what's going on better or prevent it? I would be grateful for any feedback!
User contributions licensed under CC BY-SA 3.0