Changeset 32376 in vbox for trunk/src/VBox/Runtime/r3/solaris
- Timestamp:
- Sep 10, 2010 9:22:06 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/solaris/coredumper-solaris.cpp
r32374 r32376 2138 2138 CORELOGRELSYS((CORELOG_NAME "TakeDump failed! rc=%Rrc\n", rc)); 2139 2139 } 2140 else 2140 else if (Sig == SIGSEGV || Sig == SIGBUS) 2141 2141 { 2142 2142 /* … … 2151 2151 */ 2152 2152 if (ASMAtomicReadU64(&g_CoreDumpThread) != (uint64_t)RTThreadSelf()) 2153 { 2154 CORELOGRELSYS((CORELOG_NAME "SignalHandler: Core dumper (thread %u) crashed Sig=%d. Triggering system dump\n", 2155 RTThreadSelf(), Sig)); 2153 2156 fCallSystemDump = true; 2157 } 2154 2158 else 2155 2159 { 2156 CORELOGRELSYS((CORELOG_NAME "SignalHandler: Core dump already in progress! Waiting before signalling Sig=%d.\n", Sig)); 2157 int64_t iTimeout = 10000; /* timeout (ms) */ 2160 /* 2161 * Some other thread in the process is triggering a crash, wait a while 2162 * to let our core dumper finish, on timeout trigger system dump. 2163 */ 2164 CORELOGRELSYS((CORELOG_NAME "SignalHandler: Core dump already in progress! Waiting a while for completion Sig=%d.\n", Sig)); 2165 int64_t iTimeout = 16000; /* timeout (ms) */ 2158 2166 while (ASMAtomicReadBool(&g_fCoreDumpInProgress) == true) 2159 2167 { … … 2166 2174 { 2167 2175 fCallSystemDump = true; 2168 CORELOGRELSYS((CORELOG_NAME "SignalHandler: Core dump seems to be stuck. Signalling new signal %d\n", Sig));2176 CORELOGRELSYS((CORELOG_NAME "SignalHandler: Core dumper seems to be stuck. Signalling new signal %d\n", Sig)); 2169 2177 } 2170 2178 }
Note:
See TracChangeset
for help on using the changeset viewer.