shadowm

Untitled

Nov 1st, 2011
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.88 KB | None | 0 0
  1. (gdb) run
  2. The program being debugged has been started already.
  3. Start it from the beginning? (y or n) y
  4. Starting program: /home/shadowm/src/wesnoth/wesnoth-debug
  5. [Thread debugging using libthread_db enabled]
  6. [New Thread 0x7fffeb8a4700 (LWP 20578)]
  7. Battle for Wesnoth v1.9.9+svn (51795)
  8. Started on Tue Nov 1 18:05:52 2011
  9.  
  10. Automatically found a possible data directory at /home/shadowm/src/wesnoth
  11.  
  12. Data directory: /home/shadowm/src/wesnoth
  13. User configuration directory: /home/shadowm/.wesnoth-1.9
  14. User data directory: /home/shadowm/.wesnoth-1.9
  15. Cache directory: /home/shadowm/.wesnoth-1.9/cache
  16. [New Thread 0x7fffea4fd700 (LWP 20580)]
  17. Checking video mode: 1280x752x32...
  18. setting mode to 1280x752x32
  19. ALSA lib pcm.c:7316:(snd_pcm_recover) underrun occurred
  20. 20111101 18:06:07 warning engine: [side] Anonymous local player [village] points to a non-village location 18,24
  21.  
  22. Program received signal SIGSEGV, Segmentation fault.
  23. 0x000000000062b4c1 in replay_controller::replay_buttons_wrapper::reset_buttons (this=0x7fffffffd4f0) at src/replay_controller.cpp:218
  24. 218 play_button_->enable(true);
  25. (gdb) bt
  26. #0 0x000000000062b4c1 in replay_controller::replay_buttons_wrapper::reset_buttons (this=0x7fffffffd4f0) at src/replay_controller.cpp:218
  27. #1 0x000000000062b9c0 in replay_controller::reset_replay (this=0x7fffffffc9f0) at src/replay_controller.cpp:265
  28. #2 0x000000000062a417 in replay_controller::replay_controller (this=0x7fffffffc9f0, level=..., state_of_game=..., ticks=14658, num_turns=-1,
  29. game_config=..., video=...) at src/replay_controller.cpp:80
  30. #3 0x000000000062a0df in play_replay_level (game_config=..., level=0x7fffffffd5a0, video=..., state_of_game=...) at src/replay_controller.cpp:44
  31. #4 0x0000000000600d35 in play_replay (disp=..., gamestate=..., game_config=..., video=...) at src/playcampaign.cpp:101
  32. #5 0x0000000000485e30 in game_controller::play_replay (this=0x16256a0) at src/game_controller.cpp:1289
  33. #6 0x000000000041fa80 in do_gameloop (argc=1, argv=0x7fffffffe078) at src/game.cpp:576
  34. #7 0x000000000041ff5e in main (argc=1, argv=0x7fffffffe078) at src/game.cpp:627
  35. (gdb) frame
  36. #0 0x000000000062b4c1 in replay_controller::replay_buttons_wrapper::reset_buttons (this=0x7fffffffd4f0) at src/replay_controller.cpp:218
  37. 218 play_button_->enable(true);
  38. (gdb) p $rip
  39. $2 = (void (*)(void)) 0x62b4c1 <replay_controller::replay_buttons_wrapper::reset_buttons()+45>
  40. (gdb) disassemble
  41. Dump of assembler code for function replay_controller::replay_buttons_wrapper::reset_buttons():
  42. 0x000000000062b494 <+0>: push %rbp
  43. 0x000000000062b495 <+1>: mov %rsp,%rbp
  44. 0x000000000062b498 <+4>: sub $0x10,%rsp
  45. 0x000000000062b49c <+8>: mov %rdi,-0x8(%rbp)
  46. 0x000000000062b4a0 <+12>: mov -0x8(%rbp),%rax
  47. 0x000000000062b4a4 <+16>: movzbl (%rax),%eax
  48. 0x000000000062b4a7 <+19>: xor $0x1,%eax
  49. 0x000000000062b4aa <+22>: test %al,%al
  50. 0x000000000062b4ac <+24>: jne 0x62b568 <replay_controller::replay_buttons_wrapper::reset_buttons()+212>
  51. 0x000000000062b4b2 <+30>: mov -0x8(%rbp),%rax
  52. 0x000000000062b4b6 <+34>: mov 0x8(%rax),%rax
  53. 0x000000000062b4ba <+38>: mov (%rax),%rax
  54. 0x000000000062b4bd <+41>: add $0x70,%rax
  55. => 0x000000000062b4c1 <+45>: mov (%rax),%rdx
  56. 0x000000000062b4c4 <+48>: mov -0x8(%rbp),%rax
  57. 0x000000000062b4c8 <+52>: mov 0x8(%rax),%rax
  58. 0x000000000062b4cc <+56>: mov $0x1,%esi
  59. 0x000000000062b4d1 <+61>: mov %rax,%rdi
  60. 0x000000000062b4d4 <+64>: callq *%rdx
  61. 0x000000000062b4d6 <+66>: mov -0x8(%rbp),%rax
  62. 0x000000000062b4da <+70>: mov 0x10(%rax),%rax
  63. 0x000000000062b4de <+74>: mov (%rax),%rax
  64. 0x000000000062b4e1 <+77>: add $0x70,%rax
  65. 0x000000000062b4e5 <+81>: mov (%rax),%rdx
  66. 0x000000000062b4e8 <+84>: mov -0x8(%rbp),%rax
  67. 0x000000000062b4ec <+88>: mov 0x10(%rax),%rax
  68. 0x000000000062b4f0 <+92>: mov $0x1,%esi
  69. 0x000000000062b4f5 <+97>: mov %rax,%rdi
  70. 0x000000000062b4f8 <+100>: callq *%rdx
  71. 0x000000000062b4fa <+102>: mov -0x8(%rbp),%rax
  72. 0x000000000062b4fe <+106>: mov 0x18(%rax),%rax
  73. 0x000000000062b502 <+110>: mov (%rax),%rax
  74. 0x000000000062b505 <+113>: add $0x70,%rax
  75. 0x000000000062b509 <+117>: mov (%rax),%rdx
  76. 0x000000000062b50c <+120>: mov -0x8(%rbp),%rax
  77. 0x000000000062b510 <+124>: mov 0x18(%rax),%rax
  78. 0x000000000062b514 <+128>: mov $0x1,%esi
  79. 0x000000000062b519 <+133>: mov %rax,%rdi
  80. 0x000000000062b51c <+136>: callq *%rdx
  81. 0x000000000062b51e <+138>: mov -0x8(%rbp),%rax
  82. 0x000000000062b522 <+142>: mov 0x20(%rax),%rax
  83. 0x000000000062b526 <+146>: mov (%rax),%rax
  84. 0x000000000062b529 <+149>: add $0x70,%rax
  85. ---Type <return> to continue, or q <return> to quit---
  86. 0x000000000062b52d <+153>: mov (%rax),%rdx
  87. 0x000000000062b530 <+156>: mov -0x8(%rbp),%rax
  88. 0x000000000062b534 <+160>: mov 0x20(%rax),%rax
  89. 0x000000000062b538 <+164>: mov $0x1,%esi
  90. 0x000000000062b53d <+169>: mov %rax,%rdi
  91. 0x000000000062b540 <+172>: callq *%rdx
  92. 0x000000000062b542 <+174>: mov -0x8(%rbp),%rax
  93. 0x000000000062b546 <+178>: mov 0x28(%rax),%rax
  94. 0x000000000062b54a <+182>: mov (%rax),%rax
  95. 0x000000000062b54d <+185>: add $0x70,%rax
  96. 0x000000000062b551 <+189>: mov (%rax),%rdx
  97. 0x000000000062b554 <+192>: mov -0x8(%rbp),%rax
  98. 0x000000000062b558 <+196>: mov 0x28(%rax),%rax
  99. 0x000000000062b55c <+200>: mov $0x1,%esi
  100. 0x000000000062b561 <+205>: mov %rax,%rdi
  101. 0x000000000062b564 <+208>: callq *%rdx
  102. 0x000000000062b566 <+210>: jmp 0x62b569 <replay_controller::replay_buttons_wrapper::reset_buttons()+213>
  103. 0x000000000062b568 <+212>: nop
  104. 0x000000000062b569 <+213>: leaveq
  105. 0x000000000062b56a <+214>: retq
  106. End of assembler dump.
  107.  
  108.  
Advertisement
Add Comment
Please, Sign In to add comment