Changeset 99086 in vbox for trunk/src/VBox/ValidationKit/common
- Timestamp:
- Mar 21, 2023 12:43:25 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/common/utils.py
r98931 r99086 1460 1460 # Some other useful locations as fallback. 1461 1461 asDmpDirs.extend([ 1462 u'/var/cores/', 1463 u'/var/core/', 1462 u'/var/cores/' 1464 1463 ]); 1465 1464 # … … 1469 1468 # the host needs to be tweaked via: 1470 1469 # 1471 # ```coreadm -g / path/to/cores/core.%f.%p```1470 # ```coreadm -g /var/cores/core.%f.%p``` 1472 1471 # 1473 sMatch Suffix = '.%u.core' % (uPid,);1472 sMatchRegEx = r'core\..*\.%u' % (uPid); 1474 1473 for sDir in asDmpDirs: 1475 1474 sDir = os.path.expandvars(sDir); … … 1482 1481 for sEntry in asDirEntries: 1483 1482 fnLog('Entry: %s' % (os.path.join(sDir, sEntry))); 1484 if sEntry.endswith(sMatchSuffix):1483 if re.search(sMatchRegEx, sEntry): 1485 1484 sFull = os.path.join(sDir, sEntry); 1486 1485 fnLog('Found crash dump for %u: %s' % (uPid, sFull,));
Note:
See TracChangeset
for help on using the changeset viewer.