Skip to content

Instantly share code, notes, and snippets.

@mmalecki
Created February 23, 2012 15:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mmalecki/1893330 to your computer and use it in GitHub Desktop.
Save mmalecki/1893330 to your computer and use it in GitHub Desktop.
GNU gdb (GDB) Fedora (7.2-52.fc14)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /mnt/Data/Maciej/Programowanie/src/node-g/node...done.
[?1034h(gdb) r
Starting program: /mnt/Data/Maciej/Programowanie/src/node-g/node --trace-deopt --trace-opt --trace-osr deps/npm/cli.js
[Thread debugging using libthread_db enabled]
[marking NativeModule.compile 0x27139fb4 for recompilation, reason: sampler window lookup]
[optimizing: NativeModule.compile / 27139fb5 - took 1.951 ms]
**** DEOPT: NativeModule.compile at bailout #16, address 0x0, frame size 32
[deoptimizing: begin 0x27139fb5 NativeModule.compile @16]
translating NativeModule.compile => node=40, height=8
0xbffff018: [top + 24] <- 0x3e723a41 ; [esp + 48] 0x3e723a41 <a NativeModule>
0xbffff014: [top + 20] <- 0x4b827bc1 ; caller's pc
0xbffff010: [top + 16] <- 0xbffff02c ; caller's fp
0xbffff00c: [top + 12] <- 0x3e711a65 ; context
0xbffff008: [top + 8] <- 0x27139fb5 ; function
0xbffff004: [top + 4] <- 0x27108091 <undefined> ; literal
0xbffff000: [top + 0] <- 0x3e713d39 ; ecx 0x3e713d39 <Very long string[10929]>
translating NativeModule.wrap => node=2, height=0
0xbfffeffc: [top + 20] <- 0x3e711b05 ; edi 0x3e711b05 <JS Function NativeModule>
0xbfffeff8: [top + 16] <- 0x3e713d39 ; ecx 0x3e713d39 <Very long string[10929]>
0xbfffeff4: [top + 12] <- 0x4b8280ee ; caller's pc
0xbfffeff0: [top + 8] <- 0xbffff010 ; caller's fp
0xbfffefec: [top + 4] <- 0x3e711a65 ; context
0xbfffefe8: [top + 0] <- 0x27139f91 ; function
[deoptimizing: end 0x27139f91 NativeModule.wrap => node=2, pc=0x4b827de5, state=NO_REGISTERS, took 0.048 ms]
[removing optimized code for: NativeModule.compile]
[marking NativeModule.compile 0x27139fb4 for recompilation, reason: sampler window lookup]
[optimizing: NativeModule.compile / 27139fb5 - took 0.398 ms]
**** DEOPT: NativeModule.compile at bailout #16, address 0x0, frame size 32
[deoptimizing: begin 0x27139fb5 NativeModule.compile @16]
translating NativeModule.compile => node=40, height=8
0xbfffef7c: [top + 24] <- 0x3e726e25 ; [esp + 48] 0x3e726e25 <a NativeModule>
0xbfffef78: [top + 20] <- 0x4b827bc1 ; caller's pc
0xbfffef74: [top + 16] <- 0xbfffef90 ; caller's fp
0xbfffef70: [top + 12] <- 0x3e711a65 ; context
0xbfffef6c: [top + 8] <- 0x27139fb5 ; function
0xbfffef68: [top + 4] <- 0x27108091 <undefined> ; literal
0xbfffef64: [top + 0] <- 0x3e715651 ; ecx 0x3e715651 <Very long string[13863]>
translating NativeModule.wrap => node=2, height=0
0xbfffef60: [top + 20] <- 0x3e711b05 ; edi 0x3e711b05 <JS Function NativeModule>
0xbfffef5c: [top + 16] <- 0x3e715651 ; ecx 0x3e715651 <Very long string[13863]>
0xbfffef58: [top + 12] <- 0x4b8280ee ; caller's pc
0xbfffef54: [top + 8] <- 0xbfffef74 ; caller's fp
0xbfffef50: [top + 4] <- 0x3e711a65 ; context
0xbfffef4c: [top + 0] <- 0x27139f91 ; function
[deoptimizing: end 0x27139f91 NativeModule.wrap => node=2, pc=0x4b827de5, state=NO_REGISTERS, took 0.038 ms]
[removing optimized code for: NativeModule.compile]
[marking NativeModule.compile 0x27139fb4 for recompilation, reason: sampler window lookup]
[patching stack checks in NativeModule.compile for on-stack replacement]
[deoptimize context: 27128a35]
[optimizing: NativeModule.compile / 27139fb5 - took 0.427 ms]
**** DEOPT: NativeModule.compile at bailout #16, address 0x0, frame size 32
[deoptimizing: begin 0x27139fb5 NativeModule.compile @16]
translating NativeModule.compile => node=40, height=8
0xbffff0a8: [top + 24] <- 0x3e74141d ; [esp + 48] 0x3e74141d <a NativeModule>
0xbffff0a4: [top + 20] <- 0x4b827bc1 ; caller's pc
0xbffff0a0: [top + 16] <- 0xbffff0bc ; caller's fp
0xbffff09c: [top + 12] <- 0x3e711a65 ; context
0xbffff098: [top + 8] <- 0x27139fb5 ; function
0xbffff094: [top + 4] <- 0x27108091 <undefined> ; literal
0xbffff090: [top + 0] <- 0x3e714e61 ; ecx 0x3e714e61 <Very long string[12875]>
translating NativeModule.wrap => node=2, height=0
0xbffff08c: [top + 20] <- 0x3e711b05 ; edi 0x3e711b05 <JS Function NativeModule>
0xbffff088: [top + 16] <- 0x3e714e61 ; ecx 0x3e714e61 <Very long string[12875]>
0xbffff084: [top + 12] <- 0x4b8280ee ; caller's pc
0xbffff080: [top + 8] <- 0xbffff0a0 ; caller's fp
0xbffff07c: [top + 4] <- 0x3e711a65 ; context
0xbffff078: [top + 0] <- 0x27139f91 ; function
[deoptimizing: end 0x27139f91 NativeModule.wrap => node=2, pc=0x4b827de5, state=NO_REGISTERS, took 0.041 ms]
[removing optimized code for: NativeModule.compile]
[marking NativeModule.compile 0x27139fb4 for recompilation, reason: sampler window lookup]
[optimizing: NativeModule.compile / 27139fb5 - took 0.427 ms]
**** DEOPT: NativeModule.compile at bailout #16, address 0x0, frame size 32
[deoptimizing: begin 0x27139fb5 NativeModule.compile @16]
translating NativeModule.compile => node=40, height=8
0xbffff0c4: [top + 24] <- 0x3e746d91 ; [esp + 48] 0x3e746d91 <a NativeModule>
0xbffff0c0: [top + 20] <- 0x4b827bc1 ; caller's pc
0xbffff0bc: [top + 16] <- 0xbffff0d8 ; caller's fp
0xbffff0b8: [top + 12] <- 0x3e711a65 ; context
0xbffff0b4: [top + 8] <- 0x27139fb5 ; function
0xbffff0b0: [top + 4] <- 0x27108091 <undefined> ; literal
0xbffff0ac: [top + 0] <- 0x3e714df5 ; ecx 0x3e714df5 <Very long string[14284]>
translating NativeModule.wrap => node=2, height=0
0xbffff0a8: [top + 20] <- 0x3e711b05 ; edi 0x3e711b05 <JS Function NativeModule>
0xbffff0a4: [top + 16] <- 0x3e714df5 ; ecx 0x3e714df5 <Very long string[14284]>
0xbffff0a0: [top + 12] <- 0x4b8280ee ; caller's pc
0xbffff09c: [top + 8] <- 0xbffff0bc ; caller's fp
0xbffff098: [top + 4] <- 0x3e711a65 ; context
0xbffff094: [top + 0] <- 0x27139f91 ; function
[deoptimizing: end 0x27139f91 NativeModule.wrap => node=2, pc=0x4b827de5, state=NO_REGISTERS, took 0.041 ms]
[removing optimized code for: NativeModule.compile]
[marking NativeModule.compile 0x27139fb4 for recompilation, reason: sampler window lookup]
[optimizing: NativeModule.compile / 27139fb5 - took 0.383 ms]
**** DEOPT: NativeModule.compile at bailout #16, address 0x0, frame size 32
[deoptimizing: begin 0x27139fb5 NativeModule.compile @16]
translating NativeModule.compile => node=40, height=8
0xbfffef60: [top + 24] <- 0x3e74e885 ; [esp + 48] 0x3e74e885 <a NativeModule>
0xbfffef5c: [top + 20] <- 0x4b827bc1 ; caller's pc
0xbfffef58: [top + 16] <- 0xbfffef74 ; caller's fp
0xbfffef54: [top + 12] <- 0x3e711a65 ; context
0xbfffef50: [top + 8] <- 0x27139fb5 ; function
0xbfffef4c: [top + 4] <- 0x27108091 <undefined> ; literal
0xbfffef48: [top + 0] <- 0x3e714d81 ; ecx 0x3e714d81 <Very long string[38283]>
translating NativeModule.wrap => node=2, height=0
0xbfffef44: [top + 20] <- 0x3e711b05 ; edi 0x3e711b05 <JS Function NativeModule>
0xbfffef40: [top + 16] <- 0x3e714d81 ; ecx 0x3e714d81 <Very long string[38283]>
0xbfffef3c: [top + 12] <- 0x4b8280ee ; caller's pc
0xbfffef38: [top + 8] <- 0xbfffef58 ; caller's fp
0xbfffef34: [top + 4] <- 0x3e711a65 ; context
0xbfffef30: [top + 0] <- 0x27139f91 ; function
[deoptimizing: end 0x27139f91 NativeModule.wrap => node=2, pc=0x4b827de5, state=NO_REGISTERS, took 0.040 ms]
[removing optimized code for: NativeModule.compile]
[marking NativeModule.compile 0x27139fb4 for recompilation, reason: sampler window lookup]
[optimizing: NativeModule.compile / 27139fb5 - took 0.435 ms]
[marking NativeModule.require 0x27139f00 for recompilation, reason: sampler window lookup]
**** DEOPT: NativeModule.compile at bailout #16, address 0x0, frame size 32
[deoptimizing: begin 0x27139fb5 NativeModule.compile @16]
translating NativeModule.compile => node=40, height=8
0xbfffeea8: [top + 24] <- 0x3e7617c9 ; [esp + 48] 0x3e7617c9 <a NativeModule>
0xbfffeea4: [top + 20] <- 0x4b827bc1 ; caller's pc
0xbfffeea0: [top + 16] <- 0xbfffeebc ; caller's fp
0xbfffee9c: [top + 12] <- 0x3e711a65 ; context
0xbfffee98: [top + 8] <- 0x27139fb5 ; function
0xbfffee94: [top + 4] <- 0x27108091 <undefined> ; literal
0xbfffee90: [top + 0] <- 0x3e715545 ; ecx 0x3e715545 <Very long string[3336]>
translating NativeModule.wrap => node=2, height=0
0xbfffee8c: [top + 20] <- 0x3e711b05 ; edi 0x3e711b05 <JS Function NativeModule>
0xbfffee88: [top + 16] <- 0x3e715545 ; ecx 0x3e715545 <Very long string[3336]>
0xbfffee84: [top + 12] <- 0x4b8280ee ; caller's pc
0xbfffee80: [top + 8] <- 0xbfffeea0 ; caller's fp
0xbfffee7c: [top + 4] <- 0x3e711a65 ; context
0xbfffee78: [top + 0] <- 0x27139f91 ; function
[deoptimizing: end 0x27139f91 NativeModule.wrap => node=2, pc=0x4b827de5, state=NO_REGISTERS, took 0.247 ms]
[removing optimized code for: NativeModule.compile]
[marking NativeModule.compile 0x27139fb4 for recompilation, reason: sampler window lookup]
[optimizing: NativeModule.require / 27139f01 - took 0.966 ms]
**** DEOPT: NativeModule.require at bailout #1, address 0x0, frame size 56
[deoptimizing: begin 0x27139f01 NativeModule.require @1]
translating NativeModule.require => node=3, height=8
0xbfffee2c: [top + 28] <- 0x27134021 ; [esp + 76] 0x27134021 <JS Global Object>
0xbfffee28: [top + 24] <- 0xb7e14d85 ; [esp + 72] 0xb7e14d85 <String[6]: events>
0xbfffee24: [top + 20] <- 0x4b862dab ; caller's pc
0xbfffee20: [top + 16] <- 0xbfffee44 ; caller's fp
0xbfffee1c: [top + 12] <- 0x3e711a65 ; context
0xbfffee18: [top + 8] <- 0x27139f01 ; function
0xbfffee14: [top + 4] <- 0x27108091 <undefined> ; literal
0xbfffee10: [top + 0] <- 0x27108091 <undefined> ; literal
[deoptimizing: end 0x27139f01 NativeModule.require => node=3, pc=0x4b827a8c, state=NO_REGISTERS, took 0.028 ms]
[removing optimized code for: NativeModule.require]
[marking Module._compile 0x2714dc18 for recompilation, reason: sampler window lookup]
[disabled optimization for: Module._compile / 2714dc19]
[marking fs.readFileSync 0x271595f4 for recompilation, reason: sampler window lookup]
[patching stack checks in fs.readFileSync for on-stack replacement]
[optimizing: fs.readFileSync / 271595f5 - took 2.044 ms]
**** DEOPT: fs.readFileSync at bailout #24, address 0x0, frame size 84
[deoptimizing: begin 0x271595f5 fs.readFileSync @24]
translating fs.readFileSync => node=163, height=24
0xbfffe3bc: [top + 48] <- 0x3e74e8b9 ; [esp + 108] 0x3e74e8b9 <an Object>
0xbfffe3b8: [top + 44] <- 0x3e7d88c5 ; [esp + 104] 0x3e7d88c5 <String[86]: /mnt/Data/Maciej/Programowanie/src/node-g/deps/npm/node_modules/fast-list/fast-list.js>
0xbfffe3b4: [top + 40] <- 0xb7e1512d ; [esp + 100] 0xb7e1512d <String[4]: utf8>
0xbfffe3b0: [top + 36] <- 0x4b84fb21 ; caller's pc
0xbfffe3ac: [top + 32] <- 0xbfffe3cc ; caller's fp
0xbfffe3a8: [top + 28] <- 0x3e7dbecd ; context
0xbfffe3a4: [top + 24] <- 0x271595f5 ; function
0xbfffe3a0: [top + 20] <- 0x3e7dbf19 ; [esp + 40] 0x3e7dbf19 <JS array[0]>
0xbfffe39c: [top + 16] <- 0x27108091 <undefined> ; literal
0xbfffe398: [top + 12] <- 0x00000012 ; [esp + 48] 9
0xbfffe394: [top + 8] <- 0x00000000 ; [esp + 24] 0
0xbfffe390: [top + 4] <- 0x00000000 ; [esp + 36] 0
0xbfffe38c: [top + 0] <- 0x00001872 ; ecx 3129
[deoptimizing: end 0x271595f5 fs.readFileSync => node=163, pc=0x4b8563c8, state=TOS_REG, took 0.062 ms]
[removing optimized code for: fs.readFileSync]
[replacing on-stack at AST id 82 in fs.readFileSync]
[optimizing: fs.readFileSync / 271595f5 - took 1.347 ms]
[on-stack replacement offset 491 in optimized code]
[restoring original stack checks in fs.readFileSync]
**** OSR: fs.readFileSync at ast id #82, address 0x4b856415, frame size 20
[on-stack replacement: begin 0x271595f5 fs.readFileSync => node=82, frame=48->28]
[sp + -4] <- 0x3e74e8b9 ; [sp + 44] 0x3e74e8b9 <an Object>
[sp + -8] <- 0x3e7d88c5 ; [sp + 40] 0x3e7d88c5 <String[86]: /mnt/Data/Maciej/Programowanie/src/node-g/deps/npm/node_modules/fast-list/fast-list.js>
[sp + -12] <- 0xb7e1512d ; [sp + 36] 0xb7e1512d <String[4]: utf8>
[esp + 12] <- 0x4b84fb21 ; [esp + 32] (fixed part - caller's pc)
[esp + 8] <- 0xbfffe3cc ; [esp + 28] (fixed part - fp)
[esp + 4] <- 0x3e7dbecd ; [esp + 24] (fixed part - context)
[esp + 0] <- 0x271595f5 ; [esp + 20] (fixed part - function)
[sp + -12] <- 0x3e7dbf19 ; [sp + 16] 0x3e7dbf19 <JS array[0]>
[sp + -16] <- 0x27108091 ; [sp + 12] 0x27108091 <undefined>
[sp + -20] <- 0x00000012 ; [sp + 8] 9
[sp + -24] <- 0x00000000 ; [sp + 4] 0
[sp + -28] <- 0x00001872 ; [sp + 0] 3129
[on-stack replacement translation finished: 0x271595f5 fs.readFileSync => pc=0x4b88804b[New Thread 0xb7ffeb70 (LWP 2446)]
Program received signal SIGSEGV, Segmentation fault.
0x4b8880d3 in ?? ()
(gdb) bt
#0 0x4b8880d3 in ?? ()
#1 0x4b84fb21 in ?? ()
#2 0x4b84ef15 in ?? ()
#3 0x4b84ea50 in ?? ()
#4 0x4b80c621 in ?? ()
#5 0x4b84efa7 in ?? ()
#6 0x4b84f024 in ?? ()
#7 0x4b8851c3 in ?? ()
#8 0x4b821ea3 in ?? ()
#9 0x4b84fa80 in ?? ()
#10 0x4b84fb59 in ?? ()
#11 0x4b84ef15 in ?? ()
#12 0x4b84ea50 in ?? ()
#13 0x4b80c621 in ?? ()
#14 0x4b84efa7 in ?? ()
#15 0x4b84f024 in ?? ()
#16 0x4b8821ce in ?? ()
#17 0x4b821ea3 in ?? ()
#18 0x4b84fa80 in ?? ()
#19 0x4b84fb59 in ?? ()
#20 0x4b84ef15 in ?? ()
#21 0x4b84ea50 in ?? ()
#22 0x4b80c621 in ?? ()
#23 0x4b84efa7 in ?? ()
#24 0x4b84f024 in ?? ()
#25 0x4b87e0e4 in ?? ()
#26 0x4b821ea3 in ?? ()
#27 0x4b84fa80 in ?? ()
#28 0x4b84fb59 in ?? ()
#29 0x4b84ef15 in ?? ()
#30 0x4b84ea50 in ?? ()
#31 0x4b80c621 in ?? ()
#32 0x4b84efa7 in ?? ()
#33 0x4b84f024 in ?? ()
#34 0x4b878b15 in ?? ()
#35 0x4b879c88 in ?? ()
#36 0x4b821ea3 in ?? ()
#37 0x4b84fa80 in ?? ()
#38 0x4b84fb59 in ?? ()
#39 0x4b84ef15 in ?? ()
#40 0x4b84ea50 in ?? ()
#41 0x4b80c621 in ?? ()
#42 0x4b84efa7 in ?? ()
#43 0x4b84f024 in ?? ()
#44 0x4b874706 in ?? ()
#45 0x4b821ea3 in ?? ()
#46 0x4b84fa80 in ?? ()
#47 0x4b84fb59 in ?? ()
#48 0x4b84ef15 in ?? ()
#49 0x4b84ea50 in ?? ()
#50 0x4b80c621 in ?? ()
#51 0x4b84efa7 in ?? ()
#52 0x4b84f024 in ?? ()
#53 0x4b8721fc in ?? ()
#54 0x4b821ea3 in ?? ()
#55 0x4b84fa80 in ?? ()
#56 0x4b84fb59 in ?? ()
#57 0x4b84ef15 in ?? ()
#58 0x4b84ea50 in ?? ()
#59 0x4b80c621 in ?? ()
#60 0x4b84efa7 in ?? ()
#61 0x4b84f024 in ?? ()
#62 0x4b86f827 in ?? ()
#63 0x4b86fee4 in ?? ()
#64 0x4b821ea3 in ?? ()
#65 0x4b84fa80 in ?? ()
#66 0x4b84fb59 in ?? ()
#67 0x4b84ef15 in ?? ()
#68 0x4b84ea50 in ?? ()
#69 0x4b80c621 in ?? ()
#70 0x4b84efa7 in ?? ()
#71 0x4b84f024 in ?? ()
#72 0x4b86b12e in ?? ()
#73 0x4b821ea3 in ?? ()
#74 0x4b84fa80 in ?? ()
#75 0x4b84fb59 in ?? ()
#76 0x4b84ef15 in ?? ()
#77 0x4b84ea50 in ?? ()
#78 0x4b84fdaf in ?? ()
#79 0x4b825e1e in ?? ()
#80 0x4b81f659 in ?? ()
#81 0x4b80cc8a in ?? ()
#82 0x0831709c in v8::internal::Invoke (is_construct=<value optimized out>, function=<value optimized out>, receiver=<value optimized out>, argc=0, args=0x0,
has_pending_exception=0xbffff20f) at ../deps/v8/src/execution.cc:118
#83 0x08318724 in v8::internal::Execution::Call (callable=..., receiver=<value optimized out>, argc=0, argv=0x0, pending_exception=0xbffff20f, convert_receiver=false)
at ../deps/v8/src/execution.cc:173
#84 0x082df7af in v8::Function::Call(v8::Handle<v8::Object>, int, v8::Handle<v8::Value>*) ()
#85 0x08183d45 in node::Tick () at ../src/node.cc:242
#86 0x081e9621 in ev_invoke_pending (loop=0x872e6c0) at ../deps/uv/src/unix/ev/ev.c:2149
#87 0x081ef284 in ev_run (loop=0x872e6c0, flags=0) at ../deps/uv/src/unix/ev/ev.c:2434
#88 0x081dc6cc in uv_run (loop=0x872dfa0) at ../deps/uv/src/unix/core.c:212
#89 0x0818605f in node::Start (argc=5, argv=<value optimized out>) at ../src/node.cc:2683
#90 0x08199a9b in main (argc=5, argv=0xbffff4f4) at ../src/node_main.cc:65
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment