Simon
After 8-10th times of placing and ending call (without restarting
application) my Application crashes in ptlib in file asner.cxx at line 2079
(Below at line no.6 for your reference)
Crashes are at both Local and Remote side on same line
1 PASN_Choice & PASN_Choice::operator=(const PASN_Choice & other)
2 {
3 if (&other == this) // Assigning to ourself, just do nothing.
4 return *this;
5
6 if(choice!=NULL)
7 {
8 delete choice;
9 choice = NULL;
10 }
11
12 PASN_Object::operator=(other);
13
14 numChoices = other.numChoices;
15 names = other.names;
16 namesCount = other.namesCount;
17
18 if (other.CheckCreate())
19 choice = (PASN_Object *)other.choice->Clone();
20 else
21 choice = NULL;
22
23 return *this;
24 }
I am using this in my Loadcapabilities function for H.263 CIF Image Size
capabilities.RemoveAll(); //called only once
AddAllCapabilities(0, 0, "*"); //called only once
AddAllUserInputCapabilities(0, 1); //called only once
preferenceorder.AppendString