8000 Ctrl-C in select.epoll.poll() leads to crash on 32-bit x86 · Issue #24 · micropython/micropython-lib · GitHub
[go: up one dir, main page]

Skip to content
Ctrl-C in select.epoll.poll() leads to crash on 32-bit x86 #24
Closed
@dpgeorge

Description

@dpgeorge

I have the following test code:

import select
epoll = select.epoll()
epoll.register(0, select.EPOLLIN)
epoll.poll()

It'll wait until there's data on stdin to read. If you press ctrl-C then the poll returns with EINTR and is supposed to finish early. On 64-bit x86-64 it works as expected (KeyboardInterrupt is raised) but on 32-bit x86 it leads to seg fault.

Any ideas?

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

      0