Dynamic library
Chris via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Apr 12 12:28:17 PDT 2016
On Tuesday, 12 April 2016 at 10:11:27 UTC, Russel Winder wrote:
> On Mon, 2016-04-11 at 14:15 +0000, Chris via
> Digitalmars-d-learn wrote:
>> I wanted to test, if I could use D with JNA (Java Native
>> Access).
>> I get this error message:
>>
>> # A fatal error has been detected by the Java Runtime
>> Environment:
>> #
>> # SIGSEGV (0xb) at pc=0x00007fd24ab66074, pid=15733,
>> tid=140541714827008
>> #
>> # JRE version: OpenJDK Runtime Environment (8.0_66-b17) (build
>> 1.8.0_66-internal-b17)
>> # Java VM: OpenJDK 64-Bit Server VM (25.66-b17 mixed mode
>> linux-amd64 compressed oops)
>> # Problematic frame:
>> # C [libphobos2.so.0.69+0x467074] _d_dso_registry+0x59c
>>
>> libphobos is a "problematic frame".
>
> Did you solve this problem?
>
> Does it go away using a newer JDK, e.g. 8_77?
>
> Have you tried the Oracle or Azul builds?
>
> If you have a small project you can send me that exhibits the
> problem for you, I can take a look at it.
I haven't solved the problem yet. I'll try 8_77, if I can get it
for Ubuntu (which I use at work). It is not even a project yet,
just a "Hello, world!" kind of test. I guess I got it wrong
somehow when I compiled / linked the D .so file. I'll have
another look and if I cannot get it to work I'll send you the
files. Thanks for the offer.
More information about the Digitalmars-d-learn
mailing list