Re: Help again!

[email protected] (Boris Krivulin) Thu, 27 Jul 2000 09:39:47 -0700 (PDT)
Newsgroups perl.jpl
Message-ID <[email protected]>
I had that problem, and I figured that it is because I used green threads.
I needed native threads.  I got things to work with jdk1.1.7 and with
jdk1.3 which have native threads for linux.

Hope that helps,
Boris

--------------
Boris Krivulin                              
[email protected]                  "Mathematics is the music of reason."
http://www.sfu.ca/~bkrivuli                           -- James J. Sylvester

                       

On Thu, 27 Jul 2000, Oleg wrote:

> My name is Oleg and I'm new to jpl.
> I have Red Hat 6.0, perl 5.6 and jdk1.2.2 or 1.1.7. 
> I was able to install jpl,and get through my last error message(thanks to
> B. Jepson), but when running |Java Sample| I've got another bad error
> message:
> Can somebody please help to understand what is going on?
> $Java Sample
> init
> 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=0xbffff2b4
> 
> Full thread dump Classic VM (1.2.2-L, green threads):
>     "Finalizer" (TID:0x40ecd320, sys_thread_t:0x8107f30, 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:0x40ecd3b0, sys_thread_t:0x81031e0, 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:0x40ecd3e0, sys_thread_t:0x8101328, state:CW) prio=5
>     "main" (TID:0x40ecd1e0, sys_thread_t:0x804c2f8, state:R) prio=5
> 	at PerlInterpreter.init(Native Method)
> 	at PerlInterpreter.fetch(PerlInterpreter.java:11)
> 	at Sample.<clinit>(Sample.java:48)
> Monitor Cache Dump:
>     java.lang.ref.ReferenceQueue$Lock@40ECD338/40F03028: <unowned>
> 	Waiting to be notified:
> 	    "Finalizer" (0x8107f30)
>     java.lang.ref.Reference$Lock@40ECD3C0/40F02B20: <unowned>
> 	Waiting to be notified:
> 	    "Reference Handler" (0x81031e0)
> 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" (0x804c2f8) 1 entry
>     Dynamic loading lock: <unowned>
>     Monitor IO lock: <unowned>
>     User signal monitor: <unowned>
> 	Waiting to be notified:
> 	    "Signal dispatcher" (0x8101328)
>     Child death monitor: <unowned>
>     I/O monitor: <unowned>
>     Alarm monitor: <unowned>
> 	Waiting to be notified:
> 	    <unknown thread> (0x8057760)
>     Thread queue lock: owner "main" (0x804c2f8) 1 entry
>     Monitor registry: owner "main" (0x804c2f8) 1 entry
> 
>   
> 
> 
>