Re: BUG #16036: Segmentation fault while doing an update
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: druidvav@gmail.com,pgsql-bugs@lists.postgresql.org,PG Bug reporting form
<noreply@postgresql.org>
Date: 2019-10-04T01:09:01Z
Lists: pgsql-bugs
Hi, On October 3, 2019 5:29:44 PM PDT, PG Bug reporting form <noreply@postgresql.org> wrote: >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 Hm, can you reproduce this? If so, any chance to package this up in a reproducible manner? If not, could you check whether the problem vanishes if you set jit=off? If so, could you try getting a backtrace after setting jit_debugging_support=1? Regards, Andres -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
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