Advertisement
Guest User

Untitled

a guest
Oct 2nd, 2012
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.32 KB | None | 0 0
  1. strace /lib/ld-linux-x86-64.so.2 /usr/bin/qemu-arm
  2. execve("/lib/ld-linux-x86-64.so.2", ["/lib/ld-linux-x86-64.so.2", "/usr/bin/qemu-arm"], [/* 64 vars */]) = 0
  3. brk(0) = 0x7f921bba4000
  4. open("/usr/bin/qemu-arm", O_RDONLY|O_CLOEXEC) = 3
  5. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0pK\3`\0\0\0\0"..., 832) = 832
  6. fstat(3, {st_mode=S_IFREG|0755, st_size=2362008, ...}) = 0
  7. mmap(0x60000000, 36298048, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x60000000
  8. mmap(0x60241000, 33934656, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x60241000
  9. close(3) = 0
  10. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9219eba000
  11. access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
  12. open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
  13. fstat(3, {st_mode=S_IFREG|0644, st_size=209231, ...}) = 0
  14. mmap(NULL, 209231, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f9219e86000
  15. close(3) = 0
  16. open("/lib64/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
  17. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200(\0\0\0\0\0\0"..., 832) = 832
  18. fstat(3, {st_mode=S_IFREG|0755, st_size=35656, ...}) = 0
  19. mmap(NULL, 2133008, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9219c7d000
  20. mprotect(0x7f9219c85000, 2093056, PROT_NONE) = 0
  21. mmap(0x7f9219e84000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f9219e84000
  22. close(3) = 0
  23. open("/usr/lib64/libglib-2.0.so.0", O_RDONLY|O_CLOEXEC) = 3
  24. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\241A\0040\0\0\0"..., 832) = 832
  25. fstat(3, {st_mode=S_IFREG|0755, st_size=1194520, ...}) = 0
  26. mmap(0x3004400000, 3289976, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3004400000
  27. mprotect(0x3004522000, 2093056, PROT_NONE) = 0
  28. mmap(0x3004721000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x121000) = 0x3004721000
  29. mmap(0x3004723000, 888, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3004723000
  30. close(3) = 0
  31. open("/lib64/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
  32. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20h\0\0\0\0\0\0"..., 832) = 832
  33. fstat(3, {st_mode=S_IFREG|0755, st_size=997560, ...}) = 0
  34. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9219c7c000
  35. mmap(NULL, 3092776, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9219988000
  36. mprotect(0x7f9219a7a000, 2097152, PROT_NONE) = 0
  37. mmap(0x7f9219c7a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf2000) = 0x7f9219c7a000
  38. close(3) = 0
  39. open("/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
  40. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300l\0\0\0\0\0\0"..., 832) = 832
  41. fstat(3, {st_mode=S_IFREG|0755, st_size=135657, ...}) = 0
  42. mmap(NULL, 2212768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f921976b000
  43. mprotect(0x7f9219783000, 2093056, PROT_NONE) = 0
  44. mmap(0x7f9219982000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f9219982000
  45. mmap(0x7f9219984000, 13216, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f9219984000
  46. close(3) = 0
  47. open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
  48. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@&\2\0\0\0\0\0"..., 832) = 832
  49. fstat(3, {st_mode=S_IFREG|0755, st_size=1730128, ...}) = 0
  50. mmap(NULL, 3837256, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f92193c2000
  51. mprotect(0x7f9219562000, 2093056, PROT_NONE) = 0
  52. mmap(0x7f9219761000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19f000) = 0x7f9219761000
  53. mmap(0x7f9219767000, 15688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f9219767000
  54. close(3) = 0
  55. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f92193c1000
  56. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f92193c0000
  57. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f92193bf000
  58. arch_prctl(ARCH_SET_FS, 0x7f92193c0700) = 0
  59. mprotect(0x7f9219761000, 16384, PROT_READ) = 0
  60. mprotect(0x7f9219982000, 4096, PROT_READ) = 0
  61. mprotect(0x7f9219c7a000, 4096, PROT_READ) = 0
  62. mprotect(0x7f9219e84000, 4096, PROT_READ) = 0
  63. mprotect(0x3004721000, 4096, PROT_READ) = 0
  64. mprotect(0x7f921a0dc000, 4096, PROT_READ) = 0
  65. munmap(0x7f9219e86000, 209231) = 0
  66. set_tid_address(0x7f92193c09d0) = 18750
  67. set_robust_list(0x7f92193c09e0, 24) = 0
  68. futex(0x7fff17f35fbc, FUTEX_WAKE_PRIVATE, 1) = 0
  69. futex(0x7fff17f35fbc, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 7f92193c0700) = -1 EAGAIN (Resource temporarily unavailable)
  70. rt_sigaction(SIGRTMIN, {0x7f9219771730, [], SA_RESTORER|SA_SIGINFO, 0x7f921977b410}, NULL, 8) = 0
  71. rt_sigaction(SIGRT_1, {0x7f92197717c0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7f921977b410}, NULL, 8) = 0
  72. rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
  73. getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
  74. brk(0) = 0x7f921bba4000
  75. brk(0x7f921bbc5000) = 0x7f921bbc5000
  76. write(2, "Registering `arm-cpu' which alre"..., 43Registering `arm-cpu' which already exists
  77. ) = 43
  78. rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
  79. tgkill(18750, 18750, SIGABRT) = 0
  80. --- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=18750, si_uid=1000} ---
  81. +++ killed by SIGABRT +++
  82. Аварийный останов
  83.  
  84.  
  85.  
  86. strace /usr/bin/qemu-arm
  87. execve("/usr/bin/qemu-arm", ["/usr/bin/qemu-arm"], [/* 64 vars */]) = 0
  88. brk(0) = 0x62a07000
  89. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2285809000
  90. access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
  91. open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
  92. fstat(3, {st_mode=S_IFREG|0644, st_size=209231, ...}) = 0
  93. mmap(NULL, 209231, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f22857d5000
  94. close(3) = 0
  95. open("/lib64/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
  96. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200(\0\0\0\0\0\0"..., 832) = 832
  97. fstat(3, {st_mode=S_IFREG|0755, st_size=35656, ...}) = 0
  98. mmap(NULL, 2133008, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f22853e0000
  99. mprotect(0x7f22853e8000, 2093056, PROT_NONE) = 0
  100. mmap(0x7f22855e7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f22855e7000
  101. close(3) = 0
  102. open("/usr/lib64/libglib-2.0.so.0", O_RDONLY|O_CLOEXEC) = 3
  103. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\241A\0040\0\0\0"..., 832) = 832
  104. fstat(3, {st_mode=S_IFREG|0755, st_size=1194520, ...}) = 0
  105. mmap(0x3004400000, 3289976, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3004400000
  106. mprotect(0x3004522000, 2093056, PROT_NONE) = 0
  107. mmap(0x3004721000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x121000) = 0x3004721000
  108. mmap(0x3004723000, 888, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3004723000
  109. close(3) = 0
  110. open("/lib64/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
  111. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20h\0\0\0\0\0\0"..., 832) = 832
  112. fstat(3, {st_mode=S_IFREG|0755, st_size=997560, ...}) = 0
  113. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f22857d4000
  114. mmap(NULL, 3092776, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f22850ec000
  115. mprotect(0x7f22851de000, 2097152, PROT_NONE) = 0
  116. mmap(0x7f22853de000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf2000) = 0x7f22853de000
  117. close(3) = 0
  118. open("/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
  119. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300l\0\0\0\0\0\0"..., 832) = 832
  120. fstat(3, {st_mode=S_IFREG|0755, st_size=135657, ...}) = 0
  121. mmap(NULL, 2212768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2284ecf000
  122. mprotect(0x7f2284ee7000, 2093056, PROT_NONE) = 0
  123. mmap(0x7f22850e6000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f22850e6000
  124. mmap(0x7f22850e8000, 13216, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f22850e8000
  125. close(3) = 0
  126. open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
  127. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@&\2\0\0\0\0\0"..., 832) = 832
  128. fstat(3, {st_mode=S_IFREG|0755, st_size=1730128, ...}) = 0
  129. mmap(NULL, 3837256, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2284b26000
  130. mprotect(0x7f2284cc6000, 2093056, PROT_NONE) = 0
  131. mmap(0x7f2284ec5000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19f000) = 0x7f2284ec5000
  132. mmap(0x7f2284ecb000, 15688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f2284ecb000
  133. close(3) = 0
  134. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f22857d3000
  135. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f22857d2000
  136. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f22857d1000
  137. arch_prctl(ARCH_SET_FS, 0x7f22857d2700) = 0
  138. mprotect(0x7f2284ec5000, 16384, PROT_READ) = 0
  139. mprotect(0x7f22850e6000, 4096, PROT_READ) = 0
  140. mprotect(0x7f22853de000, 4096, PROT_READ) = 0
  141. mprotect(0x7f22855e7000, 4096, PROT_READ) = 0
  142. mprotect(0x3004721000, 4096, PROT_READ) = 0
  143. mprotect(0x7f228580a000, 4096, PROT_READ) = 0
  144. munmap(0x7f22857d5000, 209231) = 0
  145. set_tid_address(0x7f22857d29d0) = 18754
  146. set_robust_list(0x7f22857d29e0, 24) = 0
  147. futex(0x7fff1a05a8ac, FUTEX_WAKE_PRIVATE, 1) = 0
  148. futex(0x7fff1a05a8ac, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 7f22857d2700) = -1 EAGAIN (Resource temporarily unavailable)
  149. rt_sigaction(SIGRTMIN, {0x7f2284ed5730, [], SA_RESTORER|SA_SIGINFO, 0x7f2284edf410}, NULL, 8) = 0
  150. rt_sigaction(SIGRT_1, {0x7f2284ed57c0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7f2284edf410}, NULL, 8) = 0
  151. rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
  152. getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
  153. brk(0) = 0x62a07000
  154. brk(0x62a28000) = 0x62a28000
  155. getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
  156. fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 13), ...}) = 0
  157. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2285808000
  158. write(1, "usage: qemu-arm [options] progra"..., 49usage: qemu-arm [options] program [arguments...]
  159. ) = 49
  160. write(1, "Linux CPU emulator (compiled for"..., 48Linux CPU emulator (compiled for arm emulation)
  161. ) = 48
  162. write(1, "\n", 1
  163. ) = 1
  164. write(1, "Options and associated environme"..., 46Options and associated environment variables:
  165. ) = 46
  166. write(1, "\n", 1
  167. ) = 1
  168. write(1, "Argument Env-variable D"..., 43Argument Env-variable Description
  169. ) = 43
  170. write(1, "-h p"..., 47-h print this help
  171. ) = 47
  172. write(1, "-g port QEMU_GDB w"..., 61-g port QEMU_GDB wait gdb connection to 'port'
  173. ) = 61
  174. write(1, "-L path QEMU_LD_PREFIX s"..., 72-L path QEMU_LD_PREFIX set the elf interpreter prefix to 'path'
  175. ) = 72
  176. write(1, "-s size QEMU_STACK_SIZE s"..., 66-s size QEMU_STACK_SIZE set the stack size to 'size' bytes
  177. ) = 66
  178. write(1, "-cpu model QEMU_CPU s"..., 60-cpu model QEMU_CPU select CPU (-cpu ? for list)
  179. ) = 60
  180. write(1, "-E var=value QEMU_SET_ENV s"..., 77-E var=value QEMU_SET_ENV sets targets environment variable (see below)
  181. ) = 77
  182. write(1, "-U var QEMU_UNSET_ENV u"..., 79-U var QEMU_UNSET_ENV unsets targets environment variable (see below)
  183. ) = 79
  184. write(1, "-0 argv0 QEMU_ARGV0 f"..., 75-0 argv0 QEMU_ARGV0 forces target process argv[0] to be 'argv0'
  185. ) = 75
  186. write(1, "-r uname QEMU_UNAME s"..., 72-r uname QEMU_UNAME set qemu uname release string to 'uname'
  187. ) = 72
  188. write(1, "-B address QEMU_GUEST_BASE s"..., 67-B address QEMU_GUEST_BASE set guest_base address to 'address'
  189. ) = 67
  190. write(1, "-R size QEMU_RESERVED_VA r"..., 84-R size QEMU_RESERVED_VA reserve 'size' bytes for guest virtual address space
  191. ) = 84
  192. write(1, "-d options QEMU_LOG a"..., 44-d options QEMU_LOG activate log
  193. ) = 44
  194. write(1, "-D logfile QEMU_LOG_FILENAME o"..., 65-D logfile QEMU_LOG_FILENAME override default logfile location
  195. ) = 65
  196. write(1, "-p pagesize QEMU_PAGESIZE s"..., 68-p pagesize QEMU_PAGESIZE set the host page size to 'pagesize'
  197. ) = 68
  198. write(1, "-singlestep QEMU_SINGLESTEP r"..., 54-singlestep QEMU_SINGLESTEP run in singlestep mode
  199. ) = 54
  200. write(1, "-strace QEMU_STRACE l"..., 48-strace QEMU_STRACE log system calls
  201. ) = 48
  202. write(1, "-version QEMU_VERSION d"..., 68-version QEMU_VERSION display version information and exit
  203. ) = 68
  204. write(1, "\nDefaults:\n", 11
  205. Defaults:
  206. ) = 11
  207. write(1, "QEMU_LD_PREFIX = /usr/gnemul/qe"..., 39QEMU_LD_PREFIX = /usr/gnemul/qemu-arm
  208. ) = 39
  209. write(1, "QEMU_STACK_SIZE = 8388608 byte\n", 31QEMU_STACK_SIZE = 8388608 byte
  210. ) = 31
  211. write(1, "QEMU_LOG = /tmp/qemu.log\n", 32QEMU_LOG = /tmp/qemu.log
  212. ) = 32
  213. write(1, "\nYou can use -E and -U options o"..., 604
  214. You can use -E and -U options or the QEMU_SET_ENV and
  215. QEMU_UNSET_ENV environment variables to set and unset
  216. environment variables for the target process.
  217. It is possible to provide several variables by separating them
  218. by commas in getsubopt(3) style. Additionally it is possible to
  219. provide the -E and -U options multiple times.
  220. The following lines are equivalent:
  221. -E var1=val2 -E var2=val2 -U LD_PRELOAD -U LD_DEBUG
  222. -E var1=val2,var2=val2 -U LD_PRELOAD,LD_DEBUG
  223. QEMU_SET_ENV=var1=val2,var2=val2 QEMU_UNSET_ENV=LD_PRELOAD,LD_DEBUG
  224. Note that if you provide several changes to a single variable
  225. ) = 604
  226. write(1, "the last change will stay in eff"..., 37the last change will stay in effect.
  227. ) = 37
  228. exit_group(1) = ?
  229. +++ exited with 1 +++
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement