a guest Sep 29th, 2012 42 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # gdb /usr/local/sbin/pkg-static pkg-static.core
  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 "powerpc-marcel-freebsd"...
  9. Core was generated by `pkg-static'.
  10. Program terminated with signal 11, Segmentation fault.
  11. #0  0x018e6aec in sbuf_finish ()
  12. Cannot find new threads: generic error
  13. (gdb) bt
  14. #0  0x018e6aec in sbuf_finish ()
  15. #1  0x01828a14 in urldecode (src=0x41c05050 "pkg", dest=0x41c10108) at pkg_manifest.c:165
  16. #2  0x01828bb0 in pkg_set_from_node (pkg=0x41c10100, val=0x41c7e460, doc=0xffffbb60, attr=2) at pkg_manifest.c:198
  17. #3  0x0182a16c in parse_root_node (pkg=0x41c10100, node=0x41c7e400, doc=0xffffbb60) at pkg_manifest.c:633
  18. #4  0x0182a300 in pkg_parse_manifest (pkg=0x41c10100,
  19.     buf=0x41c10200 "name: pkg\nversion: 1.0\norigin: ports-mgmt/pkg\ncomment: |\n  New generation package manager\nmaintainer:\nprefix: /usr/local\ndeps: \ncategories: [ports-mgmt,]\nlicenselogic: single\nlicen"...) at pkg_manifest.c:664
  20. #5  0x01828ab0 in pkg_load_manifest_file (pkg=0x41c10100, fpath=0xffffbc7b "/work/tmp/pkg/work/.metadir/+MANIFEST") at pkg_manifest.c:180
  21. #6  0x0180ad50 in exec_register (argc=6, argv=0xffffc55c) at /work/tmp/pkg/work/pkg-1.0/pkg-static/../pkg//register.c:145
  22. #7  0x01806d7c in main (argc=6, argv=0xffffc55c) at /work/tmp/pkg/work/pkg-1.0/pkg-static/../pkg//main.c:314
  23. (gdb)
RAW Paste Data