Skip to content

Fatal error: dlopen failed: /usr/lib/x86_64-linux-gnu/libsgx_dcap_ql.so.1 #2

@v13s

Description

@v13s

I am using Standard DC1s_v2 (1 vcpus, 4 GiB memory) VM on AZURE with Linux (ubuntu 20.04) Gen 2 (pro-20_04-lts-gen2) image.
Following steps were performed in order:

Commands


git clone https://github.com/R3Conclave/cordacon-conclave-tutorial.git

./gradlew clean
./gradlew host:shadowJar

cp host/build/libs/host-all.jar /opt
chmod 777 -R host-all.jar

java -jar host-all.jar 8080

Following error was received after last command (java -jar):

dlopen failed: /usr/lib/x86_64-linux-gnu/libsgx_dcap_ql.so.1
dlopen failed: /usr/lib/x86_64-linux-gnu/libdcap_quoteprov.so.1

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x00007fa650f8f300, pid=27865, tid=27866

JRE version: OpenJDK Runtime Environment (11.0.10+9) (build 11.0.10+9-Ubuntu-0ubuntu1.20.04)
Java VM: OpenJDK 64-Bit Server VM (11.0.10+9-Ubuntu-0ubuntu1.20.04, mixed mode, sharing, tiered, compressed oops, serial gc, linux-amd64)
Problematic frame:
C [libjvm_host.so+0x25300] r3::conclave::dcap::QuotingAPI::~QuotingAPI()+0x26

Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to /home/blockadmin/core.27865)

An error report file with more information is saved as:
/home/blockadmin/hs_err_pid27865.log

If you would like to submit a bug report, please visit:
https://bugs.launchpad.net/ubuntu/+source/openjdk-lts
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.

Aborted (core dumped)


@shamsasari : Does the SGX VM need any further configuration before we can use it? Like SGX build or installation etc?

Request your help with the same.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions