You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by GitBox <gi...@apache.org> on 2020/08/13 23:25:23 UTC

[GitHub] [trafficserver] maskit opened a new issue #7114: Assertion failure: "size_added != 0" in QUICNetVConnection::_store_frame

maskit opened a new issue #7114:
URL: https://github.com/apache/trafficserver/issues/7114


   Found on Docs
   
   ```
   (gdb) bt
   #0  0x00002b14fec07387 in raise () from /lib64/libc.so.6
   #1  0x00002b14fec08a78 in abort () from /lib64/libc.so.6
   #2  0x00002b14fce57f29 in ink_abort (message_format=0x2b14fcec6e40 "%s:%d: failed assertion `%s`") at ink_error.cc:99
   #3  0x00002b14fce54f80 in _ink_assert (expression=0xbbc6cd "size_added != 0", file=0xbbc0d6 "QUICNetVConnection.cc", line=1635) at ink_assert.cc:37
   #4  0x0000000000a41cad in QUICNetVConnection::_store_frame (this=0x2b1513310b20, parent_block=..., size_added=@0x2b15020025c0: 0, max_frame_size=@0x2b15020025d8: 2, frame=..., frames=std::vector of length 4, capacity 4 = {...}) at QUICNetVConnection.cc:1635
   #5  0x0000000000a42555 in QUICNetVConnection::_packetize_frames (this=0x2b1513310b20, packet_buf=0x2b15020026a0 "\300(", level=QUICEncryptionLevel::ONE_RTT, max_packet_size=1280, frames=std::vector of length 4, capacity 4 = {...}) at QUICNetVConnection.cc:1715
   #6  0x0000000000a412a3 in QUICNetVConnection::_state_common_send_packet (this=0x2b1513310b20) at QUICNetVConnection.cc:1529
   #7  0x0000000000a3e093 in QUICNetVConnection::state_connection_established (this=0x2b1513310b20, event=2501, data=0x2b14fff04600) at QUICNetVConnection.cc:900
   #8  0x000000000075dc05 in Continuation::handleEvent (this=0x2b1513310b20, event=2501, data=0x2b14fff04600) at /usr/local/src/trafficserver/iocore/eventsystem/I_Continuation.h:190
   #9  0x0000000000a834e9 in EThread::process_event (this=0x2b1501006000, e=0x2b14fff04600, calling_code=2501) at UnixEThread.cc:127
   #10 0x0000000000a83a8f in EThread::execute_regular (this=0x2b1501006000) at UnixEThread.cc:236
   #11 0x0000000000a83dcd in EThread::execute (this=0x2b1501006000) at UnixEThread.cc:327
   #12 0x0000000000a82839 in spawn_thread_internal (a=0x2b14ffef5940) at Thread.cc:92
   #13 0x00002b14fdf99ea5 in start_thread () from /lib64/libpthread.so.0
   #14 0x00002b14feccf8dd in clone () from /lib64/libc.so.6
   ```
   
   On frame 4:
   ```
   (gdb) p frame
   $1 = (QUICFrame &) @0x2b15020024c0: {
     _vptr.QUICFrame = 0xbd9a48 <vtable for QUICRstStreamFrame+16>, 
     link = {
       <SLink<QUICFrame>> = {
         next = 0x0
       }, 
       members of Link<QUICFrame>: 
       prev = 0x0
     }, 
     _size = 0, 
     _valid = false, 
     _id = 12, 
     _owner = 0x2b1511f6ec50, 
     _packet = 0x0
   }
   (gdb) p frame->_owner
   $2 = (QUICFrameGenerator *) 0x2b1511f6ec50
   (gdb) p *frame->_owner
   $3 = {
     _vptr.QUICFrameGenerator = 0xbe9c28 <vtable for QUICBidirectionalStream+288>, 
     _latest_frame_Id = 13, 
     _encryption_level_filter = QUICEncryptionLevel::ONE_RTT, 
     _info = std::map with 47369261061120 elements<error reading variable: Cannot access memory at address 0x18>
   }
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficserver] zwoop closed issue #7114: Assertion failure: "size_added != 0" in QUICNetVConnection::_store_frame

Posted by GitBox <gi...@apache.org>.
zwoop closed issue #7114:
URL: https://github.com/apache/trafficserver/issues/7114


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficserver] maskit commented on issue #7114: Assertion failure: "size_added != 0" in QUICNetVConnection::_store_frame

Posted by GitBox <gi...@apache.org>.
maskit commented on issue #7114:
URL: https://github.com/apache/trafficserver/issues/7114#issuecomment-673759143


   In `QUICBidirectionalStream::generate_fram`, `maximum_frame_size` is used only for STREAM frame. Need to check the generated frame size for all frame types and return null frame if the frame size exceeds the limit.
   
   Also need to check if other frame generators check the limit.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org