You are not logged in.

#1 2012-05-19 16:41:41

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

pacman segfaults(Solved by re-install)

Performing ...pacman -Syy... syncs correctly and exits.

However, ...pacman -Syyu.... segfaults.

Performing pacman -S grub2-bios...segfaults.

Since the first instance above was correct, there seems to be a failed DNS problem when attempting anything else.

Latest kernel in place and trying to grub2-install to system.

Last edited by lilsirecho (2012-05-20 20:26:25)


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#2 2012-05-20 15:00:05

toofishes
Developer
From: Chicago, IL
Registered: 2006-06-06
Posts: 602
Website

Re: pacman segfaults(Solved by re-install)

Thanks for the --debug output, the actual bug report, or a gdb backtrace...

Offline

#3 2012-05-20 15:45:52

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: pacman segfaults(Solved by re-install)

The following is the full picture:

sh-4.2# mdadm --assemble /dev/md0 /dev/sdb2 /dev/sdc2 /dev/sdd2 /dev/sde2
mdadm: /dev/md0 has been started with 4 drives.
sh-4.2# mount /dev/md0 /mnt/md
sh-4.2# cd /mnt/md
sh-4.2# mount -t proc proc proc/
sh-4.2# mount -t sysfs sys sys/
sh-4.2# mount -o bind /dev dev/
sh-4.2# mount /dev/sdd1 boot/
sh-4.2# chroot . /bin/bash
[root@n6re /]# pacman -Syy
:: Synchronizing package databases...
 core                     101.6 KiB  83.7K/s 00:01 [######################] 100%
 extra                   1394.3 KiB   138K/s 00:10 [######################] 100%
 community               1691.9 KiB   137K/s 00:12 [######################] 100%
 multilib                  86.9 KiB  78.0K/s 00:01 [######################] 100%
[root@n6re /]# pacman -S grub2-bios

error: segmentation fault
Please submit a full bug report with --debug if appropriate.
[root@n6re /]# pacman --debug
debug: parseconfig: options pass
debug: config: attempting to read file /etc/pacman.conf
debug: config: finish section '(null)'
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: SyncFirst: pacman
debug: config: arch: x86_64
debug: config: SigLevel: Never
debug: config: finish section 'options'
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 81: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'core'
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 85: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'extra'
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 93: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'community'
debug: config: new section 'multilib'
debug: config file /etc/pacman.conf, line 104: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'multilib'
debug: config: finished parsing /etc/pacman.conf
debug: setup_libalpm called
debug: option 'logfile' = /var/log/pacman.log
debug: option 'gpgdir' = /etc/pacman.d/gnupg/
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: parseconfig: repo pass
debug: config: attempting to read file /etc/pacman.conf
debug: config: finish section '(null)'
debug: config: new section 'options'
debug: config: finish section 'options'
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 81: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'core'
debug: registering sync database 'core'
debug: database path for tree core set to /var/lib/pacman/sync/core.db
debug: adding new server URL to database 'core': ftp://locke.suu.edu/linux/dist/archlinux/core/os/x86_64
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 85: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'extra'
debug: registering sync database 'extra'
debug: database path for tree extra set to /var/lib/pacman/sync/extra.db
debug: adding new server URL to database 'extra': ftp://locke.suu.edu/linux/dist/archlinux/extra/os/x86_64
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 93: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'community'
debug: registering sync database 'community'
debug: database path for tree community set to /var/lib/pacman/sync/community.db
debug: adding new server URL to database 'community': ftp://locke.suu.edu/linux/dist/archlinux/community/os/x86_64
debug: config: new section 'multilib'
debug: config file /etc/pacman.conf, line 104: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'multilib'
debug: registering sync database 'multilib'
debug: database path for tree multilib set to /var/lib/pacman/sync/multilib.db
debug: adding new server URL to database 'multilib': ftp://locke.suu.edu/linux/dist/archlinux/multilib/os/x86_64
debug: config: finished parsing /etc/pacman.conf
error: no operation specified (use -h for help)
debug: unregistering database 'local'
debug: unregistering database 'core'
debug: unregistering database 'extra'
debug: unregistering database 'community'
debug: unregistering database 'multilib'
[root@n6re /]# 

Perhaps more info is needed?
EDIT:Pacman.confGENERAL OPTIONS

#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
HoldPkg     = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst   = pacman
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#UseDelta
#TotalDownload
CheckSpace
#VerbosePkgLists

# PGP signature checking
# NOTE: None of this will work without running `pacman-key --init` first.
# The compiled in default is equivalent to the following line. This requires
# you to locally sign and trust packager keys using `pacman-key` for them to be
# considered valid.
#SigLevel = Optional TrustedOnly
# If you wish to check signatures but avoid local sign and trust issues, use
# the following line. This will treat any key imported into pacman's keyring as
# trusted.
#SigLevel = Optional TrustAll
# For now, off by default unless you read the above.
SigLevel = Never

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist

[core]
#SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

[extra]
#SigLevel = PackageOptional
Include = /etc/pacman.d/mirrorlist

#[community-testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist

[community]
#SigLevel = PackageOptional
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

#[multilib-testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist

[multilib]
#SigLevel = Never
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

Hope this is readable...........

Last edited by lilsirecho (2012-05-20 16:29:05)


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#4 2012-05-20 16:42:04

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: pacman segfaults(Solved by re-install)

Another trial with evidence that pacman -S is downloading but not packages.....

[root@n6re /]# pacman -Syy grub2-bios
:: Synchronizing package databases...
 core                     101.6 KiB  80.3K/s 00:01 [######################] 100%
 extra                   1394.3 KiB   137K/s 00:10 [######################] 100%
 community               1691.9 KiB   137K/s 00:12 [######################] 100%
 multilib                  86.9 KiB  78.1K/s 00:01 [######################] 100%

error: segmentation fault
Please submit a full bug report with --debug if appropriate.
[root@n6re /]# 

Last edited by lilsirecho (2012-05-20 16:43:11)


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#5 2012-05-20 17:51:39

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: pacman segfaults(Solved by re-install)

You need to run the full pacman command with --debug (pacman -S --debug grub2-bios)

Offline

#6 2012-05-20 18:19:31

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: pacman segfaults(Solved by re-install)

Here is another debug:

[root@n6re /]# pacman -S --debug grub2-bios
debug: parseconfig: options pass
debug: config: attempting to read file /etc/pacman.conf
debug: config: finish section '(null)'
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: SyncFirst: pacman
debug: config: arch: x86_64
debug: config: SigLevel: Never
debug: config: finish section 'options'
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 81: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'core'
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 85: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'extra'
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 93: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'community'
debug: config: finished parsing /etc/pacman.conf
debug: setup_libalpm called
debug: option 'logfile' = /var/log/pacman.log
debug: option 'gpgdir' = /etc/pacman.d/gnupg/
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: parseconfig: repo pass
debug: config: attempting to read file /etc/pacman.conf
debug: config: finish section '(null)'
debug: config: new section 'options'
debug: config: finish section 'options'
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 81: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'core'
debug: registering sync database 'core'
debug: database path for tree core set to /var/lib/pacman/sync/core.db
debug: adding new server URL to database 'core': ftp://archlinux.supsec.org/pub/linux/arch/core/os/x86_64
debug: adding new server URL to database 'core': ftp://ftp.archlinux.org/core/os/x86_64
debug: adding new server URL to database 'core': ftp://locke.suu.edu/linux/dist/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://mirrors.gigenet.com/archlinux/core/os/x86_64
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 85: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'extra'
debug: registering sync database 'extra'
debug: database path for tree extra set to /var/lib/pacman/sync/extra.db
debug: adding new server URL to database 'extra': ftp://archlinux.supsec.org/pub/linux/arch/extra/os/x86_64
debug: adding new server URL to database 'extra': ftp://ftp.archlinux.org/extra/os/x86_64
debug: adding new server URL to database 'extra': ftp://locke.suu.edu/linux/dist/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirrors.gigenet.com/archlinux/extra/os/x86_64
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 93: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'community'
debug: registering sync database 'community'
debug: database path for tree community set to /var/lib/pacman/sync/community.db
debug: adding new server URL to database 'community': ftp://archlinux.supsec.org/pub/linux/arch/community/os/x86_64
debug: adding new server URL to database 'community': ftp://ftp.archlinux.org/community/os/x86_64
debug: adding new server URL to database 'community': ftp://locke.suu.edu/linux/dist/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://mirrors.gigenet.com/archlinux/community/os/x86_64
debug: config: finished parsing /etc/pacman.conf
debug: loading package cache for repository 'local'
debug: added 129 packages to package cache for db 'local'
debug: loading package cache for repository 'core'

error: segmentation fault
Please submit a full bug report with --debug if appropriate.
[root@n6re /]# 

Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#7 2012-05-20 19:08:37

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: pacman segfaults(Solved by re-install)

Additional info regarding db.

Checking the file /var/lib/pacman, I find only LOCAL  and SYNC.

Researching the same file in another HDD I find that core,extra and community have entries in /var/lib/pacman file.

Therefore I have no db repos.

What can I do to fix this?


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#8 2012-05-20 20:25:29

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: pacman segfaults(Solved by re-install)

Problem solved by re-install which updated the "core" db.

Previous install did not update that file.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

Board footer

Powered by FluxBB