Segfaults on powerpc platform

Panu Matilainen pmatilai at laiskiainen.org
Mon Apr 23 00:54:34 PDT 2007


On Thu, 19 Apr 2007, Tim Verhoeven wrote:
[...]
> Hi Panu,
>
> I'm trying to push you, but I would like to know if you already had
> some time to look at this ? Also, if you need more info from me or
> other things I need to test, just let me know.

Sorry, haven't had a chance to look into this. The backtrace did look 
familiar, I now remember somebody reported the very same issue with ppc64 
quite some time ago but I'd blissfully forgotten about it.

I'm afraid this might be tricky to sort without access to ppc64 myself, 
but lets see... Can you run the same upgrade with attached patch applied 
and post the output here to give me a hint where to start looking?

 	- Panu -
-------------- next part --------------
diff --git a/apt-pkg/pkgrecords.cc b/apt-pkg/pkgrecords.cc
index d565cd6..fd540b1 100644
--- a/apt-pkg/pkgrecords.cc
+++ b/apt-pkg/pkgrecords.cc
@@ -40,6 +40,7 @@ pkgRecords::pkgRecords(pkgCache &Cache) : Cache(Cache),
 	 return;
       }
 
+      cout << "creating parser for " << I->ID << " " << I.IndexType() << endl;
       Files[I->ID] = Type->CreatePkgParser(I);
       if (Files[I->ID] == 0)
 	 return;


More information about the Apt-Rpm mailing list