Bug#301983: Unaligned traps

2005-03-31 Thread Martin Zobel-Helas
tags 301983 + unreproducible
thanks

Hi Falk,

On Tuesday, 29 Mar 2005, you wrote:
 Package: dcc-client
 Version: 1.2.74-1
 Severity: normal
 File: /usr/bin/dccproc
 
 dccproc does unaligned memory accesses:
 
 Mar 29 15:13:21 juist spamd[593]: processing message [EMAIL PROTECTED] for 
 falk:1000.
 Mar 29 15:13:32 juist kernel: dccproc(7962): unaligned trap at 
 00012001a428: 00011fffaad2 28 1
 Mar 29 15:13:33 juist kernel: dccproc(7963): unaligned trap at 
 00012001a428: 00011fffaad2 28 1
 Mar 29 15:13:33 juist kernel: dccproc(7964): unaligned trap at 
 00012001a428: 00011fffaad2 28 1

sorry, i am not able to reproduce this bug. Could you please give me
some more details. Have you some special kernel enviroment?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#301983: Unaligned traps

2005-03-31 Thread Falk Hueffner
Martin Zobel-Helas [EMAIL PROTECTED] writes:

 sorry, i am not able to reproduce this bug. Could you please give me
 some more details. Have you some special kernel enviroment?

No, nothing special. What kind of machine did you try it on? An Alpha?
And what exactly did you do?

-- 
Falk


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#301983: Unaligned traps

2005-03-31 Thread Falk Hueffner
reassign 301983 gcc-3.3
thanks

Hi,

this is actually a gcc bug. Test case:

void test() {
volatile int t = 1, x;
struct {
short a, b;
int c;
} s;
x = *(t ? s.b : 0);
}
int main() {
#if defined(__alpha__)  defined(__linux__)
// Deliver SIGBUS on unaligned traps instead of fixing them up.
#include asm/sysinfo.h
#include asm/unistd.h
unsigned int _buf[2] = { SSIN_UACPROC, UAC_SIGBUS | UAC_NOPRINT };
syscall(__NR_osf_setsysinfo, SSI_NVPAIRS, _buf, 1, 0, 0, 0);
#endif
test();
return 0;
}

The test fails only at -O0 and -O1. (Your package compiles at -O0,
violating policy, BTW. Oh, and you should also add -g while at
it). The problem is also present in 3.4, but not 4.0 or 4.1.

-- 
Falk


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#301983: Unaligned traps

2005-03-29 Thread Falk Hueffner
Package: dcc-client
Version: 1.2.74-1
Severity: normal
File: /usr/bin/dccproc

dccproc does unaligned memory accesses:

Mar 29 15:13:21 juist spamd[593]: processing message [EMAIL PROTECTED] for 
falk:1000.
Mar 29 15:13:32 juist kernel: dccproc(7962): unaligned trap at 
00012001a428: 00011fffaad2 28 1
Mar 29 15:13:33 juist kernel: dccproc(7963): unaligned trap at 
00012001a428: 00011fffaad2 28 1
Mar 29 15:13:33 juist kernel: dccproc(7964): unaligned trap at 
00012001a428: 00011fffaad2 28 1

I'm pretty sure this wasn't present before the latest update.

Falk

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: alpha
Kernel: Linux 2.6.8
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages dcc-client depends on:
ii  dcc-common  1.2.74-1 Distributed Checksum Clearinghouse
ii  libc6.1 2.3.2.ds1-20 GNU C Library: Shared libraries an

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]