Subject: lib/32140: libssh abi incompatibility
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <yamt@mwd.biglobe.ne.jp>
List: netbsd-bugs
Date: 11/22/2005 12:41:00
>Number: 32140
>Category: lib
>Synopsis: libssh abi incompatibility
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Nov 22 12:41:00 +0000 2005
>Originator: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
>Release: NetBSD 3.99.11
>Organization:
>Environment:
Architecture: i386
Machine: i386
>Description:
when i updated libssh.so, sshd stopped working.
when ssh'ing from a client, sshd dies with SEGV.
Nov 22 21:21:18 kaeruXENU /netbsd: pid 8573 (sshd), uid 1000: exited on signal 11 (core not dumped, err = 1)
once i updated sshd as well, the problem disappeared.
it seems that the following two versions of libssh are
abi imcompatible.
libssh.so.1.0:
$OpenBSD: monitor_fdpass.c,v 1.6 2004/08/13 02:51:48 djm Exp $
$OpenBSD: progressmeter.c,v 1.22 2004/07/11 17:48:47 deraadt Exp $
$OpenBSD: msg.c,v 1.7 2003/11/17 09:45:39 djm Exp $
$OpenBSD: kexgexc.c,v 1.2 2003/12/08 11:00:47 markus Exp $
$OpenBSD: kexdhc.c,v 1.2 2004/06/13 12:53:24 djm Exp $
$OpenBSD: kexgex.c,v 1.23 2003/02/16 17:09:57 markus Exp $
$OpenBSD: kexdh.c,v 1.19 2003/02/16 17:09:57 markus Exp $
$OpenBSD: dh.c,v 1.31 2004/08/04 10:37:52 djm Exp $
$OpenBSD: ttymodes.c,v 1.19 2003/04/08 20:21:29 itojun Exp $
$OpenBSD: tildexpand.c,v 1.15 2004/05/21 08:43:03 markus Exp $
$OpenBSD: readpass.c,v 1.30 2004/06/17 15:10:14 djm Exp $
$OpenBSD: hostfile.c,v 1.32 2003/11/10 16:23:41 jakob Exp $
$OpenBSD: dns.c,v 1.10 2004/06/21 17:36:31 avsm Exp $
$OpenBSD: authfile.c,v 1.57 2004/06/21 17:36:31 avsm Exp $
$OpenBSD: authfd.c,v 1.64 2004/08/11 21:44:31 avsm Exp $
$OpenBSD: atomicio.c,v 1.12 2003/07/31 15:50:16 avsm Exp $
$OpenBSD: rsa.c,v 1.24 2001/12/27 18:22:16 markus Exp $
$OpenBSD: kex.c,v 1.60 2004/06/21 17:36:31 avsm Exp $
$OpenBSD: dispatch.c,v 1.16 2003/04/08 20:21:28 itojun Exp $
$OpenBSD: key.c,v 1.56 2004/07/28 09:40:29 markus Exp $
$OpenBSD: ssh-rsa.c,v 1.31 2003/11/10 16:23:41 jakob Exp $
$OpenBSD: ssh-dss.c,v 1.19 2003/11/10 16:23:41 jakob Exp $
$OpenBSD: uuencode.c,v 1.17 2003/11/10 16:23:41 jakob Exp $
$OpenBSD: packet.c,v 1.115 2004/06/21 17:36:31 avsm Exp $
$OpenBSD: mac.c,v 1.6 2003/09/18 13:02:21 miod Exp $
$OpenBSD: deattack.c,v 1.19 2003/09/18 08:49:45 markus Exp $
$OpenBSD: compress.c,v 1.21 2004/01/13 19:45:15 markus Exp $
$OpenBSD: cipher.c,v 1.71 2004/07/28 09:40:29 markus 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: nchan.c,v 1.51 2004/07/11 17:48:47 deraadt Exp $
$OpenBSD: channels.c,v 1.209 2004/08/11 21:43:04 avsm Exp $
$OpenBSD: canohost.c,v 1.41 2004/07/21 11:51:29 djm Exp $
$OpenBSD: bufaux.c,v 1.32 2004/02/23 15:12:46 markus Exp $
$OpenBSD: misc.c,v 1.25 2004/08/11 21:43:05 avsm Exp $
$OpenBSD: compat.c,v 1.66 2003/04/01 10:31:26 markus Exp $
$OpenBSD: buffer.c,v 1.21 2003/11/21 11:57:03 djm Exp $
$OpenBSD: match.c,v 1.19 2002/03/01 13:12:10 markus Exp $
$OpenBSD: xmalloc.c,v 1.16 2001/07/23 18:21:46 stevesk Exp $
$OpenBSD: fatal.c,v 1.2 2003/09/23 20:17:11 markus Exp $
$OpenBSD: cleanup.c,v 1.1 2003/09/23 20:17:11 markus Exp $
$OpenBSD: log.c,v 1.29 2003/09/23 20:17:11 markus Exp $
$NetBSD: getpeereid.c,v 1.2 2003/07/10 01:09:44 lukem Exp $
$NetBSD: random.c,v 1.5 2002/05/25 00:29:52 itojun Exp $
$NetBSD: monitor_fdpass.c,v 1.4 2005/02/13 05:57:26 christos Exp $
$NetBSD: progressmeter.c,v 1.5 2005/02/13 05:57:26 christos Exp $
$NetBSD: msg.c,v 1.10 2005/02/13 05:57:26 christos Exp $
$NetBSD: kexgexc.c,v 1.3 2005/02/13 05:57:26 christos Exp $
$NetBSD: kexdhc.c,v 1.3 2005/02/13 05:57:26 christos Exp $
$NetBSD: kexgex.c,v 1.10 2003/07/10 01:09:44 lukem Exp $
$NetBSD: kexdh.c,v 1.9 2003/07/10 01:09:44 lukem Exp $
$NetBSD: dh.c,v 1.13 2005/02/13 05:57:26 christos Exp $
$NetBSD: ttymodes.c,v 1.4 2005/02/13 05:57:27 christos Exp $
$NetBSD: tildexpand.c,v 1.8 2005/02/13 05:57:27 christos Exp $
$NetBSD: readpass.c,v 1.13 2005/02/13 06:01:14 christos Exp $
$NetBSD: hostfile.c,v 1.12 2005/02/13 05:57:26 christos Exp $
$NetBSD: authfile.c,v 1.19 2005/02/13 05:57:26 christos Exp $
$NetBSD: authfd.c,v 1.17 2005/02/13 05:57:26 christos Exp $
$NetBSD: atomicio.c,v 1.7 2005/02/13 05:57:25 christos Exp $
$NetBSD: rsa.c,v 1.2 2003/07/10 01:09:46 lukem Exp $
$NetBSD: kex.c,v 1.19 2005/02/13 05:57:26 christos Exp $
$NetBSD: dispatch.c,v 1.4 2005/02/13 05:57:26 christos Exp $
$NetBSD: key.c,v 1.20 2005/02/13 05:57:26 christos Exp $
$NetBSD: ssh-rsa.c,v 1.15 2005/02/13 05:57:27 christos Exp $
$NetBSD: ssh-dss.c,v 1.14 2005/02/13 05:57:27 christos Exp $
$NetBSD: uuencode.c,v 1.9 2005/02/13 05:57:27 christos Exp $
$NetBSD: packet.c,v 1.22 2005/02/13 05:57:26 christos Exp $
$NetBSD: mac.c,v 1.7 2005/02/13 05:57:26 christos Exp $
$NetBSD: deattack.c,v 1.14 2005/02/13 05:57:26 christos Exp $
$NetBSD: compress.c,v 1.9 2005/02/13 05:57:26 christos Exp $
$NetBSD: cipher.c,v 1.16 2005/02/13 05:57:26 christos Exp $
$NetBSD: nchan.c,v 1.4 2005/02/13 05:57:26 christos Exp $
$NetBSD: channels.c,v 1.31 2005/02/13 05:57:26 christos Exp $
$NetBSD: canohost.c,v 1.19 2005/02/13 05:57:26 christos Exp $
$NetBSD: bufaux.c,v 1.5 2005/02/13 05:57:26 christos Exp $
$NetBSD: misc.c,v 1.15 2005/02/13 05:57:26 christos Exp $
$NetBSD: compat.c,v 1.6 2005/02/22 02:29:32 elric Exp $
$NetBSD: buffer.c,v 1.6 2005/02/13 05:57:26 christos Exp $
$NetBSD: match.c,v 1.3 2004/11/03 21:01:45 dsl Exp $
$NetBSD: xmalloc.c,v 1.7 2003/07/10 01:09:49 lukem Exp $
$NetBSD: fatal.c,v 1.3 2005/02/13 05:57:26 christos Exp $
$NetBSD: log.c,v 1.8 2005/02/13 05:57:26 christos Exp $
libssh.so.1.1:
$OpenBSD: uidswap.c,v 1.24 2003/05/29 16:58:45 deraadt Exp $
$OpenBSD: monitor_fdpass.c,v 1.6 2004/08/13 02:51:48 djm Exp $
$OpenBSD: progressmeter.c,v 1.22 2004/07/11 17:48:47 deraadt Exp $
$OpenBSD: msg.c,v 1.7 2003/11/17 09:45:39 djm Exp $
$OpenBSD: kexgexc.c,v 1.2 2003/12/08 11:00:47 markus Exp $
$OpenBSD: kexdhc.c,v 1.2 2004/06/13 12:53:24 djm Exp $
$OpenBSD: kexgex.c,v 1.23 2003/02/16 17:09:57 markus Exp $
$OpenBSD: kexdh.c,v 1.19 2003/02/16 17:09:57 markus Exp $
$OpenBSD: dh.c,v 1.31 2004/08/04 10:37:52 djm Exp $
$OpenBSD: ttymodes.c,v 1.19 2003/04/08 20:21:29 itojun Exp $
$OpenBSD: tildexpand.c,v 1.15 2004/05/21 08:43:03 markus Exp $
$OpenBSD: readpass.c,v 1.31 2004/10/29 22:53:56 djm Exp $
$OpenBSD: hostfile.c,v 1.33 2005/03/01 10:40:26 djm Exp $
$OpenBSD: dns.c,v 1.10 2004/06/21 17:36:31 avsm Exp $
$OpenBSD: authfile.c,v 1.60 2004/12/11 01:48:56 dtucker Exp $
$OpenBSD: authfd.c,v 1.64 2004/08/11 21:44:31 avsm Exp $
$OpenBSD: atomicio.c,v 1.12 2003/07/31 15:50:16 avsm Exp $
$OpenBSD: rsa.c,v 1.24 2001/12/27 18:22:16 markus Exp $
$OpenBSD: kex.c,v 1.60 2004/06/21 17:36:31 avsm Exp $
$OpenBSD: dispatch.c,v 1.16 2003/04/08 20:21:28 itojun Exp $
$OpenBSD: key.c,v 1.57 2004/10/29 23:57:05 djm Exp $
$OpenBSD: ssh-rsa.c,v 1.31 2003/11/10 16:23:41 jakob Exp $
$OpenBSD: ssh-dss.c,v 1.19 2003/11/10 16:23:41 jakob Exp $
$OpenBSD: uuencode.c,v 1.17 2003/11/10 16:23:41 jakob Exp $
$OpenBSD: packet.c,v 1.116 2004/10/20 11:48:53 markus Exp $
$OpenBSD: mac.c,v 1.6 2003/09/18 13:02:21 miod Exp $
$OpenBSD: deattack.c,v 1.19 2003/09/18 08:49:45 markus Exp $
$OpenBSD: compress.c,v 1.21 2004/01/13 19:45:15 markus Exp $
$OpenBSD: cipher.c,v 1.73 2005/01/23 10:18:12 djm Exp $
$OpenBSD: cipher-bf1.c,v 1.1 2003/05/15 03:08:29 markus Exp $
$OpenBSD: cipher-ctr.c,v 1.5 2004/12/22 02:13:19 djm Exp $
$OpenBSD: cipher-3des1.c,v 1.2 2003/12/22 20:29:55 markus Exp $
$OpenBSD: nchan.c,v 1.51 2004/07/11 17:48:47 deraadt Exp $
$OpenBSD: channels.c,v 1.212 2005/03/01 10:09:52 djm Exp $
$OpenBSD: canohost.c,v 1.42 2005/02/18 03:05:53 djm Exp $
$OpenBSD: bufaux.c,v 1.34 2004/12/06 16:00:43 markus Exp $
$OpenBSD: misc.c,v 1.28 2005/03/01 10:09:52 djm Exp $
$OpenBSD: compat.c,v 1.71 2005/03/01 10:09:52 djm Exp $
$OpenBSD: buffer.c,v 1.22 2004/10/29 23:56:17 djm Exp $
$OpenBSD: match.c,v 1.19 2002/03/01 13:12:10 markus Exp $
$OpenBSD: xmalloc.c,v 1.16 2001/07/23 18:21:46 stevesk Exp $
$OpenBSD: fatal.c,v 1.2 2003/09/23 20:17:11 markus Exp $
$OpenBSD: cleanup.c,v 1.1 2003/09/23 20:17:11 markus Exp $
$OpenBSD: log.c,v 1.29 2003/09/23 20:17:11 markus Exp $
$NetBSD: getpeereid.c,v 1.2 2003/07/10 01:09:44 lukem Exp $
$NetBSD: random.c,v 1.5 2002/05/25 00:29:52 itojun Exp $
$NetBSD: uidswap.c,v 1.3 2005/02/13 05:54:27 christos Exp $
$NetBSD: monitor_fdpass.c,v 1.4 2005/02/13 05:57:26 christos Exp $
$NetBSD: progressmeter.c,v 1.5 2005/02/13 05:57:26 christos Exp $
$NetBSD: msg.c,v 1.10 2005/02/13 05:57:26 christos Exp $
$NetBSD: kexgexc.c,v 1.3 2005/02/13 05:57:26 christos Exp $
$NetBSD: kexdhc.c,v 1.3 2005/02/13 05:57:26 christos Exp $
$NetBSD: kexgex.c,v 1.10 2003/07/10 01:09:44 lukem Exp $
$NetBSD: kexdh.c,v 1.9 2003/07/10 01:09:44 lukem Exp $
$NetBSD: dh.c,v 1.13 2005/02/13 05:57:26 christos Exp $
$NetBSD: ttymodes.c,v 1.4 2005/02/13 05:57:27 christos Exp $
$NetBSD: tildexpand.c,v 1.9 2005/09/18 18:39:05 christos Exp $
$NetBSD: readpass.c,v 1.14 2005/04/23 16:53:28 christos Exp $
$NetBSD: hostfile.c,v 1.14 2005/04/24 13:31:01 kleink Exp $
$NetBSD: authfile.c,v 1.20 2005/04/23 16:53:28 christos Exp $
$NetBSD: authfd.c,v 1.17 2005/02/13 05:57:26 christos Exp $
$NetBSD: atomicio.c,v 1.7 2005/02/13 05:57:25 christos Exp $
$NetBSD: rsa.c,v 1.2 2003/07/10 01:09:46 lukem Exp $
$NetBSD: kex.c,v 1.19 2005/02/13 05:57:26 christos Exp $
$NetBSD: dispatch.c,v 1.4 2005/02/13 05:57:26 christos Exp $
$NetBSD: key.c,v 1.21 2005/04/23 16:53:28 christos Exp $
$NetBSD: ssh-rsa.c,v 1.15 2005/02/13 05:57:27 christos Exp $
$NetBSD: ssh-dss.c,v 1.14 2005/02/13 05:57:27 christos Exp $
$NetBSD: uuencode.c,v 1.9 2005/02/13 05:57:27 christos Exp $
$NetBSD: packet.c,v 1.23 2005/04/23 16:53:28 christos Exp $
$NetBSD: mac.c,v 1.7 2005/02/13 05:57:26 christos Exp $
$NetBSD: deattack.c,v 1.14 2005/02/13 05:57:26 christos Exp $
$NetBSD: compress.c,v 1.9 2005/02/13 05:57:26 christos Exp $
$NetBSD: cipher.c,v 1.17 2005/04/23 16:53:28 christos Exp $
$NetBSD: nchan.c,v 1.4 2005/02/13 05:57:26 christos Exp $
$NetBSD: channels.c,v 1.32 2005/04/23 16:53:28 christos Exp $
$NetBSD: canohost.c,v 1.20 2005/04/23 16:53:28 christos Exp $
$NetBSD: bufaux.c,v 1.6 2005/04/23 16:53:28 christos Exp $
$NetBSD: misc.c,v 1.16 2005/04/23 16:53:28 christos Exp $
$NetBSD: compat.c,v 1.7 2005/04/23 16:53:28 christos Exp $
$NetBSD: buffer.c,v 1.7 2005/04/23 16:53:28 christos Exp $
$NetBSD: match.c,v 1.3 2004/11/03 21:01:45 dsl Exp $
$NetBSD: xmalloc.c,v 1.7 2003/07/10 01:09:49 lukem Exp $
$NetBSD: fatal.c,v 1.3 2005/02/13 05:57:26 christos Exp $
$NetBSD: log.c,v 1.8 2005/02/13 05:57:26 christos Exp $
>How-To-Repeat:
>Fix:
fix incompatibility if possible. otherwise bump major.