Skip to content

Segfault in write_to_net_io with 7.1.x #1401

@biilmann

Description

@biilmann

Seeing frequent segfaults when trying 7.1.x on some production traffic.

What happens is that the MUTEX_TRY_LOCK_FOR segfaults since s->vio.mutex is NULL

https://github.com/apache/trafficserver/blob/master/iocore/net/UnixNetVConnection.cc#L439

Digging into a core dump shows that this happens when s->enabled == 0 and s->error == 1. Inspecting s->vio shows that it's an empty vio instance with a null pointer mutex.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BackportMarked for backport for an LTS patch releaseCoreCrash

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions