Bug#696514: freebsd-net-tools: /sbin/ifconfig: segfaults getting bridge status

2012-12-21 Thread Steven Chamberlain
Package: freebsd-net-tools Version: 9.0+ds1-8 Severity: important File: /sbin/ifconfig Control: block -1 by 685625 User: debian-bsd@lists.debian.org Usertags: kfreebsd X-Debbugs-Cc: debian-bsd@lists.debian.org Hi, After an `ifconfig bridge0 create`, attempts to query the bridge status from ifconf

Processed: freebsd-net-tools: /sbin/ifconfig: segfaults getting bridge status

2012-12-21 Thread Debian Bug Tracking System
Processing control commands: > block -1 by 685625 Bug #696514 [freebsd-net-tools] freebsd-net-tools: /sbin/ifconfig: segfaults getting bridge status 696514 was not blocked by any bugs. 696514 was not blocking any bugs. Added blocking bug(s) of 696514: 685625 -- 696514: http://bugs.debian.org/cg

Re: Bug#664812: rpc.lockd on kfreebsd

2012-12-21 Thread Steven Chamberlain
Hi, On 26/03/12 19:41, Christoph Egger wrote: > 47878 rpc.lockd RET nlm_syscall -1 errno 14 Bad address > 47878 rpc.lockd CALL exit(0x1) I've an idea this may be related to: > cc -Wall -g -pipe -fPIC -I. -D_GNU_SOURCE -D__va_list=__builtin_va_list > -isystem /usr/include/tirpc -D__FreeBSD_

Re: Bug#685625: implicit declaration of function ‘reallocf’

2012-12-21 Thread Steven Chamberlain
Hi, To further confuse things, here's a related problem in freebsd-buildutils: > gcc -O2 -g -Wall -D_GNU_SOURCE -DMACHINE_ARCH='"i386"' > -DMACHINE_MULTIARCH='"i386-kfreebsd-gnu"' > -I/build/buildd-freebsd-buildutils_9.0-11-kfreebsd-i386-fRMINn/freebsd-buildutils-9.0/build-tree/src/sys > -D_GN

Re: Bug#685625: implicit declaration of function ‘reallocf’

2012-12-21 Thread Jeff Epler
[snipped astute observations about the size of the xml data being important] On Fri, Dec 21, 2012 at 10:02:45PM +, Steven Chamberlain wrote: > And I'm worried about some of the other packages mentioned, where the > error shows on kfreebsd-* or maybe hurd-*, but not on other arches. > Should th

Processed: Re: Bug#685625: implicit declaration of function ‘reallocf’

2012-12-21 Thread Debian Bug Tracking System
Processing control commands: > severity -1 grave Bug #685625 [src:freebsd-utils] libgeom: segfaults on large kern.geom.confxml Severity set to 'grave' from 'important' > affects -1 grub-common Bug #685625 [src:freebsd-utils] libgeom: segfaults on large kern.geom.confxml Ignoring request to set aff

Re: Bug#685625: implicit declaration of function ‘reallocf’

2012-12-21 Thread Steven Chamberlain
Control: severity -1 grave Control: affects -1 grub-common Control: retitle -1 [kfreebsd] libgeom: may cause segfault of grub-probe Hello, On 21/12/12 18:45, Jeff Epler wrote: > geom_getxml.c: In function ‘geom_getxml’: > geom_getxml.c:59:2: warning: implicit declaration of function ‘reallocf’ >

Bug#685625: [PATCH] Re: Bug#685625: implicit declaration of function ‘reallocf’

2012-12-21 Thread Jeff Epler
Control: tags -1 + patch I believe the attached patch fixes the problem; it does on my system. Because the impact of this bug is the inability to install or update the bootloader (including, potentially, during initial installation), I believe the severity should be increased to critical. Howeve

Processed: [PATCH] Re: Bug#685625: implicit declaration of function ‘reallocf’

2012-12-21 Thread Debian Bug Tracking System
Processing control commands: > tags -1 + patch Bug #685625 [src:freebsd-utils] libgeom: segfaults on large kern.geom.confxml Added tag(s) patch. -- 685625: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685625 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- To UNSUB

Bug#685625: implicit declaration of function ‘reallocf’

2012-12-21 Thread Jeff Epler
It looks like this is the problem, and it exists repeatedly in freebsd-libs-9.0+ds1-7 geom_getxml.c: In function ‘geom_getxml’: geom_getxml.c:59:2: warning: implicit declaration of function ‘reallocf’ [-Wimplicit-function-declaration] geom_getxml.c:59:2: warning: return makes pointer from integer