Hello community,
I have a problem with the SAP NetWeaver RFC SDK. Once in a while I get a crash with such error message:
Unhandled exception at 0x000007FEF1D3DD6E (sapnwrfc.dll) in bridgeserver.exe.22108.dmp: 0xC0000005: Access violation reading location 0x0000000000000008.
Basically I get function metadata, set the call parameters using the API calls and call RfcInvoke. It crashes. The callstack is:
sapnwrfc.dll!000007fef1d3dd6e() | |
sapnwrfc.dll!000007fef1d56613() | |
msvcr80.dll!_CallSettingFrame () | |
msvcr80.dll!__CxxCallCatchBlock () | |
ntdll.dll!RcConsolidateFrames () | |
sapnwrfc.dll!000007fef1d5653a() | |
sapnwrfc.dll!000007fef1d2c4f7() | |
call RfcInvoke from my code |
I've got the call stack from one of the two crash dumps I've got. I took a look on the registers and assembly of the top frame and it looks like an indirect acces to a field of a structure but the pointer to structure is NULL.
Is there any way I can debug it further? I'm already pretty sure that the parameters to RfcInvoke are correct (no messed-up pointers).