On Wed, Nov 01, 2006 at 03:07:26PM +0100, Ed Schofield <[EMAIL PROTECTED]> was 
heard to say:
> Daniel Burrows wrote:
> > On Tue, Oct 31, 2006 at 12:54:01AM +0100, Ed Schofield <[EMAIL PROTECTED]> 
> > was heard to say:
> >   
> >> I can reproduce this on my Debian Etch system, which is a UML system 
> >> with only 64MB of RAM. The version of aptitude is 0.4.3 compiled at Sep  
> >> 3 2006 17:35:53
> >>     
> >
> >   Could you be running out of memory?  "top" claims that aptitude uses
> > around 5-10MB to start (plus 10MB of shared memory).
> >   
> 
> Yes, this is possible. Perhaps a malloc() is returning NULL and aptitude
> is failing to check for this. If so, this is still a bug that ought to
> be fixed.
> 
> I've now tried building aptitude with debug symbols to obtain a
> meaningful backtrace, but I can't debug it with gdb:
> 
> [EMAIL PROTECTED]:~/Install/aptitude-0.4.3$ gdb aptitude
> GNU gdb 6.4.90-debian
> Copyright (C) 2006 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i486-linux-gnu"...Using host libthread_db
> library "/lib/tls/libthread_db.so.1".
> 
> (gdb) run
> Starting program: /usr/bin/aptitude
                    ^^^^^^^^^^^^^^^^^

  Probably you want "gdb ./aptitude"?

  Daniel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to