agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] jvm crash with pljava
Date: Fri, 27 Dec 2013 11:45:23 -0800 (PST)
Message-ID: <1388173523376-5784674.post@n5.nabble.com> (raw)

Hi,

Platform is RHEL6/OpenJDK1.6.0_28/PGSQL9.1.11/ and pljava built from the
latest source. This is all running in a VMware virtual machine. I installed
postgres and configured pljava, which appears to work fine as I can create
the sqlj schema. 

I attempt to run the "smoke test" posted by Johaan (thx!) and I am
immediately disconnected from postgres. Some investigating revealed that the
JVM is crashing with a SIGSEV error. 

(the hs_err log is huge, just a couple of snippets below)

 Problematic frame:
# C  [postgres: postgres mytestdb 192.168.0.10(60976) SELECT+0x2f65f0] 
pg_detoast_datum_packed+0x0

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR),
si_addr=0x00000000f15fc7b4

I saw that a Mr. Pierce on here suffered from a similar problem and there
were references to large shared buffer sizes. In my case the shared buffers
are at the default (32MB). I tried tweaking the shared buffer size, but was
unsuccessful in passing the smoke test. For my own sanity I tried installing
postgres/pljava in Windows and was able to get everything working; passed
the smoke test on the first try.

Is there anything else I can try to fix the jvm crashing issue?

Thx.





--
View this message in context: http://postgresql.1045698.n5.nabble.com/jvm-crash-with-pljava-tp5784674.html
Sent from the PL/Java mailing list archive at Nabble.com.



Message-ID: <1388173523376-5784674.post@n5.nabble.com>
Permalink:  ../1388173523376-5784674.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1388173523376-5784674.post@n5.nabble.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] jvm crash with pljava
  In-Reply-To: <1388173523376-5784674.post@n5.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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