Ethereal-dev: RE: [Ethereal-dev] Portability patches

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

From: "Michael Lum" <mlum@xxxxxxxxxxxxx>
Date: Mon, 10 Nov 2003 19:05:09 -0800
It occurs when I try and load a file containing ANSI A-i/f data.

> -----Original Message-----
> From: Albert Chin [mailto:ethereal-dev@xxxxxxxxxxxxxxxxxx]
> Sent: Monday, November 10, 2003 6:04 PM
> To: Michael Lum
> Cc: ethereal-dev@xxxxxxxxxxxx
> Subject: Re: [Ethereal-dev] Portability patches
>
>
> On Mon, Nov 10, 2003 at 05:42:47PM -0800, Michael Lum wrote:
> > The malloc() change for the definition of ett does not appear to work.
> >
> > My last patch is good but the malloc/pointer stuff isn't.
> >
> > Ethereal will core:
> >
> >
> > ** ERROR **: file proto.c: line 2084 (proto_item_add_subtree): assertion
> > failed: (idx >= 0 && idx < num_tree_types)
> > aborting...
> > Abort(coredump)
>
> Is this when Ethereal starts or are you doing something to cause the
> core? I can start Ethereal fine on the HP-UX system I tested.
>
> > > -----Original Message-----
> > > From: ethereal-dev-bounces@xxxxxxxxxxxx
> > > [mailto:ethereal-dev-bounces@xxxxxxxxxxxx]On Behalf Of Albert Chin
> > > Sent: Monday, November 10, 2003 2:18 PM
> > > To: ethereal-dev@xxxxxxxxxxxx
> > > Subject: Re: [Ethereal-dev] Portability patches
> > >
> > >
> > > On Mon, Nov 10, 2003 at 12:18:53PM -0800, Guy Harris wrote:
> > > >
> > > > On Nov 9, 2003, at 4:20 PM, Albert Chin wrote:
> > > >
> > > > >>>3. P_SID in <sys/procset.h> on HP-UX 10.20 and Tru64 UNIX.
> > > > >>
> > > > >>I checked in a change a few days ago to get rid of includes of
> > > > >><gmodule.h>, <sys/types.h>, and <netinet/in.h>; I don't
> think they're
> > > > >>needed, and they might keep <sys/procset.h> from being included.
> > > > >>
> > > > >>See whether getting rid of those #includes, and reverting back to
> > > > >>P_SID,
> > > > >>works.
> > > > >
> > > > >I copied the latest packet-ansi_a.c from CVS and still get
> the error.
> > > >
> > > > I'm curious what causes all that stuff to be included, in
> case there's
> > > > some #include we can get rid of.  Any idea?
> > >
> > > Nothing we can do. On HP-UX 11.00, <stdlib.h> brings it in (in
> > > <wait.h> in this case).
> > >
> > > --
> > > albert chin (china@xxxxxxxxxxxxxxxxxx)
> > >
> > > _______________________________________________
> > > Ethereal-dev mailing list
> > > Ethereal-dev@xxxxxxxxxxxx
> > > http://www.ethereal.com/mailman/listinfo/ethereal-dev
> >
> > _______________________________________________
> > Ethereal-dev mailing list
> > Ethereal-dev@xxxxxxxxxxxx
> > http://www.ethereal.com/mailman/listinfo/ethereal-dev
>
> --
> albert chin (china@xxxxxxxxxxxxxxxxxx)