Skip to content

Instantly share code, notes, and snippets.

@alpmestan
Created February 6, 2018 17:13
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 alpmestan/a029e46c9cb7beb6839c6ac6058a95f9 to your computer and use it in GitHub Desktop.
Save alpmestan/a029e46c9cb7beb6839c6ac6058a95f9 to your computer and use it in GitHub Desktop.
=> 0x00000000404e53de: f6 c3 07 test $0x7,%bl
(gdb)
0x00000000404e53e1 in ?? ()
=> 0x00000000404e53e1: 75 4d jne 0x404e5430
(gdb)
0x00000000404e5430 in ?? ()
=> 0x00000000404e5430: 49 83 c4 10 add $0x10,%r12
(gdb)
0x00000000404e5434 in ?? ()
=> 0x00000000404e5434: 4d 3b a5 58 03 00 00 cmp 0x358(%r13),%r12
(gdb)
0x00000000404e543b in ?? ()
=> 0x00000000404e543b: 77 a8 ja 0x404e53e5
(gdb)
0x00000000404e543d in ?? ()
=> 0x00000000404e543d: 48 8b 43 07 mov 0x7(%rbx),%rax
(gdb)
0x00000000404e5441 in ?? ()
=> 0x00000000404e5441: 0f b6 18 movzbl (%rax),%ebx
(gdb)
0x00000000404e5444 in ?? ()
=> 0x00000000404e5444: 48 8b 4d 08 mov 0x8(%rbp),%rcx
(gdb)
0x00000000404e5448 in ?? ()
=> 0x00000000404e5448: 48 c1 e1 08 shl $0x8,%rcx
(gdb)
0x00000000404e544c in ?? ()
=> 0x00000000404e544c: 48 09 d9 or %rbx,%rcx
(gdb)
0x00000000404e544f in ?? ()
=> 0x00000000404e544f: 49 c7 44 24 f8 a8 c1 63 40 movq $0x4063c1a8,-0x8(%r12)
(gdb)
0x00000000404e5458 in ?? ()
=> 0x00000000404e5458: 48 ff c0 inc %rax
(gdb)
0x00000000404e545b in ?? ()
=> 0x00000000404e545b: 49 89 04 24 mov %rax,(%r12)
(gdb)
0x00000000404e545f in ?? ()
=> 0x00000000404e545f: 48 8b 45 10 mov 0x10(%rbp),%rax
(gdb)
0x00000000404e5463 in ?? ()
=> 0x00000000404e5463: 48 ff c8 dec %rax
(gdb)
0x00000000404e5466 in ?? ()
=> 0x00000000404e5466: 48 83 c5 18 add $0x18,%rbp
(gdb)
0x00000000404e546a in ?? ()
=> 0x00000000404e546a: 49 8d 5c 24 f9 lea -0x7(%r12),%rbx
(gdb)
0x00000000404e546f in ?? ()
=> 0x00000000404e546f: 48 89 cf mov %rcx,%rdi
(gdb)
0x00000000404e5472 in ?? ()
=> 0x00000000404e5472: 48 89 c6 mov %rax,%rsi
(gdb)
0x00000000404e5475 in ?? ()
=> 0x00000000404e5475: 49 89 de mov %rbx,%r14
(gdb)
0x00000000404e5478 in ?? ()
=> 0x00000000404e5478: e9 34 ff ff ff jmpq 0x404e53b1
(gdb)
0x00000000404e53b1 in ?? ()
=> 0x00000000404e53b1: 49 83 c4 10 add $0x10,%r12
(gdb)
0x00000000404e53b5 in ?? ()
=> 0x00000000404e53b5: 4d 3b a5 58 03 00 00 cmp 0x358(%r13),%r12
(gdb)
0x00000000404e53bc in ?? ()
=> 0x00000000404e53bc: 77 37 ja 0x404e53f5
(gdb)
0x00000000404e53be in ?? ()
=> 0x00000000404e53be: 48 85 f6 test %rsi,%rsi
(gdb)
0x00000000404e53c1 in ?? ()
=> 0x00000000404e53c1: 74 46 je 0x404e5409
(gdb)
0x00000000404e53c3 in ?? ()
=> 0x00000000404e53c3: 49 83 c4 f0 add $0xfffffffffffffff0,%r12
(gdb)
0x00000000404e53c7 in ?? ()
=> 0x00000000404e53c7: 48 c7 45 e8 30 54 4e 40 movq $0x404e5430,-0x18(%rbp)
(gdb)
0x00000000404e53cf in ?? ()
=> 0x00000000404e53cf: 4c 89 f3 mov %r14,%rbx
(gdb)
0x00000000404e53d2 in ?? ()
=> 0x00000000404e53d2: 48 89 7d f0 mov %rdi,-0x10(%rbp)
(gdb)
0x00000000404e53d6 in ?? ()
=> 0x00000000404e53d6: 48 89 75 f8 mov %rsi,-0x8(%rbp)
(gdb)
0x00000000404e53da in ?? ()
=> 0x00000000404e53da: 48 83 c5 e8 add $0xffffffffffffffe8,%rbp
(gdb)
0x00000000404e53de in ?? ()
=> 0x00000000404e53de: f6 c3 07 test $0x7,%bl
(gdb)
0x00000000404e53e1 in ?? ()
=> 0x00000000404e53e1: 75 4d jne 0x404e5430
(gdb)
0x00000000404e5430 in ?? ()
=> 0x00000000404e5430: 49 83 c4 10 add $0x10,%r12
(gdb)
0x00000000404e5434 in ?? ()
=> 0x00000000404e5434: 4d 3b a5 58 03 00 00 cmp 0x358(%r13),%r12
(gdb)
0x00000000404e543b in ?? ()
=> 0x00000000404e543b: 77 a8 ja 0x404e53e5
(gdb)
0x00000000404e543d in ?? ()
=> 0x00000000404e543d: 48 8b 43 07 mov 0x7(%rbx),%rax
(gdb)
0x00000000404e5441 in ?? ()
=> 0x00000000404e5441: 0f b6 18 movzbl (%rax),%ebx
(gdb)
0x00000000404e5444 in ?? ()
=> 0x00000000404e5444: 48 8b 4d 08 mov 0x8(%rbp),%rcx
(gdb)
0x00000000404e5448 in ?? ()
=> 0x00000000404e5448: 48 c1 e1 08 shl $0x8,%rcx
(gdb)
0x00000000404e544c in ?? ()
=> 0x00000000404e544c: 48 09 d9 or %rbx,%rcx
(gdb)
0x00000000404e544f in ?? ()
=> 0x00000000404e544f: 49 c7 44 24 f8 a8 c1 63 40 movq $0x4063c1a8,-0x8(%r12)
(gdb) ghc closure $rbx
off-heap(0xf8 <ghcizm8zi5_GHCiziBreakArray_zdwshowBreakArray_info+216>)
(gdb) si
0x00000000404e5458 in ?? ()
=> 0x00000000404e5458: 48 ff c0 inc %rax
(gdb) ghc closure $rax
Error(283468863832: Cannot access memory at address 0xffe3fb4c30330b33)
(gdb) x/8a $rbp
0x42001fca98: 0x404e5430 0x3b0b33304c
0x42001fcaa8: 0x3 0x4054c9e8
0x42001fcab8: 0x420012ee81 0x42000f9940
0x42001fcac8: 0x42000f98c0 0x4054d4f0
(gdb) print/x $rbx
$27 = 0xfb
(gdb) si
0x00000000404e545b in ?? ()
=> 0x00000000404e545b: 49 89 04 24 mov %rax,(%r12)
(gdb)
0x00000000404e545f in ?? ()
=> 0x00000000404e545f: 48 8b 45 10 mov 0x10(%rbp),%rax
(gdb)
0x00000000404e5463 in ?? ()
=> 0x00000000404e5463: 48 ff c8 dec %rax
(gdb)
0x00000000404e5466 in ?? ()
=> 0x00000000404e5466: 48 83 c5 18 add $0x18,%rbp
(gdb)
0x00000000404e546a in ?? ()
=> 0x00000000404e546a: 49 8d 5c 24 f9 lea -0x7(%r12),%rbx
(gdb)
0x00000000404e546f in ?? ()
=> 0x00000000404e546f: 48 89 cf mov %rcx,%rdi
(gdb)
0x00000000404e5472 in ?? ()
=> 0x00000000404e5472: 48 89 c6 mov %rax,%rsi
(gdb)
0x00000000404e5475 in ?? ()
=> 0x00000000404e5475: 49 89 de mov %rbx,%r14
(gdb)
0x00000000404e5478 in ?? ()
=> 0x00000000404e5478: e9 34 ff ff ff jmpq 0x404e53b1
(gdb)
0x00000000404e53b1 in ?? ()
=> 0x00000000404e53b1: 49 83 c4 10 add $0x10,%r12
(gdb)
0x00000000404e53b5 in ?? ()
=> 0x00000000404e53b5: 4d 3b a5 58 03 00 00 cmp 0x358(%r13),%r12
(gdb)
0x00000000404e53bc in ?? ()
=> 0x00000000404e53bc: 77 37 ja 0x404e53f5
(gdb)
0x00000000404e53be in ?? ()
=> 0x00000000404e53be: 48 85 f6 test %rsi,%rsi
(gdb)
0x00000000404e53c1 in ?? ()
=> 0x00000000404e53c1: 74 46 je 0x404e5409
(gdb)
0x00000000404e53c3 in ?? ()
=> 0x00000000404e53c3: 49 83 c4 f0 add $0xfffffffffffffff0,%r12
(gdb)
0x00000000404e53c7 in ?? ()
=> 0x00000000404e53c7: 48 c7 45 e8 30 54 4e 40 movq $0x404e5430,-0x18(%rbp)
(gdb)
0x00000000404e53cf in ?? ()
=> 0x00000000404e53cf: 4c 89 f3 mov %r14,%rbx
(gdb)
0x00000000404e53d2 in ?? ()
=> 0x00000000404e53d2: 48 89 7d f0 mov %rdi,-0x10(%rbp)
(gdb) ghc closure $rbx
constr(base:GHC.Ptr.Ptr)
(gdb) si
0x00000000404e53d6 in ?? ()
=> 0x00000000404e53d6: 48 89 75 f8 mov %rsi,-0x8(%rbp)
(gdb) si
0x00000000404e53da in ?? ()
=> 0x00000000404e53da: 48 83 c5 e8 add $0xffffffffffffffe8,%rbp
(gdb) si
0x00000000404e53de in ?? ()
=> 0x00000000404e53de: f6 c3 07 test $0x7,%bl
(gdb) si
0x00000000404e53e1 in ?? ()
=> 0x00000000404e53e1: 75 4d jne 0x404e5430
(gdb) si
0x00000000404e5430 in ?? ()
=> 0x00000000404e5430: 49 83 c4 10 add $0x10,%r12
(gdb) si
0x00000000404e5434 in ?? ()
=> 0x00000000404e5434: 4d 3b a5 58 03 00 00 cmp 0x358(%r13),%r12
(gdb) si
0x00000000404e543b in ?? ()
=> 0x00000000404e543b: 77 a8 ja 0x404e53e5
(gdb)
0x00000000404e543d in ?? ()
=> 0x00000000404e543d: 48 8b 43 07 mov 0x7(%rbx),%rax
(gdb)
0x00000000404e5441 in ?? ()
=> 0x00000000404e5441: 0f b6 18 movzbl (%rax),%ebx
(gdb)
0x00000000404e5444 in ?? ()
=> 0x00000000404e5444: 48 8b 4d 08 mov 0x8(%rbp),%rcx
(gdb)
0x00000000404e5448 in ?? ()
=> 0x00000000404e5448: 48 c1 e1 08 shl $0x8,%rcx
(gdb)
0x00000000404e544c in ?? ()
=> 0x00000000404e544c: 48 09 d9 or %rbx,%rcx
(gdb)
0x00000000404e544f in ?? ()
=> 0x00000000404e544f: 49 c7 44 24 f8 a8 c1 63 40 movq $0x4063c1a8,-0x8(%r12)
(gdb)
0x00000000404e5458 in ?? ()
=> 0x00000000404e5458: 48 ff c0 inc %rax
(gdb)
0x00000000404e545b in ?? ()
=> 0x00000000404e545b: 49 89 04 24 mov %rax,(%r12)
(gdb)
0x00000000404e545f in ?? ()
=> 0x00000000404e545f: 48 8b 45 10 mov 0x10(%rbp),%rax
(gdb)
0x00000000404e5463 in ?? ()
=> 0x00000000404e5463: 48 ff c8 dec %rax
(gdb)
0x00000000404e5466 in ?? ()
=> 0x00000000404e5466: 48 83 c5 18 add $0x18,%rbp
(gdb)
0x00000000404e546a in ?? ()
=> 0x00000000404e546a: 49 8d 5c 24 f9 lea -0x7(%r12),%rbx
(gdb)
0x00000000404e546f in ?? ()
=> 0x00000000404e546f: 48 89 cf mov %rcx,%rdi
(gdb)
0x00000000404e5472 in ?? ()
=> 0x00000000404e5472: 48 89 c6 mov %rax,%rsi
(gdb)
0x00000000404e5475 in ?? ()
=> 0x00000000404e5475: 49 89 de mov %rbx,%r14
(gdb)
0x00000000404e5478 in ?? ()
=> 0x00000000404e5478: e9 34 ff ff ff jmpq 0x404e53b1
(gdb)
0x00000000404e53b1 in ?? ()
=> 0x00000000404e53b1: 49 83 c4 10 add $0x10,%r12
(gdb)
0x00000000404e53b5 in ?? ()
=> 0x00000000404e53b5: 4d 3b a5 58 03 00 00 cmp 0x358(%r13),%r12
(gdb)
0x00000000404e53bc in ?? ()
=> 0x00000000404e53bc: 77 37 ja 0x404e53f5
(gdb)
0x00000000404e53be in ?? ()
=> 0x00000000404e53be: 48 85 f6 test %rsi,%rsi
(gdb)
0x00000000404e53c1 in ?? ()
=> 0x00000000404e53c1: 74 46 je 0x404e5409
(gdb)
0x00000000404e53c3 in ?? ()
=> 0x00000000404e53c3: 49 83 c4 f0 add $0xfffffffffffffff0,%r12
(gdb)
0x00000000404e53c7 in ?? ()
=> 0x00000000404e53c7: 48 c7 45 e8 30 54 4e 40 movq $0x404e5430,-0x18(%rbp)
(gdb)
0x00000000404e53cf in ?? ()
=> 0x00000000404e53cf: 4c 89 f3 mov %r14,%rbx
(gdb)
0x00000000404e53d2 in ?? ()
=> 0x00000000404e53d2: 48 89 7d f0 mov %rdi,-0x10(%rbp)
(gdb)
0x00000000404e53d6 in ?? ()
=> 0x00000000404e53d6: 48 89 75 f8 mov %rsi,-0x8(%rbp)
(gdb)
0x00000000404e53da in ?? ()
=> 0x00000000404e53da: 48 83 c5 e8 add $0xffffffffffffffe8,%rbp
(gdb)
0x00000000404e53de in ?? ()
=> 0x00000000404e53de: f6 c3 07 test $0x7,%bl
(gdb)
0x00000000404e53e1 in ?? ()
=> 0x00000000404e53e1: 75 4d jne 0x404e5430
(gdb)
0x00000000404e5430 in ?? ()
=> 0x00000000404e5430: 49 83 c4 10 add $0x10,%r12
(gdb)
0x00000000404e5434 in ?? ()
=> 0x00000000404e5434: 4d 3b a5 58 03 00 00 cmp 0x358(%r13),%r12
(gdb)
0x00000000404e543b in ?? ()
=> 0x00000000404e543b: 77 a8 ja 0x404e53e5
(gdb)
0x00000000404e543d in ?? ()
=> 0x00000000404e543d: 48 8b 43 07 mov 0x7(%rbx),%rax
(gdb)
0x00000000404e5441 in ?? ()
=> 0x00000000404e5441: 0f b6 18 movzbl (%rax),%ebx
(gdb)
0x00000000404e5444 in ?? ()
=> 0x00000000404e5444: 48 8b 4d 08 mov 0x8(%rbp),%rcx
(gdb)
0x00000000404e5448 in ?? ()
=> 0x00000000404e5448: 48 c1 e1 08 shl $0x8,%rcx
(gdb)
0x00000000404e544c in ?? ()
=> 0x00000000404e544c: 48 09 d9 or %rbx,%rcx
(gdb)
0x00000000404e544f in ?? ()
=> 0x00000000404e544f: 49 c7 44 24 f8 a8 c1 63 40 movq $0x4063c1a8,-0x8(%r12)
(gdb)
0x00000000404e5458 in ?? ()
=> 0x00000000404e5458: 48 ff c0 inc %rax
(gdb)
0x00000000404e545b in ?? ()
=> 0x00000000404e545b: 49 89 04 24 mov %rax,(%r12)
(gdb)
0x00000000404e545f in ?? ()
=> 0x00000000404e545f: 48 8b 45 10 mov 0x10(%rbp),%rax
(gdb)
0x00000000404e5463 in ?? ()
=> 0x00000000404e5463: 48 ff c8 dec %rax
(gdb)
0x00000000404e5466 in ?? ()
=> 0x00000000404e5466: 48 83 c5 18 add $0x18,%rbp
(gdb)
0x00000000404e546a in ?? ()
=> 0x00000000404e546a: 49 8d 5c 24 f9 lea -0x7(%r12),%rbx
(gdb)
0x00000000404e546f in ?? ()
=> 0x00000000404e546f: 48 89 cf mov %rcx,%rdi
(gdb)
0x00000000404e5472 in ?? ()
=> 0x00000000404e5472: 48 89 c6 mov %rax,%rsi
(gdb)
0x00000000404e5475 in ?? ()
=> 0x00000000404e5475: 49 89 de mov %rbx,%r14
(gdb)
0x00000000404e5478 in ?? ()
=> 0x00000000404e5478: e9 34 ff ff ff jmpq 0x404e53b1
(gdb)
0x00000000404e53b1 in ?? ()
=> 0x00000000404e53b1: 49 83 c4 10 add $0x10,%r12
(gdb)
0x00000000404e53b5 in ?? ()
=> 0x00000000404e53b5: 4d 3b a5 58 03 00 00 cmp 0x358(%r13),%r12
(gdb)
0x00000000404e53bc in ?? ()
=> 0x00000000404e53bc: 77 37 ja 0x404e53f5
(gdb)
0x00000000404e53be in ?? ()
=> 0x00000000404e53be: 48 85 f6 test %rsi,%rsi
(gdb)
0x00000000404e53c1 in ?? ()
=> 0x00000000404e53c1: 74 46 je 0x404e5409
(gdb)
0x00000000404e5409 in ?? ()
=> 0x00000000404e5409: 49 c7 44 24 f8 b0 81 6e 40 movq $0x406e81b0,-0x8(%r12)
(gdb)
0x00000000404e5412 in ?? ()
=> 0x00000000404e5412: 49 89 3c 24 mov %rdi,(%r12)
(gdb)
0x00000000404e5416 in ?? ()
=> 0x00000000404e5416: 49 8d 5c 24 f9 lea -0x7(%r12),%rbx
(gdb)
0x00000000404e541b in ?? ()
=> 0x00000000404e541b: ff 65 00 jmpq *0x0(%rbp)
(gdb)
0x000000004054c9e8 in ?? ()
=> 0x000000004054c9e8: 49 83 c4 20 add $0x20,%r12
(gdb)
0x000000004054c9ec in ?? ()
=> 0x000000004054c9ec: 4d 3b a5 58 03 00 00 cmp 0x358(%r13),%r12
(gdb)
0x000000004054c9f3 in ?? ()
=> 0x000000004054c9f3: 77 ce ja 0x4054c9c3
(gdb)
0x000000004054c9f5 in ?? ()
=> 0x000000004054c9f5: 48 8b 45 18 mov 0x18(%rbp),%rax
(gdb)
0x000000004054c9f9 in ?? ()
=> 0x000000004054c9f9: 48 8b 45 08 mov 0x8(%rbp),%rax
(gdb)
0x000000004054c9fd in ?? ()
=> 0x000000004054c9fd: 49 c7 44 24 e8 50 c9 54 40 movq $0x4054c950,-0x18(%r12)
(gdb)
0x000000004054ca06 in ?? ()
=> 0x000000004054ca06: 49 89 44 24 f8 mov %rax,-0x8(%r12)
(gdb)
0x000000004054ca0b in ?? ()
=> 0x000000004054ca0b: 49 89 1c 24 mov %rbx,(%r12)
(gdb)
0x000000004054ca0f in ?? ()
=> 0x000000004054ca0f: 49 8d 5c 24 e8 lea -0x18(%r12),%rbx
(gdb)
0x000000004054ca14 in ?? ()
=> 0x000000004054ca14: 48 83 c5 20 add $0x20,%rbp
(gdb)
0x000000004054ca18 in ?? ()
=> 0x000000004054ca18: ff 65 00 jmpq *0x0(%rbp)
(gdb)
0x000000004054d4f0 in ?? ()
=> 0x000000004054d4f0: 48 83 e3 f8 and $0xfffffffffffffff8,%rbx
(gdb)
0x000000004054d4f4 in ?? ()
=> 0x000000004054d4f4: 48 83 c5 10 add $0x10,%rbp
(gdb)
0x000000004054d4f8 in ?? ()
=> 0x000000004054d4f8: ff 23 jmpq *(%rbx)
(gdb)
0x000000004054c950 in ?? ()
=> 0x000000004054c950: 48 8d 45 f0 lea -0x10(%rbp),%rax
(gdb)
0x000000004054c954 in ?? ()
=> 0x000000004054c954: 4c 39 f8 cmp %r15,%rax
(gdb)
0x000000004054c957 in ?? ()
=> 0x000000004054c957: 72 1d jb 0x4054c976
(gdb)
0x000000004054c959 in ?? ()
=> 0x000000004054c959: 48 c7 45 f0 e8 34 cf 02 movq $0x2cf34e8,-0x10(%rbp)
(gdb)
0x000000004054c961 in ?? ()
=> 0x000000004054c961: 48 89 5d f8 mov %rbx,-0x8(%rbp)
(gdb)
0x000000004054c965 in ?? ()
=> 0x000000004054c965: 48 8b 73 18 mov 0x18(%rbx),%rsi
(gdb)
0x000000004054c969 in ?? ()
=> 0x000000004054c969: 4c 8b 73 10 mov 0x10(%rbx),%r14
(gdb)
0x000000004054c96d in ?? ()
=> 0x000000004054c96d: 48 83 c5 f0 add $0xfffffffffffffff0,%rbp
(gdb)
0x000000004054c971 in ?? ()
=> 0x000000004054c971: e9 e2 0b 00 00 jmpq 0x4054d558
(gdb)
0x000000004054d558 in ?? ()
=> 0x000000004054d558: 48 8d 45 f0 lea -0x10(%rbp),%rax
(gdb)
0x000000004054d55c in ?? ()
=> 0x000000004054d55c: 4c 39 f8 cmp %r15,%rax
(gdb)
0x000000004054d55f in ?? ()
=> 0x000000004054d55f: 72 72 jb 0x4054d5d3
(gdb)
0x000000004054d561 in ?? ()
=> 0x000000004054d561: 48 c7 45 f0 f0 d5 54 40 movq $0x4054d5f0,-0x10(%rbp)
(gdb)
0x000000004054d569 in ?? ()
=> 0x000000004054d569: 4c 89 f3 mov %r14,%rbx
(gdb)
0x000000004054d56c in ?? ()
=> 0x000000004054d56c: 48 89 75 f8 mov %rsi,-0x8(%rbp)
(gdb)
0x000000004054d570 in ?? ()
=> 0x000000004054d570: 48 83 c5 f0 add $0xfffffffffffffff0,%rbp
(gdb)
0x000000004054d574 in ?? ()
=> 0x000000004054d574: f6 c3 07 test $0x7,%bl
(gdb)
0x000000004054d577 in ?? ()
=> 0x000000004054d577: 75 77 jne 0x4054d5f0
(gdb)
0x000000004054d5f0 in ?? ()
=> 0x000000004054d5f0: 48 c7 45 00 a0 d5 54 40 movq $0x4054d5a0,0x0(%rbp)
(gdb)
0x000000004054d5f8 in ?? ()
=> 0x000000004054d5f8: 48 8b 43 07 mov 0x7(%rbx),%rax
(gdb)
0x000000004054d5fc in ?? ()
=> 0x000000004054d5fc: 48 8b 5d 08 mov 0x8(%rbp),%rbx
(gdb)
0x000000004054d600 in ?? ()
=> 0x000000004054d600: 48 89 45 08 mov %rax,0x8(%rbp)
(gdb)
0x000000004054d604 in ?? ()
=> 0x000000004054d604: f6 c3 07 test $0x7,%bl
(gdb)
0x000000004054d607 in ?? ()
=> 0x000000004054d607: 75 97 jne 0x4054d5a0
(gdb)
0x000000004054d5a0 in ?? ()
=> 0x000000004054d5a0: 49 83 c4 18 add $0x18,%r12
(gdb)
0x000000004054d5a4 in ?? ()
=> 0x000000004054d5a4: 4d 3b a5 58 03 00 00 cmp 0x358(%r13),%r12
(gdb)
0x000000004054d5ab in ?? ()
=> 0x000000004054d5ab: 77 ce ja 0x4054d57b
(gdb)
0x000000004054d5ad in ?? ()
=> 0x000000004054d5ad: 48 8b 43 07 mov 0x7(%rbx),%rax
(gdb)
0x000000004054d5b1 in ?? ()
=> 0x000000004054d5b1: 49 c7 44 24 f0 90 e3 54 40 movq $0x4054e390,-0x10(%r12)
(gdb)
0x000000004054d5ba in ?? ()
=> 0x000000004054d5ba: 48 8b 5d 08 mov 0x8(%rbp),%rbx
(gdb)
0x000000004054d5be in ?? ()
=> 0x000000004054d5be: 49 89 5c 24 f8 mov %rbx,-0x8(%r12)
(gdb)
0x000000004054d5c3 in ?? ()
=> 0x000000004054d5c3: 49 89 04 24 mov %rax,(%r12)
(gdb)
0x000000004054d5c7 in ?? ()
=> 0x000000004054d5c7: 49 8d 5c 24 f1 lea -0xf(%r12),%rbx
(gdb)
0x000000004054d5cc in ?? ()
=> 0x000000004054d5cc: 48 83 c5 10 add $0x10,%rbp
(gdb)
0x000000004054d5d0 in ?? ()
=> 0x000000004054d5d0: ff 65 00 jmpq *0x0(%rbp)
(gdb)
stg_upd_frame_info () at rts/Updates.cmm:31
31 {
=> 0x0000000002cf34e8 <stg_upd_frame_info+0>: 48 8b 45 00 mov 0x0(%rbp),%rax
0x0000000002cf34ec <stg_upd_frame_info+4>: 48 8b 45 08 mov 0x8(%rbp),%rax
0x0000000002cf34f0 <stg_upd_frame_info+8>: 49 83 bd 88 03 00 00 00 cmpq $0x0,0x388(%r13)
0x0000000002cf34f8 <stg_upd_frame_info+16>: 74 24 je 0x2cf351e <stg_upd_frame_info+54>
(gdb)
0x0000000002cf34ec 31 {
0x0000000002cf34e8 <stg_upd_frame_info+0>: 48 8b 45 00 mov 0x0(%rbp),%rax
=> 0x0000000002cf34ec <stg_upd_frame_info+4>: 48 8b 45 08 mov 0x8(%rbp),%rax
0x0000000002cf34f0 <stg_upd_frame_info+8>: 49 83 bd 88 03 00 00 00 cmpq $0x0,0x388(%r13)
0x0000000002cf34f8 <stg_upd_frame_info+16>: 74 24 je 0x2cf351e <stg_upd_frame_info+54>
(gdb)
0x0000000002cf34f0 31 {
0x0000000002cf34e8 <stg_upd_frame_info+0>: 48 8b 45 00 mov 0x0(%rbp),%rax
0x0000000002cf34ec <stg_upd_frame_info+4>: 48 8b 45 08 mov 0x8(%rbp),%rax
=> 0x0000000002cf34f0 <stg_upd_frame_info+8>: 49 83 bd 88 03 00 00 00 cmpq $0x0,0x388(%r13)
0x0000000002cf34f8 <stg_upd_frame_info+16>: 74 24 je 0x2cf351e <stg_upd_frame_info+54>
(gdb)
0x0000000002cf34f8 31 {
0x0000000002cf34e8 <stg_upd_frame_info+0>: 48 8b 45 00 mov 0x0(%rbp),%rax
0x0000000002cf34ec <stg_upd_frame_info+4>: 48 8b 45 08 mov 0x8(%rbp),%rax
0x0000000002cf34f0 <stg_upd_frame_info+8>: 49 83 bd 88 03 00 00 00 cmpq $0x0,0x388(%r13)
=> 0x0000000002cf34f8 <stg_upd_frame_info+16>: 74 24 je 0x2cf351e <stg_upd_frame_info+54>
(gdb)
31 {
=> 0x0000000002cf351e <stg_upd_frame_info+54>: b9 92 3f cd 02 mov $0x2cd3f92,%ecx
0x0000000002cf3523 <stg_upd_frame_info+59>: 48 89 c2 mov %rax,%rdx
0x0000000002cf3526 <stg_upd_frame_info+62>: 48 83 ec 08 sub $0x8,%rsp
0x0000000002cf352a <stg_upd_frame_info+66>: 48 89 d7 mov %rdx,%rdi
0x0000000002cf352d <stg_upd_frame_info+69>: 48 89 c2 mov %rax,%rdx
0x0000000002cf3530 <stg_upd_frame_info+72>: 31 c0 xor %eax,%eax
0x0000000002cf3532 <stg_upd_frame_info+74>: 49 89 d6 mov %rdx,%r14
0x0000000002cf3535 <stg_upd_frame_info+77>: ff d1 callq *%rcx
0x0000000002cf3537 <stg_upd_frame_info+79>: 48 83 c4 08 add $0x8,%rsp
0x0000000002cf353b <stg_upd_frame_info+83>: 49 89 5e 08 mov %rbx,0x8(%r14)
0x0000000002cf353f <stg_upd_frame_info+87>: 49 c7 06 c8 47 cf 02 movq $0x2cf47c8,(%r14)
0x0000000002cf3546 <stg_upd_frame_info+94>: 4c 89 f0 mov %r14,%rax
0x0000000002cf3549 <stg_upd_frame_info+97>: 48 25 00 00 f0 ff and $0xfffffffffff00000,%rax
0x0000000002cf354f <stg_upd_frame_info+103>: 4c 89 f1 mov %r14,%rcx
0x0000000002cf3552 <stg_upd_frame_info+106>: 81 e1 00 f0 0f 00 and $0xff000,%ecx
0x0000000002cf3558 <stg_upd_frame_info+112>: 48 c1 e9 06 shr $0x6,%rcx
0x0000000002cf355c <stg_upd_frame_info+116>: 48 09 c1 or %rax,%rcx
0x0000000002cf355f <stg_upd_frame_info+119>: 66 83 79 28 00 cmpw $0x0,0x28(%rcx)
0x0000000002cf3564 <stg_upd_frame_info+124>: 75 07 jne 0x2cf356d <stg_upd_frame_info+133>
(gdb)
0x0000000002cf3523 31 {
0x0000000002cf351e <stg_upd_frame_info+54>: b9 92 3f cd 02 mov $0x2cd3f92,%ecx
=> 0x0000000002cf3523 <stg_upd_frame_info+59>: 48 89 c2 mov %rax,%rdx
0x0000000002cf3526 <stg_upd_frame_info+62>: 48 83 ec 08 sub $0x8,%rsp
0x0000000002cf352a <stg_upd_frame_info+66>: 48 89 d7 mov %rdx,%rdi
0x0000000002cf352d <stg_upd_frame_info+69>: 48 89 c2 mov %rax,%rdx
0x0000000002cf3530 <stg_upd_frame_info+72>: 31 c0 xor %eax,%eax
0x0000000002cf3532 <stg_upd_frame_info+74>: 49 89 d6 mov %rdx,%r14
0x0000000002cf3535 <stg_upd_frame_info+77>: ff d1 callq *%rcx
0x0000000002cf3537 <stg_upd_frame_info+79>: 48 83 c4 08 add $0x8,%rsp
0x0000000002cf353b <stg_upd_frame_info+83>: 49 89 5e 08 mov %rbx,0x8(%r14)
0x0000000002cf353f <stg_upd_frame_info+87>: 49 c7 06 c8 47 cf 02 movq $0x2cf47c8,(%r14)
0x0000000002cf3546 <stg_upd_frame_info+94>: 4c 89 f0 mov %r14,%rax
0x0000000002cf3549 <stg_upd_frame_info+97>: 48 25 00 00 f0 ff and $0xfffffffffff00000,%rax
0x0000000002cf354f <stg_upd_frame_info+103>: 4c 89 f1 mov %r14,%rcx
0x0000000002cf3552 <stg_upd_frame_info+106>: 81 e1 00 f0 0f 00 and $0xff000,%ecx
0x0000000002cf3558 <stg_upd_frame_info+112>: 48 c1 e9 06 shr $0x6,%rcx
0x0000000002cf355c <stg_upd_frame_info+116>: 48 09 c1 or %rax,%rcx
0x0000000002cf355f <stg_upd_frame_info+119>: 66 83 79 28 00 cmpw $0x0,0x28(%rcx)
0x0000000002cf3564 <stg_upd_frame_info+124>: 75 07 jne 0x2cf356d <stg_upd_frame_info+133>
(gdb)
0x0000000002cf3526 31 {
0x0000000002cf351e <stg_upd_frame_info+54>: b9 92 3f cd 02 mov $0x2cd3f92,%ecx
0x0000000002cf3523 <stg_upd_frame_info+59>: 48 89 c2 mov %rax,%rdx
=> 0x0000000002cf3526 <stg_upd_frame_info+62>: 48 83 ec 08 sub $0x8,%rsp
0x0000000002cf352a <stg_upd_frame_info+66>: 48 89 d7 mov %rdx,%rdi
0x0000000002cf352d <stg_upd_frame_info+69>: 48 89 c2 mov %rax,%rdx
0x0000000002cf3530 <stg_upd_frame_info+72>: 31 c0 xor %eax,%eax
0x0000000002cf3532 <stg_upd_frame_info+74>: 49 89 d6 mov %rdx,%r14
0x0000000002cf3535 <stg_upd_frame_info+77>: ff d1 callq *%rcx
0x0000000002cf3537 <stg_upd_frame_info+79>: 48 83 c4 08 add $0x8,%rsp
0x0000000002cf353b <stg_upd_frame_info+83>: 49 89 5e 08 mov %rbx,0x8(%r14)
0x0000000002cf353f <stg_upd_frame_info+87>: 49 c7 06 c8 47 cf 02 movq $0x2cf47c8,(%r14)
0x0000000002cf3546 <stg_upd_frame_info+94>: 4c 89 f0 mov %r14,%rax
0x0000000002cf3549 <stg_upd_frame_info+97>: 48 25 00 00 f0 ff and $0xfffffffffff00000,%rax
0x0000000002cf354f <stg_upd_frame_info+103>: 4c 89 f1 mov %r14,%rcx
0x0000000002cf3552 <stg_upd_frame_info+106>: 81 e1 00 f0 0f 00 and $0xff000,%ecx
0x0000000002cf3558 <stg_upd_frame_info+112>: 48 c1 e9 06 shr $0x6,%rcx
0x0000000002cf355c <stg_upd_frame_info+116>: 48 09 c1 or %rax,%rcx
0x0000000002cf355f <stg_upd_frame_info+119>: 66 83 79 28 00 cmpw $0x0,0x28(%rcx)
0x0000000002cf3564 <stg_upd_frame_info+124>: 75 07 jne 0x2cf356d <stg_upd_frame_info+133>
(gdb)
0x0000000002cf352a in stg_upd_frame_info () at rts/Updates.cmm:31
31 {
0x0000000002cf351e <stg_upd_frame_info+54>: b9 92 3f cd 02 mov $0x2cd3f92,%ecx
0x0000000002cf3523 <stg_upd_frame_info+59>: 48 89 c2 mov %rax,%rdx
0x0000000002cf3526 <stg_upd_frame_info+62>: 48 83 ec 08 sub $0x8,%rsp
=> 0x0000000002cf352a <stg_upd_frame_info+66>: 48 89 d7 mov %rdx,%rdi
0x0000000002cf352d <stg_upd_frame_info+69>: 48 89 c2 mov %rax,%rdx
0x0000000002cf3530 <stg_upd_frame_info+72>: 31 c0 xor %eax,%eax
0x0000000002cf3532 <stg_upd_frame_info+74>: 49 89 d6 mov %rdx,%r14
0x0000000002cf3535 <stg_upd_frame_info+77>: ff d1 callq *%rcx
0x0000000002cf3537 <stg_upd_frame_info+79>: 48 83 c4 08 add $0x8,%rsp
0x0000000002cf353b <stg_upd_frame_info+83>: 49 89 5e 08 mov %rbx,0x8(%r14)
0x0000000002cf353f <stg_upd_frame_info+87>: 49 c7 06 c8 47 cf 02 movq $0x2cf47c8,(%r14)
0x0000000002cf3546 <stg_upd_frame_info+94>: 4c 89 f0 mov %r14,%rax
0x0000000002cf3549 <stg_upd_frame_info+97>: 48 25 00 00 f0 ff and $0xfffffffffff00000,%rax
0x0000000002cf354f <stg_upd_frame_info+103>: 4c 89 f1 mov %r14,%rcx
0x0000000002cf3552 <stg_upd_frame_info+106>: 81 e1 00 f0 0f 00 and $0xff000,%ecx
0x0000000002cf3558 <stg_upd_frame_info+112>: 48 c1 e9 06 shr $0x6,%rcx
0x0000000002cf355c <stg_upd_frame_info+116>: 48 09 c1 or %rax,%rcx
0x0000000002cf355f <stg_upd_frame_info+119>: 66 83 79 28 00 cmpw $0x0,0x28(%rcx)
0x0000000002cf3564 <stg_upd_frame_info+124>: 75 07 jne 0x2cf356d <stg_upd_frame_info+133>
(gdb) info symbol 0x2cd3f92
overwritingClosure in section .text of /home/alp/14675/Bug
(gdb) si
0x0000000002cf352d 31 {
0x0000000002cf351e <stg_upd_frame_info+54>: b9 92 3f cd 02 mov $0x2cd3f92,%ecx
0x0000000002cf3523 <stg_upd_frame_info+59>: 48 89 c2 mov %rax,%rdx
0x0000000002cf3526 <stg_upd_frame_info+62>: 48 83 ec 08 sub $0x8,%rsp
0x0000000002cf352a <stg_upd_frame_info+66>: 48 89 d7 mov %rdx,%rdi
=> 0x0000000002cf352d <stg_upd_frame_info+69>: 48 89 c2 mov %rax,%rdx
0x0000000002cf3530 <stg_upd_frame_info+72>: 31 c0 xor %eax,%eax
0x0000000002cf3532 <stg_upd_frame_info+74>: 49 89 d6 mov %rdx,%r14
0x0000000002cf3535 <stg_upd_frame_info+77>: ff d1 callq *%rcx
0x0000000002cf3537 <stg_upd_frame_info+79>: 48 83 c4 08 add $0x8,%rsp
0x0000000002cf353b <stg_upd_frame_info+83>: 49 89 5e 08 mov %rbx,0x8(%r14)
0x0000000002cf353f <stg_upd_frame_info+87>: 49 c7 06 c8 47 cf 02 movq $0x2cf47c8,(%r14)
0x0000000002cf3546 <stg_upd_frame_info+94>: 4c 89 f0 mov %r14,%rax
0x0000000002cf3549 <stg_upd_frame_info+97>: 48 25 00 00 f0 ff and $0xfffffffffff00000,%rax
0x0000000002cf354f <stg_upd_frame_info+103>: 4c 89 f1 mov %r14,%rcx
0x0000000002cf3552 <stg_upd_frame_info+106>: 81 e1 00 f0 0f 00 and $0xff000,%ecx
0x0000000002cf3558 <stg_upd_frame_info+112>: 48 c1 e9 06 shr $0x6,%rcx
0x0000000002cf355c <stg_upd_frame_info+116>: 48 09 c1 or %rax,%rcx
0x0000000002cf355f <stg_upd_frame_info+119>: 66 83 79 28 00 cmpw $0x0,0x28(%rcx)
0x0000000002cf3564 <stg_upd_frame_info+124>: 75 07 jne 0x2cf356d <stg_upd_frame_info+133>
(gdb)
0x0000000002cf3530 31 {
0x0000000002cf351e <stg_upd_frame_info+54>: b9 92 3f cd 02 mov $0x2cd3f92,%ecx
0x0000000002cf3523 <stg_upd_frame_info+59>: 48 89 c2 mov %rax,%rdx
0x0000000002cf3526 <stg_upd_frame_info+62>: 48 83 ec 08 sub $0x8,%rsp
0x0000000002cf352a <stg_upd_frame_info+66>: 48 89 d7 mov %rdx,%rdi
0x0000000002cf352d <stg_upd_frame_info+69>: 48 89 c2 mov %rax,%rdx
=> 0x0000000002cf3530 <stg_upd_frame_info+72>: 31 c0 xor %eax,%eax
0x0000000002cf3532 <stg_upd_frame_info+74>: 49 89 d6 mov %rdx,%r14
0x0000000002cf3535 <stg_upd_frame_info+77>: ff d1 callq *%rcx
0x0000000002cf3537 <stg_upd_frame_info+79>: 48 83 c4 08 add $0x8,%rsp
0x0000000002cf353b <stg_upd_frame_info+83>: 49 89 5e 08 mov %rbx,0x8(%r14)
0x0000000002cf353f <stg_upd_frame_info+87>: 49 c7 06 c8 47 cf 02 movq $0x2cf47c8,(%r14)
0x0000000002cf3546 <stg_upd_frame_info+94>: 4c 89 f0 mov %r14,%rax
0x0000000002cf3549 <stg_upd_frame_info+97>: 48 25 00 00 f0 ff and $0xfffffffffff00000,%rax
0x0000000002cf354f <stg_upd_frame_info+103>: 4c 89 f1 mov %r14,%rcx
0x0000000002cf3552 <stg_upd_frame_info+106>: 81 e1 00 f0 0f 00 and $0xff000,%ecx
0x0000000002cf3558 <stg_upd_frame_info+112>: 48 c1 e9 06 shr $0x6,%rcx
0x0000000002cf355c <stg_upd_frame_info+116>: 48 09 c1 or %rax,%rcx
0x0000000002cf355f <stg_upd_frame_info+119>: 66 83 79 28 00 cmpw $0x0,0x28(%rcx)
0x0000000002cf3564 <stg_upd_frame_info+124>: 75 07 jne 0x2cf356d <stg_upd_frame_info+133>
(gdb)
0x0000000002cf3532 31 {
0x0000000002cf351e <stg_upd_frame_info+54>: b9 92 3f cd 02 mov $0x2cd3f92,%ecx
0x0000000002cf3523 <stg_upd_frame_info+59>: 48 89 c2 mov %rax,%rdx
0x0000000002cf3526 <stg_upd_frame_info+62>: 48 83 ec 08 sub $0x8,%rsp
0x0000000002cf352a <stg_upd_frame_info+66>: 48 89 d7 mov %rdx,%rdi
0x0000000002cf352d <stg_upd_frame_info+69>: 48 89 c2 mov %rax,%rdx
0x0000000002cf3530 <stg_upd_frame_info+72>: 31 c0 xor %eax,%eax
=> 0x0000000002cf3532 <stg_upd_frame_info+74>: 49 89 d6 mov %rdx,%r14
0x0000000002cf3535 <stg_upd_frame_info+77>: ff d1 callq *%rcx
0x0000000002cf3537 <stg_upd_frame_info+79>: 48 83 c4 08 add $0x8,%rsp
0x0000000002cf353b <stg_upd_frame_info+83>: 49 89 5e 08 mov %rbx,0x8(%r14)
0x0000000002cf353f <stg_upd_frame_info+87>: 49 c7 06 c8 47 cf 02 movq $0x2cf47c8,(%r14)
0x0000000002cf3546 <stg_upd_frame_info+94>: 4c 89 f0 mov %r14,%rax
0x0000000002cf3549 <stg_upd_frame_info+97>: 48 25 00 00 f0 ff and $0xfffffffffff00000,%rax
0x0000000002cf354f <stg_upd_frame_info+103>: 4c 89 f1 mov %r14,%rcx
0x0000000002cf3552 <stg_upd_frame_info+106>: 81 e1 00 f0 0f 00 and $0xff000,%ecx
0x0000000002cf3558 <stg_upd_frame_info+112>: 48 c1 e9 06 shr $0x6,%rcx
0x0000000002cf355c <stg_upd_frame_info+116>: 48 09 c1 or %rax,%rcx
0x0000000002cf355f <stg_upd_frame_info+119>: 66 83 79 28 00 cmpw $0x0,0x28(%rcx)
0x0000000002cf3564 <stg_upd_frame_info+124>: 75 07 jne 0x2cf356d <stg_upd_frame_info+133>
(gdb)
0x0000000002cf3535 31 {
0x0000000002cf351e <stg_upd_frame_info+54>: b9 92 3f cd 02 mov $0x2cd3f92,%ecx
0x0000000002cf3523 <stg_upd_frame_info+59>: 48 89 c2 mov %rax,%rdx
0x0000000002cf3526 <stg_upd_frame_info+62>: 48 83 ec 08 sub $0x8,%rsp
0x0000000002cf352a <stg_upd_frame_info+66>: 48 89 d7 mov %rdx,%rdi
0x0000000002cf352d <stg_upd_frame_info+69>: 48 89 c2 mov %rax,%rdx
0x0000000002cf3530 <stg_upd_frame_info+72>: 31 c0 xor %eax,%eax
0x0000000002cf3532 <stg_upd_frame_info+74>: 49 89 d6 mov %rdx,%r14
=> 0x0000000002cf3535 <stg_upd_frame_info+77>: ff d1 callq *%rcx
0x0000000002cf3537 <stg_upd_frame_info+79>: 48 83 c4 08 add $0x8,%rsp
0x0000000002cf353b <stg_upd_frame_info+83>: 49 89 5e 08 mov %rbx,0x8(%r14)
0x0000000002cf353f <stg_upd_frame_info+87>: 49 c7 06 c8 47 cf 02 movq $0x2cf47c8,(%r14)
0x0000000002cf3546 <stg_upd_frame_info+94>: 4c 89 f0 mov %r14,%rax
0x0000000002cf3549 <stg_upd_frame_info+97>: 48 25 00 00 f0 ff and $0xfffffffffff00000,%rax
0x0000000002cf354f <stg_upd_frame_info+103>: 4c 89 f1 mov %r14,%rcx
0x0000000002cf3552 <stg_upd_frame_info+106>: 81 e1 00 f0 0f 00 and $0xff000,%ecx
0x0000000002cf3558 <stg_upd_frame_info+112>: 48 c1 e9 06 shr $0x6,%rcx
0x0000000002cf355c <stg_upd_frame_info+116>: 48 09 c1 or %rax,%rcx
0x0000000002cf355f <stg_upd_frame_info+119>: 66 83 79 28 00 cmpw $0x0,0x28(%rcx)
0x0000000002cf3564 <stg_upd_frame_info+124>: 75 07 jne 0x2cf356d <stg_upd_frame_info+133>
(gdb)
overwritingClosure (p=0x4079224b) at includes/rts/storage/ClosureMacros.h:549
549 {
=> 0x0000000002cd3f92 <overwritingClosure+0>: 55 push %rbp
0x0000000002cd3f93 <overwritingClosure+1>: 48 89 e5 mov %rsp,%rbp
0x0000000002cd3f96 <overwritingClosure+4>: 48 83 ec 18 sub $0x18,%rsp
0x0000000002cd3f9a <overwritingClosure+8>: 48 89 7d e8 mov %rdi,-0x18(%rbp)
(gdb) s
557 size = closure_sizeW(p);
=> 0x0000000002cd3f9e <overwritingClosure+12>: 48 8b 45 e8 mov -0x18(%rbp),%rax
0x0000000002cd3fa2 <overwritingClosure+16>: 48 89 c7 mov %rax,%rdi
0x0000000002cd3fa5 <overwritingClosure+19>: e8 2d ff ff ff callq 0x2cd3ed7 <closure_sizeW>
0x0000000002cd3faa <overwritingClosure+24>: 89 45 f8 mov %eax,-0x8(%rbp)
(gdb)
closure_sizeW (p=0x420012ef30) at includes/rts/storage/ClosureMacros.h:432
432 return closure_sizeW_(p, get_itbl(p));
=> 0x0000000002cd3ee3 <closure_sizeW+12>: 48 8b 45 f8 mov -0x8(%rbp),%rax
0x0000000002cd3ee7 <closure_sizeW+16>: 48 89 c7 mov %rax,%rdi
0x0000000002cd3eea <closure_sizeW+19>: e8 11 fd ff ff callq 0x2cd3c00 <get_itbl>
0x0000000002cd3eef <closure_sizeW+24>: 48 89 c2 mov %rax,%rdx
0x0000000002cd3ef2 <closure_sizeW+27>: 48 8b 45 f8 mov -0x8(%rbp),%rax
0x0000000002cd3ef6 <closure_sizeW+31>: 48 89 d6 mov %rdx,%rsi
0x0000000002cd3ef9 <closure_sizeW+34>: 48 89 c7 mov %rax,%rdi
0x0000000002cd3efc <closure_sizeW+37>: e8 d1 fe ff ff callq 0x2cd3dd2 <closure_sizeW_>
(gdb)
get_itbl (c=0x420012ef30) at includes/rts/storage/ClosureMacros.h:86
86 return INFO_PTR_TO_STRUCT(c->header.info);
=> 0x0000000002cd3c0c <get_itbl+12>: 48 8b 45 f8 mov -0x8(%rbp),%rax
0x0000000002cd3c10 <get_itbl+16>: 48 8b 00 mov (%rax),%rax
0x0000000002cd3c13 <get_itbl+19>: 48 89 c7 mov %rax,%rdi
0x0000000002cd3c16 <get_itbl+22>: e8 c1 ff ff ff callq 0x2cd3bdc <INFO_PTR_TO_STRUCT>
(gdb)
INFO_PTR_TO_STRUCT (info=0x4054c950) at includes/rts/storage/ClosureMacros.h:59
59 EXTERN_INLINE StgInfoTable *INFO_PTR_TO_STRUCT(const StgInfoTable *info) {return (StgInfoTable *)info - 1;}
=> 0x0000000002cd3be4 <INFO_PTR_TO_STRUCT+8>: 48 8b 45 f8 mov -0x8(%rbp),%rax
0x0000000002cd3be8 <INFO_PTR_TO_STRUCT+12>: 48 83 e8 10 sub $0x10,%rax
0x0000000002cd3bec <INFO_PTR_TO_STRUCT+16>: 5d pop %rbp
0x0000000002cd3bed <INFO_PTR_TO_STRUCT+17>: c3 retq
(gdb)
get_itbl (c=0x420012ef30) at includes/rts/storage/ClosureMacros.h:87
87 }
=> 0x0000000002cd3c1b <get_itbl+27>: c9 leaveq
0x0000000002cd3c1c <get_itbl+28>: c3 retq
(gdb)
closure_sizeW_ (p=0x420012ef30, info=0x4054c940) at includes/rts/storage/ClosureMacros.h:371
371 switch (info->type) {
=> 0x0000000002cd3de2 <closure_sizeW_+16>: 48 8b 45 f0 mov -0x10(%rbp),%rax
0x0000000002cd3de6 <closure_sizeW_+20>: 8b 40 08 mov 0x8(%rax),%eax
0x0000000002cd3de9 <closure_sizeW_+23>: 83 f8 3e cmp $0x3e,%eax
0x0000000002cd3dec <closure_sizeW_+26>: 0f 87 d7 00 00 00 ja 0x2cd3ec9 <closure_sizeW_+247>
0x0000000002cd3df2 <closure_sizeW_+32>: 89 c0 mov %eax,%eax
0x0000000002cd3df4 <closure_sizeW_+34>: 48 8b 04 c5 20 09 e3 02 mov 0x2e30920(,%rax,8),%rax
0x0000000002cd3dfc <closure_sizeW_+42>: ff e0 jmpq *%rax
(gdb)
383 return sizeofW(StgThunk) + 2;
=> 0x0000000002cd3e12 <closure_sizeW_+64>: b8 04 00 00 00 mov $0x4,%eax
0x0000000002cd3e17 <closure_sizeW_+69>: e9 b9 00 00 00 jmpq 0x2cd3ed5 <closure_sizeW_+259>
(gdb)
426 }
=> 0x0000000002cd3ed5 <closure_sizeW_+259>: c9 leaveq
0x0000000002cd3ed6 <closure_sizeW_+260>: c3 retq
(gdb)
closure_sizeW (p=0x420012ef30) at includes/rts/storage/ClosureMacros.h:433
433 }
=> 0x0000000002cd3f01 <closure_sizeW+42>: c9 leaveq
0x0000000002cd3f02 <closure_sizeW+43>: c3 retq
(gdb)
overwritingClosure (p=0x420012ef30) at includes/rts/storage/ClosureMacros.h:564
564 for (i = 0; i < size - sizeofW(StgThunkHeader); i++) {
=> 0x0000000002cd3fad <overwritingClosure+27>: c7 45 fc 00 00 00 00 movl $0x0,-0x4(%rbp)
0x0000000002cd3fb4 <overwritingClosure+34>: eb 17 jmp 0x2cd3fcd <overwritingClosure+59>
(gdb)
565 ((StgThunk *)(p))->payload[i] = 0;
=> 0x0000000002cd3fb6 <overwritingClosure+36>: 48 8b 45 e8 mov -0x18(%rbp),%rax
0x0000000002cd3fba <overwritingClosure+40>: 8b 55 fc mov -0x4(%rbp),%edx
0x0000000002cd3fbd <overwritingClosure+43>: 48 83 c2 02 add $0x2,%rdx
0x0000000002cd3fc1 <overwritingClosure+47>: 48 c7 04 d0 00 00 00 00 movq $0x0,(%rax,%rdx,8)
(gdb)
564 for (i = 0; i < size - sizeofW(StgThunkHeader); i++) {
=> 0x0000000002cd3fc9 <overwritingClosure+55>: 83 45 fc 01 addl $0x1,-0x4(%rbp)
0x0000000002cd3fcd <overwritingClosure+59>: 8b 45 fc mov -0x4(%rbp),%eax
0x0000000002cd3fd0 <overwritingClosure+62>: 8b 55 f8 mov -0x8(%rbp),%edx
0x0000000002cd3fd3 <overwritingClosure+65>: 48 83 ea 02 sub $0x2,%rdx
0x0000000002cd3fd7 <overwritingClosure+69>: 48 39 d0 cmp %rdx,%rax
0x0000000002cd3fda <overwritingClosure+72>: 72 da jb 0x2cd3fb6 <overwritingClosure+36>
(gdb)
565 ((StgThunk *)(p))->payload[i] = 0;
=> 0x0000000002cd3fb6 <overwritingClosure+36>: 48 8b 45 e8 mov -0x18(%rbp),%rax
0x0000000002cd3fba <overwritingClosure+40>: 8b 55 fc mov -0x4(%rbp),%edx
0x0000000002cd3fbd <overwritingClosure+43>: 48 83 c2 02 add $0x2,%rdx
0x0000000002cd3fc1 <overwritingClosure+47>: 48 c7 04 d0 00 00 00 00 movq $0x0,(%rax,%rdx,8)
(gdb)
564 for (i = 0; i < size - sizeofW(StgThunkHeader); i++) {
=> 0x0000000002cd3fc9 <overwritingClosure+55>: 83 45 fc 01 addl $0x1,-0x4(%rbp)
0x0000000002cd3fcd <overwritingClosure+59>: 8b 45 fc mov -0x4(%rbp),%eax
0x0000000002cd3fd0 <overwritingClosure+62>: 8b 55 f8 mov -0x8(%rbp),%edx
0x0000000002cd3fd3 <overwritingClosure+65>: 48 83 ea 02 sub $0x2,%rdx
0x0000000002cd3fd7 <overwritingClosure+69>: 48 39 d0 cmp %rdx,%rax
0x0000000002cd3fda <overwritingClosure+72>: 72 da jb 0x2cd3fb6 <overwritingClosure+36>
(gdb)
567 }
=> 0x0000000002cd3fdc <overwritingClosure+74>: 90 nop
0x0000000002cd3fdd <overwritingClosure+75>: c9 leaveq
0x0000000002cd3fde <overwritingClosure+76>: c3 retq
(gdb)
Warning:
Cannot insert breakpoint 0.
Cannot access memory at address 0x0
0x0000000040757f58 in ?? ()
=> 0x0000000040757f58: 49 83 c4 30 add $0x30,%r12
(gdb) si
0x0000000040757f5c in ?? ()
=> 0x0000000040757f5c: 4d 3b a5 58 03 00 00 cmp 0x358(%r13),%r12
(gdb)
0x0000000040757f63 in ?? ()
=> 0x0000000040757f63: 77 c5 ja 0x40757f2a
(gdb)
0x0000000040757f65 in ?? ()
=> 0x0000000040757f65: 48 8b 43 07 mov 0x7(%rbx),%rax
(gdb) ghc closure $rbx
constr(base:GHC.Fingerprint.Type.Fingerprint)
(gdb) ghc closure $rax
Error(283468890112: Cannot access memory at address 0xfffffffffffffff8)
(gdb) si
0x0000000040757f69 in ?? ()
=> 0x0000000040757f69: 48 8b 5b 0f mov 0xf(%rbx),%rbx
(gdb)
0x0000000040757f6d in ?? ()
=> 0x0000000040757f6d: 49 c7 44 24 d8 20 6f 75 40 movq $0x40756f20,-0x28(%r12)
(gdb) ghc closure 0x40756f20
off-heap(0x40756f20)
(gdb) info symbol 0x40756f20
No symbol matches 0x40756f20.
(gdb) si
0x0000000040757f76 in ?? ()
=> 0x0000000040757f76: 48 8b 4d 38 mov 0x38(%rbp),%rcx
(gdb)
0x0000000040757f7a in ?? ()
=> 0x0000000040757f7a: 49 89 4c 24 e8 mov %rcx,-0x18(%r12)
(gdb) x/8a $rbp
0x42001fcae0: 0x40757f58 0x25425afc35740507
0x42001fcaf0: 0xc652846c5ad757c1 0x4013f5a8
0x42001fcb00: 0x40140128 0x0
0x42001fcb10: 0x40161fd8 0x401e61f1
(gdb) si
0x0000000040757f7f in ?? ()
=> 0x0000000040757f7f: 48 8b 4d 28 mov 0x28(%rbp),%rcx
(gdb)
0x0000000040757f83 in ?? ()
=> 0x0000000040757f83: 49 89 4c 24 f0 mov %rcx,-0x10(%r12)
(gdb)
0x0000000040757f88 in ?? ()
=> 0x0000000040757f88: 49 c7 44 24 f8 b8 74 75 40 movq $0x407574b8,-0x8(%r12)
(gdb)
0x0000000040757f91 in ?? ()
=> 0x0000000040757f91: 49 8d 4c 24 d8 lea -0x28(%r12),%rcx
(gdb)
0x0000000040757f96 in ?? ()
=> 0x0000000040757f96: 49 89 0c 24 mov %rcx,(%r12)
(gdb)
0x0000000040757f9a in ?? ()
=> 0x0000000040757f9a: 48 c7 45 f0 c0 7e 75 40 movq $0x40757ec0,-0x10(%rbp)
(gdb)
0x0000000040757fa2 in ?? ()
=> 0x0000000040757fa2: 4c 8b 75 30 mov 0x30(%rbp),%r14
(gdb)
0x0000000040757fa6 in ?? ()
=> 0x0000000040757fa6: 48 89 d9 mov %rbx,%rcx
(gdb)
0x0000000040757fa9 in ?? ()
=> 0x0000000040757fa9: 49 8d 5c 24 f9 lea -0x7(%r12),%rbx
(gdb)
0x0000000040757fae in ?? ()
=> 0x0000000040757fae: 48 89 4d f8 mov %rcx,-0x8(%rbp)
(gdb)
0x0000000040757fb2 in ?? ()
=> 0x0000000040757fb2: 48 89 45 00 mov %rax,0x0(%rbp)
(gdb)
0x0000000040757fb6 in ?? ()
=> 0x0000000040757fb6: 48 83 c5 f0 add $0xfffffffffffffff0,%rbp
(gdb)
0x0000000040757fba in ?? ()
=> 0x0000000040757fba: e9 f9 f4 ff ff jmpq 0x407574b8
(gdb) x/8a $rbp
0x42001fcad0: 0x40757ec0 0x3b0b33304cfbe3ff
0x42001fcae0: 0xd395a248530d97d0 0x25425afc35740507
0x42001fcaf0: 0xc652846c5ad757c1 0x4013f5a8
0x42001fcb00: 0x40140128 0x0
(gdb) si
0x00000000407574b8 in ?? ()
=> 0x00000000407574b8: 48 8d 45 c0 lea -0x40(%rbp),%rax
(gdb)
0x00000000407574bc in ?? ()
=> 0x00000000407574bc: 4c 39 f8 cmp %r15,%rax
(gdb)
0x00000000407574bf in ?? ()
=> 0x00000000407574bf: 0f 82 54 06 00 00 jb 0x40757b19
(gdb)
0x00000000407574c5 in ?? ()
=> 0x00000000407574c5: 48 c7 45 e8 c0 7d 75 40 movq $0x40757dc0,-0x18(%rbp)
(gdb)
0x00000000407574cd in ?? ()
=> 0x00000000407574cd: 48 89 d8 mov %rbx,%rax
(gdb)
0x00000000407574d0 in ?? ()
=> 0x00000000407574d0: 48 8b 5b 07 mov 0x7(%rbx),%rbx
(gdb) ghc closure $rbx
FUN
(gdb) info line $rbx
Undefined convenience variable or function "$rbx" not defined.
(gdb) print/x $rbx
$28 = 0x420012ef89
(gdb) info line 0x420012ef89
Function "0x420012ef89" not defined.
(gdb) info line 0x420012ef88
Function "0x420012ef88" not defined.
(gdb) si
0x00000000407574d4 in ?? ()
=> 0x00000000407574d4: 48 89 d9 mov %rbx,%rcx
(gdb) info addr 0x420012ef88
No symbol "0x420012ef88" in current context.
(gdb) info addr 0x420012ef80
No symbol "0x420012ef80" in current context.
(gdb) ghc closure $rbx
THUNK (0x40756f20)
Ptr: constr(ghc:UniqSupply.MkSplitUniqSupply)
Word: 0x401e61f1
(gdb) si
0x00000000407574d7 in ?? ()
=> 0x00000000407574d7: 4c 89 f3 mov %r14,%rbx
(gdb)
0x00000000407574da in ?? ()
=> 0x00000000407574da: 48 89 4d f0 mov %rcx,-0x10(%rbp)
(gdb) ghc closure $rbx
off-heap(0x40161fd8)
(gdb) si
0x00000000407574de in ?? ()
=> 0x00000000407574de: 48 89 45 f8 mov %rax,-0x8(%rbp)
(gdb)
0x00000000407574e2 in ?? ()
=> 0x00000000407574e2: 48 83 c5 e8 add $0xffffffffffffffe8,%rbp
(gdb)
0x00000000407574e6 in ?? ()
=> 0x00000000407574e6: f6 c3 07 test $0x7,%bl
(gdb)
0x00000000407574e9 in ?? ()
=> 0x00000000407574e9: 0f 85 d1 08 00 00 jne 0x40757dc0
(gdb)
0x00000000407574ef in ?? ()
=> 0x00000000407574ef: ff 23 jmpq *(%rbx)
(gdb) ghc closure $rbx
off-heap(0x40161fd8)
(gdb) ghc closure *($rbx)
off-heap(0x40115950)
(gdb) x/8a $rbp
0x42001fcab8: 0x40757dc0 0x420012ef68
0x42001fcac8: 0x420012ef89 0x40757ec0
0x42001fcad8: 0x3b0b33304cfbe3ff 0xd395a248530d97d0
0x42001fcae8: 0x25425afc35740507 0xc652846c5ad757c1
(gdb) si
0x0000000040115950 in ?? ()
=> 0x0000000040115950: 48 83 c3 05 add $0x5,%rbx
(gdb)
0x0000000040115954 in ?? ()
=> 0x0000000040115954: ff 65 00 jmpq *0x0(%rbp)
(gdb) ghc closure $rbx
off-heap(0x40161fd8)
(gdb) ghc closure 0x40757dc0
off-heap(0x40757dc0)
(gdb) si
0x0000000040757dc0 in ?? ()
=> 0x0000000040757dc0: 48 8b 45 10 mov 0x10(%rbp),%rax
(gdb)
0x0000000040757dc4 in ?? ()
=> 0x0000000040757dc4: 48 89 d9 mov %rbx,%rcx
(gdb)
0x0000000040757dc7 in ?? ()
=> 0x0000000040757dc7: 83 e1 07 and $0x7,%ecx
(gdb)
0x0000000040757dca in ?? ()
=> 0x0000000040757dca: ff 24 cd 28 ab 3f 40 jmpq *0x403fab28(,%rcx,8)
(gdb)
Program received signal SIGSEGV, Segmentation fault.
0x0000000040757dca in ?? ()
=> 0x0000000040757dca: ff 24 cd 28 ab 3f 40 jmpq *0x403fab28(,%rcx,8)
(gdb) print $rcx
$29 = 5
(gdb) print/x $rcx
$30 = 0x5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment