Re: [rvm-research] Error when running rvm

Khaled Z Mahmoud <[email protected]> Wed, 29 Nov 2017 19:50:18 -0500
Newsgroups gmane.comp.java.jikes.rvm.devel
Message-ID <CAER=_eXbsUYPbpDtxV2HV0U8TRgTgynsRGUU4oitYKx_EFmQnA@mail.gmail.com>
Hi,

Most likely, this is the cause of the two errors :

Exception Message: Native library `javaio' not found (as file
`libjavaio.so') in gnu.classpath.boot.library.path and java.library.path

java.lang.UnsatisfiedLinkError



On Wed, Nov 29, 2017 at 6:19 PM, Khaled Z Mahmoud <[email protected]>
wrote:

> Hi,
>
> My OS Linux Information : *4.2.0-16-generic #19-Ubuntu SMP Thu Oct 8
> 15:35:06 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux.*
> JikesRVM Version : *3.1.3*
>
> This error occurs when the adaptive optimization system is enabled.
> However, when I disable the optimization system, I get more details about
> another error.
> The error is : NullPointerException.
>
> The RVMThread::handleUncaughtException tries to catch the exception. When
> it tries to call "getCurrentThread().terminate();", the terminate method
> seems to throw another error. Below is the stack trace :
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++(0x61cc725c
> 20463)   at [0x61cc725c, 0x64c193a0] Lorg/jikesrvm/scheduler/RVMThread;
> handleUncaughtException(Ljava/lang/Throwable;)V at line 4876
>
> (0x61cc72a8 13387)   at [0x61cc72a8, 0x64c1b106] Lorg/jikesrvm/runtime/RuntimeEntrypoints;
> handleUncaughtException(Ljava/lang/Throwable;)V at line 1071
>
>    at [0x61cc72a8, 0x64c1b106] Lorg/jikesrvm/runtime/RuntimeEntrypoints;
> deliverException(Ljava/lang/Throwable;Lorg/jikesrvm/ArchitectureSpecific$Registers;)V
> at line 1066
>
> (0x61cc72d4 13374)   at [0x61cc72d4, 0x64c1a47c] Lorg/jikesrvm/runtime/RuntimeEntrypoints;
> athrow(Ljava/lang/Throwable;)V at line 664
>
> (0x61cc72f0 13376)   at [0x61cc72f0, 0x6402729b] Lorg/jikesrvm/runtime/RuntimeEntrypoints;
> unlockAndThrow(Ljava/lang/Object;Ljava/lang/Throwable;)V at line 813
>
> (0x61cc7324 2392)   at [0x61cc7324, 0x64027ee3] Lorg/jikesrvm/classloader/MethodReference;
> resolve()Lorg/jikesrvm/classloader/RVMMethod; at line 195
>
> (0x61cc7340 2374)   at [0x61cc7340, 0x64c127ca] Lorg/jikesrvm/classloader/MemberReference;
> resolveMember()Lorg/jikesrvm/classloader/RVMMember; at line 262
>
> (0x61cc7364 12035)   at [0x61cc7364, 0x64bedd10]
> Lorg/jikesrvm/classloader/TableBasedDynamicLinker;
> resolveMember(Lorg/jikesrvm/classloader/MemberReference;)I at line 74
>
> (0x61cc738c 14479)   at [0x61cc738c, 0x64bedfdf]
> Lorg/jikesrvm/compilers/opt/runtimesupport/OptLinker;
> resolveDynamicLink(Lorg/jikesrvm/compilers/opt/runtimesupport/
> OptCompiledMethod;Lorg/vmmagic/unboxed/Offset;)V at line 64
>
> (0x61cc7404 1785)   at [0x61cc7404, 0x64b8b4fe]
> Lorg/jikesrvm/compilers/opt/runtimesupport/OptSaveVolatile; resolve()V at
> line 135
>
> (0x61cc7458 1710)   at [0x61cc7458, 0x64c316a6]
> Lorg/jikesrvm/CommandLineArgs; earlyProcessCommandLineArguments()V at
> line 614
>
> (0x61cc7488 7271)   at [0x61cc7488, 0x64c32502] Lorg/jikesrvm/VM;
> finishBooting()V at line 207
>
> (0x61cc74a0 7270)   at [0x61cc74a0, 0x0805257f] Lorg/jikesrvm/VM; boot()V
> at line 161
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> On Mon, Nov 27, 2017 at 12:22 PM, Erik Brangs <[email protected]> wrote:
>
>> Hi,
>>
>> On 27.11.2017 07:42, Khaled Z Mahmoud wrote:
>> > When I run rvm, I receive the following error on unresponsive prompt :
>> " Exception in thread "Jikes_RBoot_Thread": ".
>> >
>> > The exception contains nothing else.
>> > Is there is a way to know  what exception is being generated ? Any
>> advice on how start tracing this error ?
>>
>> This exception generally means that the VM crashed early in the boot
>> process. You can try to use -X:verboseBoot=10 to get more information.
>> However, problems of this sort are generally hard to debug if you're not
>> already familiar with the Jikes RVM.
>>
>> Are you using an unmodified Jikes RVM? Which version are you using? What
>> platform are you using?
>>
>>
>> Kind regards,
>>
>> Erik Brangs
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Jikesrvm-researchers mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers
>>
>
>
>
> --
> Regards,
> Khaled Mahmoud
>



-- 
Regards,
Khaled Mahmoud

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Jikesrvm-researchers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers