Advertisement
Guest User

Untitled

a guest
Jan 8th, 2013
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.44 KB | None | 0 0
  1. tschmelcher@******:~/clients-local/p10-2/googleclient/third_party/webrtc/3.18/files$ gdb --args out/Debug/../../third_party/gold/gold64 -o out/Debug/libvpx_obj_int_extract -z noexecstack out/Debug/obj.host/libvpx_obj_int_extract/third_party/libvpx/source/libvpx-internal/build/make/obj_int_extract.o -lc
  2. GNU gdb (GDB) 7.5-gg5
  3. Copyright (C) 2012 Free Software Foundation, Inc.
  4. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  5. This is free software: you are free to change and redistribute it.
  6. There is NO WARRANTY, to the extent permitted by law. Type "show copying"
  7. and "show warranty" for details.
  8. This GDB was configured as "x86_64-linux".
  9.  
  10. <http://wiki/Main/GnuDebugger FAQ: http://go/gdb Email: gdb-team IRC: gdb>
  11. Reading symbols from /usr/local/google/home/tschmelcher/clients-local/p10-2/googleclient/third_party/webrtc/3.18/files/third_party/gold/gold64...done.
  12.  
  13. WARNING: no debugging symbols found in /usr/local/google/home/tschmelcher/clients-local/p10-2/googleclient/third_party/webrtc/3.18/files/third_party/gold/gold64.
  14. Either the binary was compiled without debugging information
  15. or the debugging information was removed (e.g., with strip or strip -g).
  16. Debugger capabilities will be very limited.
  17. For further information: http://wiki/Main/GdbFaq#No_debugging_symbols_found
  18.  
  19. (gdb) break posix_fallocate
  20. Function "posix_fallocate" not defined.
  21. Make breakpoint pending on future shared library load? (y or [n]) y
  22.  
  23. Breakpoint 1 (posix_fallocate) pending.
  24. (gdb) break pwrite
  25. Function "pwrite" not defined.
  26. Make breakpoint pending on future shared library load? (y or [n]) y
  27.  
  28. Breakpoint 2 (pwrite) pending.
  29. (gdb) commands
  30. Type commands for breakpoint(s) 2, one per line.
  31. End with a line saying just "end".
  32. >continue
  33. >end
  34. (gdb) run
  35. Starting program: /usr/local/google/home/tschmelcher/clients-local/p10-2/googleclient/third_party/webrtc/3.18/files/third_party/gold/gold64 -o out/Debug/libvpx_obj_int_extract -z noexecstack out/Debug/obj.host/libvpx_obj_int_extract/third_party/libvpx/source/libvpx-internal/build/make/obj_int_extract.o -lc
  36. [Thread debugging using libthread_db enabled]
  37. Using host libthread_db library "/usr/grte/v2/lib64/libthread_db.so.1".
  38.  
  39. Breakpoint 1, posix_fallocate (fd=12, offset=0, len=20888)
  40. at ../sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c:38
  41. 38 ../sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: No such file or directory.
  42. (gdb) disas
  43. Dump of assembler code for function posix_fallocate:
  44. => 0x00007ffff6f51eb0 <+0>: mov 0x2a6032(%rip),%eax # 0x7ffff71f7ee8 <__have_fallocate>
  45. 0x00007ffff6f51eb6 <+6>: push %rbx
  46. 0x00007ffff6f51eb7 <+7>: mov %rsi,%r9
  47. 0x00007ffff6f51eba <+10>: mov %edi,%ebx
  48. 0x00007ffff6f51ebc <+12>: mov %rdx,%r8
  49. 0x00007ffff6f51ebf <+15>: test %eax,%eax
  50. 0x00007ffff6f51ec1 <+17>: js 0x7ffff6f51f00 <posix_fallocate+80>
  51. 0x00007ffff6f51ec3 <+19>: mov %rdx,%r10
  52. 0x00007ffff6f51ec6 <+22>: movslq %edi,%rdi
  53. 0x00007ffff6f51ec9 <+25>: mov %rsi,%rdx
  54. 0x00007ffff6f51ecc <+28>: mov $0x11d,%eax
  55. 0x00007ffff6f51ed1 <+33>: xor %esi,%esi
  56. 0x00007ffff6f51ed3 <+35>: syscall
  57. 0x00007ffff6f51ed5 <+37>: xor %edx,%edx
  58. 0x00007ffff6f51ed7 <+39>: cmp $0xfffff000,%eax
  59. 0x00007ffff6f51edc <+44>: jbe 0x7ffff6f51eec <posix_fallocate+60>
  60. 0x00007ffff6f51ede <+46>: cmp $0xffffffda,%eax
  61. 0x00007ffff6f51ee1 <+49>: je 0x7ffff6f51ef0 <posix_fallocate+64>
  62. 0x00007ffff6f51ee3 <+51>: cmp $0xffffffa1,%eax
  63. 0x00007ffff6f51ee6 <+54>: je 0x7ffff6f51f00 <posix_fallocate+80>
  64. 0x00007ffff6f51ee8 <+56>: mov %eax,%edx
  65. ---Type <return> to continue, or q <return> to quit---q
  66. Quit
  67. (gdb) break *0x00007ffff6f51ed3
  68. Breakpoint 3 at 0x7ffff6f51ed3: file ../sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c, line 42.
  69. (gdb) c
  70. Continuing.
  71.  
  72. Breakpoint 3, 0x00007ffff6f51ed3 in posix_fallocate (fd=12, offset=0,
  73. len=20888) at ../sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c:42
  74. 42 in ../sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
  75. (gdb) info registers
  76. rax 0x11d 285
  77. rbx 0xc 12
  78. rcx 0x7ffff6f4f374 140737336636276
  79. rdx 0x0 0
  80. rsi 0x0 0
  81. rdi 0xc 12
  82. rbp 0xc 0xc
  83. rsp 0x7fffffff8340 0x7fffffff8340
  84. r8 0x5198 20888
  85. r9 0x0 0
  86. r10 0x5198 20888
  87. r11 0x7ffff6f51eb0 140737336647344
  88. r12 0x5198 20888
  89. r13 0x7fffffffdc90 140737488346256
  90. r14 0x7fffffffe275 140737488347765
  91. r15 0x7fffffffdc90 140737488346256
  92. rip 0x7ffff6f51ed3 0x7ffff6f51ed3 <posix_fallocate+35>
  93. eflags 0x246 [ PF ZF IF ]
  94. cs 0x33 51
  95. ss 0x2b 43
  96. ds 0x0 0
  97. es 0x0 0
  98. fs 0x0 0
  99. ---Type <return> to continue, or q <return> to quit---q
  100. Quit
  101. (gdb) print $rdi = 9999
  102. $1 = 9999
  103. (gdb) stepi
  104. 44 in ../sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
  105. (gdb) info registers
  106. rax 0xfffffffffffffff7 -9
  107. rbx 0xc 12
  108. rcx 0xffffffffffffffff -1
  109. rdx 0x0 0
  110. rsi 0x0 0
  111. rdi 0x270f 9999
  112. rbp 0xc 0xc
  113. rsp 0x7fffffff8340 0x7fffffff8340
  114. r8 0x5198 20888
  115. r9 0x0 0
  116. r10 0x5198 20888
  117. r11 0x346 838
  118. r12 0x5198 20888
  119. r13 0x7fffffffdc90 140737488346256
  120. r14 0x7fffffffe275 140737488347765
  121. r15 0x7fffffffdc90 140737488346256
  122. rip 0x7ffff6f51ed5 0x7ffff6f51ed5 <posix_fallocate+37>
  123. eflags 0x246 [ PF ZF IF ]
  124. cs 0x33 51
  125. ss 0x2b 43
  126. ds 0x0 0
  127. es 0x0 0
  128. fs 0x0 0
  129. ---Type <return> to continue, or q <return> to quit---q
  130. Quit
  131. (gdb) print $rax = -95
  132. $2 = -95
  133. (gdb) c
  134. Continuing.
  135.  
  136. Breakpoint 2, pwrite64 () at ../sysdeps/unix/syscall-template.S:82
  137. 82 ../sysdeps/unix/syscall-template.S: No such file or directory.
  138.  
  139. Breakpoint 2, pwrite64 () at ../sysdeps/unix/syscall-template.S:82
  140. 82 in ../sysdeps/unix/syscall-template.S
  141.  
  142. Breakpoint 2, pwrite64 () at ../sysdeps/unix/syscall-template.S:82
  143. 82 in ../sysdeps/unix/syscall-template.S
  144.  
  145. Breakpoint 2, pwrite64 () at ../sysdeps/unix/syscall-template.S:82
  146. 82 in ../sysdeps/unix/syscall-template.S
  147.  
  148. Breakpoint 2, pwrite64 () at ../sysdeps/unix/syscall-template.S:82
  149. 82 in ../sysdeps/unix/syscall-template.S
  150.  
  151. Breakpoint 2, pwrite64 () at ../sysdeps/unix/syscall-template.S:82
  152. 82 in ../sysdeps/unix/syscall-template.S
  153. [Inferior 1 (process 7558) exited normally]
  154. (gdb) quit
  155. tschmelcher@******:~/clients-local/p10-2/googleclient/third_party/webrtc/3.18/files$ hexdump out/Debug/libvpx_obj_int_extract | head -n 100
  156. 0000000 457f 464c 0102 0001 0000 0000 0000 0000
  157. 0000010 0002 003e 0001 0000 0000 0000 0000 0000
  158. 0000020 0040 0000 0000 0000 4a18 0000 0000 0000
  159. 0000030 0000 0000 0040 0038 0006 0040 001e 001d
  160. 0000040 0006 0000 0004 0000 0040 0000 0000 0000
  161. 0000050 0040 0040 0000 0000 0040 0040 0000 0000
  162. 0000060 0150 0000 0000 0000 0150 0000 0000 0000
  163. 0000070 0008 0000 0000 0000 0003 0000 0004 0000
  164. 0000080 0190 0000 0000 0000 0190 0040 0000 0000
  165. 0000090 0190 0040 0000 0000 000f 0000 0000 0000
  166. 00000a0 000f 0000 0000 0000 0001 0000 0000 0000
  167. 00000b0 0001 0000 0005 0000 0000 0000 0000 0000
  168. 00000c0 0000 0040 0000 0000 0000 0040 0000 0000
  169. 00000d0 2610 0000 0000 0000 2610 0000 0000 0000
  170. 00000e0 1000 0000 0000 0000 0001 0000 0006 0000
  171. 00000f0 2610 0000 0000 0000 3610 0040 0000 0000
  172. 0000100 3610 0040 0000 0000 0238 0000 0000 0000
  173. 0000110 0238 0000 0000 0000 1000 0000 0000 0000
  174. 0000120 0002 0000 0006 0000 2610 0000 0000 0000
  175. 0000130 3610 0040 0000 0000 3610 0040 0000 0000
  176. 0000140 0180 0000 0000 0000 0180 0000 0000 0000
  177. 0000150 0008 0000 0000 0000 e551 6474 0006 0000
  178. 0000160 0000 0000 0000 0000 0000 0000 0000 0000
  179. *
  180. 0000190 6c2f 6269 6c2f 3664 2e34 6f73 312e 0000
  181. 00001a0 0000 0000 0000 0000 0000 0000 0000 0000
  182. 00001b0 0000 0000 0000 0000 0001 0000 0011 0000
  183. 00001c0 0000 0000 0000 0000 0000 0000 0000 0000
  184. 00001d0 001e 0000 0012 0000 0000 0000 0000 0000
  185. 00001e0 0000 0000 0000 0000 0027 0000 0012 0000
  186. 00001f0 0000 0000 0000 0000 0000 0000 0000 0000
  187. 0000200 002e 0000 0012 0000 0000 0000 0000 0000
  188. 0000210 0000 0000 0000 0000 0035 0000 0012 0000
  189. 0000220 0000 0000 0000 0000 0000 0000 0000 0000
  190. 0000230 003c 0000 0012 0000 0000 0000 0000 0000
  191. 0000240 0000 0000 0000 0000 0043 0000 0012 0000
  192. 0000250 0000 0000 0000 0000 0000 0000 0000 0000
  193. 0000260 004a 0000 0012 0000 0000 0000 0000 0000
  194. 0000270 0000 0000 0000 0000 004f 0000 0012 0000
  195. 0000280 0000 0000 0000 0000 0000 0000 0000 0000
  196. 0000290 006a 0000 0012 0000 0000 0000 0000 0000
  197. 00002a0 0000 0000 0000 0000 0072 0000 0012 0000
  198. 00002b0 0000 0000 0000 0000 0000 0000 0000 0000
  199. 00002c0 0079 0000 0012 0000 0000 0000 0000 0000
  200. 00002d0 0000 0000 0000 0000 0081 0000 0012 0000
  201. 00002e0 0000 0000 0000 0000 0000 0000 0000 0000
  202. 00002f0 0088 0000 0012 0000 0000 0000 0000 0000
  203. 0000300 0000 0000 0000 0000 008e 0000 0012 0000
  204. 0000310 0000 0000 0000 0000 0000 0000 0000 0000
  205. 0000320 0094 0000 0012 0000 0000 0000 0000 0000
  206. 0000330 0000 0000 0000 0000 009b 0000 0012 0000
  207. 0000340 0000 0000 0000 0000 0000 0000 0000 0000
  208. 0000350 00a2 0000 0012 0000 0000 0000 0000 0000
  209. 0000360 0000 0000 0000 0000 00a8 0000 0012 0000
  210. 0000370 0000 0000 0000 0000 0000 0000 0000 0000
  211. 0000380 00af 0000 0012 0000 0000 0000 0000 0000
  212. 0000390 0000 0000 0000 0000 7300 6474 7265 0072
  213. 00003a0 4c47 4249 5f43 2e32 2e32 0035 696c 6362
  214. 00003b0 732e 2e6f 0036 6676 7270 6e69 6674 6d00
  215. 00003c0 6d65 7063 0079 656d 736d 7465 7300 7274
  216. 00003d0 7063 0079 7473 6372 706d 7000 6972 746e
  217. 00003e0 0066 7570 7374 5f00 735f 6174 6b63 635f
  218. 00003f0 6b68 665f 6961 006c 4c47 4249 5f43 2e32
  219. 0000400 0034 7066 6972 746e 0066 7766 6972 6574
  220. 0000410 6600 706f 6e65 3436 7000 7265 6f72 0072
  221. 0000420 7366 6565 006b 7466 6c65 006c 616d 6c6c
  222. 0000430 636f 7200 7765 6e69 0064 7266 6165 0064
  223. 0000440 6366 6f6c 6573 6600 6572 0065 0000 0000
  224. 0000450 0011 0000 0015 0000 0002 0000 0000 0000
  225. 0000460 000f 0000 0013 0000 0008 0000 0000 0000
  226. 0000470 0006 0000 0012 0000 000c 0000 000e 0000
  227. 0000480 0010 0000 0000 0000 0014 0000 0004 0000
  228. 0000490 0011 0000 0000 0000 0000 0000 0000 0000
  229. 00004a0 0000 0000 0000 0000 0000 0000 0000 0000
  230. *
  231. 00004c0 0005 0000 0000 0000 0007 0000 0003 0000
  232. 00004d0 0000 0000 000d 0000 0001 0000 000b 0000
  233. 00004e0 000a 0000 0000 0000 0000 0000 0009 0000
  234. 00004f0 0000 0002 0002 0002 0002 0002 0002 0002
  235. 0000500 0002 0003 0002 0002 0002 0002 0002 0002
  236. 0000510 0002 0002 0002 0002 0002 0000 0001 0002
  237. 0000520 0014 0000 0010 0000 0000 0000 1a75 0969
  238. 0000530 0000 0002 0008 0000 0010 0000 6914 0d69
  239. 0000540 0000 0003 0060 0000 0000 0000 0000 0000
  240. 0000550 3790 0040 0000 0000 0006 0000 0001 0000
  241. 0000560 0000 0000 0000 0000 37b0 0040 0000 0000
  242. 0000570 0007 0000 0002 0000 0000 0000 0000 0000
  243. 0000580 37b8 0040 0000 0000 0007 0000 0003 0000
  244. 0000590 0000 0000 0000 0000 37c0 0040 0000 0000
  245. 00005a0 0007 0000 0004 0000 0000 0000 0000 0000
  246. 00005b0 37c8 0040 0000 0000 0007 0000 0005 0000
  247. 00005c0 0000 0000 0000 0000 37d0 0040 0000 0000
  248. 00005d0 0007 0000 0006 0000 0000 0000 0000 0000
  249. 00005e0 37d8 0040 0000 0000 0007 0000 0007 0000
  250. 00005f0 0000 0000 0000 0000 37e0 0040 0000 0000
  251. 0000600 0007 0000 0008 0000 0000 0000 0000 0000
  252. 0000610 37e8 0040 0000 0000 0007 0000 0009 0000
  253. 0000620 0000 0000 0000 0000 37f0 0040 0000 0000
  254. 0000630 0007 0000 000a 0000 0000 0000 0000 0000
  255. 0000640 37f8 0040 0000 0000 0007 0000 000b 0000
  256. tschmelcher@******:~/clients-local/p10-2/googleclient/third_party/webrtc/3.18/files$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement