Closed GoogleCodeExporter closed 9 years ago
I'm not able to reproduce Scenario 1 and 2 at all despite multiple retries.
Scenario 3 I'm able to reproduce - can you confirm that, clicking ok and
editing the stream again displays the correct ethtype. (in other words, this is
just a transient display issue)
Original comment by pstav...@gmail.com
on 5 Oct 2014 at 8:03
Scenario 1:
Issue has low reproducibility of 10%, but still exists, see attachment:
issue_131.1
Scenario 2 as Scenario 3 is transient display issue.
Scenario 2:
Issue is reproduced, when packet with not appropriate sequence of
protocols(EthII, MAC, IPv4) is opened in 'Protocol Data' tab and then
corrected, after this Ethertype value doesn't change to expected(0800), but
Packet View displays correctly - 0800. see attachment: issue_131.2(1&2)
Original comment by developers@plvision.eu
on 16 Oct 2014 at 11:45
Attachments:
Since Scenario #2 and #3 are transient display only issues, I don't plan to fix
them.
Scenario #1 I was able to reproduce once after several tries and I think I know
what the problem is. Since you are able to repro with much more probability,
can you try the below patch and see if it fixes the problem -
diff --git a/client/streamconfigdialog.cpp b/client/streamconfigdialog.cpp
--- a/client/streamconfigdialog.cpp
+++ b/client/streamconfigdialog.cpp
@@ -516,6 +516,8 @@ void StreamConfigDialog::on_tbDelete_cli
Q_CHECK_PTR(p);
_iter->remove();
+ // Free both protocol and associated widget
+ delete _protocolWidgets.take(p);
delete p;
updateSelectProtocolsAdvancedWidget();
@@ -835,6 +837,8 @@ void StreamConfigDialog::__updateProtoco
newId, mpStream));
else
_iter->remove();
+ // Free both protocol and associated widget
+ delete _protocolWidgets.take(p);
delete p;
if (level == ProtoPayload)
{
@@ -842,6 +846,8 @@ void StreamConfigDialog::__updateProtoco
{
p = _iter->next();
_iter->remove();
+ // Free both protocol and associated widget
+ delete _protocolWidgets.take(p);
delete p;
}
}
Original comment by pstav...@gmail.com
on 6 Nov 2014 at 4:51
Issue (#1) is not reproducible with provided patch.
Original comment by developers@plvision.eu
on 7 Nov 2014 at 1:06
This issue was closed by revision 66abe28575f0.
Original comment by pstav...@gmail.com
on 7 Nov 2014 at 2:52
Verified.
Original comment by developers@plvision.eu
on 10 Nov 2014 at 1:54
Original issue reported on code.google.com by
developers@plvision.eu
on 22 Sep 2014 at 1:13