Bug 340 - Segmentation Fault
Summary: Segmentation Fault
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Build system (show other bugs)
Version: -current
Hardware: ix86 Solaris
: P1 normal
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-08 19:46 AEST by M.Alkema
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description M.Alkema 2002-07-08 19:46:05 AEST
I used the manual from http://www.sunfreeware.com/opensshdoc.html to install 
openssh on my 5.8 solaris X86 system.
zlib, prngd, egd, perl, openssl installed & working.
When i try to generate a key i get an Segmentation fault.
This is what i get when i run ssh-keygen in GDB:


Program received signal SIGSEGV, Segmentation fault.
0xdfae9deb in ?? ()
(gdb) backtrace
#0  0xdfae9deb in ?? ()
#1  0xdfaf3673 in ?? ()
#2  0xdfae31ca in ?? ()
#3  0x8047cc4 in ?? ()
Cannot access memory at address 0x2

Maybe someone can help me a step further...

:-) Mark Alkema
Comment 1 Darren Tucker 2002-07-08 21:11:56 AEST
Correct me if I'm wrong but I get the impression you downloaded sunfreeware's 
binary packages?

If so then you should really contact them for help or to report bugs. They're 
the only ones who know how the packages were configured and compiled.

That said, my gut feel is that this is and OpenSSL library version issue (ie you 
got 0.9.6c and your binaries are linked against 0.9.6d or vice versa). Both 
versions have the same library version identifier (0.9.6) but are *NOT* binary 
compatible. The OpenSSL docs recommend against dynamically linking like that, I 
might add.

Also, 3.1p1 has a known vulnerability. Since 3.4p1 appears to be available for 
your platform I suggest you use that instead.
Comment 2 M.Alkema 2002-07-09 21:03:48 AEST
Thankx for yer help, i did installed the latest ssh & ssl pkg from sunfreeware
It works just fine now.

:-) Mark.
Comment 3 Damien Miller 2004-04-14 12:24:18 AEST
Mass change of RESOLVED bugs to CLOSED