[pacman-dev] pacman 3.1 segfault (more info)

Dale Ogilvie pnyli0002 at sneakemail.com
Fri Nov 9 03:30:48 EST 2007


Here's what happened, in order, in case it helps with figuring out what might 
have gone wrong. Note this is using wget-xdelta.sh for XferCommand.

Targets: deltatest-libs-1.0.1-1  deltatest-1.0.2rc3-1  dosbox-0.72-2  
glibc-2.7-5  libgphoto2-2.4.0-1  libsamplerate-0.1.2-4

pacman pulled down all packages before libgphoto2 no problems.

pacman tried to pull libgphoto2-2.4.0-1-i686.pkg.tar.gz from 
ftp://mirror.pacific.net.au/linux/archlinux/extra/os/i686, which is the first  
of only two entries in my mirrorlist. It failed, which is interesting, 
possibly this mirror was not quite finished syncing. 

It then successfully downloaded libsamplerate-0.1.2-4-i686.pkg.tar.gz, which 
was the last package in the targets for update.

It then segfaulted. 

error: segmentation fault
error: Internal pacman error: Segmentation fault.
Please submit a full bug report with --debug if appropriate.

I *guess* at this point it would have been trying the second server in my 
mirrorlist for the missing libgphoto2-2.4.0-1-i686.pkg.tar.gz package.

I then removed the pacman lock file so I could run pacman again.

I did a pacman -Su to redo the upgrade At this point it still failed to find 
the libgphoto2 package on my first mirror, but did manage to begin 
downloading it from the second mirror 
(ftp://mirror.aarnet.edu.au/pub/archlinux/extra/os/i686).

I cntrl-C'ed it. as I wasn't sure why it was hitting 2 mirrors...

Then I did a pacman -Syu to freshen things up, this time I get a new package 
in my targets, imagemagick. The upgrade works perfectly, with libgphoto2 
being found on my first mirror *this time*.

All's well that ends well? My pick would be something to do with the package 
not being available on that first mirror...

Dale




More information about the pacman-dev mailing list