Skip to main content.
home | support | download

Back to List Archive

Re: Problem testing the new 2.2 version

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Wed Sep 18 2002 - 17:12:34 GMT
At 01:03 PM 09/18/02 -0400, Peggy Eaton wrote:
>I run on an SGI using Irix 6.5.

Wild guess, but it's possible that there's an alignment problem.

One thing you could try is in src/mem.c look for:

#ifdef __sparc__
/* This is not exactly correct because not all sparc machines require 8,
but minor difference in memory usage */
#define PointerAlignmentSize 8  
  
#else
#define PointerAlignmentSize sizeof(long)
#endif

And just change it to:

#define PointerAlignmentSize 8

and then run make again.


Otherwise, it would be helpful to see a back trace.

I assume if you run

  $ cd ~/swish-e-2.2/src
  $ ./swish-e -i index.c

you will get the bus error.  If that's the case try:

  $ gdb swish-e
  run -i index.c
  <error>
  bt

to get a backtrace.  That should show were it's crashing.

I don't have access to a machine running Irix, so it's hard to debug.



-- 
Bill Moseley
mailto:moseley@hank.org
Received on Wed Sep 18 17:16:09 2002