Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#15983 - PACMAN segfault with gc-7.1.1

Attached to Project: Pacman
Opened by Benji Orozco (benoror) - Wednesday, 19 August 2009, 02:50 GMT
Last edited by Xavier (shining) - Wednesday, 19 August 2009, 18:31 GMT
Task Type Bug Report
Category Backend/Core
Status Closed
Assigned To Xavier (shining)
Dan McGee (toofishes)
Architecture All
Severity High
Priority Normal
Reported Version 3.3.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

PACMAN fails with "Segmentation Fault" when trying to install gc-7.1.1

Additional info:
* package version(s)

gc 7.1.1
Pacman v3.3.0 - libalpm v4.0.0

Steps to reproduce (with debug enabled):
-----------------------------------------------------------------
benoror@gateway:~ $ sudo pacman -S gc --debug
debug: config: attempting to read file /etc/pacman.conf
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: SyncFirst: pacman
debug: config: xfercommand: /usr/bin/snarf -r %u
debug: config: new section 'core'
debug: setlibpaths() called
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: registering sync database 'core'
debug: config: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'core': ftp://mirrors.easynews.com/linux/archlinux/core/os/i686
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: new section 'extra'
debug: registering sync database 'extra'
debug: config: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'extra': ftp://mirrors.easynews.com/linux/archlinux/extra/os/i686
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: new section 'community'
debug: registering sync database 'community'
debug: config: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'community': ftp://mirrors.easynews.com/linux/archlinux/community/os/i686
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.conf
debug: registering local database
debug: loading package cache for repository 'local'
debug: loading package cache for repository 'core'
debug: loading package cache for repository 'extra'
debug: adding package gc-7.1-1 to the transaction targets
resolving dependencies...
debug: resolving target's dependencies
debug: started resolving dependencies
debug: checkdeps: package gc-7.1-1
debug: finished resolving dependencies
debug: started sorting dependencies
debug: sorting dependencies finished
looking for inter-conflicts...
debug: looking for conflicts
debug: check targets vs targets
debug: check targets vs targets
debug: check targets vs db and db vs targets
debug: check targets vs db
debug: check db vs targets
debug: checking dependencies
debug: checkdeps: package gc-7.1-1
debug: setting download size 365587 for pkg gc

Targets (1): gc-7.1-1

Total Download Size: 0.35 MB
Total Installed Size: 1.13 MB

Proceed with installation? [Y/n]
debug: using cachedir: /var/cache/pacman/pkg/
:: Retrieving packages from extra...
debug: running command: /usr/bin/snarf -r ftp://mirrors.easynews.com/linux/archlinux/extra/os/i686/gc-7.1-1-i686.pkg.tar.gz
ftp://mirrors.easynews.com/linux/archlinux/extra/os/i686/gc-7.1-1-i686.pkg.tar.gz (357K)
gc-7.1-1-i686.pkg.tar.gz [########################] 357K | 34.72K/s
365587 bytes transferred in 10.28 sec (34.72k/sec)
checking package integrity...
debug: found cached pkg: /var/cache/pacman/pkg/gc-7.1-1-i686.pkg.tar.gz
debug: md5(/var/cache/pacman/pkg/gc-7.1-1-i686.pkg.tar.gz) = 7e14ad3092468b4382c887d5cf82775f
debug: found cached pkg: /var/cache/pacman/pkg/gc-7.1-1-i686.pkg.tar.gz
debug: loading target '/var/cache/pacman/pkg/gc-7.1-1-i686.pkg.tar.gz'
error: segmentation fault
Internal pacman error: Segmentation fault.
Please submit a full bug report with --debug if appropriate.
This task depends upon

Closed by  Xavier (shining)
Wednesday, 19 August 2009, 18:31 GMT
Reason for closing:  Works for me
Additional comments about closing:  feel free to re-open if you get another segfault and if you manage to get a backtrace
Comment by Xavier (shining) - Wednesday, 19 August 2009, 08:33 GMT
is this 100% reproducible?
can you do post the backtrace?

# gdb pacman
(gdb) run -S gc
<segfault>
(gdb) bt full
<backtrace>

and does it happen only with gc?
Comment by Benji Orozco (benoror) - Wednesday, 19 August 2009, 16:49 GMT
Restarting fixed the problem.
Comment by Xavier (shining) - Wednesday, 19 August 2009, 17:40 GMT
restarting pacman or your box?

Loading...