pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/45178: quagga-0.99.17: zebra Abort trap
>Number: 45178
>Category: pkg
>Synopsis: quagga-0.99.17: zebra Abort trap
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jul 25 12:50:01 +0000 2011
>Originator: Masanori Kanaoka
>Release: NetBSD-current/i386
>Organization:
>Environment:
NetBSD white.k.vnop.net 5.99.55 NetBSD 5.99.55 (GENERIC) #0: Wed Jul 13
06:07:33 JST 2011
root%white.k.vnop.net@localhost:/usr/obj/sys/arch/i386/compile/GENERIC i386
>Description:
quagga-0.99.17 with 5.99.55/i386: zebra Abort trap
quagga-0.99.17 with 5.99.41/i386: zebra work fine.
>How-To-Repeat:
pkgsrc/net/quagga with NetBSD 5.99.55/i386
# make install
setting /usr/pkg/etc/zebra/zebra.conf
# /usr/pkg/sbin/zebra
Abort trap
>Fix:
Workaround:
--- zebra/kernel_socket.c.orig 2011-07-25 21:36:54.000000000 +0900
+++ zebra/kernel_socket.c 2011-07-25 21:37:59.000000000 +0900
@@ -50,7 +50,7 @@
* matter.
*/
#define ROUNDUP(a) \
- ((a) > 0 ? (1 + (((a) - 1) | (sizeof(long) - 1))) : sizeof(long))
+ ((a) > 0 ? (1 + (((a) - 1) | (sizeof(uint64_t) - 1))) : sizeof(uint64_t))
/*
* Given a pointer (sockaddr or void *), return the number of bytes
Home |
Main Index |
Thread Index |
Old Index