VirtualBox

Changeset 32377 in vbox


Ignore:
Timestamp:
Sep 10, 2010 9:32:19 AM (14 years ago)
Author:
vboxsync
Message:

Runtime/r3/solaris: signal handler fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/solaris/coredumper-solaris.cpp

    r32376 r32377  
    21502150         * Wait only when the dumping thread is not the one generating this signal.
    21512151         */
    2152         if (ASMAtomicReadU64(&g_CoreDumpThread) != (uint64_t)RTThreadSelf())
     2152        if (ASMAtomicReadU64(&g_CoreDumpThread) == (uint64_t)RTThreadSelf())
    21532153        {
    21542154            CORELOGRELSYS((CORELOG_NAME "SignalHandler: Core dumper (thread %u) crashed Sig=%d. Triggering system dump\n",
     
    22802280    sigAct.sa_sigaction = &rtCoreDumperSignalHandler;
    22812281    sigemptyset(&sigAct.sa_mask);
    2282     sigAct.sa_flags = SA_RESTART | SA_SIGINFO;
     2282    sigAct.sa_flags = SA_RESTART | SA_SIGINFO | SA_NODEFER;
    22832283
    22842284    if (fFlags & RTCOREDUMPER_FLAGS_REPLACE_SYSTEM_DUMP)
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