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

RPM segfaulting



Hi.

I've caught several segmentation faults and other problems with
rpm-4.2.1-0.30 in Fedora 0.95 when installing software that's been
compiled on a different platform, and is only distributed in binary
form. Examples include Acrobat Reader (AR), Real Player (RP) and Flash
Player (FP). AR and RP are custom rpms built by myself (with attached
specfiles), FP is from macromedia.mplug.org.

Now, rpm -ivvh on acrobat-reader-* in a directory with both a-r-5.08.rpm
and a-r-plugin-5.0.8.rpm makes rpm segfault. a-r-plugin depends on a-r,
and putting them both on the same commandline results in
  
[root localhost peter]# rpm -ivv acrobat-reader-*
D: ============== acrobat-reader-5.0.8-0.fdr.1.i386.rpm
D: Expected size:      9131647 = lead(96)+sigs(180)+pad(4)+data(9131367)
D:   Actual size:      9131647
D: acrobat-reader-5.0.8-0.fdr.1.i386.rpm: MD5 digest: OK
(e83fa62e90330323915bbc6726c0ce89)
D:      added binary package [0]
D: ============== acrobat-reader-plugin-5.0.8-0.fdr.1.i386.rpm
D: Expected size:        56726 = lead(96)+sigs(180)+pad(4)+data(56446)
D:   Actual size:        56726
D: acrobat-reader-plugin-5.0.8-0.fdr.1.i386.rpm: MD5 digest: OK
(ccbdbea7814c388c3b51907db669b9cb)
D:      added binary package [1]
D: found 0 source and 2 binary packages
D: opening  db environment /var/lib/rpm/Packages joinenv
D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
D: locked   db index       /var/lib/rpm/Packages
D: ========== +++ acrobat-reader-5.0.8-0.fdr.1 i386-linux 0x1
D: opening  db index       /var/lib/rpm/Depends create mode=0x0
D: opening  db index       /var/lib/rpm/Basenames rdonly mode=0x0
D: opening  db index       /var/lib/rpm/Pubkeys rdonly mode=0x0
D:  read h#    1460 Header sanity check: OK
D: ========== DSA pubkey id fd372689897da07a
D:  read h#      32 Header V3 DSA signature: OK, key ID 897da07a
D:  Requires: /bin/sh                                       YES (db
files)
Segmentation fault

Same situation with RP and FP. However, installing only the
acrobat-reader rpm works most of the time, but sometimes (hard to
reproduce, but has happened more than once) is gets stuck a la rpm in
rh8/9, last output being

GZDIO:    3100 reads, 25389892 total bytes in 2.210 secs

Strace output from rpm when segfaulting ends with

write(2, "========== DSA pubkey id fd37268"..., 42========== DSA pubkey
id fd372689897da07a
) = 42
write(2, "D: ", 3D: )                      = 3
write(2, " read h#      32 Header V3 DSA s"..., 62 read h#      32
Header V3 DSA signature: OK, key ID 897da07a
) = 62
write(2, "D: ", 3D: )                      = 3
write(2, " Requires: /bin/sh              "..., 72 Requires:
/bin/sh       YES (db files)
) = 72
rt_sigprocmask(SIG_BLOCK, ~[RTMIN], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
pread(5, "\0\0\0\0\1\0\0\0\0\0\0\0a\25\6\0\10\0\0\0\0 \0\0\0\10\0"...,
8192, 0) = 8192
pread(5, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
8192, 8192) = 8192
rt_sigprocmask(SIG_BLOCK, ~[RTMIN], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++






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