Ethereal-users: Re: [ethereal-users] Ethereal core dumping under Linux

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

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Sat, 11 Mar 2000 11:31:52 -0800
> I am using the latest Ethereal snapshot from CVS, and am encountering
> a problem.  If I enable "Update list of packets in real time", things
> coredump. 

I hate CLists.

I hate CLists with a *passion*.

This is the same damn botch I had to work around differently when
storing row numbers with frames - the damn things emits a signal to
select the row as soon as it's added, and if the handler for that signal
needs to find the row, all data to do so had damn well better be
available.

Unfortunately, it's not, as we need to find the "frame_data" structure
corresponding to that row - and, as that correspondence is set up by
setting the data for the row, and as that can't be done until the
routine to add the row returns, and as that very routine is what's
calling us back, we can't find that row in the standard fashion.

Grr....

I'll look into fixing that this evening - enough sun is poking through
my window that I'll go nuts if I stay inside hacking, rather than going
outside and reading.

Yet another reason to do the "virtual CList", as, with the virtual
CList, the data associated with a row at the time of its creation would
*BE* the "frame_data" pointer, as, in order to get the column text, the
"virtual CList" would have to call back and pass the callback function
the pointer in question.