[egenix-users] SIGBUS from mx/BeeBase/mxBeeBase/btr.c on HP-UX, Alpha, IRIX, Solaris

Albert Chin egenix-users at mlists.thewrittenword.com
Wed Jan 11 10:20:19 CET 2006


On Wed, Jan 11, 2006 at 05:00:25PM +0100, M.-A. Lemburg wrote:
> Are you compiling this on a 64-bit machine ?

They are all 64-bit CPUs but we are building 32-bit objects.

> FWIW: When trying the test.py script on an AMD64 machine it
> runs through fine.

Yeah, we tried on RHEL 3/AMD64 and 4/AMD64 with success.

> It's been ages since I last looked at the code, so it's hard
> to tell what the problem could be.

What I don't understand is why this doesn't work:
  *mkey1 = 0;
  *(mkey1 + 1) = 0;
  *(mkey1 + 2) = 0;
  *(mkey1 + 3) = 1;
  val = *mkey2;
  ^^^^^^^^^^^^^ SIGBUS

-- 
albert chin (china at thewrittenword.com)



More information about the egenix-users mailing list