Bug#340384: net-tools: arp Bus Error

2005-12-03 Thread Bernd Eckenfels
On Fri, Dec 02, 2005 at 11:00:28PM -0800, Jurij Smakov wrote: In that case the cast from sockaddr to sockaddr_in is a problem. The sockaddr structure consists of a short (2 bytes) and an array of 14 chars, so it is allowed to be aligned (and is, in fact, aligned) on the 2-byte boundary,

Bug#340384: net-tools: arp Bus Error

2005-12-03 Thread Jurij Smakov
On Sat, 3 Dec 2005, Bernd Eckenfels wrote: On Fri, Dec 02, 2005 at 11:00:28PM -0800, Jurij Smakov wrote: In that case the cast from sockaddr to sockaddr_in is a problem. The sockaddr structure consists of a short (2 bytes) and an array of 14 chars, so it is allowed to be aligned (and is, in

Bug#340384: net-tools: arp Bus Error

2005-12-03 Thread Bernd Eckenfels
tag 340384 +patch thanks Hello Juri, thanks for all your help (and please say thanks to Steve). I didnt want to rewrite all of the code, so I just changed the alocation of the structures in the following way: Index: arp.c === RCS

Bug#340384: net-tools: arp Bus Error

2005-12-03 Thread Jurij Smakov
On Sun, 4 Dec 2005, Bernd Eckenfels wrote: tag 340384 +patch thanks Hello Juri, thanks for all your help (and please say thanks to Steve). I didnt want to rewrite all of the code, so I just changed the alocation of the structures in the following way: Hi Bernd, I've tried the package with

Bug#340384: net-tools: arp Bus Error

2005-12-02 Thread Jurij Smakov
Hi, As explained by Steve Langasek (thanks a lot!), this bug is a result of a recent change in gcc, which has switched from using glibc's memcpy() to an optimized inline memcpy() routine, which takes advantage of the knowledge about the alignment of source and destination, which gcc is

Bug#340384: net-tools: arp Bus Error

2005-11-23 Thread Bernd Eckenfels
do you know if this was introduced in -16 (or earlier?) i.e. what was the last version which worked? #0 0x70104220 in inet_aton () from /lib/libc.so.6 #1 0x00014028 in ?? () #2 0x00014028 in ?? () if you have some time at hand you could try to debug this with a debug build, however it

Bug#340384: net-tools: arp Bus Error

2005-11-22 Thread Blars Blarson
Package: net-tools Version: 1.60-16 Severity: grave Justification: renders package unusable arp gives a Bus Error every time it is used. strace and gdb backtrace attached. Script started on Tue 22 Nov 2005 07:01:03 PM PST sundry:/home/pb# arp Bus error sundry:/home/pb# arp -a Bus error