Operating System - HP-UX
1833412 Members
3334 Online
110052 Solutions
New Discussion

ssh coredump on HP-UX 11.11

 
Christian Deutsch_1
Esteemed Contributor

ssh coredump on HP-UX 11.11

Hi folks,

I have an ssh coredump on HP-UX 11.11 (attached).

core is happening when I try to call "ssh -e validhostname" from Gnome 1.4 (Gnome downloaded from HP server) using a launcher.

ssh -e rlogin validhostname works fine, only ssh is giving me coredumps.

As far as I could tell no patches for ssh are available, is that right?

Any ideas?

If you can even find a fast solution you will get 10 points of course!

Thanks, Christian

swlist information:

swlist -l fileset Secure_Shell.SECURE_SHELL
# Initializing...
# Contacting target "schalom"...
#
# Target: schalom:/
#

Secure_Shell.SECURE_SHELL A.03.81.004 Secure Shell

core file is attached

what string from ssh is:

/usr/bin/ssh:
$HP-UX Secure Shell: ssh.c,v A.03.81.003 2004/07/02 $
$OpenBSD: ssh.c,v 1.209 2004/03/11 10:21:17 markus Exp $
$OpenBSD: readconf.c,v 1.128 2004/03/05 10:53:58 markus Exp $
$OpenBSD: clientloop.c,v 1.117 2003/12/16 15:49:51 markus Exp $
$OpenBSD: sshtty.c,v 1.5 2003/09/19 17:43:35 markus Exp $
$OpenBSD: sshconnect.c,v 1.156 2004/01/25 03:49:09 djm Exp $
$OpenBSD: sshconnect1.c,v 1.56 2003/08/28 12:54:34 markus Exp $
$OpenBSD: sshconnect2.c,v 1.135 2004/03/05 10:53:58 markus Exp $
$OpenBSD: authfd.c,v 1.63 2003/11/21 11:57:03 djm Exp $
$OpenBSD: authfile.c,v 1.55 2003/09/18 07:56:05 markus Exp $
$OpenBSD: bufaux.c,v 1.32 2004/02/23 15:12:46 markus Exp $
$OpenBSD: buffer.c,v 1.21 2003/11/21 11:57:03 djm Exp $
$OpenBSD: canohost.c,v 1.38 2003/09/23 20:17:11 markus Exp $
$OpenBSD: channels.c,v 1.200 2004/01/19 09:24:21 markus Exp $
$OpenBSD: cipher.c,v 1.68 2004/01/23 19:26:33 hshoexer Exp $
$OpenBSD: compat.c,v 1.70 2003/11/02 11:01:03 markus Exp $
$OpenBSD: fatal.c,v 1.2 2003/09/23 20:17:11 markus Exp $
$OpenBSD: hostfile.c,v 1.32 2003/11/10 16:23:41 jakob Exp $
$OpenBSD: log.c,v 1.29 2003/09/23 20:17:11 markus Exp $
$OpenBSD: match.c,v 1.19 2002/03/01 13:12:10 markus Exp $
$OpenBSD: mpaux.c,v 1.16 2001/02/08 19:30:52 itojun Exp $
$OpenBSD: packet.c,v 1.112 2003/09/23 20:17:11 markus Exp $
$OpenBSD: readpass.c,v 1.28 2003/01/23 13:50:27 markus Exp $
$OpenBSD: rsa.c,v 1.24 2001/12/27 18:22:16 markus Exp $
$OpenBSD: tildexpand.c,v 1.13 2002/06/23 03:25:50 deraadt Exp $
$OpenBSD: ttymodes.c,v 1.19 2003/04/08 20:21:29 itojun Exp $
$OpenBSD: xmalloc.c,v 1.16 2001/07/23 18:21:46 stevesk Exp $
$OpenBSD: atomicio.c,v 1.12 2003/07/31 15:50:16 avsm Exp $
$OpenBSD: key.c,v 1.55 2003/11/10 16:23:41 jakob Exp $
$OpenBSD: dispatch.c,v 1.16 2003/04/08 20:21:28 itojun Exp $
$OpenBSD: kex.c,v 1.56 2003/11/21 11:57:03 djm Exp $
$OpenBSD: mac.c,v 1.6 2003/09/18 13:02:21 miod Exp $
$OpenBSD: misc.c,v 1.23 2003/10/28 09:08:06 markus Exp $
$OpenBSD: kexdhc.c,v 1.1 2003/02/16 17:09:57 markus Exp $
$OpenBSD: kexgexc.c,v 1.2 2003/12/08 11:00:47 markus Exp $
$OpenBSD: msg.c,v 1.7 2003/11/17 09:45:39 djm Exp $
$OpenBSD: dns.c,v 1.9 2003/11/21 11:57:03 djm Exp $
$Id: entropy.c,v 1.48 2003/11/21 12:56:47 djm Exp $
$Id: cipher-acss.c,v 1.2 2004/02/06 04:26:11 dtucker Exp $
$OpenBSD: cipher-bf1.c,v 1.1 2003/05/15 03:08:29 markus Exp $
$OpenBSD: cipher-ctr.c,v 1.4 2004/02/06 23:41:13 dtucker Exp $
$OpenBSD: cipher-3des1.c,v 1.2 2003/12/22 20:29:55 markus Exp $
$OpenBSD: compress.c,v 1.21 2004/01/13 19:45:15 markus Exp $
$OpenBSD: deattack.c,v 1.19 2003/09/18 08:49:45 markus Exp $
$OpenBSD: nchan.c,v 1.49 2003/08/29 10:04:36 markus Exp $
$OpenBSD: uuencode.c,v 1.17 2003/11/10 16:23:41 jakob Exp $
$OpenBSD: ssh-dss.c,v 1.19 2003/11/10 16:23:41 jakob Exp $
$OpenBSD: ssh-rsa.c,v 1.31 2003/11/10 16:23:41 jakob Exp $
$OpenBSD: dh.c,v 1.29 2004/02/27 22:49:27 dtucker Exp $
$OpenBSD: kexdh.c,v 1.19 2003/02/16 17:09:57 markus Exp $
$OpenBSD: kexgex.c,v 1.23 2003/02/16 17:09:57 markus Exp $
$Id: bsd-arc4random.c,v 1.8 2004/02/17 05:49:55 djm Exp $
$Id: bsd-misc.c,v 1.21 2004/02/17 05:49:55 djm Exp $
$Id: fake-dynaddr.c,v 1.2 2002/05/30 20:35:46 cvsuser Exp $
$Id: fake-rfc2553.c,v 1.5 2003/09/22 02:08:23 dtucker Exp $
Yeshua loves you!
5 REPLIES 5
Arunvijai_4
Honored Contributor

Re: ssh coredump on HP-UX 11.11

Hi Christian,

Secure Shell A.03.81.004 is bit old, try upgrading to A.04.30.014 which has lot more fixes.

http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=T1471AA

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Jonathan Fife
Honored Contributor

Re: ssh coredump on HP-UX 11.11

I don't know of any patches for SecureShell, but you are using an older version. The latest is A.04.30.014 at http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=T1471AA.

I would try updating to that before researching any further.
Decay is inherent in all compounded things. Strive on with diligence
Christian Deutsch_1
Esteemed Contributor

Re: ssh coredump on HP-UX 11.11

Thanks for the link to the newer ssh bits.

Unfortunately there is no progress here.

I installed the new bits and checked the recommended prerequisites libc and pthreads. I already have these (newer) patches installed:

PHCO_31903 1.0 libc cumulative patch
PHCO_29109 1.0 Pthread enhancement and fixes

Now what? New corefile is attached.

what string of new ssh binary:

what /opt/ssh/PA-RISC2.0/bin/ssh
/opt/ssh/PA-RISC2.0/bin/ssh:
$HP-UX Secure Shell: ssh.c,v A.04.30.014 2006/08/07 $
$OpenBSD: ssh.c,v 1.257 2005/12/20 04:41:07 dtucker Exp $
$OpenBSD: readconf.c,v 1.145 2005/12/08 18:34:11 reyk Exp $
$OpenBSD: clientloop.c,v 1.149 2005/12/30 15:56:37 reyk Exp $
$OpenBSD: sshtty.c,v 1.6 2004/05/08 00:01:37 deraadt Exp $
$OpenBSD: sshconnect.c,v 1.171 2005/12/06 22:38:27 reyk Exp $
$OpenBSD: sshconnect1.c,v 1.62 2005/10/30 08:52:18 djm Exp $
$OpenBSD: sshconnect2.c,v 1.143 2005/10/14 02:17:59 stevesk Exp $
$OpenBSD: authfd.c,v 1.66 2005/06/17 02:44:32 djm Exp $
$OpenBSD: authfile.c,v 1.61 2005/06/17 02:44:32 djm Exp $
$OpenBSD: bufaux.c,v 1.37 2005/11/05 05:01:15 djm Exp $
$OpenBSD: buffer.c,v 1.23 2005/03/14 11:46:56 markus Exp $
$OpenBSD: canohost.c,v 1.48 2005/12/28 22:46:06 stevesk Exp $
$OpenBSD: channels.c,v 1.232 2006/01/30 12:22:22 reyk Exp $
$OpenBSD: cipher.c,v 1.77 2005/07/16 01:35:24 djm Exp $
$OpenBSD: compat.c,v 1.71 2005/03/01 10:09:52 djm Exp $
$OpenBSD: fatal.c,v 1.2 2003/09/23 20:17:11 markus Exp $
$OpenBSD: hostfile.c,v 1.36 2005/11/22 03:36:03 dtucker Exp $
$OpenBSD: log.c,v 1.29 2003/09/23 20:17:11 markus Exp $
$OpenBSD: match.c,v 1.20 2005/06/17 02:44:32 djm Exp $
$OpenBSD: packet.c,v 1.120 2005/10/30 08:52:17 djm Exp $
$OpenBSD: readpass.c,v 1.33 2005/05/02 21:13:22 markus Exp $
$OpenBSD: rsa.c,v 1.24 2001/12/27 18:22:16 markus Exp $
$OpenBSD: ttymodes.c,v 1.19 2003/04/08 20:21:29 itojun Exp $
$OpenBSD: xmalloc.c,v 1.16 2001/07/23 18:21:46 stevesk Exp $
$OpenBSD: atomicio.c,v 1.13 2005/05/24 17:32:43 avsm Exp $
$OpenBSD: key.c,v 1.58 2005/06/17 02:44:32 djm Exp $
$OpenBSD: dispatch.c,v 1.16 2003/04/08 20:21:28 itojun Exp $
$OpenBSD: kex.c,v 1.65 2005/11/04 05:15:59 djm Exp $
$OpenBSD: mac.c,v 1.7 2005/06/17 02:44:32 djm Exp $
$OpenBSD: uidswap.c,v 1.24 2003/05/29 16:58:45 deraadt Exp $
$OpenBSD: misc.c,v 1.42 2006/01/31 10:19:02 djm Exp $
$OpenBSD: monitor_fdpass.c,v 1.6 2004/08/13 02:51:48 djm Exp $
$OpenBSD: kexdhc.c,v 1.3 2005/11/04 05:15:59 djm Exp $
$OpenBSD: kexgexc.c,v 1.3 2005/11/04 05:15:59 djm Exp $
$OpenBSD: msg.c,v 1.8 2005/05/24 17:32:43 avsm Exp $
$OpenBSD: dns.c,v 1.16 2005/10/17 14:13:35 stevesk Exp $
$Id: entropy.c,v 1.52 2005/09/27 22:26:30 dtucker Exp $
$Id: cipher-acss.c,v 1.3 2005/07/17 07:04:47 djm Exp $
$OpenBSD: cipher-bf1.c,v 1.1 2003/05/15 03:08:29 markus Exp $
$OpenBSD: cipher-ctr.c,v 1.6 2005/07/17 07:17:55 djm Exp $
$OpenBSD: cipher-3des1.c,v 1.2 2003/12/22 20:29:55 markus Exp $
$OpenBSD: compress.c,v 1.21 2004/01/13 19:45:15 markus Exp $
$OpenBSD: deattack.c,v 1.19 2003/09/18 08:49:45 markus Exp $
$OpenBSD: nchan.c,v 1.51 2004/07/11 17:48:47 deraadt Exp $
$OpenBSD: uuencode.c,v 1.17 2003/11/10 16:23:41 jakob Exp $
$OpenBSD: ssh-dss.c,v 1.19 2003/11/10 16:23:41 jakob Exp $
$OpenBSD: ssh-rsa.c,v 1.32 2005/06/17 02:44:33 djm Exp $
$OpenBSD: dh.c,v 1.31 2004/08/04 10:37:52 djm Exp $
$OpenBSD: kexdh.c,v 1.20 2005/11/04 05:15:59 djm Exp $
$OpenBSD: kexgex.c,v 1.24 2005/11/04 05:15:59 djm Exp $
$Id: bsd-arc4random.c,v 1.10 2005/02/16 02:01:28 djm Exp $
$Id: bsd-getpeereid.c,v 1.3 2004/02/17 05:49:55 djm Exp $
$Id: bsd-misc.c,v 1.28 2005/11/01 22:07:31 dtucker Exp $
$Id: bsd-snprintf.c,v 1.11 2005/12/17 11:32:04 dtucker Exp $
$Id: fake-dynaddr.c,v 1.2 2002/05/30 20:35:46 cvsuser Exp $
$Id: fake-rfc2553.c,v 1.5 2003/09/22 02:08:23 dtucker Exp $
$OpenSSL A.00.09.07i $
Yeshua loves you!
Arunvijai_4
Honored Contributor

Re: ssh coredump on HP-UX 11.11

Hi Christian,

There is something wrong obviously. Secure shell should be fault tolerant. You can call HP Support and fill a Jag. So, this issue will be fixed in the next release.

What does "file core" says ?

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Christian Deutsch_1
Esteemed Contributor

Re: ssh coredump on HP-UX 11.11

I installed the latest libc patch and corequisite, now the coredump looks a little different. Some output from what and gdb. Any more ideas? Seems to be something with a shared library list?

What output of /home/user/core:
$ PATCH_11.11/PHCO_34275 Jul 15 2006 18:15:17 $
OpenGL 1.1 Revision 1.31 on HP-UX 11.00 $Date: 17-Sep-02.23:17:34 $ $Revision: 20020917.13335 $ libogltls.2
SMART_BIND
92453-07 dld dld dld.sl B.11.37 030909
Core of process : ssh
Using Executable : /usr/bin/ssh
What output of /usr/bin/ssh:
$HP-UX Secure Shell: ssh.c,v A.04.30.014 2006/08/07 $
$OpenBSD: ssh.c,v 1.257 2005/12/20 04:41:07 dtucker Exp $
Using Debugger : /opt/OV/contrib/OpC/gdb (version 5.0)



warning: Load module /usr/bin/ssh has been stripped

(no debugging symbols found)...Core was generated by `ssh'.
Program terminated with signal 6, Aborted.
Error while reading dynamic library list.

#0 0xc003bc98 in ()
(gdb) * 1 system thread 6383 0xc003bc98 in ()
(gdb)
Thread 1 (system thread 6383):
warning: GDB cannot print complete stack trace since some shared libraries are missing. Set GDB_SHLIB_PATH and try again.

#0 0xc003bc98 in ()
warning: Attempting to unwind past bad PC 0xc003bc98
#1 0xc003b69c in ()
#2 0xc003b69c in ()
Cannot access memory at address 0x3
(gdb) No core file now.
(gdb)
Yeshua loves you!