VirtualBox

Changes between Initial Version and Version 1 of Ticket #16409


Ignore:
Timestamp:
Jan 20, 2017 10:37:29 AM (7 years ago)
Author:
Frank Mehnert
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16409 – Description

    initial v1  
    22The overflow is caused by an endless recursion started by CComCriticalSection. CComCriticalSection creates a critical section that calls Log (in rtThreadAdopt) which again later on locks a critical section and so on and so on.
    33
    4 The problem is that CExeModule is defined as a global variable in svcmain.cpp and when its constructor is called RTR3InitExe has not been called yet. This was fixed in https://www.virtualbox.org/changeset/60865/vbox/trunk/src/VBox/Main/src-server/win/svcmain.cpp but was reintroduced in https://www.virtualbox.org/changeset/62701/vbox/trunk/src/VBox/Main/src-server/win/svcmain.cpp
     4The problem is that CExeModule is defined as a global variable in svcmain.cpp and when its constructor is called RTR3InitExe has not been called yet. This was fixed in [https://www.virtualbox.org/changeset/60865/vbox/trunk/src/VBox/Main/src-server/win/svcmain.cpp r60865] but was reintroduced in [https://www.virtualbox.org/changeset/62701/vbox/trunk/src/VBox/Main/src-server/win/svcmain.cpp r62701].

© 2023 Oracle
ContactPrivacy policyTerms of Use