Using WinPcap in a cygwin application

Jon Beniston jon@beniston.com
Mon Jan 18 13:06:00 GMT 2010


Hi,

I'm trying to use WinPcap 4.1.1 in a program that links with cygwin1.dll
1.7.1-1. The program I have built runs successfully on Vista and Windows 7,
but fails with a SIGSEGV seemingly before it calls WinMainCRTStartup on
Windows XP SP3. 

The stack trace from insight is:

ntdll!LdrCreateOutofProcessImage
ntdll!RtlDeleteElementGenericTableAvl
ntdll!RtlReAllocateHeap+38 (This is where the SIGSEGV is).

Any suggestions what the problem might be? I understand there may be
complications using WinPcap with Cygwin as it is built for Ming, but I have
other programs that run ok.

Cheers,
Jon




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list