Advertisement
Guest User

Untitled

a guest
Apr 16th, 2013
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.71 KB | None | 0 0
  1. (gdb) r
  2. Starting program: /Users/doob/development/d/test
  3. Reading symbols for shared libraries +......................... done
  4.  
  5. Program received signal EXC_BAD_ACCESS, Could not access memory.
  6. Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
  7. 0x00002689 in D4test3barFZS4test3Foo ()
  8. (gdb) bt
  9. #0 0x00002689 in D4test3barFZS4test3Foo ()
  10. #1 0x00002647 in _Dmain ()
  11. #2 0x000140c5 in D2rt6dmain211_d_run_mainUiPPaPUAAaZiZi7runMainMFZv ()
  12. #3 0x00013c78 in D2rt6dmain211_d_run_mainUiPPaPUAAaZiZi7tryExecMFMDFZvZv ()
  13. #4 0x00014113 in D2rt6dmain211_d_run_mainUiPPaPUAAaZiZi6runAllMFZv ()
  14. #5 0x00013c78 in D2rt6dmain211_d_run_mainUiPPaPUAAaZiZi7tryExecMFMDFZvZv ()
  15. #6 0x00013c46 in _d_run_main ()
  16. #7 0x00013ae9 in main ()
  17. (gdb) disas
  18. Dump of assembler code for function D4test3barFZS4test3Foo:
  19. 0x00002668 <D4test3barFZS4test3Foo+0>: push %ebp
  20. 0x00002669 <D4test3barFZS4test3Foo+1>: mov %esp,%ebp
  21. 0x0000266b <D4test3barFZS4test3Foo+3>: sub $0x20,%esp
  22. 0x0000266e <D4test3barFZS4test3Foo+6>: push %esi
  23. 0x0000266f <D4test3barFZS4test3Foo+7>: push %edi
  24. 0x00002670 <D4test3barFZS4test3Foo+8>: mov %eax,-0x4(%ebp)
  25. 0x00002673 <D4test3barFZS4test3Foo+11>: sub $0x8,%esp
  26. 0x00002676 <D4test3barFZS4test3Foo+14>: push $0x0
  27. 0x00002678 <D4test3barFZS4test3Foo+16>: lea -0x10(%ebp),%ecx
  28. 0x0000267b <D4test3barFZS4test3Foo+19>: push %ecx
  29. 0x0000267c <D4test3barFZS4test3Foo+20>: call 0x26a0 <foo>
  30. 0x00002681 <D4test3barFZS4test3Foo+25>: add $0xc,%esp
  31. 0x00002684 <D4test3barFZS4test3Foo+28>: mov %eax,%esi
  32. 0x00002686 <D4test3barFZS4test3Foo+30>: mov -0x4(%ebp),%edi
  33. 0x00002689 <D4test3barFZS4test3Foo+33>: movsl %ds:(%esi),%es:(%edi)
  34. 0x0000268a <D4test3barFZS4test3Foo+34>: movsl %ds:(%esi),%es:(%edi)
  35. 0x0000268b <D4test3barFZS4test3Foo+35>: movsl %ds:(%esi),%es:(%edi)
  36. 0x0000268c <D4test3barFZS4test3Foo+36>: mov -0x4(%ebp),%eax
  37. 0x0000268f <D4test3barFZS4test3Foo+39>: pop %edi
  38. 0x00002690 <D4test3barFZS4test3Foo+40>: pop %esi
  39. 0x00002691 <D4test3barFZS4test3Foo+41>: leave
  40. 0x00002692 <D4test3barFZS4test3Foo+42>: ret
  41. 0x00002693 <D4test3barFZS4test3Foo+43>: nop
  42. 0x00002694 <D4test3barFZS4test3Foo+44>: nop
  43. 0x00002695 <D4test3barFZS4test3Foo+45>: nop
  44. 0x00002696 <D4test3barFZS4test3Foo+46>: nop
  45. 0x00002697 <D4test3barFZS4test3Foo+47>: nop
  46. 0x00002698 <D4test3barFZS4test3Foo+48>: nop
  47. 0x00002699 <D4test3barFZS4test3Foo+49>: nop
  48. 0x0000269a <D4test3barFZS4test3Foo+50>: nop
  49. 0x0000269b <D4test3barFZS4test3Foo+51>: nop
  50. 0x0000269c <D4test3barFZS4test3Foo+52>: nop
  51. 0x0000269d <D4test3barFZS4test3Foo+53>: nop
  52. 0x0000269e <D4test3barFZS4test3Foo+54>: nop
  53. 0x0000269f <D4test3barFZS4test3Foo+55>: nop
  54. End of assembler dump.
  55. (gdb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement