Re: Starting build-system work (Windows/Mac users please speak up)

From: Kartik Ohri <kartikohri13(at)gmail(dot)com>
To: Chapman Flack <chap(at)anastigmatix(dot)net>
Cc: pljava-dev(at)lists(dot)postgresql(dot)org
Subject: Re: Starting build-system work (Windows/Mac users please speak up)
Date: 2020-05-30 08:35:27
Message-ID: CAASLQ4OXAb+_J=oK54PH5eYuXjkV9KMsoXEcp-TYaQPqxk1Xbg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

I am now redirecting the output of the scripts to a file and trying to
filter using grep. I discovered that passing the -Xcheck:jni flag not
crashes travis but also the PostgreSQL database. Below is the postgres log
output. Can you shed some light on this?

020-05-30 08:02:10.952 UTC [10741] LOG: starting PostgreSQL 12.3
(Ubuntu 12.3-1.pgdg18.04+1) on x86_64-pc-linux-gnu, compiled by gcc
(Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0, 64-bit
11432020-05-30 08:02:10.952 UTC [10741] LOG: listening on IPv4
address "127.0.0.1", port 5432
11442020-05-30 08:02:10.952 UTC [10741] LOG: listening on IPv4
address "127.0.1.1", port 5432
11452020-05-30 08:02:10.954 UTC [10741] LOG: listening on Unix socket
"/var/run/postgresql/.s.PGSQL.5432"
11462020-05-30 08:02:10.972 UTC [10753] LOG: database system was shut
down at 2020-05-30 08:02:09 UTC
11472020-05-30 08:02:10.978 UTC [10741] LOG: database system is ready
to accept connections
11482020-05-30 08:04:14.658 UTC [10741] LOG: received SIGHUP,
reloading configuration files
11492020-05-30 08:04:14.659 UTC [10741] LOG: parameter
"pljava.libjvm_location" changed to
"/home/travis/openjdk14/lib/server/libjvm.so"
11502020-05-30 08:04:14.713 UTC [10741] LOG: received SIGHUP,
reloading configuration files
11512020-05-30 08:04:14.714 UTC [10741] LOG: parameter
"pljava.vmoptions" changed to
"-enableassertions:org.postgresql.pljava... -Xcheck:jni"
11522020-05-30 08:04:54.113 UTC [10741] LOG: server process (PID
12377) was terminated by signal 6: Aborted
11532020-05-30 08:04:54.113 UTC [10741] DETAIL: Failed process was
running: CREATE EXTENSION pljava;
11542020-05-30 08:04:54.113 UTC [10741] LOG: terminating any other
active server processes
11552020-05-30 08:04:54.114 UTC [10758] WARNING: terminating
connection because of crash of another server process
11562020-05-30 08:04:54.114 UTC [10758] DETAIL: The postmaster has
commanded this server process to roll back the current transaction and
exit, because another server process exited abnormally and possibly
corrupted shared memory.
11292020-05-30 08:04:54.114 UTC [10758] HINT: In a moment you should
be able to reconnect to the database and repeat your command.
11302020-05-30 08:04:54.121 UTC [10741] LOG: all server processes
terminated; reinitializing
11312020-05-30 08:04:54.170 UTC [12415] LOG: database system was
interrupted; last known up at 2020-05-30 08:02:10 UTC
11322020-05-30 08:04:54.225 UTC [12415] LOG: database system was not
properly shut down; automatic recovery in progress
11332020-05-30 08:04:54.228 UTC [12415] LOG: redo starts at 0/164E5E8
11342020-05-30 08:04:54.231 UTC [12415] LOG: invalid record length at
0/169CF30: wanted 24, got 0
11352020-05-30 08:04:54.231 UTC [12415] LOG: redo done at 0/169CEE8
11362020-05-30 08:04:54.235 UTC [12429] postgres(at)postgres FATAL: the
database system is in recovery mode
11372020-05-30 08:04:54.259 UTC [10741] LOG: database system is ready
to accept connections
11382020-05-30 08:04:54.290 UTC [12448] postgres(at)postgres ERROR:
schema "sqlj" does not exist at character 8
11392020-05-30 08:04:54.290 UTC [12448] postgres(at)postgres STATEMENT:
SELECT sqlj.set_classpath('public', 'saxon');
11402020-05-30 08:04:54.336 UTC [12462] postgres(at)postgres ERROR:
schema "sqlj" does not exist at character 8
11412020-05-30 08:04:54.336 UTC [12462] postgres(at)postgres STATEMENT:
SELECT sqlj.install_jar('file:/home/travis/build/amCap1712/pljava/pljava-examples/target/pljava-examples-1.6.0-SNAPSHOT.jar','examples',true);
1142
11572020-05-30 08:04:54.384 UTC [12477] postgres(at)postgres STATEMENT:
SELECT sqlj.get_classpath('javatest');
11582020-05-30 08:04:54.430 UTC [12490] postgres(at)postgres ERROR:
schema "sqlj" does not exist at character 8
11592020-05-30 08:04:54.430 UTC [12490] postgres(at)postgres STATEMENT:
SELECT sqlj.set_classpath('javatest', 'examples');
11602020-05-30 08:04:54.475 UTC [12503] postgres(at)postgres ERROR:
schema "javatest" does not exist at character 8
11612020-05-30 08:04:54.475 UTC [12503] postgres(at)postgres STATEMENT:
SELECT javatest.java_addone(3);
11622020-05-30 08:07:19.280 UTC [10741] LOG: received SIGHUP,
reloading configuration files
11632020-05-30 08:07:29.750 UTC [10741] LOG: received SIGHUP,
reloading configuration files
11642020-05-30 08:07:48.355 UTC [10741] LOG: server process (PID
12610) was terminated by signal 6: Aborted
11652020-05-30 08:07:48.355 UTC [10741] DETAIL: Failed process was
running: CREATE EXTENSION pljava;
11662020-05-30 08:07:48.355 UTC [10741] LOG: terminating any other
active server processes
11672020-05-30 08:07:48.357 UTC [12435] WARNING: terminating
connection because of crash of another server process
11682020-05-30 08:07:48.357 UTC [12435] DETAIL: The postmaster has
commanded this server process to roll back the current transaction and
exit, because another server process exited abnormally and possibly
corrupted shared memory.
11692020-05-30 08:07:48.357 UTC [12435] HINT: In a moment you should
be able to reconnect to the database and repeat your command.
11702020-05-30 08:07:48.359 UTC [10741] LOG: all server processes
terminated; reinitializing
11712020-05-30 08:07:48.371 UTC [12629] LOG: database system was
interrupted; last known up at 2020-05-30 08:04:54 UTC
11722020-05-30 08:07:48.412 UTC [12629] LOG: database system was not
properly shut down; automatic recovery in progress
11732020-05-30 08:07:48.415 UTC [12629] LOG: redo starts at 0/169CFA8
11742020-05-30 08:07:48.417 UTC [12629] LOG: redo done at 0/16EBFA8
11752020-05-30 08:07:48.436 UTC [10741] LOG: database system is ready
to accept connections
11762020-05-30 08:11:29.901 UTC [10741] LOG: received SIGHUP,
reloading configuration files
11772020-05-30 08:11:29.955 UTC [10741] LOG: received SIGHUP,
reloading configuration files
11782020-05-30 08:11:29.956 UTC [10741] LOG: parameter
"pljava.vmoptions" changed to
"-enableassertions:org.postgresql.pljava..."

In response to

Responses

Browse pljava-dev by date

  From Date Subject
Next Message Chapman Flack 2020-05-30 14:42:02 Re: Starting build-system work (Windows/Mac users please speak up)
Previous Message Chapman Flack 2020-05-29 18:44:53 Re: Starting build-system work (Windows/Mac users please speak up)