Skip to content

Segmentation fault when sandboxing python3 scripts #34

@descrip

Description

@descrip

Running Ubuntu 16.04.1 LTS on a 64-bit system. I made the following script, helloworld.py:

print('Hello world!')

Running the following command with python3 (Python 3.5.2), I received a segmentation fault:

$ mbox -n -i -- python3 helloworld.py
Segmentation fault (core dumped)
Hello world!

The segfault is printed before the expected output, so I think it comes from mbox and not python3.

No segfault is received when running with python2 (Python 2.7.12):

$ mbox -n -i -- python2 helloworld.py
Hello world!

The segfault is still present if mbox is not provided with any arguments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions