agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] CVS HEAD is now Java 6.
Date: Fri, 02 Dec 2011 10:30:38 -0800
Message-ID: <4ED9194E.9060306@hogranch.com> (raw)
In-Reply-To: <x64nxj2o4b.fsf@2ndquadrant.com>
References: <x6r51s1vrt.fsf@2ndquadrant.com>
	<4ED7E5DE.7040703@hogranch.com>
	<4ED7FFC1.4050001@hogranch.com>
	<x64nxj2o4b.fsf@2ndquadrant.com>

On 12/02/11 3:45 AM, Johann 'Myrkraverk' Oskarsson wrote:
> John R Pierce<pierce at hogranch.com>  writes:
>> piercej=# SELECT sqlj.install_jar('./build/examples.jar', 'samples',  true);
>> The connection to the server was lost. Attempting reset: Failed.
>> !>
> What happens when the url is 'file:///complete/path/to.jar' ?

same thing...

[piercej at svfis-c6test1 examples]$ psql
psql (9.0.5)
Type "help" for help.

piercej=# SELECT 
sqlj.install_jar('files:///home/piercej/pljava-cvs/org.postgresql.pljava/examples/examples.jar', 
'samples',  true);
The connection to the server was lost. Attempting reset: Failed.
!>

$ cat hs_err_pid16355.log
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f2eba53911b, pid=16355, tid=139841046448064
#
# JRE version: 6.0_26-b03
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.1-b02 mixed mode 
linux-amd64 compressed oops)
# Problematic frame:
# J  java.lang.String.indexOf(II)I
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

---------------  T H R E A D  ---------------

Current thread (0x0000000002706800):  JavaThread "main" 
[_thread_in_Java, id=16355, stack(0x00007fff180c6000,0x00007fff181c6000)]

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

Registers:
RAX=0x00000000ffffffff, RBX=0x0000000000000000, RCX=0x00000007c15016b0, 
RDX=0x0000000000000025
RSP=0x00007fff181c2f88, RBP=0x00007fff181c2ff0, RSI=0x0000000000000029, 
RDI=0x000000000000002f
R8 =0x000000000000006b, R9 =0x000000000000002c, R10=0x00000000ffffffff, 
R11=0x000000000000002c
R12=0x0000000000000000, R13=0x00007fff181c2f98, R14=0x00007fff181c3008, 
R15=0x0000000002706800
RIP=0x00007f2eba53911b, EFLAGS=0x0000000000010202, 
CSGSFS=0x0000000000000033, ERR=0x0000000000000004
   TRAPNO=0x000000000000000e

Top of Stack: (sp=0x00007fff181c2f88)
0x00007fff181c2f88:   00007f2eba4dd96e 00007f2eba4dd96e
0x00007fff181c2f98:   0000000000000000 000000000000002f
0x00007fff181c2fa8:   00000007c1501690 00007fff181c2fb0
0x00007fff181c2fb8:   000000073ea0f93b 00007fff181c3008
0x00007fff181c2fc8:   000000073eaac280 0000000000000000
0x00007fff181c2fd8:   000000073ea0f948 00007fff181c2f98
0x00007fff181c2fe8:   00007fff181c3000 00007fff181c3050
0x00007fff181c2ff8:   00007f2eba4dd96e 000000000000002f
0x00007fff181c3008:   00000007c1501690 00007fff181c3010
0x00007fff181c3018:   000000073ea28960 00007fff181c3068
0x00007fff181c3028:   000000073eaaab28 0000000000000000
0x00007fff181c3038:   000000073ea28988 00007fff181c3000
0x00007fff181c3048:   00007fff181c3060 00007fff181c30b0
0x00007fff181c3058:   00007f2eba4dd85a 00000007c1501690
0x00007fff181c3068:   00000007c142b308 00007fff181c3070
0x00007fff181c3078:   000000073ea27c62 00007fff181c30d0
0x00007fff181c3088:   000000073eaaab28 0000000000000000
0x00007fff181c3098:   000000073ea27ce0 00007fff181c3060
0x00007fff181c30a8:   00007fff181c30c0 00007fff181c3118
0x00007fff181c30b8:   00007f2eba4dd929 00000007c143ad88
0x00007fff181c30c8:   00000007c1501690 00000007c142b308
0x00007fff181c30d8:   00007fff181c30d8 000000073ea2820c
0x00007fff181c30e8:   00007fff181c3170 000000073eaaab28
0x00007fff181c30f8:   0000000000000000 000000073ea28268
0x00007fff181c3108:   00007fff181c30c0 00007fff181c3140
0x00007fff181c3118:   00007fff181c31b8 00007f2eba4dd929
0x00007fff181c3128:   0000000000000000 0000000000000000
0x00007fff181c3138:   0000000000000000 0000000000000001
0x00007fff181c3148:   00000007c143ad88 00000000000018eb
0x00007fff181c3158:   0000000000000000 00000007c1505170
0x00007fff181c3168:   00000007c1501690 00000007c142b308
0x00007fff181c3178:   00007fff181c3178 000000073ea28109

Instructions: (pc=0x00007f2eba53911b)
0x00007f2eba5390fb:   d9 7d 15 66 90 46 0f b7 44 59 10 44 3b c7 74 34
0x00007f2eba53910b:   41 ff c3 45 3b d9 7c ed 41 8b c2 48 83 c4 30 5d
0x00007f2eba53911b:   85 05 df ee 93 8d c3 41 ba ff ff ff ff eb e9 41
0x00007f2eba53912b:   ba ff ff ff ff eb e1 41 83 c3 02 41 ff c3 eb 04

Register to memory mapping:

RAX=0x00000000ffffffff is an unknown value
RBX=0x0000000000000000 is an unknown value
RCX=0x00000007c15016b0 is an oop
[C
  - klass: {type array char}
  - length: 44
RDX=0x0000000000000025 is an unknown value
RSP=0x00007fff181c2f88 is pointing into the stack for thread: 
0x0000000002706800
RBP=0x00007fff181c2ff0 is pointing into the stack for thread: 
0x0000000002706800
RSI=0x0000000000000029 is an unknown value
RDI=0x000000000000002f is an unknown value
R8 =0x000000000000006b is an unknown value
R9 =0x000000000000002c is an unknown value
R10=0x00000000ffffffff is an unknown value
R11=0x000000000000002c is an unknown value
R12=0x0000000000000000 is an unknown value
R13=0x00007fff181c2f98 is pointing into the stack for thread: 
0x0000000002706800
R14=0x00007fff181c3008 is pointing into the stack for thread: 
0x0000000002706800
R15=0x0000000002706800 is a thread


Stack: [0x00007fff180c6000,0x00007fff181c6000],  sp=0x00007fff181c2f88,  
free space=1011k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, 
C=native code)
J  java.lang.String.indexOf(II)I
j  java.lang.ClassLoader.checkName(Ljava/lang/String;)Z+16
j  
java.lang.ClassLoader.preDefineClass(Ljava/lang/String;Ljava/security/ProtectionDomain;)Ljava/security/ProtectionDomain;+2
j  
java.lang.ClassLoader.defineClassCond(Ljava/lang/String;[BIILjava/security/ProtectionDomain;Z)Ljava/lang/Class;+4
j  
java.lang.ClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/ProtectionDomain;)Ljava/lang/Class;+9
j  
java.security.SecureClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/CodeSource;)Ljava/lang/Class;+27
j  
java.net.URLClassLoader.defineClass(Ljava/lang/String;Lsun/misc/Resource;Z)Ljava/lang/Class;+369
j  
java.net.URLClassLoader.access$000(Ljava/net/URLClassLoader;Ljava/lang/String;Lsun/misc/Resource;Z)Ljava/lang/Class;+4
j  java.net.URLClassLoader$1.run()Ljava/lang/Object;+44
v  ~StubRoutines::call_stub
V  [libjvm.so+0x4df5c0]  JavaCalls::call_helper(JavaValue*, 
methodHandle*, JavaCallArguments*, Thread*)+0x1e0
V  [libjvm.so+0x70f629]  os::os_exception_wrapper(void (*)(JavaValue*, 
methodHandle*, JavaCallArguments*, Thread*), JavaValue*, methodHandle*, 
JavaCallArguments*, Thread*)+0x19
V  [libjvm.so+0x4df3d5]  JavaCalls::call(JavaValue*, methodHandle, 
JavaCallArguments*, Thread*)+0x25
V  [libjvm.so+0x551339]  JVM_DoPrivileged+0x439
C  [libjava.so+0x10e6f]  
Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedExceptionAction_2Ljava_security_AccessControlContext_2+0xf
j  java.net.URLClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;+13
j  java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+47
j  
sun.misc.Launcher$AppClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+41
j  java.lang.ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;+3
v  ~StubRoutines::call_stub
V  [libjvm.so+0x4df5c0]  JavaCalls::call_helper(JavaValue*, 
methodHandle*, JavaCallArguments*, Thread*)+0x1e0
V  [libjvm.so+0x70f629]  os::os_exception_wrapper(void (*)(JavaValue*, 
methodHandle*, JavaCallArguments*, Thread*), JavaValue*, methodHandle*, 
JavaCallArguments*, Thread*)+0x19
V  [libjvm.so+0x4def06]  JavaCalls::call_virtual(JavaValue*, 
KlassHandle, symbolHandle, symbolHandle, JavaCallArguments*, Thread*)+0x126
V  [libjvm.so+0x4df013]  JavaCalls::call_virtual(JavaValue*, Handle, 
KlassHandle, symbolHandle, symbolHandle, Handle, Thread*)+0x53
V  [libjvm.so+0x7ebafa]  
SystemDictionary::load_instance_class(symbolHandle, Handle, Thread*)+0x38a
V  [libjvm.so+0x7e9845]  
SystemDictionary::resolve_instance_class_or_null(symbolHandle, Handle, 
Handle, Thread*)+0x575
V  [libjvm.so+0x7e85d1]  SystemDictionary::resolve_or_null(symbolHandle, 
Handle, Handle, Thread*)+0x81
V  [libjvm.so+0x7e81e4]  SystemDictionary::resolve_or_fail(symbolHandle, 
Handle, Handle, bool, Thread*)+0x34
V  [libjvm.so+0x56a94d]  find_class_from_class_loader(JNIEnv_*, 
symbolHandle, unsigned char, Handle, Handle, unsigned char, Thread*)+0x3d
V  [libjvm.so+0x4ee8dc]  unsigned+0x35c

......


-- 
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast





view thread (12+ messages)  latest in thread

Message-ID: <4ED9194E.9060306@hogranch.com>
Permalink:  ../4ED9194E.9060306@hogranch.com/
Also on:    postgresql.org/message-id/4ED9194E.9060306@hogranch.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] CVS HEAD is now Java 6.
  In-Reply-To: <4ED9194E.9060306@hogranch.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