Skip to content

Segmentation fault on pthread_create when initializing connections #30

@deukyeon

Description

@deukyeon

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.

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