Re: Can't build working balsa



On Mon, 14 Feb 2000, Sarel J. Botha wrote:

> On Mon, Feb 14, 2000 at 08:48:06AM +0000, Jules Bean wrote:
> > though.  The segfault is in the opendir() call, as the backtrace shows.
> 
> Maybe memory is being trampled badly and it's just a coincidence that it
> segfaults in the opendir().
> 
> >From the malloc() manpage:
> ---
>        Recent  versions of Linux libc (later than 5.4.23) and GNU
>        libc (2.x) include a malloc implementation which  is  tun­
>        able  via  environment  variables.   When MALLOC_CHECK_ is
>        set, a special (less  efficient)  implementation  is  used
>        which  is  designed  to be tolerant against simple errors,
>        such as double calls of free() with the same argument,  or
>        overruns of a single byte (off-by-one bugs).  Not all such
>        errors can be proteced against, however, and memory  leaks
>        can  result.   If  MALLOC_CHECK_ is set to 0, any detected
>        heap corruption is silently ignored; if set to 1, a  diag­
>        nostic  is  printed  on  stderr;  if  set to 2, abort() is
>        called immediately.  This can be useful because  otherwise
>        a  crash may happen much later, and the true cause for the
>        problem is then very hard to track down.
> ---
> 
> Maybe this helps you track down the problem.

Hmm.  Didn't help.

I'll have another look at the code tomorrow.

Jules

/----------------+-------------------------------+---------------------\
|  Jelibean aka  | jules@jellybean.co.uk         |  6 Evelyn Rd	       |
|  Jules aka     | jules@debian.org              |  Richmond, Surrey   |
|  Julian Bean   | jmlb2@hermes.cam.ac.uk        |  TW9 2TF *UK*       |
+----------------+-------------------------------+---------------------+
|  War doesn't demonstrate who's right... just who's left.             |
|  When privacy is outlawed... only the outlaws have privacy.          |
\----------------------------------------------------------------------/



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