[Bug 207694] ports-mgmt/pkg: 'pkg version -x' crashes when using /usr/ports which doesn't have INDEX-* files
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Mar 4 09:24:53 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207694
--- Comment #5 from mt at markoturk.info ---
After WITH_DEBUG=yes pkg binary is still stripped, I must've done something
wrong.
But I managed to get usable core dump with pkg-static:
Core was generated by `pkg-static'.
Program terminated with signal 11, Segmentation fault.
#0 0x0806abe6 in free_categories () at version.c:359
359 kh_foreach_value(categories, cat, {
(gdb) bt
#0 0x0806abe6 in free_categories () at version.c:359
#1 0x0806a74e in do_source_ports (opt=1024, limchar=45 '-', pattern=0xbfbfee32
"aaaaaaa", match=MATCH_REGEX, matchorigin=0x0, matchname=0x0,
portsdir=0x28c04160 "/usr/ports")
at version.c:781
#2 0x08069698 in exec_version (argc=0, argv=0xbfbfed00) at version.c:997
#3 0x0805926e in main (argc=3, argv=0xbfbfecf4) at main.c:852
BR,
Marko
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-pkg
mailing list