Operating System - HP-UX
1819686 Members
3383 Online
109605 Solutions
New Discussion юеВ

gpg: signal 11 caught ... exiting

 
Shamim1
Advisor

gpg: signal 11 caught ... exiting

I've compiled open gnupg-1.4.9 on HP-UX Machine.
When I try to install gnupg on HP-UX Machine, it gives below error and exit. However if execute it second time it works fine.

#/usr/local/bin/gpg --version | grep -i gpg
gpg: signal 11 caught ... exiting

HP-UX Machine Arch :

root@localhost [/]
# uname -a
HP-UX localhost B.11.11 U 9000/800 4247619243 unlimited-user license


System Hardware

Model: 9000/800/rp3440
Main Memory: 2046 MB
Processors: 2
Proccesor(0) Speed: 800 MHz
Proccesor(1) Speed: 800 MHz
OS mode: 64 bit



root@st00h5 [/]
#



Here is details:

# ldd /usr/local/bin/gpg
/usr/lib/libdld.2 => /usr/lib/libdld.2
/usr/lib/libc.2 => /usr/lib/libc.2
/usr/lib/libdld.2 => /usr/lib/libdld.2

root@localhost [/]
# file /usr/local/bin/gpg
/usr/local/bin/gpg: PA-RISC2.0 shared executable dynamically linked -not stripped

root@localhost [/]
#


Please suggest.

Thanks
7 REPLIES 7
James R. Ferguson
Acclaimed Contributor

Re: gpg: signal 11 caught ... exiting

Hi:

Did you install the runtime dependencies, too? I assume that you fetched this from the HP-UX Porting Center (?).

Regards!

...JRF...
OldSchool
Honored Contributor

Re: gpg: signal 11 caught ... exiting

one of the dependencies is egd (for those OSes not having /dev/random)

so...do you have either of the above? if you got egd, is it running?
Shamim1
Advisor

Re: gpg: signal 11 caught ... exiting

Thanks for reply. However I've not downloaded gnupg from HP-UX Porting Center. But Compiled locally. I compield with "gcc -static" options. It give problem when it is part of initial load . however whener we installed on already running machine it works fine.
Steven Schweda
Honored Contributor

Re: gpg: signal 11 caught ... exiting

> [...] It give problem when it is part of
> initial load . however whener we installed
> on already running machine it works fine.

Please explain. Does it fail only the first
time you run GPG, or does it always fail
when you run it on one particular system?

Signal 11 (SIGSEGV) doesn't sound good.

> I compield with "gcc -static" options.

The exact build procedure you used might be
interesting. It probably doesn't matter, but
which GCC version?

I seem to have built mine back in April, and
I don't remember seeing any problems. I
probably didn't ask for "static".

dy # /usr/local/bin/gpg --version
gpg (GnuPG) 1.4.9
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA
Cipher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
Shamim1
Advisor

Re: gpg: signal 11 caught ... exiting

Thanks

However it is giving

gpg: signal 11 caught ... exiting and memory segmentation fault.


We made it a part of initial.
Shamim1
Advisor

Re: gpg: signal 11 caught ... exiting

Is there problem in upward compatibility of gnupg binaries. i've compiled on HP-UX11.11 and running on HP-UX11.23
Steven Schweda
Honored Contributor

Re: gpg: signal 11 caught ... exiting

Do you ever answer questions, or do you only
ask them?

> We made it a part of initial.

I don't understand that.