From owner-freebsd-current Fri Mar 15 23:23:48 2002 Delivered-To: freebsd-current@freebsd.org Received: from hfep03.dion.ne.jp (hfep03.dion.ne.jp [203.181.105.69]) by hub.freebsd.org (Postfix) with ESMTP id 86B2B37B404 for ; Fri, 15 Mar 2002 23:23:44 -0800 (PST) Received: from localhost ([211.134.61.1]) by hfep03.dion.ne.jp with ESMTP id <20020316072341983.OSJQ@hfep03.dion.ne.jp> for ; Sat, 16 Mar 2002 16:23:41 +0900 To: freebsd-current@freebsd.org Subject: problem with libz 1.1.4 when installing linux_base ports X-Mailer: Mew version 1.94.1 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20020316162135C.haro@h4.dion.ne.jp> Date: Sat, 16 Mar 2002 16:21:35 +0900 From: Munehiro Matsuda X-Dispatcher: imput version 20000228(IM140) Lines: 48 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi All, After the import of libz 1.1.4, rpm (from ports) dumps core when trying to install linux_base. # make install ===> Installing for linux_base-6.1_1 setup-2.0.5-1.noarch.rpm filesystem-1.3.5-1.noarch.rpm basesystem-6.0-4.noarch.rpm ldconfig-1.9.5-15.i386.rpm Segmentation fault - core dumped *** Error code 139 Stop in /usr/ports/emulators/linux_base. *** Error code 1 When runing rpm inside gdb, SEGV seems to be happing inside libz. Starting program: /usr/local/bin/rpm -U --ignoreos --root /compat/linux --dbpath /var/lib/rpm --nodeps --replacepkgs --noscripts /usr/ports/distfiles/rpm/ldconfig-1.9.5-15.i386.rpm Program received signal SIGSEGV, Segmentation fault. 0x80a42b3 in inflate_codes () (gdb) where #0 0x80a42b3 in inflate_codes () #1 0x80a1d13 in inflate_blocks () #2 0x809f737 in inflate () #3 0x809ea94 in gzread () #4 0x808184f in gzdRead (cookie=0x813a900, buf=0x81453f0 ' ..., count=14) at rpmio.c:2230 I then went into src/lib/libz and checked the difference between libz 1.1.4 and older 1.1.3. I found that if I backout the change for infcodes.c 1.3, rpm does not dump core. Could someone take a look into this? Thanks, Haro =------------------------------------------------------------------------------ _ _ Munehiro (haro) Matsuda -|- /_\ |_|_| Business Incubation Dept., Kubota Corp. /|\ |_| |_|_| 1-3 Nihonbashi-Muromachi 3-Chome Chuo-ku Tokyo 103-8310, Japan Tel: +81-3-3245-3318 Fax: +81-3-3245-3315 Email: haro@kubota.co.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message