https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6256
--- Comment #11 from Chris Maynard <christopher.maynard@xxxxxxxxx> 2011-08-24 11:33:32 PDT ---
(In reply to comment #8)
> (We might want to see why this causes a crash on Windows but just error message
> spam on OS X and probably other UN*Xes; there might be a bug in the Windows
> version of the code - which is different because there ain't no poll() on
> Windows - that causes a crash when reporting errors.)
Before Michael's change, it was blowing up on the 2nd iteration through the
gui_utils.c:pipe_timer_cb() while() loop at line 677:
handle = (HANDLE) _get_osfhandle (pipe_input->source);
Here's the Windows call stack:
msvcr100.dll!_crt_debugger_hook(int _Reserved) Line 65 C
msvcr100.dll!_call_reportfault(int nDbgHookCode, unsigned long
dwExceptionCode, unsigned long dwExceptionFlags) Line 167 + 0x6 bytes C++
msvcr100.dll!_invoke_watson(const wchar_t * pszExpression, const wchar_t *
pszFunction, const wchar_t * pszFile, unsigned int nLine, unsigned int
pReserved) Line 155 + 0xf bytes C++
msvcr100.dll!_invalid_parameter(const wchar_t * pszExpression, const
wchar_t * pszFunction, const wchar_t * pszFile, unsigned int nLine, unsigned
int pReserved) Line 110 + 0x14 bytes C++
msvcr100.dll!_invalid_parameter_noinfo() Line 121 + 0xc bytes C++
msvcr100.dll!_get_osfhandle(int fh) Line 315 + 0x24 bytes C
> wireshark.exe!pipe_timer_cb(void * data) Line 691 + 0xc bytes C
libglib-2.0-0.dll!685f1dde()
[Frames below may be incorrect and/or missing, no symbols loaded for
libglib-2.0-0.dll]
libgtk-win32-2.0-0.dll!61857810()
wireshark.exe!main(int argc, char * * argv) Line 3069 C
wireshark.exe!WinMain(HINSTANCE__ * hInstance, HINSTANCE__ *
hPrevInstance, char * lpszCmdLine, int nCmdShow) Line 3134 + 0x17 bytes C
wireshark.exe!__tmainCRTStartup() Line 547 + 0x1c bytes C
kernel32.dll!7c817077()
wireshark.exe!view_menu_en_for_MAC_cb(_GtkAction * action, void *
user_data) Line 735 + 0xe bytes C
5de58b10()
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.