Created
February 23, 2012 14:59
-
-
Save mmalecki/1893191 to your computer and use it in GitHub Desktop.
This file contains 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
[maciej@PC04 node-g]$ gdb --args ./node deps/npm/cli.js | |
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. | |
(gdb) r | |
Starting program: /mnt/Data/Maciej/Programowanie/src/node-g/node deps/npm/cli.js | |
[Thread debugging using libthread_db enabled] | |
[New Thread 0xb7ffeb70 (LWP 2225)] | |
Program received signal SIGSEGV, Segmentation fault. | |
0x4f872b73 in ?? () | |
(gdb) bt | |
#0 0x4f872b73 in ?? () | |
#1 0x4f84fb21 in ?? () | |
#2 0x4f84ef15 in ?? () | |
#3 0x4f84ea50 in ?? () | |
#4 0x4f80c621 in ?? () | |
#5 0x4f84efa7 in ?? () | |
#6 0x4f84f024 in ?? () | |
#7 0x4f86fae7 in ?? () | |
#8 0x4f8701a4 in ?? () | |
#9 0x4f821ea3 in ?? () | |
#10 0x4f84fa80 in ?? () | |
#11 0x4f84fb59 in ?? () | |
#12 0x4f84ef15 in ?? () | |
#13 0x4f84ea50 in ?? () | |
#14 0x4f80c621 in ?? () | |
#15 0x4f84efa7 in ?? () | |
#16 0x4f84f024 in ?? () | |
#17 0x4f86b12e in ?? () | |
#18 0x4f821ea3 in ?? () | |
#19 0x4f84fa80 in ?? () | |
#20 0x4f84fb59 in ?? () | |
#21 0x4f84ef15 in ?? () | |
#22 0x4f84ea50 in ?? () | |
#23 0x4f84fdaf in ?? () | |
#24 0x4f825e1e in ?? () | |
#25 0x4f81f659 in ?? () | |
#26 0x4f80cc8a in ?? () | |
#27 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=0xbffff04f) at ../deps/v8/src/execution.cc:118 | |
#28 0x08318724 in v8::internal::Execution::Call (callable=..., receiver=<value optimized out>, argc=0, argv=0x0, | |
pending_exception=0xbffff04f, convert_receiver=false) at ../deps/v8/src/execution.cc:173 | |
#29 0x082df7af in v8::Function::Call(v8::Handle<v8::Object>, int, v8::Handle<v8::Value>*) () | |
#30 0x08183d45 in node::Tick () at ../src/node.cc:242 | |
#31 0x081e9621 in ev_invoke_pending (loop=0x872e6c0) at ../deps/uv/src/unix/ev/ev.c:2149 | |
#32 0x081ef284 in ev_run (loop=0x872e6c0, flags=0) at ../deps/uv/src/unix/ev/ev.c:2434 | |
#33 0x081dc6cc in uv_run (loop=0x872dfa0) at ../deps/uv/src/unix/core.c:212 | |
---Type <return> to continue, or q <return> to quit--- | |
#34 0x0818605f in node::Start (argc=2, argv=<value optimized out>) at ../src/node.cc:2683 | |
#35 0x08199a9b in main (argc=2, argv=0xbffff334) at ../src/node_main.cc:65 | |
(gdb) disas 0x4f872b73,+100 | |
Dump of assembler code from 0x4f872b73 to 0x4f872bd7: | |
=> 0x4f872b73: mov -0x1(%ecx),%ebx | |
0x4f872b76: testb $0x20,0x9(%ebx) | |
0x4f872b7a: jne 0x4f872c05 | |
0x4f872b80: cmpb $0xa4,0x7(%ebx) | |
0x4f872b84: jae 0x4f872bc1 | |
0x4f872b8a: cmpb $0x80,0x7(%ebx) | |
0x4f872b8e: jae 0x4f872b9f | |
0x4f872b90: cmpl $0x0,0x3(%ecx) | |
0x4f872b94: jne 0x4f872bc1 | |
0x4f872b9a: jmp 0x4f872c05 | |
0x4f872b9f: cmpl $0x45208181,-0x1(%ecx) | |
0x4f872ba6: jne 0x4f872bbc | |
0x4f872ba8: fldz | |
0x4f872baa: fldl 0x3(%ecx) | |
0x4f872bad: fucomip %st(1),%st | |
0x4f872baf: fstp %st(0) | |
0x4f872bb1: je 0x4f872c05 | |
0x4f872bb7: jmp 0x4f872bc1 | |
0x4f872bbc: jmp 0x58308102 | |
0x4f872bc1: mov 0x17(%edx),%ebx | |
0x4f872bc4: mov %edx,%esi | |
0x4f872bc6: xchg %edx,%ebx | |
0x4f872bc8: mov %ecx,%eax | |
0x4f872bca: mov $0x33324c51,%ecx | |
0x4f872bcf: call 0x4f814ac0 | |
0x4f872bd4: jmp 0x58308116 | |
End of assembler dump. | |
(gdb) disas 0x4f872b53,+100 | |
Dump of assembler code from 0x4f872b53 to 0x4f872bb7: | |
0x4f872b53: add %al,(%eax) | |
0x4f872b55: add %al,0x8081f9(%ecx) | |
0x4f872b5b: push %edx | |
0x4f872b5c: je 0x4f872c05 | |
0x4f872b62: test %ecx,%ecx | |
0x4f872b64: je 0x4f872c05 | |
0x4f872b6a: test $0x1,%cl | |
0x4f872b6d: je 0x4f872bc1 | |
=> 0x4f872b73: mov -0x1(%ecx),%ebx | |
0x4f872b76: testb $0x20,0x9(%ebx) | |
0x4f872b7a: jne 0x4f872c05 | |
0x4f872b80: cmpb $0xa4,0x7(%ebx) | |
0x4f872b84: jae 0x4f872bc1 | |
0x4f872b8a: cmpb $0x80,0x7(%ebx) | |
0x4f872b8e: jae 0x4f872b9f | |
0x4f872b90: cmpl $0x0,0x3(%ecx) | |
0x4f872b94: jne 0x4f872bc1 | |
0x4f872b9a: jmp 0x4f872c05 | |
0x4f872b9f: cmpl $0x45208181,-0x1(%ecx) | |
0x4f872ba6: jne 0x4f872bbc | |
0x4f872ba8: fldz | |
0x4f872baa: fldl 0x3(%ecx) | |
0x4f872bad: fucomip %st(1),%st | |
0x4f872baf: fstp %st(0) | |
0x4f872bb1: je 0x4f872c05 | |
End of assembler dump. | |
(gdb) info reg | |
eax 0x26788cd9 645434585 | |
ecx 0xbeeddead -1091707219 | |
edx 0x26788cd9 645434585 | |
ebx 0xbfffeabc -1073747268 | |
esp 0xbfffeab4 0xbfffeab4 | |
ebp 0xbfffeabc 0xbfffeabc | |
esi 0xbeeddead -1091707219 | |
edi 0xbeeddead -1091707219 | |
eip 0x4f872b73 0x4f872b73 | |
eflags 0x10202 [ IF RF ] | |
cs 0x73 115 | |
ss 0x7b 123 | |
ds 0x7b 123 | |
es 0x7b 123 | |
fs 0x0 0 | |
gs 0x33 51 | |
(gdb) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment