[Xorp-cvs] XORP cvs commit: xorp/fea

Pavlin Radoslavov pavlin at icir.org
Wed Oct 17 17:52:04 PDT 2007


CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin at xorpc.icir.org	2007-10-18 00:52:04 UTC

XORP CVS repository


Modified files:
	fea           io_ip_manager.cc io_link_manager.cc 

Log message:
	Fix an obscure (linking-related?) coredump problem.
	
	Apparently, if there are two local classes with the same name
	VifInputFilter (local to io_link_manager.cc and io_ip_manager.cc),
	somehow the compiler/linker get confused and this triggers a
	coredump.
	More interestingly, gdb shows that the deletion of VifInputFilter
	object inside io_link_manager.cc jumps to executing the
	VifInputFilter distructor inside io_ip_manager.cc
	
	To get around the problem, now the VifInputFilter class inside
	io_ip_manager.cc is renamed to IpVifInputFilter,
	and the VifInputFilter class inside io_link_manager.cc is renamed
	to LinkVifInputFilter.

Revision  Changes                                 Path
1.11      +20 -20;  commitid: 111be4716acd77ea6;  xorp/fea/io_ip_manager.cc
1.7       +22 -21;  commitid: 111be4716acd77ea6;  xorp/fea/io_link_manager.cc



More information about the Xorp-cvs mailing list