Wireshark-dev: Re: [Wireshark-dev] Wireshark w/ MSVC++ 2005 EE fails to capture
From: Stephen Fisher <stephentfisher@xxxxxxxxx>
Date: Thu, 25 Jan 2007 16:36:33 -0800
On Thu, Jan 25, 2007 at 10:53:32PM +0100, Ulf Lamping wrote:
> Stephen Fisher wrote:

> > When I run MSVC++ and attach to the process to debug before it 
> > crashes, it fails on line 650 of gui_utils.c.  The line is within 
> > pipe_timer_cb() and says:
> >
> > 	handle = (HANDLE) _get_osfhandle (pipe_input->source);

> Hmmm, don't look familiar. I can capture with a msvc2005ee build 
> without problems.

Ok, good to know that it's an isolated case.

> Out of the blue: did you made a distclean before the actual build? 
> That saved me from several headaches!

Yes.
 
> What capture options did you choose? Special interface, ring buffer, 
> ...? Can you "play" a bit and see if it crashes on other "i/o" 
> operations (open a file, print, ...) too?

Opening a file causes the error "The file <filename> could not be opened 
for some unknown reason."  I tried Moving my preferences & recent files 
out of the way to use the defaults and it still crashes.  It crashes 
when I clear all of the special options in the capture dialog too.  
Crashes with wired, wireless Ethernet or AirPcap adapter.

I'll have to learn to debug on Windows so I can figure this one out :)

> BTW: I assume that you run WS on the devel machine :-)

Yes.


Thanks,
  Steve