Skip to content
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

Segmentation fault on pthread_create when initializing connections #30

Open
deukyeon opened this issue Sep 12, 2022 · 0 comments
Open

Comments

@deukyeon
Copy link
Contributor

Note that this issue is not from Assise but the syscall_intercept library. But this will be useful if your system uses GLIBC 3.25 or higher.

When initializing Assise, threads for communication between LibFS and KernFS are created via pthread_create(). In recent systems, the pthread_create() invokes a system call with SYS_clone3, instead of SYS_clone. Unfortunately, the current syscall_intercept does not handle this syscall correctly, so it causes a segmentation fault in the syscall_intercept library.

If you were struggling with this segmentation fault, you would like to fix the syscall_intercept code based on this issue.

Today(09/12/2022), this code still does not handle the issue properly.

Hope this knowledge helps you.

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

1 participant