Guest User

Untitled

a guest
Oct 19th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.86 KB | None | 0 0
  1. % gdb /scratch/tmp/ashish/objs/scratch/tmp/ashish/ghc/work/ghc-7.0.3-boot/lib/ghc-7.0.3/ghc
  2. GNU gdb 6.1.1 [FreeBSD]
  3. Copyright 2004 Free Software Foundation, Inc.
  4. GDB is free software, covered by the GNU General Public License, and you are
  5. welcome to change it and/or distribute copies of it under certain conditions.
  6. Type "show copying" to see the conditions.
  7. There is absolutely no warranty for GDB. Type "show warranty" for details.
  8. This GDB was configured as "amd64-marcel-freebsd"...
  9. (gdb) core-file /scratch/tmp/ashish/distfiles/ghc-7.0.3/testsuite/tests/ghc-regress/ghc.core
  10. Core was generated by `ghc'.
  11. Program terminated with signal 11, Segmentation fault.
  12. Reading symbols from /lib/libthr.so.3...done.
  13. Loaded symbols for /lib/libthr.so.3
  14. Reading symbols from /lib/libncursesw.so.8...done.
  15. Loaded symbols for /lib/libncursesw.so.8
  16. Reading symbols from /usr/lib/librt.so.1...done.
  17. Loaded symbols for /usr/lib/librt.so.1
  18. Reading symbols from /lib/libutil.so.9...done.
  19. Loaded symbols for /lib/libutil.so.9
  20. Reading symbols from /usr/local/lib/libiconv.so.3...done.
  21. Loaded symbols for /usr/local/lib/libiconv.so.3
  22. Reading symbols from /usr/local/lib/libgmp.so.10...done.
  23. Loaded symbols for /usr/local/lib/libgmp.so.10
  24. Reading symbols from /lib/libm.so.5...done.
  25. Loaded symbols for /lib/libm.so.5
  26. Reading symbols from /lib/libc.so.7...done.
  27. Loaded symbols for /lib/libc.so.7
  28. Reading symbols from /libexec/ld-elf.so.1...done.
  29. Loaded symbols for /libexec/ld-elf.so.1
  30. #0 0x0000000801efb6bd in _rtld_atfork_pre () from /libexec/ld-elf.so.1
  31. [New Thread 803807c00 (LWP 107597/ghc)]
  32. [New Thread 803807800 (LWP 107085/ghc)]
  33. [New Thread 803807400 (LWP 100063/ghc)]
  34. (gdb) bt
  35. #0 0x0000000801efb6bd in _rtld_atfork_pre () from /libexec/ld-elf.so.1
  36. #1 0x0000000801efed79 in _rtld_atfork_pre () from /libexec/ld-elf.so.1
  37. #2 0x0000000801ef156d in _rtld_error () from /libexec/ld-elf.so.1
  38. #3 0x0000000801ef4c53 in dlopen () from /libexec/ld-elf.so.1
  39. #4 0x00000008021470a7 in pthread_attr_get_np () from /lib/libthr.so.3
  40. #5 0x00000008021471db in pthread_exit () from /lib/libthr.so.3
  41. #6 0x000000080213c22c in pthread_getprio () from /lib/libthr.so.3
  42. #7 0x0000000000000000 in ?? ()
  43. Cannot access memory at address 0x7fffffbfe000
  44. (gdb) disassemble 0x00000008021470a7
  45. Dump of assembler code for function pthread_attr_get_np:
  46. .........
  47. .........
  48. ---Type <return> to continue, or q <return> to quit---
  49. 0x0000000802147074 <pthread_attr_get_np+1300>: callq 0x802146da0 <pthread_attr_get_np+576>
  50. 0x0000000802147079 <pthread_attr_get_np+1305>: movl $0x0,0xf8(%rbp)
  51. 0x0000000802147083 <pthread_attr_get_np+1315>: xor %edx,%edx
  52. 0x0000000802147085 <pthread_attr_get_np+1317>: mov %rbx,%rsi
  53. 0x0000000802147088 <pthread_attr_get_np+1320>: mov $0x2,%edi
  54. 0x000000080214708d <pthread_attr_get_np+1325>: callq 0x80213b0dc <__sys_sigprocmask@plt>
  55. 0x0000000802147092 <pthread_attr_get_np+1330>: jmp 0x80214701d <pthread_attr_get_np+1213>
  56. 0x0000000802147094 <pthread_attr_get_np+1332>: lea 0xd79(%rip),%rsi # 0x802147e14 <__error+2372>
  57. 0x000000080214709b <pthread_attr_get_np+1339>: mov $0xfffffffffffffffe,%rdi
  58. 0x00000008021470a2 <pthread_attr_get_np+1346>: callq 0x80213b2ec <dlsym@plt>
  59. 0x00000008021470a7 <pthread_attr_get_np+1351>: test %rax,%rax
  60. 0x00000008021470aa <pthread_attr_get_np+1354>: je 0x802147113 <pthread_attr_get_np+1459>
  61. 0x00000008021470ac <pthread_attr_get_np+1356>: lea 0x80(%rsp),%rsi
  62. 0x00000008021470b4 <pthread_attr_get_np+1364>: mov %rax,%rdi
  63. 0x00000008021470b7 <pthread_attr_get_np+1367>: callq 0x80213b25c <dladdr@plt>
  64. 0x00000008021470bc <pthread_attr_get_np+1372>: test %eax,%eax
  65. 0x00000008021470be <pthread_attr_get_np+1374>: je 0x802147113 <pthread_attr_get_np+1459>
  66. 0x00000008021470c0 <pthread_attr_get_np+1376>: mov 0x80(%rsp),%rdi
  67. (gdb) x/s 0x802147e14
  68. 0x802147e14 <__error+2372>: "_Unwind_ForcedUnwind"
Add Comment
Please, Sign In to add comment