You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
In ASAN test run, we can see the following:
```
ts1|pid72520|:24791 ../../../../../src/postgres/contrib/pg_trgm/trgm_gist.c:691:40: runtime error: applying non-zero offset 16 to null pointer
ts1|pid72520|:24791 #0 0x7f876a014577 in gtrgm_penalty /nfusr/alma8-gcp-cloud/jenkins-worker-r0jtg3/jenkins/jenkins-github-yugabyte-db-phabricator-158083/src/postgres/contrib/pg_trgm/../../../../../src/postgres/contrib/pg_trgm/trgm_gist.c:691:40
ts1|pid72520|:24791 #1 0x13d8ae5 in FunctionCall3Coll /nfusr/alma8-gcp-cloud/jenkins-worker-r0jtg3/jenkins/jenkins-github-yugabyte-db-phabricator-158083/src/postgres/src/backend/utils/fmgr/../../../../../../../src/postgres/src/backend/utils/fmgr/fmgr.c:1182:11
```
This revision delays the application of non-zero offset after checking that cache is not NULL.
Test Plan: mvn test -Dtest=org.yb.pgsql.TestPgRegressContribPgTrgm
Reviewers: amartsinchyk, myang
Reviewed By: myang
Subscribers: yql
Differential Revision: https://phabricator.dev.yugabyte.com/D15021
…ULL pointer
Summary:
In ASAN test run, we can see the following:
```
ts1|pid72520|:24791 ../../../../../src/postgres/contrib/pg_trgm/trgm_gist.c:691:40: runtime error: applying non-zero offset 16 to null pointer
ts1|pid72520|:24791 #0 0x7f876a014577 in gtrgm_penalty /nfusr/alma8-gcp-cloud/jenkins-worker-r0jtg3/jenkins/jenkins-github-yugabyte-db-phabricator-158083/src/postgres/contrib/pg_trgm/../../../../../src/postgres/contrib/pg_trgm/trgm_gist.c:691:40
ts1|pid72520|:24791 #1 0x13d8ae5 in FunctionCall3Coll /nfusr/alma8-gcp-cloud/jenkins-worker-r0jtg3/jenkins/jenkins-github-yugabyte-db-phabricator-158083/src/postgres/src/backend/utils/fmgr/../../../../../../../src/postgres/src/backend/utils/fmgr/fmgr.c:1182:11
```
This revision delays the application of non-zero offset after checking that cache is not NULL.
Test Plan: mvn test -Dtest=org.yb.pgsql.TestPgRegressContribPgTrgm
Reviewers: amartsinchyk, myang
Reviewed By: myang
Subscribers: yql
Differential Revision: https://phabricator.dev.yugabyte.com/D15021
Description
In ASAN test run, we can see the following:
This revision delays the application of non-zero offset after checking that cache is not NULL.
The text was updated successfully, but these errors were encountered: