8000 Bus error when running hello on SGX2 · Issue #21 · ratel-enclave/ratel · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Bus error when running hello on SGX2 #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
StanPlatinum opened this issue May 3, 2021 · 3 comments
Open

Bus error when running hello on SGX2 #21

StanPlatinum opened this issue May 3, 2021 · 3 comments

Comments

@StanPlatinum
Copy link

Dear Ratel developers,

Very good work! Big fan!

I followed the readme and build ratel on my NUC7PJYH box machine successfully, yet encountered a problem when running the hello demo.

Below is the log collected from /opt/intel/sgxsdk/bin/sgx-gdb

(gdb) r -- ./dbt_test/hello
Starting program: /home/ratel/ratel/ratel -- ./dbt_test/hello
process 15992 is executing new program: /home/ratel/ratel/libapp.so
detect urts is loaded, initializing
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
add-symbol-file '/home/ratel/ratel/libdynamorio.so' 0x600000022fc0 -readnow -s .note.gnu.build-id 0x6000000001c8  -s .hash 0x6000000001f0  -s .gnu.hash 0x600000000220  -s .dynsym 0x600000000258  -s .dynstr 0x6000000002e8  -s .gnu.version 0x600000000326  -s .gnu.version_d 0x600000000338  -s .rela.dyn 0x600000000370  -s .rodata 0x600000338e00  -s .eh_frame_hdr 0x6000003c7870  -s .eh_frame 0x6000003cf5f8  -s .fini_array 0x6000005f12e8  -s .data.rel.ro 0x6000005f1300  -s .dynamic 0x600000614e50  -s .got 0x600000614ff0  -s .got.plt 0x600000615000  -s .data 0x600000616000  -s .nspdata 0x600000620000  -s .cspdata 0x600000630280  -s .fspdata 0x600000632000  -s .bss 0x600000634020 
[New Thread 0x7ffff569b700 (LWP 16003)]

Thread 1 "libapp.so" received signal SIGBUS, Bus error.
0x00006000003375b4 in __intel_new_memset ()

Any ideas? Thanks in advance!

@ratel-enclave
Copy link
Owner

Thanks for your interest in our Ratel. We will do an investigation into this and get back to you as soon as possible.

@StanPlatinum
Copy link
Author

Thanks!
FYI. The problem is happening on my NUC box (SGX2) machine. Ratel works fine on my another laptop. I doubt the issue is due to the box machine's weird SGX support. You can ignore it and feel free to close it.

@ratel-enclave
Copy link
Owner

Thanks for giving this info. Ratel now doesn't have support to SGX2 yet. We further confirmed this on SGX2 machine. It needs extra efforts to re-adapt for it. We may advance Ratel to SGX2 in the future.

@ratel-enclave ratel-enclave changed the title bus error when running hello Bus error when running hello on SGX2 May 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0