jdk on 5.0-RELEASE

jdk on 5.0-RELEASE

Post by Vladimir V. Egori » Mon, 24 Feb 2003 01:53:32



I had an unfortunate idea if recompiling jdk13 from ports
on 5.0-RELEASE, and now java dumps core:

SIGBUS    10*  bus error

Full thread dump Classic VM (1.3.1-p8-vladimir-030222-09:34, green threads):
    "JTS-Login" (TID:0x28e8d2b0, sys_thread_t:0x82cbc80, state:R) prio=6
        at java.net.InetAddressImpl.getLocalHostName(Native Method)
        at java.net.InetAddress.<clinit>(InetAddress.java:393)
        at java.net.Socket.<init>(Socket.java:101)
        at jconnection.JTSConnection.createSocket(JTSConnection.java:158)
        at jconnection.LoginThread.run(LoginThread.java:26)
    "TimerQueue" (TID:0x28e80378, sys_thread_t:0x82cb680, state:CW) prio=5
        at java.lang.Object.wait(Native Method)
        at javax.swing.TimerQueue.run(TimerQueue.java:233)
        at java.lang.Thread.run(Thread.java:484)
    "Screen Updater" (TID:0x28e944b8, sys_thread_t:0x87ccc80, state:CW) prio=5
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at sun.awt.ScreenUpdater.nextEntry(ScreenUpdater.java:76)
        at sun.awt.ScreenUpdater.run(ScreenUpdater.java:95)
    "JTS-Dispatcher" (TID:0x28eaf098, sys_thread_t:0x86f7c80, state:CW) prio=5
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at jconnection.Data.wait2(Data.java:122)
        at jconnection.Dispatcher.run(Dispatcher.java:46)
    "JTS-Ping" (TID:0x28eb9468, sys_thread_t:0x86f7a80, state:CW) prio=5
        at java.lang.Thread.sleep(Native Method)
        at jconnection.JTSThread.sleep2(JTSThread.java:17)

<etc.>

Any ideas what could be wrong?

Thanks,
--
Vladimir

 
 
 

jdk on 5.0-RELEASE

Post by Conrad Sabatie » Mon, 24 Feb 2003 01:58:26




Quote:>I had an unfortunate idea if recompiling jdk13 from ports
>on 5.0-RELEASE, and now java dumps core:

>SIGBUS    10*  bus error

Did you compile using WITH_NATIVE_THREADS?  I had the same problem using
until I quit trying to use that.

NATIVE_BOOTSTRAP seems to be OK, as long as you've already got a
(native) JDK installed.

Quote:>Full thread dump Classic VM (1.3.1-p8-vladimir-030222-09:34, green threads):
>    "JTS-Login" (TID:0x28e8d2b0, sys_thread_t:0x82cbc80, state:R) prio=6
>        at java.net.InetAddressImpl.getLocalHostName(Native Method)
>        at java.net.InetAddress.<clinit>(InetAddress.java:393)
>        at java.net.Socket.<init>(Socket.java:101)
>        at jconnection.JTSConnection.createSocket(JTSConnection.java:158)
>        at jconnection.LoginThread.run(LoginThread.java:26)
>    "TimerQueue" (TID:0x28e80378, sys_thread_t:0x82cb680, state:CW) prio=5
>        at java.lang.Object.wait(Native Method)
>        at javax.swing.TimerQueue.run(TimerQueue.java:233)
>        at java.lang.Thread.run(Thread.java:484)
>    "Screen Updater" (TID:0x28e944b8, sys_thread_t:0x87ccc80, state:CW) prio=5
>        at java.lang.Object.wait(Native Method)
>        at java.lang.Object.wait(Object.java:420)
>        at sun.awt.ScreenUpdater.nextEntry(ScreenUpdater.java:76)
>        at sun.awt.ScreenUpdater.run(ScreenUpdater.java:95)
>    "JTS-Dispatcher" (TID:0x28eaf098, sys_thread_t:0x86f7c80, state:CW) prio=5
>        at java.lang.Object.wait(Native Method)
>        at java.lang.Object.wait(Object.java:420)
>        at jconnection.Data.wait2(Data.java:122)
>        at jconnection.Dispatcher.run(Dispatcher.java:46)
>    "JTS-Ping" (TID:0x28eb9468, sys_thread_t:0x86f7a80, state:CW) prio=5
>        at java.lang.Thread.sleep(Native Method)
>        at jconnection.JTSThread.sleep2(JTSThread.java:17)

><etc.>

>Any ideas what could be wrong?

>Thanks,
>--
>Vladimir

--


 
 
 

jdk on 5.0-RELEASE

Post by Vladimir V. Egori » Mon, 24 Feb 2003 02:06:24





>>I had an unfortunate idea if recompiling jdk13 from ports
>>on 5.0-RELEASE, and now java dumps core:

>>SIGBUS    10*  bus error

> Did you compile using WITH_NATIVE_THREADS?  I had the same problem using
> until I quit trying to use that.

No, I've used default Makefile, which doesn't define that.

Thank you for your answer.

--
Vladimir

 
 
 

jdk on 5.0-RELEASE

Post by Mark Dixo » Mon, 24 Feb 2003 05:14:56



> I had an unfortunate idea if recompiling jdk13 from ports
> on 5.0-RELEASE, and now java dumps core:

> SIGBUS    10*  bus error

I've found the 1.3.1 JDK to be very unstable on 5.0. I can't get it to
run Orion, JBoss, or any recent Tomcat in a stable way.

The native 1.4 (supposedly developer only non-production quality)
version is better. I use the Linux JVMs to run anything critical.

Mark

 
 
 

jdk on 5.0-RELEASE

Post by Vladimir V Egori » Mon, 24 Feb 2003 06:21:50




>> I had an unfortunate idea if recompiling jdk13 from ports
>> on 5.0-RELEASE, and now java dumps core:

>> SIGBUS    10*  bus error

> I've found the 1.3.1 JDK to be very unstable on 5.0. I can't get it to
> run Orion, JBoss, or any recent Tomcat in a stable way.

> The native 1.4 (supposedly developer only non-production quality)
> version is better. I use the Linux JVMs to run anything critical.

> Mark

I've built 1.4, which works without any problems.  Many thanks
for the advice.

Unfortunately it seems build of browser plugins in 1.4 doesn't work yet.

--
Vladimir

 
 
 

1. JDK on RedHat 5.0?

Hello - I am having trouble getting the JDK running with RedHat 5.0!  I
have installed the JDK from BlackDown following their instructions and
all I get from running java is Segmentation Faults and Stack Overflows.
I tried upgrading the glibc to 2.0.19 and I get errors from rpm telling
me my texinfo is incompatible with this library?

I also tried going back to JDK1.1.5v7 for glibc but again - I get core
dumps??  Should I bite the bullet and order RedHat 5.2 or does somebody
out there know how to make this work?  Any help would be greatly
appreciated.
-Thomas

2. Linux Frequently Asked Questions with Answers (Part 6 of 6)

3. SUCCESS: JDK 1.3.1 + HotSpot on FBSD 5.0-R

4. RH 6.1 and ATI Rage 128, problem setting up

5. JDK 1.1.1 Installation on Redhat 5.0

6. Newbie -- Can't make LILO work!

7. Error building jdk 1.4.1 on 5.0-p4

8. Vosaic plugin and IP_Masq ?

9. IntelliJ IDEA, JDK 1.4.1-p3, 5.0-p7, "Bad file descriptor"

10. JAVA JDK 1.0 to Red Hat 5.0

11. JDK 1.1.3 / RedHat 5.0

12. jboss3, jdk-1.3.1_p8 & 5.0-CURRENT