Ethereal-dev: Re: [Ethereal-dev] Compiling with -O3 crashes ethereal

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Fri, 26 Dec 2003 19:28:22 -0800
On Fri, Dec 26, 2003 at 10:55:10PM +0100, Thomas Reitelbach wrote:
> It crashes with the following message on console:
> ** ERROR **: file ftypes.c: line 420 (fvalue_set): assertion failed: 
> (fv->ftype->set_value)

Do you have a stack trace?

> I tried with Gtk 1.2.9 and Gtk 2.3, same problem on either.
> After testing some other things i found that the crash is caused by my GCC 
> optimization flags.

That depends on what you mean by "caused".  It might not crash unless
compiled with -O3; however, the underlying cause might be an Ethereal
bug that, when Ethereal is compiled with a lower level of optimization,
doesn't cause a crash because the generated code is different - but
might cause other symptoms, such as bad packet dissection.