Release: 1.4.1
Environment
Connecting remotely using X-Win32 from Windows XP. All commands run in xterm (Terminal) windows remotely through the CDE Window Manager.
Running uname -a gives me: "SunOS kappa 5.8 Generic_117350-15 sun4u sparc SUNW,Sun-Fire-480R"
Running gcc -v gives me:
"Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.4/specs "Configured with: ../configure "Thread model: posix "gcc version 3.0.4"
Running gmake 3.79.1 built for sparc-sun-solaris2.8
Description
I compiled, built, and verified GPG with no errors. However, when running GPG it segfaults if I send a SIGINT (using Control-C) as soon as GPG starts (when run with no options).
I compiled GPG using configure --prefix=/home/8/kornel --enable-static-rnd=auto --disable-card-support --disable-nls --disable-regex --without-photo-viewer. I built it using gmake -j 2. The build complted with warnings but all tests (gmake check) completed with no errors.
I rebuilt it, giving the same options to configure along with "CFLAGS=-g" to turn on debugging (if it wasn't on already). I built with a few warnings bug no errors and checked OK. I ran GPG (with no command-line options) through the GDB debugger, sending it the SIGINT signal as soon as it prompted for input. Here's what I got when I sent the signal:
"Program received signal SIGSEGV, Segmentation fault.
"0xff3284ac in rl_redisplay () at ../display.c:514
"514 ../display.c: No such file or directory."
How To Repeat
Download & verify GPG 1.4.1
Unpack and run ./configure
Run gmake -j 2 to build
Run gmake check to verify
Run gmake install to install
Open new terminal window and run gpg. When prompted for input enter Control-C to send SIGINT (or you could also send SIGTERM).
At this point, GPG should have exited cleanly. Instead, GPG segfaulted.
Fix
Unknown