On Thu, Jan 21, 2010 at 10:09 PM, Bojan Smojver <bo...@rexursive.com> wrote:
> Didn't actually go into detail to see what's going on, but here it is
> nevertheless: https://bugzilla.redhat.com/show_bug.cgi?id=556813
>
> Looks like a particular pcap file causes it to crash.

Hi Bojan,

I finally got around to installing FC12 x64 on a VM and was able to
reproduce the error using the FC12 provided rpm.  The problem seems to
be related to the CFLAGS forced by the .spec file as when I compile
tcpreplay using:

./configure --enable-dynamic-link --disable-libopts-install

it works properly.  I've tried debugging the issue via gdb, but
something about the .spec file CFLAGS is causing all sorts of strange
things(*) to happen and I haven't been able to find any bug in my
code.

* strange things like malloc() returning non-NULL and then my ptr
showing as 0x0 in gdb

Anyways, as far as I can tell from where it's crashing, it is unlikely
to be pcap specific...  At this point, not really sure how to proceed
as this problem seems specific to FC12 x64 (tried on CentOS 5 x64,
Unbuntu 32bit and OSX).  Any chance you can fix the spec file to not
pass the special CFLAGS?

Thanks,
Aaron

-- 
Aaron Turner
http://synfin.net/
http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & Windows
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
    -- Benjamin Franklin
"carpe diem quam minimum credula postero"

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Tcpreplay-users mailing list
Tcpreplay-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
Support Information: http://tcpreplay.synfin.net/trac/wiki/Support

Reply via email to