Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

winword hangs at startup #35

Open
vlucky opened this issue Apr 9, 2018 · 12 comments
Open

winword hangs at startup #35

vlucky opened this issue Apr 9, 2018 · 12 comments

Comments

@vlucky
Copy link

vlucky commented Apr 9, 2018

hi,

Today I observed winword.exe hangs at the startup (after showing splash screen, Not responding) while opening file.

OS: windows 10 64-bit v1709 (Build 16299.309)
Office version: office 2016

I was able to take the hang dump. please find the link below.

https://drive.google.com/open?id=1Ng1omYZcRowatnPCNcVZhgCJviYZUFgz

Please let me know, if you need additional information.

@mxmauro
Copy link
Contributor

mxmauro commented Apr 9, 2018

There exists some issues with AppV packages because AppV engine is no reentrant in some scenarios.

@vlucky
Copy link
Author

vlucky commented Apr 9, 2018

hi @mxmauro, thanks for the reply.
any work around?

@mxmauro
Copy link
Contributor

mxmauro commented Apr 9, 2018

Let us see. BTW: Did you use your compiled dlls? If yes please send me the pdb files.

@vlucky
Copy link
Author

vlucky commented Apr 9, 2018

No, If I am not mistaken, I am using the pre-compiled dlls.

@vlucky
Copy link
Author

vlucky commented May 24, 2018

hi @mxmauro , could you please update?

@vlucky
Copy link
Author

vlucky commented Sep 27, 2018

hi @mxmauro,

Please find below link for dumps for winword hang while startup & saving the file. The zip file included pdb files of deviare dlls.

https://drive.google.com/open?id=13mzwPDeaJnYz_24m0ANSYxoSxuFPbO9X

@mxmauro
Copy link
Contributor

mxmauro commented Oct 1, 2018

Hi @vlucky

The problem is something known: AppV subsystem uses by some versions of Office products hooks several native APIs and the code is non-reentrant.

Deviare2 generates some routines to make the syscall directly (see https://github.com/nektra/Deviare2/blob/802333b44b5bafc27d64a7d5dcf6ce4387b0d5a1/Source/Common/DynamicAPIs.cpp) but they must be ported to Deviare In-Proc too.

@vlucky
Copy link
Author

vlucky commented Feb 25, 2019

Hi @mxmauro,

recently powerpoint getting hanged when trying to "save as" edited file in network drive.

dump file can be found in the following location.
https://drive.google.com/open?id=1KffG7WOESI4q3rmo-LUipK-2_VgXh8oH

I am not sure this is just timing issue or same problem with AppV subsytem.

But anyway, could you please guide me to do it my self those modifications to fix the issues caused by AppV sub system (like porting function to deviare In-Proc).

Thanks.

@mxmauro
Copy link
Contributor

mxmauro commented Feb 25, 2019

Hi @vlucky can you upload the .pdb files of your build?

@vlucky
Copy link
Author

vlucky commented Feb 25, 2019

@mxmauro
Copy link
Contributor

mxmauro commented Feb 26, 2019

Hi @vlucky , I cannot see Deviare2 involved in the issues. The only threads were Deviare appears, are worker threads used for communication and the main Deviare thread.

@vlucky
Copy link
Author

vlucky commented Feb 27, 2019

Hi @mxmauro, thanks for the reply.
It might be the case, but when tried to reproduce the issue without deviare, we couldn't replicate the issue.

  1. may be the question is not related, but could you please let me know why the hang happened? or please point me in the right direction to pin point the issue.

  2. could you please guide me to fix the original issue i.e. hang of applications while hooking? i.e. as previously suggested by you to port the system calls from deviare to Deviare-In-Proc?

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants