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.
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.
FS#20617 - pacman 3.4.0 and libfetch: Segmentation fault when using FTP repository servers on x86_64
Attached to Project:
Pacman
Opened by Ville Rantanen (iipe) - Thursday, 26 August 2010, 08:28 GMT
Last edited by Dan McGee (toofishes) - Friday, 08 October 2010, 12:47 GMT
Opened by Ville Rantanen (iipe) - Thursday, 26 August 2010, 08:28 GMT
Last edited by Dan McGee (toofishes) - Friday, 08 October 2010, 12:47 GMT
|
DetailsDescription:
Pacman gives a segmentation fault when syncing and refreshing (pacman -Sy) with an FTP repository server and if XferCommand is not set to use wget or curl instead of libfetch. Additional info: Output of "pacman -Sy --debug" as attachment Contents of pacman.conf as attachment Updating packages with "pacman -Su" works, the problem is with "pacman -Sy" Probably an architecture-related bug, since I use 32bit Arch Linux on another computer and the bug is not reproducible there. Steps to reproduce: Run "pacman -Sy" without setting the XferCommand in pacman.conf and with an FTP server as one of the repository mirrors Tested and reproduced with pacman >= 3.4.0, and with libfetch >= 2.30-3 Not reproducible after downgrading to pacman < 3.4.0 |
This task depends upon
Closed by Dan McGee (toofishes)
Friday, 08 October 2010, 12:47 GMT
Reason for closing: Fixed
Additional comments about closing: Glibc fix.
Friday, 08 October 2010, 12:47 GMT
Reason for closing: Fixed
Additional comments about closing: Glibc fix.
pacman_debug.txt
could you try to get a backtrace ?
http://wiki.archlinux.org/index.php/Debug_-_Getting_Traces
https://bugs.archlinux.org/task/21114
I still have the issue. It is 100% reproducible.
Downgrading glibc from 2.12.1-1 to 2.11.1-3 fixes the problem.
Using ppp version 2.4.5-1 also gives a segmentation fault that is also fixed by downgrading glibc. With ppp, I get the log message:
Oct 8 12:15:58 --- kernel: pppd[14652]: segfault at 7fff1f41bb9f ip 00007f465e3aeab5 sp 00007fff1f410260 error 6 in libnss_files-2.12.1.so[7f465e3a9000+b000]
I have compiled pacman and glibc with the additional "-g" flags and "!strip" option given in that wiki link, but I still don't get any additional debug information from pacman.
# gdb pacman
You should see this if you build properly with debug info :
Reading symbols from /usr/bin/pacman...done.
Then do :
(gdb) run -Sy
...
(gdb) bt full
And attach output of the backtrace if it looks good
Join #archlinux-pacman on freenode IRC if you need more help.
Try glibc-2.12.1-2