Skip to content

rt::io::net::tcp methods may throw SIGABRT #7976

Closed

Description

@jedestep

While migrating my code over to this new TCP library, I discovered it'll throw a SIGABRT whenever attempting to connect to an address. It appears to be coming from any method which can raise a condition (i.e. Listener::bind and TcpStream::connect).

Platform is OSX 10.8 x86_64.

Activity

  1. brson commented on Jul 22, 2013

    @brson
    Contributor

    At a guess, I imagine this is simply due to calls to rtabort! because rt::io requires the new runtime, which is not turned on.

  2. erickt commented on Jul 22, 2013

    @erickt
    Contributor

    @brson said in IRC that the TCP library depends on the new runtime, which isn't finished yet. This is why you are getting these aborts. If you want to help shake out the bugs in the new runtime, try running your code with RUST_NEWRT=1.

  3. added a commit that references this issue on Feb 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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