Unexpected signal: 11 [Was: Sun JDK 1.4.2_01 for Linux]  
Author Message
znerd





PostPosted: 2003-9-12 22:55:00 Top

java-programmer, Unexpected signal: 11 [Was: Sun JDK 1.4.2_01 for Linux] > Is it just my imagination or is the Sun JDK 1.4.2_01 for Linux
> (java/linux-sun-jdk14) stable and very well performing? On my FreeBSD

It was just my imagination ;-) See below for the error message I got seconds
after I started up my application server and executed no more than 3
requests:


Unexpected Signal : 11 occurred at PC=0x2A6BD991
Function=[Unknown.]
Library=(N/A)

NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.


Current Java thread:

Dynamic libraries:
Can not get information for pid = 21338

Heap at VM Abort:
Heap
def new generation total 576K, used 138K [0x2c760000, 0x2c800000,
0x2cc40000)
eden space 512K, 24% used [0x2c760000, 0x2c77ee30, 0x2c7e0000)
from space 64K, 23% used [0x2c7e0000, 0x2c7e3b78, 0x2c7f0000)
to space 64K, 0% used [0x2c7f0000, 0x2c7f0000, 0x2c800000)
tenured generation total 3036K, used 2298K [0x2cc40000, 0x2cf37000,
0x30760000)
the space 3036K, 75% used [0x2cc40000, 0x2ce7e870, 0x2ce7ea00,
0x2cf37000)
compacting perm gen total 5376K, used 5140K [0x30760000, 0x30ca0000,
0x34760000)
the space 5376K, 95% used [0x30760000, 0x30c653f8, 0x30c65400,
0x30ca0000)

Local Time = Fri Sep 12 16:50:59 2003
Elapsed Time = 194
#
# HotSpot Virtual Machine Error : 11
# Error ID : 4F530E43505002EF
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_01-b06 mixed mode)
#
# An error report file has been saved as hs_err_pid21314.log.
# Please refer to the file for further information.

_______________________________________________
email***@***.com mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "email***@***.com"
 
znerd





PostPosted: 2003-9-15 18:43:00 Top

java-programmer >> Unexpected signal: 11 [Was: Sun JDK 1.4.2_01 for Linux]
--Boundary-00=_KeZZ/zeGZEwFuyd
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

The problem is the following code snippet:

synchronized (session) {
:
}

where session is null. I've written a small program to attempt to reproduce
the problem with that, but now the result is different. See the attached
.java file. Still the native JDK 1.4 handles it correctly, producing a
NullPointerException, but the Sun JDK 1.4.2_01 for Linux just hangs.

Should we send this to -hackers for investigation?

Ernst

On vrijdag 12 september 2003 17:11, Ernst de Haan wrote:
> Okay. It's reproducible. If I start Tomcat, running my web service
> application (WAR), I execute CreateSession and then GetSessionDetails for
> that session and BOOM
>
> With the native jdk14, I just get a NullPointerException...
>
> Ernst
>
> On vrijdag 12 september 2003 16:54, Ernst de Haan wrote:
> > > Is it just my imagination or is the Sun JDK 1.4.2_01 for Linux
> > > (java/linux-sun-jdk14) stable and very well performing? On my FreeBSD
> >
> > It was just my imagination ;-) See below for the error message I got
> > seconds after I started up my application server and executed no more
> > than 3 requests:
> >
> >
> > Unexpected Signal : 11 occurred at PC=0x2A6BD991
> > Function=[Unknown.]
> > Library=(N/A)
> >
> > NOTE: We are unable to locate the function name symbol for the error
> > just occurred. Please refer to release documentation for possible
> > reason and solutions.
> >
> >
> > Current Java thread:
> >
> > Dynamic libraries:
> > Can not get information for pid = 21338
> >
> > Heap at VM Abort:
> > Heap
> > def new generation total 576K, used 138K [0x2c760000, 0x2c800000,
> > 0x2cc40000)
> > eden space 512K, 24% used [0x2c760000, 0x2c77ee30, 0x2c7e0000)
> > from space 64K, 23% used [0x2c7e0000, 0x2c7e3b78, 0x2c7f0000)
> > to space 64K, 0% used [0x2c7f0000, 0x2c7f0000, 0x2c800000)
> > tenured generation total 3036K, used 2298K [0x2cc40000, 0x2cf37000,
> > 0x30760000)
> > the space 3036K, 75% used [0x2cc40000, 0x2ce7e870, 0x2ce7ea00,
> > 0x2cf37000)
> > compacting perm gen total 5376K, used 5140K [0x30760000, 0x30ca0000,
> > 0x34760000)
> > the space 5376K, 95% used [0x30760000, 0x30c653f8, 0x30c65400,
> > 0x30ca0000)
> >
> > Local Time = Fri Sep 12 16:50:59 2003
> > Elapsed Time = 194
> > #
> > # HotSpot Virtual Machine Error : 11
> > # Error ID : 4F530E43505002EF
> > # Please report this error at
> > # http://java.sun.com/cgi-bin/bugreport.cgi
> > #
> > # Java VM: Java HotSpot(TM) Client VM (1.4.2_01-b06 mixed mode)
> > #
> > # An error report file has been saved as hs_err_pid21314.log.
> > # Please refer to the file for further information.
> >
> > _______________________________________________
> > email***@***.com mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-java
> > To unsubscribe, send any mail to "email***@***.com"

--Boundary-00=_KeZZ/zeGZEwFuyd
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
email***@***.com mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "email***@***.com"

--Boundary-00=_KeZZ/zeGZEwFuyd--

 
znerd





PostPosted: 2003-9-15 18:46:00 Top

java-programmer >> Unexpected signal: 11 [Was: Sun JDK 1.4.2_01 for Linux] Okay okay okay. Attachments are a nightmare with this list. Get the file
here:

http://people.freebsd.org/~znerd/SynchronizeOnNull.java

Ernst

On maandag 15 september 2003 12:42, Ernst de Haan wrote:
> The problem is the following code snippet:
>
> synchronized (session) {
>
> }
>
> where session is null. I've written a small program to attempt to
> reproduce the problem with that, but now the result is different. See the
> attached .java file. Still the native JDK 1.4 handles it correctly,
> producing a NullPointerException, but the Sun JDK 1.4.2_01 for Linux just
> hangs.
>
> Should we send this to -hackers for investigation?
>
> Ernst
>
> On vrijdag 12 september 2003 17:11, Ernst de Haan wrote:
> > Okay. It's reproducible. If I start Tomcat, running my web service
> > application (WAR), I execute CreateSession and then GetSessionDetails
> > for that session and BOOM
> >
> > With the native jdk14, I just get a NullPointerException...
> >
> > Ernst
> >
> > On vrijdag 12 september 2003 16:54, Ernst de Haan wrote:
> > > > Is it just my imagination or is the Sun JDK 1.4.2_01 for Linux
> > > > (java/linux-sun-jdk14) stable and very well performing? On my
> > > > FreeBSD
> > >
> > > It was just my imagination ;-) See below for the error message I got
> > > seconds after I started up my application server and executed no more
> > > than 3 requests:
> > >
> > >
> > > Unexpected Signal : 11 occurred at PC=0x2A6BD991
> > > Function=[Unknown.]
> > > Library=(N/A)
> > >
> > > NOTE: We are unable to locate the function name symbol for the error
> > > just occurred. Please refer to release documentation for
> > > possible reason and solutions.
> > >
> > >
> > > Current Java thread:
> > >
> > > Dynamic libraries:
> > > Can not get information for pid = 21338
> > >
> > > Heap at VM Abort:
> > > Heap
> > > def new generation total 576K, used 138K [0x2c760000, 0x2c800000,
> > > 0x2cc40000)
> > > eden space 512K, 24% used [0x2c760000, 0x2c77ee30, 0x2c7e0000)
> > > from space 64K, 23% used [0x2c7e0000, 0x2c7e3b78, 0x2c7f0000)
> > > to space 64K, 0% used [0x2c7f0000, 0x2c7f0000, 0x2c800000)
> > > tenured generation total 3036K, used 2298K [0x2cc40000,
> > > 0x2cf37000, 0x30760000)
> > > the space 3036K, 75% used [0x2cc40000, 0x2ce7e870, 0x2ce7ea00,
> > > 0x2cf37000)
> > > compacting perm gen total 5376K, used 5140K [0x30760000,
> > > 0x30ca0000, 0x34760000)
> > > the space 5376K, 95% used [0x30760000, 0x30c653f8, 0x30c65400,
> > > 0x30ca0000)
> > >
> > > Local Time = Fri Sep 12 16:50:59 2003
> > > Elapsed Time = 194
> > > #
> > > # HotSpot Virtual Machine Error : 11
> > > # Error ID : 4F530E43505002EF
> > > # Please report this error at
> > > # http://java.sun.com/cgi-bin/bugreport.cgi
> > > #
> > > # Java VM: Java HotSpot(TM) Client VM (1.4.2_01-b06 mixed mode)
> > > #
> > > # An error report file has been saved as hs_err_pid21314.log.
> > > # Please refer to the file for further information.
> > >
> > > _______________________________________________
> > > email***@***.com mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-java
> > > To unsubscribe, send any mail to
> > > "email***@***.com"

_______________________________________________
email***@***.com mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "email***@***.com"