Author Topic: InternetOpenUrlA crashes  (Read 333 times)

jj2007

  • Member
  • *****
  • Posts: 13283
  • Assembly is fun ;-)
    • MasmBasic
InternetOpenUrlA crashes
« on: July 28, 2022, 01:11:45 AM »
Does anybody have experience with debugging InternetOpenUrlA? Both Olly and DebugHeap 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 but no answer :sad:
Masm32 Tips, Tricks and Traps

Some members can't live without insulting others. It tells us a lot about them.

Vortex

  • Member
  • *****
  • Posts: 2716
Re: InternetOpenUrlA crashes
« Reply #1 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/

jj2007

  • Member
  • *****
  • Posts: 13283
  • Assembly is fun ;-)
    • MasmBasic
Re: InternetOpenUrlA crashes
« Reply #2 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.
Masm32 Tips, Tricks and Traps

Some members can't live without insulting others. It tells us a lot about them.

jj2007

  • Member
  • *****
  • Posts: 13283
  • Assembly is fun ;-)
    • MasmBasic
Re: InternetOpenUrlA crashes
« Reply #3 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.
« Last Edit: July 28, 2022, 08:55:09 PM by jj2007 »
Masm32 Tips, Tricks and Traps

Some members can't live without insulting others. It tells us a lot about them.