"pkg repo" dumps core

A.J. 'Fonz' van Werven freebsd at skysmurf.nl
Sun Dec 8 20:41:02 UTC 2013


Michael Gmelin wrote:
> There is a bug in pkg that makes it segfault on meta ports (package
> without any files), the first one to trigger this in AJs ports is
> docbook. See below or github for a patch.
> 
> @bapt: https://github.com/freebsd/pkg/pull/673

I just tested it with both GCC and Clang and the patch appears to have
fixed the problem. Thanks.

I couldn't get a stack trace, though. As described by Sergio, there are
normally no debugging symbols and when compiled with
   WITH_DEBUG=yes
the segfault suddenly vanished.

AvW

-- 
I'm not completely useless, I can be used as a bad example.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20131208/7e1f8c64/attachment.sig>


More information about the freebsd-ports mailing list