This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Call from VC++ application into cygwin-compiled dll crashes in NTDLL.DLL


Hi all,

I trying to call some function in cygwin-compiled dll from VC++ app. This 
function in turn call socket() that leads to an AV in NTDLL.DLL (see stack 
below). PLease note that HFSDKPROXY is the cygwin-compiled dll dynamically 
loaded in runtime. Dll was prepared using the recipes from 
http://sources.redhat.com/cygwin/building-reloc-dlls.txt. If someone knows 
possible cause for this or even some way to cure/workaround this please help 
me.

BR

  Max

NTDLL! RtlpWaitForCriticalSection + 96 bytes
NTDLL! ZwAllocateVirtualMemory + 20 bytes
CYGWIN1! socket + 31 bytes
HFSDKPROXY! hfOpenServer + 20 bytes
HFInterpreter::parse(const 
_STL::basic_string<char,_STL::char_traits<char>,_STL::allocator<char> > & 
{...}) line 37 + 19 bytes
CMainApp::parseString() line 210
CMainApp::init(Tcl_Interp * 0x001524c4) line 37
MAMVRS_TK! RImage::RImage(class RImage const &) + 22567 bytes
main(int 0x00000002, char * * 0x022213a0) line 9
mainCRTStartup() line 206 + 25 bytes
KERNEL32! GetCommandLineW + 2345 bytes

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]