Mailing List Archive

Bus error on Irix 6.5.*
Hi,

I've seen a few other people mention this particular problem, but
haven't found any concrete solutions. Basically, on Irix 6.5.x, gnupg
will build just fine with only minimal warnings, but upon --gen-key
invocation, after the passphrase is entered, it Bus Errors every time.

For example:

Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? o
You need a Passphrase to protect your secret key.

<pass phrase entered, confirmed>

We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
Bus error


I've tried this with egd running, statically enabled, dynamically
enabled, static unix, pretty much every permutation.

Gnupg was built with gcc 2.9.5, and in this case on irix 6.5.5

Any suggestions appreciated.

Scott
Re: Bus error on Irix 6.5.* [ In reply to ]
Scott A . McIntyre, at 15:54 on Sat, 19 Feb 2000, wrote:

> I've seen a few other people mention this particular problem, but
> haven't found any concrete solutions. Basically, on Irix 6.5.x, gnupg
> will build just fine with only minimal warnings, but upon --gen-key
> invocation, after the passphrase is entered, it Bus Errors every time.

The same problem occurs for me. GnuPG is also not able to import keys; it
does not bus-error, but it hangs there chewing up CPU. This also happened
to me on IRIX 6.2.


--
Frank Tobin http://www.neverending.org/~ftobin/

"To learn what is good and what is to be valued,
those truths which cannot be shaken or changed." Myst: The Book of Atrus

OpenPGP: 4F86 3BBB A816 6F0A 340F 6003 56FF D10A 260C 4FA3
Re: Bus error on Irix 6.5.* [ In reply to ]
> The same problem occurs for me. GnuPG is also not able to import keys; it
> does not bus-error, but it hangs there chewing up CPU. This also happened
> to me on IRIX 6.2.

I'd generally suggest to retry and compile with the native compiler cc.
If the problem persists, try a syscall trace, however that's done under
IRIX.
Re: Bus error on Irix 6.5.* [ In reply to ]
Scott A . McIntyre, at 10:27 on Sun, 20 Feb 2000, wrote:

> CC=cc ./configure --disable-nls --with-included-gettext --disable-asm

This also worked for me to compile to get GnuPG 1.0.1 to compile on:

IRIX64 <hostname> 6.5 07151439 IP27

Thanks!

--
Frank Tobin http://www.neverending.org/~ftobin/

"To learn what is good and what is to be valued,
those truths which cannot be shaken or changed." Myst: The Book of Atrus

OpenPGP: 4F86 3BBB A816 6F0A 340F 6003 56FF D10A 260C 4FA3
Re: Bus error on Irix 6.5.* [ In reply to ]
Frank Tobin, at 11:03 on Sun, 20 Feb 2000, wrote:

> Scott A . McIntyre, at 10:27 on Sun, 20 Feb 2000, wrote:
>
> > CC=cc ./configure --disable-nls --with-included-gettext --disable-asm
>
> This also worked for me to compile to get GnuPG 1.0.1 to compile on:
>
> IRIX64 <hostname> 6.5 07151439 IP27

Correcting myself: this got it to _work_ so that it can at least generate
a key and import a key. Compiling was never a problem.

--
Frank Tobin http://www.neverending.org/~ftobin/

"To learn what is good and what is to be valued,
those truths which cannot be shaken or changed." Myst: The Book of Atrus

OpenPGP: 4F86 3BBB A816 6F0A 340F 6003 56FF D10A 260C 4FA3
Re: Bus error on Irix 6.5.* [ In reply to ]
On Sat, 19 Feb 2000, Scott A . McIntyre wrote:

> I've seen a few other people mention this particular problem, but
> haven't found any concrete solutions. Basically, on Irix 6.5.x, gnupg
> will build just fine with only minimal warnings, but upon --gen-key
> invocation, after the passphrase is entered, it Bus Errors every time.

IIRC, this is fixed in the CVS version:

Thu Jan 13 19:31:58 CET 2000 Werner Koch <wk@gnupg.de>

* types.h (HAVE_U64_TYPEDEF): Add a test for _LONGLONG which fixes
this long living SGI bug. Reported by Alec Habig.


Can you please try it.

I'd also like to get responses and bug reports about the new
revocation stuff in the CVS version. Hmmm, maybe it is good to do
another test release tomorrow.


Werner
Re: Bus error on Irix 6.5.* [ In reply to ]
Hi,
I tested gnupg-1.0.1c on an IRIX64 6.5 IP27 system, compiling
with gcc 2.95.2. The bus error problem mentioned Scott McIntyre is
still there. I did get 1.0.1 to work using the native cc compiler
and the directions given earlier in this thread (multiple char* vs
byte* warnings are given during the compile, but it works). Also,
IRIX's native cc dies on the #warning statements in the 1.0.1c
source; I hope these get taken out before the 1.0.2 release.

If anybody has additional patches they want tested on IRIX
before 1.0.2, let me know.

JMC
--
John-Marc Chandonia (jmc@cmpharm.ucsf.edu) We're everywhere...
Cohen Lab, University of California San Francisco for your convenience.
http://yuri.harvard.edu/~jmc -- Psi Corps <*>