Wireshark-bugs: [Wireshark-bugs] [Bug 11044] New: The packet dialog triggers a crash when the ca
      
      
    
    
        
          | Bug ID | 
          11044
           | 
        
        
          | Summary | 
          The packet dialog triggers a crash when the capture file is reloaded
           | 
        
        
          | Product | 
          Wireshark
           | 
        
        
          | Version | 
          Git
           | 
        
        
          | Hardware | 
          All
           | 
        
        
          | OS | 
          All
           | 
        
        
          | Status | 
          UNCONFIRMED
           | 
        
        
          | Severity | 
          Major
           | 
        
        
          | Priority | 
          Medium
           | 
        
        
          | Component | 
          Qt UI
           | 
        
        
          | Assignee | 
          bugzilla-admin@wireshark.org
           | 
        
        
          | Reporter | 
          peter@lekensteyn.nl
           | 
        
        
          | CC | 
          gerald@wireshark.org
           | 
        
      
        
        Build Information:
v1.99.4rc0-34-g6bc138c
--
When an packet dialog is open and the packet capture is reloaded, a crash can
occur when:
 - double-click on a line (triggers a null ptr-deref).
 - expand/collapse items (triggers an assertion error due to null fi).
 - change data sources tabs (and/or byte selection?).
Another (related?) issue with the packet dialog is that the byte view
disappears after a reload.
in proto_tree.cpp, clear() will drop all items, but no
ProtoTree::fillProtocolTree is called to refresh the contents.
While the callers could be hacked to do all this manual labor, what about
converting from QTreeWidget to a Model/View approach where we have one Model
with many Views (the main packet details window and zero or more packet
dialogs)?
         
      
      
      You are receiving this mail because:
      
      
          - You are watching all bug changes.