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: guy@xxxxxxxxxx (Guy Harris)
Date: Wed, 16 Dec 1998 11:25:50 -0800 (PST)
> 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).

Not ignore - set to default action (SIG_IGN means you get no core dump,
SIG_DFL means you do).

> Concerning memory allocation, g_malloc displays an error message and 
> abort() if the allocation fails.

...which I consider broken behavior; dumping core because you've run out
of swap space is more than a bit rude.  Perhaps you can't pop up a
dialog box, but a core dump probably doesn't provide much useful
information (unless the problem is that the program is leaking memory or
something).