trafficserver: Segfault in write_to_net_io with 7.1.x
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.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 15 (15 by maintainers)
Commits related to this issue
- issue #1401: Potential fix to the write_to_io_net crash. — committed to shinrich/trafficserver by shinrich 7 years ago
I think I am seeing this in 6.2.x as well: