You are not logged in.

#1 2004-08-01 10:12:22

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Pacman Segmentation Fault

Mornin

Just did my usual daily pacman -Syu and came up with this error:

[root@firestar thomas]# pacman -Syu
:: Synchronizing package databases...
 current                  [################] 100%      37K    10.6K/s  00:00:03
 extra                    [################] 100%     145K    48.5K/s  00:00:03
:: Replace digest-hmac with perl-digest-hmac from "extra"? [Y/n] y
:: Replace digest-sha1 with perl-digest-sha1 from "extra"? [Y/n] y
:: Replace html-parser with perl-html-parser from "extra"? [Y/n] y
:: Replace html-tagset with perl-html-tagset from "extra"? [Y/n] y
:: Replace io-socket-ssl with perl-io-socket-ssl from "extra"? [Y/n] y
:: Replace net-dns with perl-net-dns from "extra"? [Y/n] y
:: Replace net-ssleay with perl-net-ssleay from "extra"? [Y/n] y
:: Replace pygame with python-pygame from "extra"? [Y/n] y
:: ettercap-0.6.b-3: local version is newer
:: Above packages will be skipped.  To manually upgrade use 'pacman -S <pkg>'

Remove:  digest-sha1 digest-hmac html-tagset html-parser net-ssleay
         io-socket-ssl net-dns pygame

Targets: perl-digest-sha1-2.07-1 perl-digest-hmac-1.01-1 perl-html-tagset-3.03-1
         perl-html-parser-3.35-1 perl-net-ssleay-1.25-1
         perl-io-socket-ssl-0.95-1 perl-net-dns-0.46-1 python-pygame-1.6-1
         k3b-0.11.12-2

Proceed with upgrade? [Y/n] y

:: Retrieving packages from extra...
 perl-digest-sha1-2.07-1  [################] 100%      16K    23.8K/s  00:00:00
 perl-digest-hmac-1.01-1  [################] 100%       8K    15.0K/s  00:00:00
 perl-html-tagset-3.03-1  [################] 100%       9K    16.5K/s  00:00:00
 perl-html-parser-3.35-1  [################] 100%      78K    44.2K/s  00:00:01
 perl-net-ssleay-1.25-1   [################] 100%     157K    31.3K/s  00:00:05
 perl-io-socket-ssl-0.95- [################] 100%      22K    27.2K/s  00:00:00
 perl-net-dns-0.46-1      [################] 100%     177K    32.4K/s  00:00:05
 python-pygame-1.6-1      [################] 100%     325K    40.9K/s  00:00:07
 k3b-0.11.12-2            [################] 100%    3596K    57.3K/s  00:01:02

checking package integrity... done.
removing digest-sha1... done.
removing digest-hmac... done.
removing html-tagset... done.
removing html-parser... done.
removing net-ssleay... done.
removing io-socket-ssl... done.
removing net-dns... done.
removing pygame... done.
loading package data... done.
checking for file conflicts... done.
installing perl-digest-sha1... done.
installing perl-digest-hmac... done.
installing perl-html-tagset... done.
installing perl-html-parser... done.
installing perl-net-ssleay... done.
installing perl-io-socket-ssl... done.
installing perl-net-dns... done.
installing python-pygame... done.
upgrading k3b... done.
Segmentation fault
[root@firestar thomas]# 

Then I did

[root@firestar thomas]# pacman -Syu
error: unable to lock pacman database.
       if you're sure pacman is not already running, you
       can remove /tmp/pacman.lck
[root@firestar thomas]# rm /tmp/pacman.lck
[root@firestar thomas]# pacman -Syu
:: Synchronizing package databases...
 current                  [################] 100%      37K    12.2K/s  00:00:03
 extra                    [################] 100%     145K    27.5K/s  00:00:05
:: ettercap-0.6.b-3: local version is newer
:: Above packages will be skipped.  To manually upgrade use 'pacman -S <pkg>'
[root@firestar thomas]#

So... can I safely ignore that error? Seems to be OK at the moment... is it a known bug?

Thought it'd be worth mentioning anyway.
T.

Offline

#2 2004-08-01 10:34:01

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: Pacman Segmentation Fault

Yes, it's a known bug. Take a look at this bug report http://bugs.archlinux.org/?do=details&id=1208 I added my comments. It happened to me on two boxes and I think it's becasue of the changes in names of perl modules packages (they are now prefixed sith "perl-" and  packages with old names are removed during update). Everything seems to work normally after removing pacman lock from /tmp.

Offline

#3 2004-08-01 20:19:26

apeiro
Daddy
From: Victoria, BC, Canada
Registered: 2002-08-12
Posts: 771
Website

Re: Pacman Segmentation Fault

I'm trying to reproduce this one.  If anyone can get a core file, it'd help me out.

# ulimit -c unlimited

Then try to get pacman to dump its core (segfault).

Offline

#4 2004-08-01 21:31:36

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: Pacman Segmentation Fault

I tried to reproduce this error in several ways but I couldn't :-(

This segfault is quite silent and some people may not even notice it especially if they use /tmp with tempfs and they do not make another pacman -Syu before next reboot (no message from pacman about lock in /tmp).

Offline

Board footer

Powered by FluxBB