Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- strace /lib/ld-linux-x86-64.so.2 /usr/bin/qemu-arm
- execve("/lib/ld-linux-x86-64.so.2", ["/lib/ld-linux-x86-64.so.2", "/usr/bin/qemu-arm"], [/* 64 vars */]) = 0
- brk(0) = 0x7f921bba4000
- open("/usr/bin/qemu-arm", O_RDONLY|O_CLOEXEC) = 3
- 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
- fstat(3, {st_mode=S_IFREG|0755, st_size=2362008, ...}) = 0
- mmap(0x60000000, 36298048, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x60000000
- mmap(0x60241000, 33934656, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x60241000
- close(3) = 0
- mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9219eba000
- access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
- open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
- fstat(3, {st_mode=S_IFREG|0644, st_size=209231, ...}) = 0
- mmap(NULL, 209231, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f9219e86000
- close(3) = 0
- open("/lib64/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
- 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
- fstat(3, {st_mode=S_IFREG|0755, st_size=35656, ...}) = 0
- mmap(NULL, 2133008, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9219c7d000
- mprotect(0x7f9219c85000, 2093056, PROT_NONE) = 0
- mmap(0x7f9219e84000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f9219e84000
- close(3) = 0
- open("/usr/lib64/libglib-2.0.so.0", O_RDONLY|O_CLOEXEC) = 3
- 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
- fstat(3, {st_mode=S_IFREG|0755, st_size=1194520, ...}) = 0
- mmap(0x3004400000, 3289976, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3004400000
- mprotect(0x3004522000, 2093056, PROT_NONE) = 0
- mmap(0x3004721000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x121000) = 0x3004721000
- mmap(0x3004723000, 888, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3004723000
- close(3) = 0
- open("/lib64/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
- 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
- fstat(3, {st_mode=S_IFREG|0755, st_size=997560, ...}) = 0
- mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9219c7c000
- mmap(NULL, 3092776, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9219988000
- mprotect(0x7f9219a7a000, 2097152, PROT_NONE) = 0
- mmap(0x7f9219c7a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf2000) = 0x7f9219c7a000
- close(3) = 0
- open("/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
- 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
- fstat(3, {st_mode=S_IFREG|0755, st_size=135657, ...}) = 0
- mmap(NULL, 2212768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f921976b000
- mprotect(0x7f9219783000, 2093056, PROT_NONE) = 0
- mmap(0x7f9219982000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f9219982000
- mmap(0x7f9219984000, 13216, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f9219984000
- close(3) = 0
- open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
- 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
- fstat(3, {st_mode=S_IFREG|0755, st_size=1730128, ...}) = 0
- mmap(NULL, 3837256, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f92193c2000
- mprotect(0x7f9219562000, 2093056, PROT_NONE) = 0
- mmap(0x7f9219761000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19f000) = 0x7f9219761000
- mmap(0x7f9219767000, 15688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f9219767000
- close(3) = 0
- mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f92193c1000
- mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f92193c0000
- mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f92193bf000
- arch_prctl(ARCH_SET_FS, 0x7f92193c0700) = 0
- mprotect(0x7f9219761000, 16384, PROT_READ) = 0
- mprotect(0x7f9219982000, 4096, PROT_READ) = 0
- mprotect(0x7f9219c7a000, 4096, PROT_READ) = 0
- mprotect(0x7f9219e84000, 4096, PROT_READ) = 0
- mprotect(0x3004721000, 4096, PROT_READ) = 0
- mprotect(0x7f921a0dc000, 4096, PROT_READ) = 0
- munmap(0x7f9219e86000, 209231) = 0
- set_tid_address(0x7f92193c09d0) = 18750
- set_robust_list(0x7f92193c09e0, 24) = 0
- futex(0x7fff17f35fbc, FUTEX_WAKE_PRIVATE, 1) = 0
- futex(0x7fff17f35fbc, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 7f92193c0700) = -1 EAGAIN (Resource temporarily unavailable)
- rt_sigaction(SIGRTMIN, {0x7f9219771730, [], SA_RESTORER|SA_SIGINFO, 0x7f921977b410}, NULL, 8) = 0
- rt_sigaction(SIGRT_1, {0x7f92197717c0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7f921977b410}, NULL, 8) = 0
- rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
- getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
- brk(0) = 0x7f921bba4000
- brk(0x7f921bbc5000) = 0x7f921bbc5000
- write(2, "Registering `arm-cpu' which alre"..., 43Registering `arm-cpu' which already exists
- ) = 43
- rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
- tgkill(18750, 18750, SIGABRT) = 0
- --- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=18750, si_uid=1000} ---
- +++ killed by SIGABRT +++
- Аварийный останов
- strace /usr/bin/qemu-arm
- execve("/usr/bin/qemu-arm", ["/usr/bin/qemu-arm"], [/* 64 vars */]) = 0
- brk(0) = 0x62a07000
- mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2285809000
- access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
- open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
- fstat(3, {st_mode=S_IFREG|0644, st_size=209231, ...}) = 0
- mmap(NULL, 209231, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f22857d5000
- close(3) = 0
- open("/lib64/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
- 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
- fstat(3, {st_mode=S_IFREG|0755, st_size=35656, ...}) = 0
- mmap(NULL, 2133008, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f22853e0000
- mprotect(0x7f22853e8000, 2093056, PROT_NONE) = 0
- mmap(0x7f22855e7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f22855e7000
- close(3) = 0
- open("/usr/lib64/libglib-2.0.so.0", O_RDONLY|O_CLOEXEC) = 3
- 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
- fstat(3, {st_mode=S_IFREG|0755, st_size=1194520, ...}) = 0
- mmap(0x3004400000, 3289976, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3004400000
- mprotect(0x3004522000, 2093056, PROT_NONE) = 0
- mmap(0x3004721000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x121000) = 0x3004721000
- mmap(0x3004723000, 888, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3004723000
- close(3) = 0
- open("/lib64/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
- 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
- fstat(3, {st_mode=S_IFREG|0755, st_size=997560, ...}) = 0
- mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f22857d4000
- mmap(NULL, 3092776, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f22850ec000
- mprotect(0x7f22851de000, 2097152, PROT_NONE) = 0
- mmap(0x7f22853de000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf2000) = 0x7f22853de000
- close(3) = 0
- open("/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
- 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
- fstat(3, {st_mode=S_IFREG|0755, st_size=135657, ...}) = 0
- mmap(NULL, 2212768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2284ecf000
- mprotect(0x7f2284ee7000, 2093056, PROT_NONE) = 0
- mmap(0x7f22850e6000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f22850e6000
- mmap(0x7f22850e8000, 13216, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f22850e8000
- close(3) = 0
- open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
- 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
- fstat(3, {st_mode=S_IFREG|0755, st_size=1730128, ...}) = 0
- mmap(NULL, 3837256, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2284b26000
- mprotect(0x7f2284cc6000, 2093056, PROT_NONE) = 0
- mmap(0x7f2284ec5000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19f000) = 0x7f2284ec5000
- mmap(0x7f2284ecb000, 15688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f2284ecb000
- close(3) = 0
- mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f22857d3000
- mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f22857d2000
- mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f22857d1000
- arch_prctl(ARCH_SET_FS, 0x7f22857d2700) = 0
- mprotect(0x7f2284ec5000, 16384, PROT_READ) = 0
- mprotect(0x7f22850e6000, 4096, PROT_READ) = 0
- mprotect(0x7f22853de000, 4096, PROT_READ) = 0
- mprotect(0x7f22855e7000, 4096, PROT_READ) = 0
- mprotect(0x3004721000, 4096, PROT_READ) = 0
- mprotect(0x7f228580a000, 4096, PROT_READ) = 0
- munmap(0x7f22857d5000, 209231) = 0
- set_tid_address(0x7f22857d29d0) = 18754
- set_robust_list(0x7f22857d29e0, 24) = 0
- futex(0x7fff1a05a8ac, FUTEX_WAKE_PRIVATE, 1) = 0
- futex(0x7fff1a05a8ac, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 7f22857d2700) = -1 EAGAIN (Resource temporarily unavailable)
- rt_sigaction(SIGRTMIN, {0x7f2284ed5730, [], SA_RESTORER|SA_SIGINFO, 0x7f2284edf410}, NULL, 8) = 0
- rt_sigaction(SIGRT_1, {0x7f2284ed57c0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7f2284edf410}, NULL, 8) = 0
- rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
- getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
- brk(0) = 0x62a07000
- brk(0x62a28000) = 0x62a28000
- getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
- fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 13), ...}) = 0
- mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2285808000
- write(1, "usage: qemu-arm [options] progra"..., 49usage: qemu-arm [options] program [arguments...]
- ) = 49
- write(1, "Linux CPU emulator (compiled for"..., 48Linux CPU emulator (compiled for arm emulation)
- ) = 48
- write(1, "\n", 1
- ) = 1
- write(1, "Options and associated environme"..., 46Options and associated environment variables:
- ) = 46
- write(1, "\n", 1
- ) = 1
- write(1, "Argument Env-variable D"..., 43Argument Env-variable Description
- ) = 43
- write(1, "-h p"..., 47-h print this help
- ) = 47
- write(1, "-g port QEMU_GDB w"..., 61-g port QEMU_GDB wait gdb connection to 'port'
- ) = 61
- write(1, "-L path QEMU_LD_PREFIX s"..., 72-L path QEMU_LD_PREFIX set the elf interpreter prefix to 'path'
- ) = 72
- write(1, "-s size QEMU_STACK_SIZE s"..., 66-s size QEMU_STACK_SIZE set the stack size to 'size' bytes
- ) = 66
- write(1, "-cpu model QEMU_CPU s"..., 60-cpu model QEMU_CPU select CPU (-cpu ? for list)
- ) = 60
- write(1, "-E var=value QEMU_SET_ENV s"..., 77-E var=value QEMU_SET_ENV sets targets environment variable (see below)
- ) = 77
- write(1, "-U var QEMU_UNSET_ENV u"..., 79-U var QEMU_UNSET_ENV unsets targets environment variable (see below)
- ) = 79
- write(1, "-0 argv0 QEMU_ARGV0 f"..., 75-0 argv0 QEMU_ARGV0 forces target process argv[0] to be 'argv0'
- ) = 75
- write(1, "-r uname QEMU_UNAME s"..., 72-r uname QEMU_UNAME set qemu uname release string to 'uname'
- ) = 72
- write(1, "-B address QEMU_GUEST_BASE s"..., 67-B address QEMU_GUEST_BASE set guest_base address to 'address'
- ) = 67
- write(1, "-R size QEMU_RESERVED_VA r"..., 84-R size QEMU_RESERVED_VA reserve 'size' bytes for guest virtual address space
- ) = 84
- write(1, "-d options QEMU_LOG a"..., 44-d options QEMU_LOG activate log
- ) = 44
- write(1, "-D logfile QEMU_LOG_FILENAME o"..., 65-D logfile QEMU_LOG_FILENAME override default logfile location
- ) = 65
- write(1, "-p pagesize QEMU_PAGESIZE s"..., 68-p pagesize QEMU_PAGESIZE set the host page size to 'pagesize'
- ) = 68
- write(1, "-singlestep QEMU_SINGLESTEP r"..., 54-singlestep QEMU_SINGLESTEP run in singlestep mode
- ) = 54
- write(1, "-strace QEMU_STRACE l"..., 48-strace QEMU_STRACE log system calls
- ) = 48
- write(1, "-version QEMU_VERSION d"..., 68-version QEMU_VERSION display version information and exit
- ) = 68
- write(1, "\nDefaults:\n", 11
- Defaults:
- ) = 11
- write(1, "QEMU_LD_PREFIX = /usr/gnemul/qe"..., 39QEMU_LD_PREFIX = /usr/gnemul/qemu-arm
- ) = 39
- write(1, "QEMU_STACK_SIZE = 8388608 byte\n", 31QEMU_STACK_SIZE = 8388608 byte
- ) = 31
- write(1, "QEMU_LOG = /tmp/qemu.log\n", 32QEMU_LOG = /tmp/qemu.log
- ) = 32
- write(1, "\nYou can use -E and -U options o"..., 604
- You can use -E and -U options or the QEMU_SET_ENV and
- QEMU_UNSET_ENV environment variables to set and unset
- environment variables for the target process.
- It is possible to provide several variables by separating them
- by commas in getsubopt(3) style. Additionally it is possible to
- provide the -E and -U options multiple times.
- The following lines are equivalent:
- -E var1=val2 -E var2=val2 -U LD_PRELOAD -U LD_DEBUG
- -E var1=val2,var2=val2 -U LD_PRELOAD,LD_DEBUG
- QEMU_SET_ENV=var1=val2,var2=val2 QEMU_UNSET_ENV=LD_PRELOAD,LD_DEBUG
- Note that if you provide several changes to a single variable
- ) = 604
- write(1, "the last change will stay in eff"..., 37the last change will stay in effect.
- ) = 37
- exit_group(1) = ?
- +++ exited with 1 +++
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement