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

Re: [SOLVED??] Re: aptitude dying?



On Sun, Sep 21, 2008 at 03:02:29PM +0200, Johannes wrote:
> On 2008-09-20 22:14, Chris Bannister wrote:
> > On Sat, Sep 20, 2008 at 12:25:51PM +0200, Johannes wrote:
> >> Hi all,
> >>
> >> on my etch I 'suddenly' get a very funny behaviour when running aptitude:
> >>
> >> 11:36:30-jw@johannes2:~$ aptitude search pppoe
> >> terminate called after throwing an instance of 'std::bad_alloc'
> >>   what():  St9bad_alloc
> > 
> > I get that sometimes too. Don't know why, but as root a:
> > echo 1000000000 > /proc/sys/kernel/shmmax
> > seems to cure it.
> > 
> > For the record; my command is $ apt-cache search <package>
> 
> Thanks.
> 
> For the record: today it works without that echo or anything else
> modified, as far as I can tell...

It only happens to me occasionally also. Although I have to do it every
time with "crafty" compiled from upstream source.

When it happens try a cat /proc/sys/kernel/shmmax and compare to one on
a good day although that won't tell you what's actually causing it.

-- 
Chris.
======
I contend that we are both atheists. I just believe in one fewer god
than you do. When you understand why you dismiss all the other
possible gods, you will understand why I dismiss yours.
                                           -- Sir Stephen Henry Roberts


Reply to: