The MASM Forum

General => The Workshop => Topic started by: jj2007 on July 28, 2022, 01:11:45 AM

Title: InternetOpenUrlA crashes
Post by: jj2007 on July 28, 2022, 01:11:45 AM
Does anybody have experience with debugging InternetOpenUrlA? Both Olly and DebugHeap (http://masm32.com/board/index.php?topic=9758.msg106971#msg106971) complain bitterly about exceptions. With Olly, I end up with an invalid jump to 00000001h; with DebugHeap, I can recover by clicking "no". There is clearly something going on inside that call, but no answers on the web - just one question on SOF: InternetOpenUrl exception thrown (Kernelbase.dll) - Unknown interface (https://stackoverflow.com/questions/33419375/internetopenurl-exception-thrown-kernelbase-dll-unknown-interface) but no answer :sad:
Title: Re: InternetOpenUrlA crashes
Post by: Vortex on July 28, 2022, 05:19:32 AM
Hi Jochen,

Could you try x64dbg? It didn't throw an exception in my test :

https://x64dbg.com/
Title: Re: InternetOpenUrlA crashes
Post by: jj2007 on July 28, 2022, 10:36:11 AM
Hi Erol,

Thanks for the suggestion. I just downloaded the latest version, and X32 shows the same behaviour. Besides, I can't convince x32Dbg to show me symbols (no problem with Olly) :sad:

It could be a Windows 7-64 bug. The exception doesn't show in my XP VM.
Title: Re: InternetOpenUrlA crashes
Post by: jj2007 on July 28, 2022, 07:47:17 PM
P.S.: No more crash if I ignore exception 800706B5 alias "unknown interface" :cool:

It's mysterious: There is RPC_S_UNKNOWN_IF, but its value is decimal 1717. The 800706B5 does not appear in the VC header files, and yet a search for it has many hits to known problems, mainly related to Windows updating, i.e. access to Internet.