Ethereal-users: Re: [ethereal-users] compilation questions and possible bug...

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Laurent Deniel <deniel@xxxxxxxxxxx>
Date: Wed, 16 Dec 1998 20:24:21 +0100
Guy Harris wrote:
> 
> > Try to load it with name resolving disabled (ethereal -n), this would
> > decrease the amount of memory (and time) needed.
> 
> If running out of memory is causing Ethereal to crash, perhaps we're
> allocating memory and not checking whether the memory allocator returns
> NULL - a stack trace from one of the crashes might help here (as might
> checking the code to make sure it's not doing that...).


The problem is that gtk catches SIGSEGV, so no core file is generated in
most crashes (we should ignore SIGSEGV after gtk_init in main).
Concerning memory allocation, g_malloc displays an error message and 
abort() if the allocation fails.

Laurent.

--
Laurent DENIEL            | E-mail: deniel@xxxxxxxxxxx
Paris, FRANCE             |         deniel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
                          | WWW   : http://www.worldnet.fr/~deniel
    All above opinions are personal, unless stated otherwise.