Want more features on Pastebin? Sign Up, it's FREE!
Guest

strace of sbcl and paktahn

By: syb_l on Jul 31st, 2011  |  syntax: None  |  size: 11.90 KB  |  views: 132  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. syb@archy ~ $ strace /usr/bin/sbcl
  2. execve("/usr/bin/sbcl", ["/usr/bin/sbcl"], [/* 68 vars */]) = 0
  3. brk(0)                                  = 0xde8000
  4. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f87e674f000
  5. access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
  6. open("/etc/ld.so.cache", O_RDONLY)      = 3
  7. fstat(3, {st_mode=S_IFREG|0644, st_size=203776, ...}) = 0
  8. mmap(NULL, 203776, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f87e671d000
  9. close(3)                                = 0
  10. open("/lib/libdl.so.2", O_RDONLY)       = 3
  11. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\r\0\0\0\0\0\0"..., 832) = 832
  12. fstat(3, {st_mode=S_IFREG|0755, st_size=14704, ...}) = 0
  13. mmap(NULL, 2109688, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f87e632e000
  14. mprotect(0x7f87e6330000, 2097152, PROT_NONE) = 0
  15. mmap(0x7f87e6530000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f87e6530000
  16. close(3)                                = 0
  17. open("/lib/libpthread.so.0", O_RDONLY)  = 3
  18. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260k\0\0\0\0\0\0"..., 832) = 832
  19. fstat(3, {st_mode=S_IFREG|0755, st_size=135866, ...}) = 0
  20. mmap(NULL, 2212768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f87e6111000
  21. mprotect(0x7f87e6128000, 2097152, PROT_NONE) = 0
  22. mmap(0x7f87e6328000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f87e6328000
  23. mmap(0x7f87e632a000, 13216, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f87e632a000
  24. close(3)                                = 0
  25. open("/lib/libm.so.6", O_RDONLY)        = 3
  26. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p>\0\0\0\0\0\0"..., 832) = 832
  27. fstat(3, {st_mode=S_IFREG|0755, st_size=530744, ...}) = 0
  28. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f87e671c000
  29. mmap(NULL, 2625752, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f87e5e8f000
  30. mprotect(0x7f87e5f10000, 2093056, PROT_NONE) = 0
  31. mmap(0x7f87e610f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x80000) = 0x7f87e610f000
  32. close(3)                                = 0
  33. open("/lib/libc.so.6", O_RDONLY)        = 3
  34. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\22\2\0\0\0\0\0"..., 832) = 832
  35. fstat(3, {st_mode=S_IFREG|0755, st_size=1433272, ...}) = 0
  36. mmap(NULL, 3541768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f87e5b2e000
  37. mprotect(0x7f87e5c85000, 2097152, PROT_NONE) = 0
  38. mmap(0x7f87e5e85000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x157000) = 0x7f87e5e85000
  39. mmap(0x7f87e5e8a000, 19208, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f87e5e8a000
  40. close(3)                                = 0
  41. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f87e671b000
  42. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f87e671a000
  43. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f87e6719000
  44. arch_prctl(ARCH_SET_FS, 0x7f87e671a700) = 0
  45. mprotect(0x7f87e5e85000, 16384, PROT_READ) = 0
  46. mprotect(0x7f87e610f000, 4096, PROT_READ) = 0
  47. mprotect(0x7f87e6328000, 4096, PROT_READ) = 0
  48. mprotect(0x7f87e6530000, 4096, PROT_READ) = 0
  49. mprotect(0x7f87e6750000, 4096, PROT_READ) = 0
  50. munmap(0x7f87e671d000, 203776)          = 0
  51. set_tid_address(0x7f87e671a9d0)         = 8154
  52. set_robust_list(0x7f87e671a9e0, 0x18)   = 0
  53. futex(0x7fff3e5e8d9c, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 7f87e671a700) = -1 EAGAIN (Resource temporarily unavailable)
  54. rt_sigaction(SIGRTMIN, {0x7f87e61176a0, [], SA_RESTORER|SA_SIGINFO, 0x7f87e61207e0}, NULL, 8) = 0
  55. rt_sigaction(SIGRT_1, {0x7f87e6117730, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7f87e61207e0}, NULL, 8) = 0
  56. rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
  57. getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
  58. rt_sigaction(SIGUSR1, {0x4099a0, [ABRT USR1], SA_RESTORER|SA_NODEFER|SA_SIGINFO, 0x7f87e61207e0}, {SIG_DFL, [], 0}, 8) = 0
  59. rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
  60. kill(8154, SIGUSR1)                     = 0
  61. --- {si_signo=SIGUSR1, si_code=SI_USER, si_pid=8154, si_uid=1000, si_value={int=1, ptr=0x1}} (User defined signal 1) ---
  62. rt_sigprocmask(SIG_BLOCK, NULL, [ABRT USR1], 8) = 0
  63. rt_sigreturn(0x7fff3e5e85e0)            = 0
  64. rt_sigaction(SIGUSR1, {SIG_DFL, [], SA_RESTORER, 0x7f87e61207e0}, NULL, 8) = 0
  65. rt_sigaction(SIGABRT, {0x409b70, [HUP INT QUIT USR2 PIPE ALRM TERM CHLD TSTP URG XCPU XFSZ VTALRM PROF WINCH IO], SA_RESTORER|SA_RESTART|SA_NODEFER|SA_SIGINFO, 0x7f87e61207e0}, NULL, 8) = 0
  66. rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT USR2 PIPE ALRM TERM CHLD TSTP URG XCPU XFSZ VTALRM PROF WINCH IO], NULL, 8) = 0
  67. brk(0)                                  = 0xde8000
  68. brk(0xe09000)                           = 0xe09000
  69. open("/usr/lib/locale/locale-archive", O_RDONLY) = 3
  70. fstat(3, {st_mode=S_IFREG|0644, st_size=1852464, ...}) = 0
  71. mmap(NULL, 1852464, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f87e6554000
  72. close(3)                                = 0
  73. access("/usr/bin/sbcl", F_OK)           = 0
  74. lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
  75. lstat("/usr/bin", {st_mode=S_IFDIR|0755, st_size=106496, ...}) = 0
  76. lstat("/usr/bin/sbcl", {st_mode=S_IFREG|0755, st_size=153656, ...}) = 0
  77. readlink("/proc/self/exe", "/usr/bin/sbcl", 4096) = 13
  78. open("/usr/bin/sbcl", O_RDONLY)         = 3
  79. lseek(3, -8, SEEK_END)                  = 153648
  80. read(3, "\0\0\0\0\0\0\0\0", 8)          = 8
  81. close(3)                                = 0
  82. uname({sys="Linux", node="archy", ...}) = 0
  83. --- {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x1} (Segmentation fault) ---
  84. +++ killed by SIGSEGV +++
  85. Segmentation fault
  86.  
  87. === paktahn is a package manager from the archlinux community. it is built upon sbcl as well.
  88.  
  89. syb@archy ~ $ strace /usr/bin/paktahn
  90. execve("/usr/bin/paktahn", ["/usr/bin/paktahn"], [/* 68 vars */]) = 0
  91. brk(0)                                  = 0x24ac000
  92. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f937ec12000
  93. access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
  94. open("/etc/ld.so.cache", O_RDONLY)      = 3
  95. fstat(3, {st_mode=S_IFREG|0644, st_size=203776, ...}) = 0
  96. mmap(NULL, 203776, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f937ebe0000
  97. close(3)                                = 0
  98. open("/lib/libdl.so.2", O_RDONLY)       = 3
  99. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\r\0\0\0\0\0\0"..., 832) = 832
  100. fstat(3, {st_mode=S_IFREG|0755, st_size=14704, ...}) = 0
  101. mmap(NULL, 2109688, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f937e7f1000
  102. mprotect(0x7f937e7f3000, 2097152, PROT_NONE) = 0
  103. mmap(0x7f937e9f3000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f937e9f3000
  104. close(3)                                = 0
  105. open("/lib/libpthread.so.0", O_RDONLY)  = 3
  106. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260k\0\0\0\0\0\0"..., 832) = 832
  107. fstat(3, {st_mode=S_IFREG|0755, st_size=135866, ...}) = 0
  108. mmap(NULL, 2212768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f937e5d4000
  109. mprotect(0x7f937e5eb000, 2097152, PROT_NONE) = 0
  110. mmap(0x7f937e7eb000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f937e7eb000
  111. mmap(0x7f937e7ed000, 13216, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f937e7ed000
  112. close(3)                                = 0
  113. open("/lib/libm.so.6", O_RDONLY)        = 3
  114. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p>\0\0\0\0\0\0"..., 832) = 832
  115. fstat(3, {st_mode=S_IFREG|0755, st_size=530744, ...}) = 0
  116. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f937ebdf000
  117. mmap(NULL, 2625752, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f937e352000
  118. mprotect(0x7f937e3d3000, 2093056, PROT_NONE) = 0
  119. mmap(0x7f937e5d2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x80000) = 0x7f937e5d2000
  120. close(3)                                = 0
  121. open("/lib/libc.so.6", O_RDONLY)        = 3
  122. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\22\2\0\0\0\0\0"..., 832) = 832
  123. fstat(3, {st_mode=S_IFREG|0755, st_size=1433272, ...}) = 0
  124. mmap(NULL, 3541768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f937dff1000
  125. mprotect(0x7f937e148000, 2097152, PROT_NONE) = 0
  126. mmap(0x7f937e348000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x157000) = 0x7f937e348000
  127. mmap(0x7f937e34d000, 19208, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f937e34d000
  128. close(3)                                = 0
  129. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f937ebde000
  130. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f937ebdd000
  131. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f937ebdc000
  132. arch_prctl(ARCH_SET_FS, 0x7f937ebdd700) = 0
  133. mprotect(0x7f937e348000, 16384, PROT_READ) = 0
  134. mprotect(0x7f937e5d2000, 4096, PROT_READ) = 0
  135. mprotect(0x7f937e7eb000, 4096, PROT_READ) = 0
  136. mprotect(0x7f937e9f3000, 4096, PROT_READ) = 0
  137. mprotect(0x7f937ec13000, 4096, PROT_READ) = 0
  138. munmap(0x7f937ebe0000, 203776)          = 0
  139. set_tid_address(0x7f937ebdd9d0)         = 8159
  140. set_robust_list(0x7f937ebdd9e0, 0x18)   = 0
  141. futex(0x7fff6fa7a46c, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 7f937ebdd700) = -1 EAGAIN (Resource temporarily unavailable)
  142. rt_sigaction(SIGRTMIN, {0x7f937e5da6a0, [], SA_RESTORER|SA_SIGINFO, 0x7f937e5e37e0}, NULL, 8) = 0
  143. rt_sigaction(SIGRT_1, {0x7f937e5da730, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7f937e5e37e0}, NULL, 8) = 0
  144. rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
  145. getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
  146. rt_sigaction(SIGUSR1, {0x409980, [ABRT USR1], SA_RESTORER|SA_NODEFER|SA_SIGINFO, 0x7f937e5e37e0}, {SIG_DFL, [], 0}, 8) = 0
  147. rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
  148. kill(8159, SIGUSR1)                     = 0
  149. --- {si_signo=SIGUSR1, si_code=SI_USER, si_pid=8159, si_uid=1000, si_value={int=1, ptr=0x1}} (User defined signal 1) ---
  150. rt_sigprocmask(SIG_BLOCK, NULL, [ABRT USR1], 8) = 0
  151. rt_sigreturn(0x7fff6fa79ca0)            = 0
  152. rt_sigaction(SIGUSR1, {SIG_DFL, [], SA_RESTORER, 0x7f937e5e37e0}, NULL, 8) = 0
  153. rt_sigaction(SIGABRT, {0x409b50, [HUP INT QUIT USR2 PIPE ALRM TERM CHLD TSTP URG XCPU XFSZ VTALRM PROF WINCH IO], SA_RESTORER|SA_RESTART|SA_NODEFER|SA_SIGINFO, 0x7f937e5e37e0}, NULL, 8) = 0
  154. rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT USR2 PIPE ALRM TERM CHLD TSTP URG XCPU XFSZ VTALRM PROF WINCH IO], NULL, 8) = 0
  155. brk(0)                                  = 0x24ac000
  156. brk(0x24cd000)                          = 0x24cd000
  157. open("/usr/lib/locale/locale-archive", O_RDONLY) = 3
  158. fstat(3, {st_mode=S_IFREG|0644, st_size=1852464, ...}) = 0
  159. mmap(NULL, 1852464, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f937ea17000
  160. close(3)                                = 0
  161. access("/usr/bin/paktahn", F_OK)        = 0
  162. lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
  163. lstat("/usr/bin", {st_mode=S_IFDIR|0755, st_size=106496, ...}) = 0
  164. lstat("/usr/bin/paktahn", {st_mode=S_IFREG|0755, st_size=70549552, ...}) = 0
  165. readlink("/proc/self/exe", "/usr/bin/paktahn", 4096) = 16
  166. open("/usr/bin/paktahn", O_RDONLY)      = 3
  167. lseek(3, -8, SEEK_END)                  = 70549544
  168. read(3, "LCBS\0\0\0\0", 8)              = 8
  169. lseek(3, -16, SEEK_END)                 = 70549536
  170. read(3, "\0\200\2\0\0\0\0\0", 8)        = 8
  171. lseek(3, 163840, SEEK_SET)              = 163840
  172. lseek(3, 0, SEEK_CUR)                   = 163840
  173. read(3, "LCBS\0\0\0\0", 8)              = 8
  174. lseek(3, -48, SEEK_END)                 = 70549504
  175. read(3, "U\363\3531\0\0\0\0\1\0\0\0\0\0\0\0\0\0\377\377\1\0\0\0\0\0 \0\0\0\0\0", 32) = 32
  176. close(3)                                = 0
  177. uname({sys="Linux", node="archy", ...}) = 0
  178. --- {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x1} (Segmentation fault) ---
  179. +++ killed by SIGSEGV +++
  180. Segmentation fault
clone this paste RAW Paste Data