Segfaults on powerpc platform

Tim Verhoeven tim.verhoeven.be at gmail.com
Mon Apr 23 03:03:55 PDT 2007


On 4/23/07, Panu Matilainen <pmatilai at laiskiainen.org> wrote:
>
> 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,

The gdb output of but with your patch applied :

(gdb) run upgrade
Starting program: /usr/bin/apt-get upgrade
[Thread debugging using libthread_db enabled]
[New Thread 4159255552 (LWP 8856)]
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be upgraded
  ImageMagick-c++.32bit ImageMagick.32bit cups-libs cups-libs.32bit cups.32bit
  file.32bit firefox.32bit freetype freetype.32bit gnupg.32bit libf2c libgcj
  libgnat.32bit libobjc mysql mysql.32bit samba-client.32bit samba-common
  samba-common.32bit seamonkey-nspr.32bit seamonkey-nss.32bit seamonkey.32bit
  tzdata xorg-x11-Mesa-libGL xorg-x11-Mesa-libGL.32bit xorg-x11-Mesa-libGLU
  xorg-x11-Mesa-libGLU.32bit xorg-x11-deprecated-libs
  xorg-x11-deprecated-libs.32bit xorg-x11-font-utils.32bit xorg-x11-libs
  xorg-x11-libs.32bit xorg-x11-xauth.32bit xorg-x11-xdm.32bit
  xorg-x11-xfs.32bit xorg-x11.32bit
36 upgraded, 0 newly installed, 0 removed and 0 not upgraded.
creating parser for 3 RPM Database

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 4159255552 (LWP 8856)]
0x0ff50ed0 in pkgRecords (this=0xffffd940, Cache=Variable "Cache" is
not available.
) at pkgrecords.cc:44
44            Files[I->ID] = Type->CreatePkgParser(I);
(gdb) bt
#0  0x0ff50ed0 in pkgRecords (this=0xffffd940, Cache=Variable "Cache"
is not available.
) at pkgrecords.cc:44
#1  0x10008bd0 in InstallPackages (Cache=@0xffffdf60, ShwKept=Variable
"ShwKept" is not available.
) at ../include/apt-pkg/cachefile.h:40
#2  0x28000448 in ?? ()
#3  0x1000b200 in DoUpgrade (CmdL=Variable "CmdL" is not available.
) at apt-get.cc:1066
#4  0x0feb54fc in CommandLine::DispatchArg (this=0xffffe310,
Map=0xffffe290, NoMatch=true) at contrib/cmndline.cc:340
#5  0x1000fe44 in main (argc=2, argv=Variable "argv" is not available.
) at apt-get.cc:2391
#6  0xf7eb088c in generic_start_main () from /lib/tls/libc.so.6
#7  0xf7eb09d4 in __libc_start_main () from /lib/tls/libc.so.6
#8  0x00000000 in ?? ()


Let me know if I have to test other things.

Regards,
Tim

-- 
Tim Verhoeven - dj at rootshell.be - 0479 / 88 11 83

Hoping the problem  magically goes away  by ignoring it is the
"microsoft approach to programming" and should never be allowed.
(Linus Torvalds)



More information about the Apt-Rpm mailing list