Ethereal-dev: Re: [Ethereal-dev] Crash in SNMP code (current cvs)

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Fri, 9 Nov 2001 00:32:32 -0800
On Wed, Nov 07, 2001 at 10:37:49AM -0800, Florian Lohoff wrote:
> #0  0x404542ca in malloc () from /lib/libc.so.6
> #1  0x40454134 in malloc () from /lib/libc.so.6
> #2  0x402a9429 in g_malloc () from /usr/lib/libglib-1.2.so.0

That's probably a corrupted arena bug.  Some piece of code (whether in
Ethereal or not) might be writing past a chunk of allocated memory; if
it's reproducible, you might want to try running it with Electric Fence.

I tried it with a capture here, and it didn't crash; whether that's a
malloc difference (FreeBSD 3.4 vs. glibc whatever), or a libsnmp
difference (4.1.2 vs. 4.2.1), or a version-of-Ethereal difference (CVS
as of this instant vs. CVS as of when you'd updated it), or a
capture-file diffeence, or what, I don't know.