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

Wireshark-dev: Re: [Wireshark-dev] Query Regarding debugging

From: Richard van der Hoff <richardv@xxxxxxxxxxxxx>
Date: Mon, 13 Aug 2007 15:49:53 +0100
Luis EG Ontanon wrote:
putting some printfs is possible (there are some issues on why you
might want to avoid it during protocol registration) but the Access
Violation is probably due to a NULL or ivalid pointer passed to
printf.

[Dissector bug...] implies a wireshark-internal exception, does it not? (As opposed to a segfault.)

Most likely thing is that it's not the printf at all, but a tvb_* function you are also calling, with bad arguments.