MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: JLink: InstallJava[] problem with Slackware Linux 2.2.14 and JDK 1.2.2

  • To: mathgroup at smc.vnet.net
  • Subject: [mg24507] Re: JLink: InstallJava[] problem with Slackware Linux 2.2.14 and JDK 1.2.2
  • From: tgayley at linkobjects.com (Todd Gayley)
  • Date: Thu, 20 Jul 2000 03:01:45 -0400 (EDT)
  • Organization: LinkObjects
  • References: <8l3emo$ko6@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Dirk,

You need to use the special "Red Hat 6" version of J/Link. This was
very poorly named--it is really for all Linuxes with glibc2.1 and
later, which basically means all recent Linux distributions.

This version of J/Link has the native library already compiled against
a special version of the MathLink library for glibc2.1.

--Todd


On 19 Jul 2000 01:35:20 -0400, Dirk Kraaijpoel <kraai at geo.uu.nl>
wrote:

>Hi, I installed JLink on my Slackware 2.2.14 system using jdk 1.2.2
>exactly as
>explained in the manual (compiling and copying library, copying
>JLink.jar etc.),
>but when I try to InstallJava[], (after <<JLink`) I get the following
>message on 
>my stderr:
>
>---stderr------------------------------------------------------------------------------
>
>SIGSEGV   11*  segmentation violation
>
>    si_signo [11]: SIGSEGV   11*  segmentation violation
>
>    si_errno [0]: Success
>
>    si_code [0]: SI_USER [pid: 0, uid: 0]
>
>	stackpointer=0xbffff324
>
>
>Full thread dump Classic VM (1.2.2-L, green threads):
>    "Finalizer" (TID:0x40e90320, sys_thread_t:0x8106ff8, state:CW)
>prio=8
>	at java.lang.Object.wait(Native Method)
>	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:108)
>	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:123)
>	at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:170)
>    "Reference Handler" (TID:0x40e903b0, sys_thread_t:0x81022a8,
>state:CW) prio=10
>	at java.lang.Object.wait(Native Method)
>	at java.lang.Object.wait(Object.java:420)
>	at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:110)
>    "Signal dispatcher" (TID:0x40e903e0, sys_thread_t:0x81003f0,
>state:CW) prio=5
>    "main" (TID:0x40e901e0, sys_thread_t:0x804c350, state:R) prio=5
>	at com.wolfram.jlink.NativeLink.MLOpen(Native Method)
>	at com.wolfram.jlink.NativeLink.<init>(Unknown Source)
>	at com.wolfram.jlink.MathLinkFactory.createMathLinkGuts(Unknown Source)
>	at com.wolfram.jlink.MathLinkFactory.createMathLink(Unknown Source)
>	at com.wolfram.j
>link.MathLinkFactory.createKernelLinkGuts(Unknown Source)
>	at com.wolfram.jlink.MathLinkFactory.createKernelLink(Unknown Source)
>	at com.wolfram.jlink.Install.main(Unknown Source)
>Monitor Cache Dump:
>    java.lang.ref.Reference$Lock at 40E903C0/40EC5B20: <unowned>
>	Waiting to be notified:
>	    "Reference Handler" (0x81022a8)
>    java.lang.ref.ReferenceQueue$Lock at 40E90338/40EC6028: <unowned>
>	Waiting to be notified:
>	    "Finalizer" (0x8106ff8)
>Registered Monitor Dump:
>    utf8 hash table: <unowned>
>    JNI pinning lock: <unowned>
>    JNI global reference lock: <unowned>
>    BinClass lock: <unowned>
>    Class linking lock: <unowned>
>    System class loader lock: <unowned>
>    Code rewrite lock: <unowned>
>    Heap lock: <unowned>
>    Monitor cache lock: owner "main" (0x804c350) 1 entry
>    Dynamic loading lock: <unowned>
>    Monitor IO lock: <unowned>
>    User signal monitor: <unowned>
>	Waiting to be notified:
>	    "Signal dispatcher" (0x81003f0)
>    Child death monitor: <unowned>
>    I/O monitor: <unowned>
>    Al
>arm monitor: <unowned>
>	Waiting to be notified:
>	    <unknown thread> (0x80567b0)
>    Thread queue lock: owner "main" (0x804c350) 1 entry
>    Monitor registry: owner "main" (0x804c350) 1 entry
>
>-------------------------------------------------------------------------------------------------------
>
>I can't understand this. What's happening?
>
>Dirk
>



  • Prev by Date: Mathematica 3.0 LogZero: an expert's response
  • Next by Date: sin(Pi/257), cos(Pi/257)
  • Previous by thread: JLink: InstallJava[] problem with Slackware Linux 2.2.14 and JDK 1.2.2
  • Next by thread: Step-by-Step Differentiation