Re: JPL on RedHat
[email protected] (Jens Thomsen) Fri, 7 Jul 2000 13:36:05 -0600 (MDT)
| Newsgroups | perl.jpl |
|---|---|
| Message-ID | <[email protected]> |
I was able to finally get JPL running with JDK 1.2.2 I had to go in to the
Makefile and tweak it so that everywhere that it said green_threads read
native_threads and it seems to work fine. I just have one more question is
there any way to get rid of this garbage:
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=0xbffff56c
Full thread dump Classic VM (1.2.2-L, native threads):
"Screen Updater" (TID:0x414ec210, sys_thread_t:0x82901b0, state:CW, native ID:0x1c08) prio=4
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at sun.awt.ScreenUpdater.nextEntry(ScreenUpdater.java:75)
at sun.awt.ScreenUpdater.run(ScreenUpdater.java:95)
"AWT-Motif" (TID:0x414ef1c8, sys_thread_t:0x824f810, state:R, native ID:0x1807) prio=5
at sun.awt.motif.MToolkit.run(Native Method)
at java.lang.Thread.run(Thread.java:475)
"SunToolkit.PostEventQueue-0" (TID:0x414eefd8, sys_thread_t:0x8238828, state:CW, native ID:0x1406) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at sun.awt.PostEventQueue.run(SunToolkit.java:409)
"AWT-EventQueue-0" (TID:0x414eed50, sys_thread_t:0x8238588, state:CW, native ID:0x1005) prio=6
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at java.awt.EventQueue.getNextEvent(EventQueue.java:204)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:96)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:88)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:79)
"Finalizer" (TID:0x414d0320, sys_thread_t:0x8135068, state:CW, native ID:0xc04) 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:0x414d03b0, sys_thread_t:0x812ec18, state:CW, native ID:0x803) 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)
"SIGQUIT handler" (TID:0x414d03e0, sys_thread_t:0x81344f0, state:R, native ID:0x402) prio=5
"main" (TID:0x414d01e0, sys_thread_t:0x80c5508, state:R, native ID:0x400) prio=5
Monitor Cache Dump:
sun.awt.PostEventQueue@414EEFD8/415BCDD0: <unowned>
Waiting to be notified:
"SunToolkit.PostEventQueue-0" (0x8238828)
java.awt.EventQueue@414EEDE8/415BC998: <unowned>
Waiting to be notified:
"AWT-EventQueue-0" (0x8238588)
sun.awt.ScreenUpdater@414EC210/4156B480: <unowned>
Waiting to be notified:
"Screen Updater" (0x82901b0)
java.lang.ref.Reference$Lock@414D03C0/41505B20: <unowned>
Waiting to be notified:
"Reference Handler" (0x812ec18)
java.lang.ref.ReferenceQueue$Lock@414D0338/41506028: <unowned>
Waiting to be notified:
"Finalizer" (0x8135068)
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" (0x80c5508) 1 entry
Thread queue lock: owner "main" (0x80c5508) 1 entry
Monitor registry: owner "main" (0x80c5508) 1 entry
Thanx,
Jens Thomsen
On Fri, 7 Jul 2000, Boris Krivulin wrote:
> I appologize if you get this mail twice.
>
> > Can anyone give me more infomation on JPL running on redhat linux with JDK
> > 1.2.2 or Other JDKs?
> >
> > Thanx,
> > Jens Thomsen
>
> I got jpl running on redhat linux 6.* with
> a) jdk1.1.8 from ibm, and glibc2.1.1
> b) jdk1.3 from ibm, and glibc2.1.3
>
> For each of those I compiled a libperl.so, version 5.6.0.
>
> According to JPL documentation, you need to use native threads,
> and for linux, versions jdk1.1.8 and jdk1.3 are the ones that support
> native threads.
>
> According to documentation of jpl1.3, only glibc-2.1.1 is needed, but I
> had a problem resolving symbol sem_wait@GLIBC_2.1 in file libpthread.0.so.
> Conversely, this symbol ^was^ defined in libpthread.0.so that came with
> glibc2.1.3 installation.
>
> I didn't manage to get JPL working with jdk1.2, probably because I was
> using green threads.
>
> Hope this helps.
> Boris
>