On 16-Jul-98 Insanity wrote:
> I must apologize in advance, but I'm at a loss.  I just installed a new
> box with Slackware 3.5 (libc5).  I then got the new release of Blackdown
> JDK (1.1.6v2) and installed it.  It dumps core whenever I do anything
> requiring native library loads (at least I think that's what it's
> doing).
> One example would be sockets...  The following simple program doesn't
> work, so I think something very fundamental is broken about my system.
> 
> import java.net.*;
> public class NetTest {
>       public static void main(String args[]) {
>               ServerSocket s = new ServerSocket(5000);
>       }
> }
> 
> I checked the FAQ and noticed the ld.so.1.9.9 bug, and downgraded to
> ld.so.1.9.7 to make sure that wasn't it.  Same bug.  I then downgraded
> to
> JDK1.1.5v7 just to make sure...
> 

If I remember correctly you want to remove the libraries libc.so.* and
libdl.so.* from $JAVA_HOME/lib/i686/green_threads...

Look in the archives to be certain, if someone that replied with the
original answer does not reply first =)

Cheers,

Bruce...



> Here's the core dump.  I've also attached an strace of java as it blows
> up
> if that is at all helpful...  
> 
> SIGSEGV   11*  segmentation violation
>         stackbase=0xbffff3e8, stackpointer=0xbffff2ec
> 
> Full thread dump:
>     "Finalizer thread" (TID:0x4064a208, sys_thread_t:0x4138ef04,
> state:R) prio=1
>     "Async Garbage Collector" (TID:0x4064a250, sys_thread_t:0x4136df04,
> state:R) prio=1
>     "Idle thread" (TID:0x4064a298, sys_thread_t:0x4134cf04, state:R)
> prio=0
>     "Clock" (TID:0x4064a088, sys_thread_t:0x4132bf04, state:CW) prio=12
>     "main" (TID:0x4064a0b0, sys_thread_t:0x81cc6f0, state:R) prio=5
> *current thread*
>         java.lang.Runtime.loadLibrary(Runtime.java)
>         java.lang.System.loadLibrary(System.java)
>         java.net.PlainSocketImpl.<clinit>(PlainSocketImpl.java:67)
>         java.net.ServerSocket.<init>(ServerSocket.java:57)
>         java.net.ServerSocket.<init>(ServerSocket.java:131)
>         java.net.ServerSocket.<init>(ServerSocket.java:83)
>         NetTest.main(NetTest.java:11)
> Monitor Cache Dump:
>     java.lang.Runtime@1080352824/1080711912: owner "main" (0x81cc6f0, 1
> entry)
> Registered Monitor Dump:
>     Thread queue lock: <unowned>
>     Name and type hash table lock: <unowned>
>     String intern lock: <unowned>
>     JNI pinning lock: <unowned>
>     JNI global reference lock: <unowned>
>     BinClass lock: <unowned>
>     Class loading lock: <unowned>
>     Java stack lock: <unowned>
>     Code rewrite lock: <unowned>
>     Heap lock: <unowned>
>     Has finalization queue lock: <unowned>
>     Finalize me queue lock: <unowned>
>     Monitor IO lock: <unowned>
>     Child death monitor: <unowned>
>     Event monitor: <unowned>
>     I/O monitor: <unowned>
>     Alarm monitor: <unowned>
>         Waiting to be notified:
>             "Clock" (0x4132bf04)
>     Monitor registry: owner "main" (0x81cc6f0, 1 entry)
> Thread Alarm Q:
> 
> Any suggestions or fixes will be greatly appreciated...  Hopefully I've
> just overlooked something very basic and easily fixed.
> 
> Thanks in advance,
> Drew
> 
> ---------------------------------------
> Andrew J. Hope
> 
> Email: [EMAIL PROTECTED]
> WWW:   http://www.moselle.com/~insanity (currently down)

----------------------------------
E-Mail: Bruce J. Carter <[EMAIL PROTECTED]>
Date: 16-Jul-98
Time: 22:53:08
----------------------------------
It is better to be silent and thought a fool,
than to speak and remove all doubt. - Benjamin Franklin

  • Help!? Insanity
    • Bruce J. Carter

Reply via email to