rpm-4.5-69.i686 crash on Qt upgrade

Jan Rękorajski baggins at pld-linux.org
Tue Oct 2 19:10:49 CEST 2012


On Tue, 02 Oct 2012, Jeffrey Johnson wrote:

> Then examine all the data that is in the rpm header, looking for
> a file digest that has an odd (as in 1, 3, 5, …) no. of hex digits
> in the string.
> 
> If the assert failure is happening only sometimes, then the
> root cause, not just the assert failure symptom, needs to
> be identified.
> 
> WYSIWYG
> 	rpm -qp --yaml foo*.rpm
> 

Diff between package built with rpm-4.5 and rpm5:

--- QtXmlPatterns-4.8.2-8.x86_64.rpm.yaml	2012-10-02 18:58:09.785203104 +0200
+++ QtXmlPatterns-4.8.3-6.x86_64.rpm.yaml	2012-10-02 18:58:09.805203104 +0200
@@ -53,14 +69,14 @@
   Filedigests:
     - ~
     - ~
     - ~
-    - ca8235752f514d51cf0ffeb9e341ec9d
-    - b35726f465b533a4406165d9e524d5bf
-    - 829fb2332a1dd35094a626c5610f3f74
+    - 46b61400c99701b4c11d11d910e028bbdator
+    - 53d8d681212d8e71bba13fe28b7a6faadator
+    - f5ca838ce74266d1803ee0659572e884dator
   Filelinktos:
     - ../lib64/qt4/bin/xmlpatternsvalidator
-    - libQtXmlPatterns.so.4.8.2
-    - libQtXmlPatterns.so.4.8.2
+    - libQtXmlPatterns.so.4.8.3
+    - libQtXmlPatterns.so.4.8.3
     - ~
     - ~
     - ~

Looks like buffer error.

> > Or, how to put into every build package a simple dep "Conflicts: rpm < 5" as it
> > will simply force rpm upgrade.
> > 
> 
> Ick: totally the wrong approach.
> 
> >> These are ancient -- and quite predictable -- compatibility issues associated
> >> with a change from MD5 to other Newer! Better! Bestest! digest algorithms.
> > 
> > But the default is still MD5.
> > 
> 
> Then there SHOULD be a hex string with an odd (as in 1,3,5, …) no. of hex digits.
> 
> And the root cause is likely something else.
> 
> >> Hint: I again suggest you try removing adding entries to the Filedigests index
> >> to avoid having to solve "legacy compatible" issues that really do not matter.
> > 
> > I can do that, but it will not solve the issue reported here. It will be a
> > bandaid after the fact.
> > 
> 
> What solution is possible if no code can be changed? Dropping the
> Filedigests index is a C-O-N-F-I-G-U-R-A-T-I-O-N change btw.

The solution is to fix the buffer error which effects can be seen above.

> > BTW what's going on with rpm5.org? I can't connect to it from anywhere.
> 
> Yep @rpm5.org http is busted atm, maybe forever.

Awww :(
What is the current place of rpm5 now in that case?

-- 
Jan Rękorajski                                 | PLD/Linux
SysAdm                                         | http://www.pld-linux.org/
baggins<at>mimuw.edu.pl
baggins<at>pld-linux.org


More information about the pld-devel-en mailing list