Re: [reSIProcate-users] Resiprocate 1.5 crash
Scott,
I was able to find solutions for this issue.
We moved from RedHat 4 to RedHat 5 and our binary
failed to compile in G++ 4.1 which is the default version coming with RedHat 5.
But resiprocate library we built in G++ 4.1 in RedHat 5. So in combination of
our binary in G++ 3.4 and resiprocate in G++ 4.1, the following code
occasionally failed to initialise the second stack and that leads to
crashes for the very first call in our system in second stack
code.
<---------------- Code
------------>
1.resip::Uri myUri;
2.Initialise
myUri...
3.mDialogProfile->setDefaultFrom(NameAddr(myUri));
4.mDialogProfile->setOverrideHostAndPort(myUri);
5........................
6.if (second stack is enabled) {
7. resip::Uri
myUri;
8. Initialise myUri.....
9.
mNotifyProfile->setDefaultFrom(NameAddr(myUri));
10.
mNotifyProfile->setOverrideHostAndPort(myUri);
11.
12.}
If I
compile Resiprocate in G++ 3.4 (same as our binary) for RedHat 5 machines, I see
that this problem goes away. Or If I change the above code to create 4 separate
instances of resip::Uri, intiialise and use them in line numbers 3,4,
9 and 10, this problem goes away.
Not
sure what exactly is the issue here. Is it Resiprocate ? Or Our code ? Or the
compiler ? As I mentioned earlier, the above given code has been running on
RedHat 4 machines for 10+ months without any issues.
Thanks,
Vasanthi
OK Scott. I made a test build with Resip 1.6 and it
still happens. Here is the core dump.
-Vasanthi
Are you using multiple SipStack instances in the same process space?
I ran across a startup issue, related to initialization of static
variables on first access. These were fixed in 1.6.
Scott
On Tue, Jun 8, 2010 at 12:21 PM, Vasanthi Ramasamy
<Vasanthi.Ramasamy@xxxxxxxxxxxxxxxx>
wrote:
The very
first call crashes our system occasionally. Nothing changed from our side
except the fact that we moved from RedHat 4 to RedHat
5.
Doesn't look familiar to me.
Scott
On Tue, Jun 8, 2010 at 11:58 AM, Vasanthi Ramasamy
<Vasanthi.Ramasamy@xxxxxxxxxxxxxxxx> wrote:
Hi,
We are using Resiprocate 1.5 and I see
occasional crash. I do have the dump file. Is this something got fixed
in Resip 1.6 ?
#0 0x00564410 in __kernel_vsyscall
()
#1 0x00b2adf0 in raise () from /lib/libc.so.6
#2
0x00b2c701 in abort () from /lib/libc.so.6
#3 0x00b6328b in
__libc_message () from /lib/libc.so.6
#4 0x00b6b595 in _int_free ()
from /lib/libc.so.6
#5 0x00b6b9d9 in free () from
/lib/libc.so.6
#6 0x0064e581 in operator delete () from
/usr/lib/libstdc++.so.6
#7 0x0064e5dd in operator delete[] () from
/usr/lib/libstdc++.so.6
#8 0x083e9a01 in resip::Data::resize
(this=0x85453dc, newCapacity=17, copy=false) at Data.cxx:1020
#9
0x083e9f4a in resip::Data::operator= (this=0x85453dc, data="">) at
Data.cxx:759
#10 0x083adc3d in resip::Uri::getAor (this=0x85452b0) at
Uri.cxx:690
thanks,
Vasanthi
_______________________________________________
resiprocate-users
mailing list
resiprocate-users@xxxxxxxxxxxxxxx
List Archive: http://list.resiprocate.org/archive/resiprocate-users/