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 2407] wshark crashes expert info composite

Date: Fri, 4 Apr 2008 05:30:25 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2407





--- Comment #7 from Stephen Fisher <stephentfisher@xxxxxxxxx>  2008-04-04 05:30:22 GMT ---
The fix for the LDAP portion of bug #1113 ("Several crash when SE_DEBUG_FREE
used") appears to have introduced this bug.  The crash is occurring in the
ldap_reinit() function at the g_free(ldap_info) function call (I can tell
because when I comment that line out, the crash no longer happens):

wireshark(47255) malloc: *** error for object 0xc1cb0cff: Non-aligned pointer
being freed
*** set a breakpoint in malloc_error_break to debug

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0xc1cb0d07
0x02b908a0 in ldap_reinit ()
(gdb) bt 5
#0  0x02b908a0 in ldap_reinit ()
#1  0x04c01fe1 in g_slist_foreach (list=0xd91948, func=0x2521450
<call_init_routine>, user_data=0x0) at gslist.c:743
#2  0x0252149c in init_dissection () at packet.c:139
#3  0x000135b0 in rescan_packets (cf=0x16abe0, action=0xf822f "Reprocessing",
action_item=0xf7ec6 "all packets", refilter=1, redissect=1) at file.c:1497
#4  0x00013740 in cf_redissect_packets (cf=0x355000) at file.c:1431
#5  0x0060c3c6 in gtk_item_factory_callback_marshal (widget=0x7174a30,
func_data=0x7180c20) at gtkitemfactory.c:193


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