[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Segfault in rpm-4.0.4



I have a reproducable segfault situation on some systems at work.  I
have about eight systems this is happening on.  I can get it to work and
I must fix all systems by the end of this weekend (Sunday, January 19).
I am emailing now because I hope I can provide enough information to fix
this problem.  Please let me know what else you want me to do.

The problem appears to be with the order these two RPMs are specified on
the command-line.  If ucd-snmp-utils is listed before ucd-snmp, a
segfault occurs.  Everything works fine the other way.

# /bin/rpm -U -vh ucd-snmp-utils-4.2.5-7.71.0.i386.rpm ucd-snmp-4.2.5-7.71.0.i386.rpm
Segmentation fault (core dumped)

# rpm -q rpm
rpm-4.0.4-7x

# cat /etc/redhat-release
Red Hat Linux release 7.1 (Seawolf)

# rpm -q ucd-snmp ucd-snmp-utils
ucd-snmp-4.2.3-rlx7
ucd-snmp-utils-4.2.3-rlx7

# /bin/rpm -U -vh ucd-snmp-utils-4.2.5-7.71.0.i386.rpm ucd-snmp-4.2.5-7.71.0.i386.rpm
open("/var/lib/rpm/Conflictname", O_RDWR|O_LARGEFILE) = 7
fcntl64(7, F_SETFD, FD_CLOEXEC)         = 0
fstat64(7, {st_mode=S_IFREG|0644, st_size=12288, ...}) = 0
pread(7, "\0\0\0\0\0\0\0\0\0\0\0\0a\25\6\0\7\0\0\0\0\20\0\0\0\10"..., 4096, 0) = 4096
pread(7, "\0\0\0\0\1\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0(\0y\16\0\2\374"..., 4096, 8192) = 4096
stat64("/sbin", {st_mode=S_IFDIR|0755, st_size=3072, ...}) = 0
pread(6, "\0\0\0\0\1\0\0\0\26\0\0\0\0\0\0\0\0\0\0\0\354\0u\6\0\2"..., 4096, 90112) = 4096
pread(3, "\0\0\0\0\1\0\0\0\302\2\0\0\0\0\0\0\303\2\0\0\1\0\346\17"..., 4096, 2891776) = 4096
pread(3, "\0\0\0\0\1\0\0\0\303\2\0\0\302\2\0\0\304\2\0\0\1\0\346"..., 4096, 2895872) = 4096
pread(3, "\0\0\0\0\1\0\0\0\304\2\0\0\303\2\0\0\0\0\0\0\1\0\310\v"..., 4096, 2899968) = 4096
stat64("/bin", {st_mode=S_IFDIR|0755, st_size=2048, ...}) = 0
pread(6, "\0\0\0\0\1\0\0\0w\0\0\0\0\0\0\0\232\0\0\0\f\1\v\3\0\2\336"..., 4096, 487424) = 4096
pread(3, "\0\0\0\0\1\0\0\0\271\0\0\0\0\0\0\0\272\0\0\0\1\0\346\17"..., 4096, 757760) = 4096
pread(3, "\0\0\0\0\1\0\0\0\272\0\0\0\271\0\0\0\273\0\0\0\1\0\346"..., 4096, 761856)
= 4096
pread(3, "\0\0\0\0\1\0\0\0\273\0\0\0\272\0\0\0\274\0\0\0\1\0\346"..., 4096, 765952)
= 4096
pread(3, "\0\0\0\0\1\0\0\0\274\0\0\0\273\0\0\0\275\0\0\0\1\0\346"..., 4096, 770048)
= 4096
pread(3, "\0\0\0\0\1\0\0\0\275\0\0\0\274\0\0\0\276\0\0\0\1\0\346"..., 4096, 774144)
= 4096
pread(3, "\0\0\0\0\1\0\0\0\276\0\0\0\275\0\0\0\277\0\0\0\1\0\346"..., 4096, 778240)
= 4096
pread(3, "\0\0\0\0\1\0\0\0\277\0\0\0\276\0\0\0\0\0\0\0\1\0D\10\0"..., 4096, 782336)
= 4096
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

# rpm -Uvh ucd-snmp-4.2.5-7.71.0.i386.rpm ucd-snmp-utils-4.2.5-7.71.0.i386.rpm
Preparing...                ###########################################
[100%]
   1:ucd-snmp               ########################################### [ 50%]
   2:ucd-snmp-utils         ########################################### [100%]

I assume this has something to do with dependencies, here are their dep
lists:

# rpm -q --requires -p ucd-snmp-4.2.5-7.71.0.i386.rpm
/sbin/chkconfig
/bin/sh
/bin/sh
/bin/sh
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
ld-linux.so.2
libbz2.so.1
libcrypto.so.1
libc.so.6
libdl.so.2
libm.so.6
libnsl.so.1
libpopt.so.0
libpthread.so.0
librpm-4.0.4.so
librpmdb-4.0.4.so
librpmio-4.0.4.so
librt.so.1
libsnmp.so.0
libucdagent.so.0
libucdmibs.so.0
libz.so.1
/bin/bash
/bin/sh
/usr/bin/perl
libc.so.6(GLIBC_2.0)
libc.so.6(GLIBC_2.1)
libc.so.6(GLIBC_2.1.3)
libc.so.6(GLIBC_2.2)
libnsl.so.1(GLIBC_2.0)
libpthread.so.0(GLIBC_2.0)

# rpm -q --requires -p ucd-snmp-utils-4.2.5-7.71.0.i386.rpm
ucd-snmp = 4.2.5
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
ld-linux.so.2
libbz2.so.1
libcrypto.so.1
libc.so.6
libdl.so.2
libm.so.6
libpopt.so.0
libpthread.so.0
librpm-4.0.4.so
librpmdb-4.0.4.so
librpmio-4.0.4.so
librt.so.1
libsnmp.so.0
libz.so.1
/usr/bin/perl
libc.so.6(GLIBC_2.0)
libc.so.6(GLIBC_2.1)
libc.so.6(GLIBC_2.1.3)






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []