Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 2017] VoIP trace crashes Wireshark when specific RTP Playe

Date: Mon, 10 Dec 2007 23:24:41 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2017





------- Comment #10 from stephentfisher@xxxxxxxxx  2007-12-10 23:24 GMT -------
malloc() is not returning any errors when run by itself instead of through
g_malloc.

I haven't been able to reproduce this problem again on OS X since I did the
first time.  I have yet to reproduce it on Windows Vista.  It is easily and
constantly reproducible on Fedora Core Linux in a Parallels VM for me.

I wrote a program that did 100,000 mallocs on Linux and never got a duplicate
like we're getting in Wireshark with the COPY_ADDRESS macro.  I noticed that
most, if not all, the other GTK code using the COPY_ADDRESS macro never bothers
to free the memory it allocated!  Perhaps that's why only voip_calls.c exhibits
the problem when freeing ;)

My Parallels trial license ran out, but I'll be getting a full license soon
anyway.  I'll continue working on the problem at that point unless I can
duplicate it again on OS X or Windows.


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.