Last active
August 29, 2015 14:24
-
-
Save trevnorris/3020992033100bdcaef9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (gdb) r | |
| Starting program: /var/projects/nubjs-deps/v8/out/x64.debug/d8 /tmp/crash.js | |
| [Thread debugging using libthread_db enabled] | |
| Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". | |
| # | |
| # Fatal error in CALL_AND_RETRY_LAST | |
| # Allocation failed - process out of memory | |
| # | |
| [New Thread 0x7f2648c61700 (LWP 20010)] | |
| [New Thread 0x7f2649462700 (LWP 20009)] | |
| [New Thread 0x7f2649c63700 (LWP 20008)] | |
| [New Thread 0x7f264a464700 (LWP 20007)] | |
| [New Thread 0x7f264ac65700 (LWP 20006)] | |
| Program received signal SIGILL, Illegal instruction. | |
| v8::base::OS::Abort () at ../src/base/platform/platform-posix.cc:230 | |
| 230 V8_IMMEDIATE_CRASH(); | |
| (gdb) jst | |
| ==== JS stack trace ========================================= | |
| Security context: 0x3e9503b48bb9 <JS Object>#0# | |
| 2: zzz [/tmp/crash.js:~3] (this=0x3e9503b8da29 <JS Global Object>#1#) | |
| 3: yyy [/tmp/crash.js:13] (this=0x3e9503b8da29 <JS Global Object>#1#) | |
| 4: xxx [/tmp/crash.js:14] (this=0x3e9503b8da29 <JS Global Object>#1#) | |
| 5: /* anonymous */ [/tmp/crash.js:17] (this=0x3e9503b8da29 <JS Global Object>#1#) | |
| ==== Details ================================================ | |
| [2]: zzz [/tmp/crash.js:~3] (this=0x3e9503b8da29 <JS Global Object>#1#) { | |
| // optimized frame | |
| } | |
| [3]: yyy [/tmp/crash.js:13] (this=0x3e9503b8da29 <JS Global Object>#1#) { | |
| // expression stack (top to bottom) | |
| [02] : 0x3e9503b8da29 <JS Global Object>#1# | |
| [01] : 0x3e9503b8da71 <JS Function zzz (SharedFunctionInfo 0x3e9503b4bb39)>#2# | |
| [00] : 0x3e9503b8dab9 <JS Function yyy (SharedFunctionInfo 0x3e9503b4bc31)>#3# | |
| --------- s o u r c e c o d e --------- | |
| function yyy() { | |
| (function zzz() { | |
| if (this.process) | |
| process.abort(); | |
| var a = []; | |
| while (true) { | |
| var s = Math.random().toString(); | |
| while (s.length < 0xfffff) | |
| s += s; | |
| a.push(s); | |
| } | |
| }()); | |
| } | |
| ----------------------------------------- | |
| } | |
| [4]: xxx [/tmp/crash.js:14] (this=0x3e9503b8da29 <JS Global Object>#1#) { | |
| // expression stack (top to bottom) | |
| [01] : 0x3e9503b8da29 <JS Global Object>#1# | |
| [00] : 0x3e9503b8dab9 <JS Function yyy (SharedFunctionInfo 0x3e9503b4bc31)>#3# | |
| --------- s o u r c e c o d e --------- | |
| function xxx() { | |
| (function yyy() { | |
| (function zzz() { | |
| if (this.process) | |
| process.abort(); | |
| var a = []; | |
| while (true) { | |
| var s = Math.random().toString(); | |
| while (s.length < 0xfffff) | |
| s += s; | |
| a.push(s); | |
| } | |
| }()); | |
| }()); | |
| } | |
| ----------------------------------------- | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment