pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Core dump when attempting to use plv8
2+ messages / 2 participants
[nested] [flat]

* Core dump when attempting to use plv8
@ 2017-04-05 15:35  Brian Njenga <iambrianmuhia@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Brian Njenga @ 2017-04-05 15:35 UTC (permalink / raw)
  To: pgsql-bugs

I'm running Arch Linux and postgresql 9.6 with the plv8 extension obtained
from the AUR package 'plv8-bin'. When I test the extension like:

'CREATE EXTENSION plv8';
'DO $$ plv8.elog(WARNING, 'plv8.version = ' + plv8.version);$$ LANGUAGE
plv8;'

The postgresql process consumes all available RAM (8GB) and some swap
space, then crashes after about 3 minutes of thrashing.

Here's a coredump, and I've linked to the dump storage:

PID: 5601 (postgres)
           UID: 88 (postgres)
           GID: 88 (postgres)
        Signal: 11 (SEGV)
     Timestamp: Wed 2017-04-05 18:13:33 EAT (1min 42s ago)
  Command Line: postgres: postgres postgres [local] DO
    Executable: /usr/bin/postgres
 Control Group: /system.slice/postgresql.service
          Unit: postgresql.service
         Slice: system.slice
       Storage:
/var/lib/systemd/coredump/core.postgres.88.1c2ff1cf56ab47f2aa1ca688054a4eaa.5601.1491405213000000000000.lz4
(inaccessible)
       Message: Process 5601 (postgres) of user 88 dumped core.

                Stack trace of thread 5601:
                #0  0x00007f8cecd21f70 n/a (/usr/lib/libv8.so.3.14.5)

CoreDump file
<https://keybase.pub/poppingtonic/postgresql-coredump/core.postgres.88.1c2ff1cf56ab47f2aa1ca688054a4e...;
-- 
Some say he really tries to learn efficiently.

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Core dump when attempting to use plv8
@ 2017-04-05 19:49  Andrew Gierth <andrew@tao11.riddles.org.uk>
  parent: Brian Njenga <iambrianmuhia@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Andrew Gierth @ 2017-04-05 19:49 UTC (permalink / raw)
  To: Brian Njenga <iambrianmuhia@gmail.com>; +Cc: pgsql-bugs

>>>>> "Brian" == Brian Njenga <iambrianmuhia@gmail.com> writes:

 Brian> I'm running Arch Linux and postgresql 9.6 with the plv8
 Brian> extension obtained from the AUR package 'plv8-bin'.

You need to take this up with the plv8 people, not here.

-- 
Andrew (irc:RhodiumToad)


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2017-04-05 19:49 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-04-05 15:35 Core dump when attempting to use plv8 Brian Njenga <iambrianmuhia@gmail.com>
2017-04-05 19:49 ` Andrew Gierth <andrew@tao11.riddles.org.uk>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox