cbfstool_libreboot5_strace 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # strace ./cbfstool coreboot.rom add -n grub.cfg -f grub.cfg -t raw
  2. execve("./cbfstool", ["./cbfstool", "coreboot.rom", "add", "-n", "grub.cfg", "-f", "grub.cfg", "-t", "raw"], [/* 25 vars */]) = 0
  3. brk(0) = 0x9577000
  4. access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
  5. mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb76f6000
  6. access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
  7. open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
  8. fstat64(3, {st_mode=S_IFREG|0644, st_size=94605, ...}) = 0
  9. mmap2(NULL, 94605, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb76de000
  10. close(3) = 0
  11. access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
  12. open("/lib/i386-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
  13. read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\232\1\0004\0\0\0"..., 512) = 512
  14. fstat64(3, {st_mode=S_IFREG|0755, st_size=1775080, ...}) = 0
  15. mmap2(NULL, 1784604, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb752a000
  16. mmap2(0xb76d8000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1ae) = 0xb76d8000
  17. mmap2(0xb76db000, 11036, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb76db000
  18. close(3) = 0
  19. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7529000
  20. set_thread_area({entry_number:-1 -> 6, base_addr:0xb7529900, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
  21. mprotect(0xb76d8000, 8192, PROT_READ) = 0
  22. mprotect(0x8067000, 4096, PROT_READ) = 0
  23. mprotect(0xb7719000, 4096, PROT_READ) = 0
  24. munmap(0xb76de000, 94605) = 0
  25. brk(0) = 0x9577000
  26. brk(0x9598000) = 0x9598000
  27. open("grub.cfg", O_RDONLY) = 3
  28. fstat64(3, {st_mode=S_IFREG|0644, st_size=810, ...}) = 0
  29. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb76f5000
  30. fstat64(3, {st_mode=S_IFREG|0644, st_size=810, ...}) = 0
  31. _llseek(3, 0, [0], SEEK_SET) = 0
  32. read(3, "set default=\"0\"\nset timeout=1\nse"..., 810) = 810
  33. _llseek(3, 810, [810], SEEK_SET) = 0
  34. close(3) = 0
  35. munmap(0xb76f5000, 4096) = 0
  36. open("coreboot.rom", O_RDONLY) = 3
  37. fstat64(3, {st_mode=S_IFREG|0644, st_size=2097152, ...}) = 0
  38. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb76f5000
  39. fstat64(3, {st_mode=S_IFREG|0644, st_size=2097152, ...}) = 0
  40. _llseek(3, 2097152, [2097152], SEEK_SET) = 0
  41. _llseek(3, 0, [0], SEEK_SET) = 0
  42. mmap2(NULL, 2101248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7328000
  43. read(3, "LARCHIVE\0\0\6\30\0\0\1\252\0\0\0\0\0\0\0(cmos_lay"..., 2097152) = 2097152
  44. close(3) = 0
  45. munmap(0xb76f5000, 4096) = 0
  46. --- SIGSEGV (Segmentation fault) @ 0 (0) ---
  47. +++ killed by SIGSEGV +++
  48. Segmentation fault