[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [taw1@nic.fi: Bug#71091: Aptitude: unable to install packages from local mirror]



On Sat, 9 Sep 2000, Daniel Burrows wrote:

>   I hope I'm not stomping on memory..anyway, I'd expect to see random crashes
> and other weirdness from that sort of bug (I don't)

It just occured to me.. do yo do:

   signal(SIGPIPE,SIG_IGN);

At the start of your program? IIRC that will break the acquire system if
you don't.
 
> > Off hand, the only normal way I could see this being broken is if your
> > Pulse method returned false which would abort the downloading and leave
> > things in the strange state you see. If you trap the Cancelled result from
> > Run you should be able to eliminate that possibility.
> 
>   I test the result of Run to be sure that it's "Continue".  (although I've
> also been seeing annoying error messages, "Tried to dequeue a fetching item",
> when I cancel a download; perhaps that's related?  I haven't done anything
> about them yet because they appear to be harmless..)

Yes, for sure those are very bad and indicate something is seriously
wrong - almost certianly related to this problem.
 
Jason



Reply to: