���� JFIF �� � ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /home/real/node-v13.0.1/test/abort/ |
'use strict'; const common = require('../common'); if (common.isWindows) common.skip('No signals on Window'); const assert = require('assert'); const { spawnSync } = require('child_process'); // Test that a hard crash does not cause an endless loop. if (process.argv[2] === 'child') { const { internalBinding } = require('internal/test/binding'); const { causeSegfault } = internalBinding('process_methods'); causeSegfault(); } else { const child = spawnSync(process.execPath, ['--expose-internals', __filename, 'child'], { stdio: 'inherit' }); // FreeBSD and macOS use SIGILL for the kind of crash we're causing here. assert(child.signal === 'SIGSEGV' || child.signal === 'SIGILL', `child.signal = ${child.signal}`); }