Date: Sat, 16 Mar 2002 16:21:35 +0900 From: Munehiro Matsuda <haro@h4.dion.ne.jp> To: freebsd-current@freebsd.org Subject: problem with libz 1.1.4 when installing linux_base ports Message-ID: <20020316162135C.haro@h4.dion.ne.jp>
next in thread | raw e-mail | index | archive | help
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 ' <repeats 200 times>..., 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020316162135C.haro>
