Wireshark-dev: Re: [Wireshark-dev] Plugin crash
From: Stephen Fisher <[email protected]>
Date: Thu, 19 Jun 2008 21:50:56 -0600
On Wed, Jun 18, 2008 at 10:08:53AM -0500, Matt Poduska wrote:

> I'm working to build a new protocol dissector as a plugin. My plugin 
> used to load and work properly, but I've recently (within the last few 
> weeks or so) updated to the SVN head and now my plugin crashes 
> Wireshark at startup (while loading plugins). I've been able to trace 
> the crash to a call to proto_register_field_array (line 682 of the 
> attached file). If I remove the line, the dissector loads properly 
> (but won't dissect properly, of course). I don't know why it's now 
> crashing (I haven't changed the dissector), and I haven't found an 
> acceptable way to debug this type of problem. Any suggestions?

What platform are you developing on, Unix or Windows?  Did you get any 
other information from the method you used to track down which line it's 
crashing on (what method did you use to determine where it was 
crashing?)?


Steve