You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Crash due to null pointer dereference in QUICBidirectionalStream::will_generate_frame #7115
(gdb) bt
#0 0x00000000007c9d26 in IOBufferReader::is_read_avail_more_than (this=0x0, size=0) at /usr/local/src/trafficserver/iocore/eventsystem/P_IOBuffer.h:538
#1 0x0000000000b14ad5 in QUICBidirectionalStream::will_generate_frame (this=0x2acd3320c000, level=QUICEncryptionLevel::ONE_RTT, current_packet_size=6, ack_eliciting=false, seq_num=973) at QUICBidirectionalStream.cc:359
#2 0x0000000000ac74b5 in QUICStreamManager::will_generate_frame (this=0x2acd4041a2c0, level=QUICEncryptionLevel::ONE_RTT, current_packet_size=6, ack_eliciting=false, seq_num=973) at QUICStreamManager.cc:426
#3 0x0000000000a42167 in QUICNetVConnection::_packetize_frames (this=0x2acd422a12c0, packet_buf=0x2acd304006a0 "\360\006@0\315*", level=QUICEncryptionLevel::ONE_RTT, max_packet_size=1280, frames=std::vector of length 1, capacity 1 = {...}) at QUICNetVConnection.cc:1685
#4 0x0000000000a412a3 in QUICNetVConnection::_state_common_send_packet (this=0x2acd422a12c0) at QUICNetVConnection.cc:1529
#5 0x0000000000a3e093 in QUICNetVConnection::state_connection_established (this=0x2acd422a12c0, event=2501, data=0x2acd2e704720) at QUICNetVConnection.cc:900
#6 0x000000000075dc05 in Continuation::handleEvent (this=0x2acd422a12c0, event=2501, data=0x2acd2e704720) at /usr/local/src/trafficserver/iocore/eventsystem/I_Continuation.h:190
#7 0x0000000000a834e9 in EThread::process_event (this=0x2acd2f513000, e=0x2acd2e704720, calling_code=2501) at UnixEThread.cc:127
#8 0x0000000000a83a8f in EThread::execute_regular (this=0x2acd2f513000) at UnixEThread.cc:236
#9 0x0000000000a83dcd in EThread::execute (this=0x2acd2f513000) at UnixEThread.cc:327
#10 0x0000000000a82839 in spawn_thread_internal (a=0x2acd2e6f58c0) at Thread.cc:92
#11 0x00002acd2c6e7ea5 in start_thread () from /lib64/libpthread.so.0
#12 0x00002acd2d41d8dd in clone () from /lib64/libc.so.6
The stream seems like to be created by receiving RESET_STREAM frame according to _state below. If so, uninitialized _write_vio makes sense because no data would be transferred between the stream and the application. We probably need to add a check for availability of _write_vio.
Activity
maskit commentedon Aug 14, 2020
The stream seems like to be created by receiving RESET_STREAM frame according to
_statebelow. If so, uninitialized_write_viomakes sense because no data would be transferred between the stream and the application. We probably need to add a check for availability of_write_vio.this->_state
Check VIO availability before checking whether the VIO has data
Check VIO availability before checking whether the VIO has data
Check VIO availability before checking whether the VIO has data (#7120)
Check VIO availability before checking whether the VIO has data (#7120)
Check VIO availability before checking whether the VIO has data (apac…