re: crash during cascaded foreign key update

From: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Cc: amitlangote09(at)gmail(dot)com
Subject: re: crash during cascaded foreign key update
Date: 2021-03-16 14:52:18
Message-ID: CAEudQAqCAnV13O0Ega5D9mT5kCVRJhWS9gmKJWbswPvjw0c3Qw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>0 0x00007f747e6e2387 in raise () from /lib64/libc.so.6
>#1 0x00007f747e6e3a78 in abort () from /lib64/libc.so.6
>#2 0x0000000000ae056a in ExceptionalCondition (
>conditionName=0xb67c10 "!ItemPointerEquals(&oldtup.t_self,
>&oldtup.t_data->t_ctid)",
>errorType=0xb66d89 "FailedAssertion", fileName=0xb66e68
>"heapam.c", lineNumber=3560) at assert.c:69
>#3 0x00000000004eed16 in heap_update (relation=0x7f747f569590,
>otid=0x7ffe6f236ec0, newtup=0x1c214b8, cid=2,
>crosscheck=0x1c317f8, wait=true, tmfd=0x7ffe6f236df0,
l>ockmode=0x7ffe6f236dec) at heapam.c:3560

I have this report from one static analysis tool:
heapam.c (9379):
Dereferencing of a potential null pointer 'oldtup.t_data'

regards,
Ranier Vilela

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2021-03-16 14:52:52 Re: GROUP BY DISTINCT
Previous Message Robert Haas 2021-03-16 14:27:12 Re: [HACKERS] Custom compression methods