Jump to content
terran

No Call Stack in CPU window, or App hangs, and what to do next?

Recommended Posts

My App hangs, and I clicked Pause, and got into the CPU window. But Call Stack is empty.

In CPU window, there's ntdll.RtlUserThreadStart, and after pressing F8, in Call Stack window there's only one line :77eb97cc ntdll.RtlInitializeExceptionChain + 0x1d , and after pressing F8 several times after command 77EB97E0 E806000000       call $77eb97eb ,  it started to run (keeps freezing), and "Process is not accessible". What should I do?

 

Application is a DLL attached to EXE.

Of course, module "Has debug info".

Edited by terran

Share this post


Link to post

It hangs on this line when pressing F7:

 

ntdll.NtQueryInformationThread:
77E9FC08 B822000000       mov eax,$00000022
77E9FC0D 33C9             xor ecx,ecx
77E9FC0F 8D542404         lea edx,[esp+$04]
77E9FC13 64FF15C0000000   call dword ptr fs:[$000000c0]
77E9FC1A 83C404           add esp,$04
77E9FC1D C21400           ret $0014

 

Stack:

:77e9fc1a ntdll.NtQueryInformationThread + 0x12
:77f1f3fd ntdll.DbgUiRemoteBreakin + 0x53
:7675343d kernel32.BaseThreadInitThunk + 0x12
:77eb9812 ntdll.RtlInitializeExceptionChain + 0x63
:77eb97e5 ntdll.RtlInitializeExceptionChain + 0x36

Share this post


Link to post

no code, no (possible) solution!

  • basic infos it's necessary to start
    • how is it ( environment: O.S./platform/etc...)
    • how is it (DLL/ how is it called/ etc..)
    • etc.. etc.. etc...

Share this post


Link to post

1. Plugin for Total Commander (32-bit). Total Commander is a Host App, plugin is a DLL.

2. Win7 / Delphi10

3. Plugin is running in separate thread (this is not documented, but can be seen in process explorer)

4. Error in plugin (infinite loop, as it turned out later)

5. CPU window shows not my plugin's code, or even thread, but the Host App's thread

6. No possibility to switch to another thread, or find out about its existence

7. No My or Host App's code when Step over/Trace into (F7/F8), only ntdll.dll ?

8. ???

Edited by terran

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×