Postgres 10.4 crashing when using PLV8

Started by Mukesh Chhataniover 7 years ago3 messages
#1Mukesh Chhatani
chhatani.mukesh@gmail.com
2 attachment(s)

Hello Team,

I am trying to use the PLV8 via function and while using the function
created via PLV8 in one of the create materialized view, postgres crashes,
attached is the log file with DEBUG5 turned on.

SQL which is breaking the code and SQL function is attached.

Creating materialized view - mat_view_by_product - is the one which causes
the crash.

I have tested the same in below environments

1. Test 1 - Passed
Mac , Postgres - 10.4, PLV8 - 2.1.0

2. Test 2 - Passed
AWS RDS , Postgres - 9.6.6 , PLV8 - 1.5.0

3. Test 3 - Fail, This test was passing earlier on 10.3 but fails on 10.4
AWS EC2 , Postgres - 10.4, PLV8 - 2.3.4

4. Test 4 - Fail
AWS RDS , Postgres - 10.3 , PLV8 - 2.1.0

Please let me know if any more information is required to assist in this
problem.

Thanks for your help.

Attachments:

postgres_10_4_crash_logs.txttext/plain; charset=US-ASCII; name=postgres_10_4_crash_logs.txtDownload
postgres_10_4_crash_schema.sqlapplication/octet-stream; name=postgres_10_4_crash_schema.sqlDownload
#2David G. Johnston
david.g.johnston@gmail.com
In reply to: Mukesh Chhatani (#1)
Re: Postgres 10.4 crashing when using PLV8

On Wed, Jun 20, 2018 at 12:46 PM, Mukesh Chhatani <chhatani.mukesh@gmail.com

wrote:

I am trying to use the PLV8 via function and while using the function
created via PLV8 in one of the create materialized view, postgres crashes,
attached is the log file with DEBUG5 turned on.

​These are not the correct place to post possible bug reports for
third-party extensions. plV8 has an active Issues listing on GitHub and
you should post your observations there. They can report upstream to us if
there is indeed something specific in core causing their code to fail.

Additionally, in the future if you find that your email is indeed a core
PostgreSQL issue please just submit it to one of the available lists. If
you are unsure pgsql-general is a safe choice. For this email enough
information has been provided that our official pgsql-bugs email list (or
form) would be acceptable and indeed preferred.

David J.​

#3Mukesh Chhatani
chhatani.mukesh@gmail.com
In reply to: David G. Johnston (#2)
Re: Postgres 10.4 crashing when using PLV8

Thanks David for the response, I have opened a issue with PLV8 team.

Let me know if I should report this bug to postgres or not, since I was not
sure thus I sent email earlier.

Regards,
Mukesh

On Wed, Jun 20, 2018 at 3:02 PM, David G. Johnston <
david.g.johnston@gmail.com> wrote:

Show quoted text

On Wed, Jun 20, 2018 at 12:46 PM, Mukesh Chhatani <
chhatani.mukesh@gmail.com> wrote:

I am trying to use the PLV8 via function and while using the function
created via PLV8 in one of the create materialized view, postgres crashes,
attached is the log file with DEBUG5 turned on.

​These are not the correct place to post possible bug reports for
third-party extensions. plV8 has an active Issues listing on GitHub and
you should post your observations there. They can report upstream to us if
there is indeed something specific in core causing their code to fail.

Additionally, in the future if you find that your email is indeed a core
PostgreSQL issue please just submit it to one of the available lists. If
you are unsure pgsql-general is a safe choice. For this email enough
information has been provided that our official pgsql-bugs email list (or
form) would be acceptable and indeed preferred.

David J.​