Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 5285] Wireshark crashes with "Gtk-ERROR **: Byte index 6 i

Date: Thu, 28 Oct 2010 10:41:51 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5285

--- Comment #10 from Alexander Koeppe <format_c@xxxxxxxxx> 2010-10-28 10:41:49 PDT ---
I aggree. I also think, that there is a general issue whether in the functions
that registers elements in the tree or the functions that are responsible for
marking the representing bytes in the data sub-window.

But anyway, in this case 7 PDUs (221+221+221+223+221+223+222) + 118 = 1670
Bytes  is definetely more TCP payload than what's actually in the capture or in
the packet.

So for my understanding, there are two issues here:

  (1) displaying the uncomplete PDU in the TCP tree with it's assumed size from
the subdissector is definetely wrong

  (2) I've seen many similar bugs that have all the same symptom and originate
from the functions that are responsible for marking the representing bytes
(maybe `tree_view_selection_changed_cb()'). The root cause for that errors come
(as with this bug) from other strange constraints. But I think, one of these
routines, are maybe too lazy with checking the amount of data that's available
before displaying or just highlighting it. The Gtk-Error is just a consequence.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.