BUG #16036: Segmentation fault while doing an update
The Post Office <noreply@postgresql.org>
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: druidvav@gmail.com
Date: 2019-10-04T00:29:44Z
Lists: pgsql-bugs
The following bug has been logged on the website: Bug reference: 16036 Logged by: Антон Власов Email address: druidvav@gmail.com PostgreSQL version: 12.0 Operating system: PostgreSQL 12.0 (Debian 12.0-1.pgdg90+1) on x86_64 Description: I am having segmentation fault like this: 2019-10-04 02:30:02 MSK [16919-6] LOG: server process (PID 18415) was terminated by signal 11: Segmentation fault 2019-10-04 02:30:02 MSK [16919-7] DETAIL: Failed process was running: update tracking.test_session set list_position = list_position + 1 where id = $1 2019-10-04 02:30:02 MSK [16919-8] LOG: terminating any other active server processes When there are several queries running simultaneously. Tried to get some info from coredump, but that's all i have: (gdb) bt #0 GetMemoryChunkContext (pointer=0x0) at ./build/../src/include/utils/memutils.h:127 #1 pfree (pointer=0x0) at ./build/../src/backend/utils/mmgr/mcxt.c:1033 Backtrace stopped: Cannot access memory at address 0x7ffc990e7218
Commits
-
Disable one more set of tests from c8841199509.
- 04a4c03efe3e 9.6.16 landed
- 2212e01316ff 10.11 landed
- 77b2d95b1485 11.6 landed
- 9051f62ed7ef 12.1 landed
- 3a68105154c3 13.0 landed
-
Disable one set of tests from c8841199509.
- e25847b471e2 9.6.16 landed
- 81b8cd5ed7c0 10.11 landed
- 5711a1828f1f 11.6 landed
- bbd26778643f 12.1 landed
- 6e61d75f5258 13.0 landed
-
Add isolation tests for the combination of EPQ and triggers.
- 04619f508fbf 9.6.16 landed
- 95266e64c5b7 10.11 landed
- 54b0feaf90d8 11.6 landed
- 0cbc72ca72d4 12.1 landed
- c88411995098 13.0 landed
-
Fix crash caused by EPQ happening with a before update trigger present.
- 60e97d63e5d1 12.1 landed
- d986d4e87f61 13.0 landed
-
Modify the isolation tester so that multiple sessions can wait.
- 38f8bdcac498 9.6.0 cited