java/berkeley-db self-test hang  
Author Message
Mikhail Teterin





PostPosted: 2006-10-9 12:40:00 Top

java-programmer, java/berkeley-db self-test hang Hello!

The newly updated port of java/berkeley-db hangs during self-tests on one of
my machines:

dual FreeBSD/i386 6.1-stable - no hang
single FreeBSD/amd64 6.1-stable - no hang
dual FreeBSD/amd64 6.2-prerelease - hangs

There is little CPU use and all the process is doing, according to ktrace is
the repeated:

[...]
13089 java CALL clock_gettime(0,0x7ffffeff3d00)
13089 java RET clock_gettime 0
13089 java CALL kse_release(0x654f20)
13089 java RET kse_release 0
13089 java CALL kse_release(0x511f20)
13089 java RET kse_release 0
13089 java CALL clock_gettime(0,0x7ffffeff3d00)
13089 java RET clock_gettime 0
13089 java CALL kse_release(0x654f20)
13089 java RET kse_release 0
13089 java CALL kse_release(0x511f20)
[...]

Rebuilding Java did not help... Would any Java and/or thread expert, please,
try to build the port with self-testing enabled and analyze any hang? Thanks
a lot!

-mi
 
mi+kde





PostPosted: 2006-10-9 12:41:00 Top

java-programmer >> java/berkeley-db self-test hang Hello!

The newly updated port of java/berkeley-db hangs during self-tests on one of
my machines:

dual FreeBSD/i386 6.1-stable - no hang
single FreeBSD/amd64 6.1-stable - no hang
dual FreeBSD/amd64 6.2-prerelease - hangs

There is little CPU use and all the process is doing, according to ktrace is
the repeated:

[...]
13089 java CALL clock_gettime(0,0x7ffffeff3d00)
13089 java RET clock_gettime 0
13089 java CALL kse_release(0x654f20)
13089 java RET kse_release 0
13089 java CALL kse_release(0x511f20)
13089 java RET kse_release 0
13089 java CALL clock_gettime(0,0x7ffffeff3d00)
13089 java RET clock_gettime 0
13089 java CALL kse_release(0x654f20)
13089 java RET kse_release 0
13089 java CALL kse_release(0x511f20)
[...]

Rebuilding Java did not help... Would any Java and/or thread expert, please,
try to build the port with self-testing enabled and analyze any hang? Thanks
a lot!

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





PostPosted: 2006-10-9 12:48:00 Top

java-programmer >> java/berkeley-db self-test hang What happens when you use libthr?

-Kip



On Mon, 9 Oct 2006, Mikhail Teterin wrote:

> Hello!
>
> The newly updated port of java/berkeley-db hangs during self-tests on one of
> my machines:
>
> dual FreeBSD/i386 6.1-stable - no hang
> single FreeBSD/amd64 6.1-stable - no hang
> dual FreeBSD/amd64 6.2-prerelease - hangs
>
> There is little CPU use and all the process is doing, according to ktrace is
> the repeated:
>
> [...]
> 13089 java CALL clock_gettime(0,0x7ffffeff3d00)
> 13089 java RET clock_gettime 0
> 13089 java CALL kse_release(0x654f20)
> 13089 java RET kse_release 0
> 13089 java CALL kse_release(0x511f20)
> 13089 java RET kse_release 0
> 13089 java CALL clock_gettime(0,0x7ffffeff3d00)
> 13089 java RET clock_gettime 0
> 13089 java CALL kse_release(0x654f20)
> 13089 java RET kse_release 0
> 13089 java CALL kse_release(0x511f20)
> [...]
>
> Rebuilding Java did not help... Would any Java and/or thread expert, please,
> try to build the port with self-testing enabled and analyze any hang? Thanks
> a lot!
>
> -mi
> _______________________________________________
> email***@***.com mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-threads
> To unsubscribe, send any mail to "email***@***.com"
>
 
 
kmacy





PostPosted: 2006-10-9 12:50:00 Top

java-programmer >> java/berkeley-db self-test hang What happens when you use libthr?

-Kip



On Mon, 9 Oct 2006, Mikhail Teterin wrote:

> Hello!
>
> The newly updated port of java/berkeley-db hangs during self-tests on one of
> my machines:
>
> dual FreeBSD/i386 6.1-stable - no hang
> single FreeBSD/amd64 6.1-stable - no hang
> dual FreeBSD/amd64 6.2-prerelease - hangs
>
> There is little CPU use and all the process is doing, according to ktrace is
> the repeated:
>
> [...]
> 13089 java CALL clock_gettime(0,0x7ffffeff3d00)
> 13089 java RET clock_gettime 0
> 13089 java CALL kse_release(0x654f20)
> 13089 java RET kse_release 0
> 13089 java CALL kse_release(0x511f20)
> 13089 java RET kse_release 0
> 13089 java CALL clock_gettime(0,0x7ffffeff3d00)
> 13089 java RET clock_gettime 0
> 13089 java CALL kse_release(0x654f20)
> 13089 java RET kse_release 0
> 13089 java CALL kse_release(0x511f20)
> [...]
>
> Rebuilding Java did not help... Would any Java and/or thread expert, please,
> try to build the port with self-testing enabled and analyze any hang? Thanks
> a lot!
>
> -mi
> _______________________________________________
> email***@***.com mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-threads
> 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"
 
 
Mikhail Teterin





PostPosted: 2006-10-9 13:07:00 Top

java-programmer >> java/berkeley-db self-test hang On Monday 09 October 2006 00:47, Kip Macy wrote:
= What happens when you use libthr?

I changed /etc/libmap.conf and achieved the following ldd output:

/opt/jdk1.5.0/bin/java:
libz.so.3 => /lib/libz.so.3 (0x80063a000)
libpthread.so.2 => /usr/lib/libthr.so (0x80074e000)
libc.so.6 => /lib/libc.so.6 (0x800865000)


Java promptly crashes trying to run ant:

[...]
exec /opt/bin/java -showversion -classpath /opt/ant/lib/ant-launcher.jar -Dant.home=/opt/ant
org.apache.tools.ant.launch.Launcher -lib -cp /opt/share/java/classes/junit.jar
java version "1.5.0-p3"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.5.0-p3-mi_08_oct_2006_14_37)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0-p3-mi_08_oct_2006_14_37, mixed
mode)

Buildfile: build.xml

init:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# Internal Error (4E4D4554484F440E435050051B), pid=16616, tid=0x50b000
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0-p3-mi_08_oct_2006_14_37
mixed mode)
# An error report file with more information is saved as hs_err_pid16616.log
#
# If you would like to submit a bug report, please write
# a letter to email***@***.com mailing list
#
Abort trap (core dumped)
*** Error code 134

 
 
mi+kde





PostPosted: 2006-10-9 13:09:00 Top

java-programmer >> java/berkeley-db self-test hang On Monday 09 October 2006 00:47, Kip Macy wrote:
= What happens when you use libthr?

I changed /etc/libmap.conf and achieved the following ldd output:

/opt/jdk1.5.0/bin/java:
libz.so.3 => /lib/libz.so.3 (0x80063a000)
libpthread.so.2 => /usr/lib/libthr.so (0x80074e000)
libc.so.6 => /lib/libc.so.6 (0x800865000)


Java promptly crashes trying to run ant:

[...]
exec /opt/bin/java -showversion -classpath /opt/ant/lib/ant-launcher.jar -Dant.home=/opt/ant
org.apache.tools.ant.launch.Launcher -lib -cp /opt/share/java/classes/junit.jar
java version "1.5.0-p3"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.5.0-p3-mi_08_oct_2006_14_37)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0-p3-mi_08_oct_2006_14_37, mixed
mode)

Buildfile: build.xml

init:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# Internal Error (4E4D4554484F440E435050051B), pid=16616, tid=0x50b000
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0-p3-mi_08_oct_2006_14_37
mixed mode)
# An error report file with more information is saved as hs_err_pid16616.log
#
# If you would like to submit a bug report, please write
# a letter to email***@***.com mailing list
#
Abort trap (core dumped)
*** Error code 134

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