Skip to content

!!! Could not open file for writing! & Segmentation fault #5

@gogo9th

Description

@gogo9th

If,

Could you please give me some help on fixing the following issue? Thanks very much.

:myproxy-v33/sgx-mprotect$ LD_PRELOAD=~/Desktop/sgx-perf-master/build/lib/libloggersim.so ./App_exe 
=== Initializing sgx-perf
(i) No config file found, load defaults
=== Done initializing
pagesize: 4096 bytes, function1()'s size: 15 bytes, function2()'s size: 39 bytes

ocall_mprotect(): received memory address 0x7fab73247000 from SGX
ocall_mprotect(): modified page permission of memory address 0x7fab73247000 to 7
SGX's dynamic_execute(): copied function1() to memory address 0x7fab732252e0
SGX's dynamic_execute(): executed original function1() --> returned 1
Caught signal 11
Fault address is 0x7fab732252e0
=== Writing to out-28363.db
(i) Starting serialization
(i) Mapping event IDs to names
(i) Serializing events (0 + 1 threads)
.
(i) Mapping thread start addresses to symbols
(i) Mapping OCall IDs to symbols
(i) Mapping ECall IDs to symbols (1 enclaves)
(i) Enclave 121818157416450(enclave.signed.so)
(i) Close all binary files
(i) Creating DB indices
(i) Serialization done
(i) Writing out file
!!! Could not open file for writing!
=== Shutting down sgx-perf
Segmentation fault

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