< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [reSIProcate] Assert after adding Proprietary Header to Reciprocate



On Jul 28, 2005, at 14.07, Parameshwar Hegde wrote:

Hi All,

 

We added couple of Proprietary headers to latest reciprocate code base. But as soon as we linked ‘Repro’ with new Reciprocate library, and send an INVITE from UA, stack asserts in Tuple.cxx (Tuple::getPort()).

 

Basically, we followed the guide provided in Reciprocate website(adding new headers guide). What I observe is as soon as the MAXHEADER size (in Type enumeration of Headers class  in HeaderTypes.cxx,) is increased this problem occurs.

 

Please let me know if anyone has seen this issue before. Just wondering if any steps are missing in that guide.

 


Did you RECOMPILE your application? You have changed the size of the enum, so there will be a mismatch between the library and the application.
Unless you recompile the application you will run into potential problems with the enum max value not matching  between client code and application code.

Alan