Author Topic: Problem with Ollydbg on Windows7  (Read 2300 times)

p3tr0va

  • Guest
Problem with Ollydbg on Windows7
« on: May 09, 2014, 03:11:23 AM »
Hi to everyone.

I am trying to debug a program with Ollydbg v1.10 on a virtual machine running Windows 7 32bits, the program use the GetOpenFileName() and GetSaveFileName() functions.
I press F9 to run the program and when I click on the Open file menu option in the program, it ends up in a paused state.

This happens with all the programs that I have tried to debug with Ollydbg on Windows 7 and use the aforementioned functions.

Why this happens?

There is not problem when I work on Windows XP sp3 32bits.

jj2007

  • Member
  • *****
  • Posts: 7752
  • Assembler is fun ;-)
    • MasmBasic
Re: Problem with Ollydbg on Windows7
« Reply #1 on: May 09, 2014, 03:20:55 AM »

Vortex

  • Member
  • *****
  • Posts: 1730
Re: Problem with Ollydbg on Windows7
« Reply #2 on: May 09, 2014, 04:37:34 AM »
What's the result with OllyDbg 2.01?

http://www.ollydbg.de/version2.html

p3tr0va

  • Guest
Re: Problem with Ollydbg on Windows7
« Reply #3 on: May 09, 2014, 10:43:32 AM »
Known problem:
http://www.masmforum.com/board/index.php?topic=10458.msg76659#msg76659
http://www.masmforum.com/board/index.php?topic=12649.0

Google for getopenfilename exception to see more.

Known problem, but, so far, unknown solution.
It's the same with Ollydbg 2.01.
I have decided to ignore the exception and add it to the list of exceptions to ignore in Ollydbg.

Thanks for your help.

dedndave

  • Member
  • *****
  • Posts: 8751
  • Still using Abacus 2.0
    • DednDave
Re: Problem with Ollydbg on Windows7
« Reply #4 on: May 09, 2014, 12:28:41 PM »
a big change with windows 7 was window hierarchy for controls and dialogs
they added a layer (or more) for all kinds of controls
they call them "worker" windows - kind of analogous to "wrapper" functions

one might guess they use these worker windows to employ a C "try-catch-throw-block" mechanism
that might explain why the exception occurs
and, it may provide a hint to a solution

jj2007

  • Member
  • *****
  • Posts: 7752
  • Assembler is fun ;-)
    • MasmBasic
Re: Problem with Ollydbg on Windows7
« Reply #5 on: May 09, 2014, 03:15:53 PM »
I have decided to ignore the exception and add it to the list of exceptions to ignore in Ollydbg.

That is indeed a straightforward solution :t