[pacman-dev] [BUG] segfault when the download fails
Xavier
shiningxc at gmail.com
Thu Dec 6 18:46:44 EST 2007
I believe my mirror gave me a way to reproduce easily the issue Nagy
described there :
http://bugs.archlinux.org/task/8350#comment20223
However, it doesn't look at all like the output in the original bug report,
where the progress bar is at 64%. So I wasn't sure where to report this
information, so I'm reporting it here for now before investigating further.
Here is the --debug output:
Targets: hunspell-1.2.1-2 openoffice-fr-2.3.1-1
Total Download Size: 15.08 MB
[00:27:01] debug: using cachedir: /var/cache/pacman/pkg/
:: Retrieving packages from extra...
error: Internal pacman error: Segmentation fault.
Please submit a full bug report with --debug if appropriate.
[00:27:01] debug: using 'hunspell-1.2.1-2-i686.pkg.tar.gz' for download
progress
[00:27:01] debug: connected to mir1.archlinuxfr.org successfully
[00:27:02] debug: using 'openoffice-fr-2.3.1-1-i686.pkg.tar.gz' for download
progress
[00:27:02] error: failed retrieving file
'openoffice-fr-2.3.1-1-i686.pkg.tar.gz' from mir1.archlinuxfr.org : Not Found
[00:27:02] debug: using 'hunspell-1.2.1-2-i686.pkg.tar.gz' for download
progress
[00:27:02] error: segmentation fault
So pacman first downloads hunspell-1.2.1-2-i686.pkg.tar.gz and succeeds, then
it tries to download openoffice-fr-2.3.1-1-i686.pkg.tar.gz and fails.
So after that, it tries using the second server in the list. It starts with
hunspell-1.2.1-2-i686.pkg.tar.gz again, and then bam, segfault.
While I'm finishing this mail, the bug is already gone, since that package is
now available on my first mirror. But when it wasn't available, the issue was
100% reproducible, I made it happen 10 times in a row.
More information about the pacman-dev
mailing list