VirtualBox

Changeset 106168 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Sep 27, 2024 2:13:17 PM (4 months ago)
Author:
vboxsync
Message:

VMM/PDMThread: More thread failure details in the release log.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PDMThread.cpp

    r106061 r106168  
    683683    }
    684684
    685     AssertMsgFailed(("rc=%d enmState=%d\n", rc, pThread->enmState));
     685    AssertLogRelMsgFailed(("rc=%d enmState=%d\n", rc, pThread->enmState));
    686686    pdmR3ThreadBailMeOut(pThread);
    687687    return rc;
     
    719719    }
    720720
    721     AssertMsgFailed(("rc=%d enmState=%d\n", rc, pThread->enmState));
     721    AssertLogRelMsgFailed(("rc=%d enmState=%d\n", rc, pThread->enmState));
    722722    pdmR3ThreadBailMeOut(pThread);
    723723    return rc;
     
    840840
    841841    if (RT_FAILURE(rc))
    842         LogRel(("PDMThread: Thread '%s' (%RTthrd) quit unexpectedly with rc=%Rrc.\n", RTThreadGetName(Thread), Thread, rc));
     842        LogRel(("PDMThread: Thread '%s' (%RTthrd) quit unexpectedly with rc=%Rrc in state %d.\n",
     843                RTThreadGetName(Thread), Thread, rc, pThread->enmState));
     844    else if (pThread->enmState != PDMTHREADSTATE_TERMINATING)
     845        LogRel(("PDMThread: Thread '%s' (%RTthrd) is quitting in state %d (expected %d).\n",
     846                RTThreadGetName(Thread), Thread, pThread->enmState, PDMTHREADSTATE_TERMINATING));
    843847
    844848    /*
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette