PostgreSQL 9.6 server process terminated by 0xc0000374

0

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!

windows
bash
postgresql
etl
heap-corruption
asked on Stack Overflow Apr 23, 2017 by audlift-bit • edited Jun 20, 2020 by Community

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0