[pacman-dev] [BUG] segfault when the download fails
Dan McGee
dpmcgee at gmail.com
Fri Dec 7 11:43:19 EST 2007
On Dec 7, 2007 10:38 AM, Aaron Griffin <aaronmgriffin at gmail.com> wrote:
> On Dec 7, 2007 8:12 AM, Xavier <shiningxc at gmail.com> wrote:
> > And actually, in my example above, the mirror didn't have openoffice-fr, but
> > it did have hunspell. And there were probably many other packages available
> > from it, it's just that the syncing wasn't fully done yet.
> >
> > Though, there is also the case where the mirror is totally unavailable, and
> > you want to download/install many packages. But in this case, the current
> > behavior still works, it just will just be slower and print a lot of
> > warnings.
> > With the single mirror list file, it's also easy to temporarily disable that
> > dead mirror by commenting it.
>
> Yeah this is what I was saying. It... "works" but it's a little slow.
> I guess, in actuality, it's not a huge problem, and may actually be
> advantageous for a download of 20 packages where only 1 is missing on
> the super-fast mirror.
>
> So Nagy is probably right that the existing behavior (with the
> "continue") is better if we assume a sorted mirror list
I pushed just the alpm_list_free part to my working branch, so our
segfault is squashed. The code still needs a cleansing though. :)
-Dan
More information about the pacman-dev
mailing list