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

Re: [reSIProcate-users] Segmentation fault


Thanks Scott,

Sorry it went to your personal email instead of mailing list, I'm replicating my response here.

My "onTerminated" logics assumed that I would always receive a message. I checked for msg null and solved my problem.

Regards.

On Wed, Sep 8, 2010 at 10:03 AM, Scott Godin <sgodin@xxxxxxxxxxxxxxx> wrote:
The next thing called should be the onTerminated callback - it is possible that some code you have in there is causing the seg fault.  Also please make sure you are following the calling guidelines for DUM:  http://www.resiprocate.org/DUM_Threading#Tips_on_Making_Thread_Safe_Calls_when_using_DUM

Scott

On Wed, Sep 8, 2010 at 8:16 AM, Gustavo Sícoli <sic.thesage@xxxxxxxxx> wrote:
Hi,

I'm using reject command on a ServerInviteSessionHandle >> sis->reject(408) << and I'm having a segmentation fault. The 408 message seems to be correctly prepared and it seems to be something within DUM or the Stack.

I'm missing something here?

Follows debug output:

INFO | 20100908-085957.552 | B2BUA | RESIP:DUM | 3078854352 | resiprocate-1.6/resip/dum/ServerInviteSession.cxx:454 | UAS_EarlyOffer: reject(408)
DEBUG | 20100908-085957.552 | B2BUA | RESIP | 3078854352 | Helper.cxx:375 | Helper::makeResponse(SipReq:  INVITE userB@xxxxxxxxxxxx tid=-2252-1-0 cseq=INVITE contact=userA@xxxxxxxxxxx:5070 / 1 from(wire) code=408 reason=
DEBUG | 20100908-085957.552 | B2BUA | RESIP:DUM | 3078854352 | resiprocate-1.6/resip/dum/Dialog.cxx:1076 | Dialog::makeResponse:

SIP/2.0 408 Request Timeout
Via: SIP/2.0/UDP 192.168.0.2:5070;branch=z9hG4bK-2252-1-0
To: "userB"<sip:userB@xxxxxxxxxxxx>;tag=47d3d245
From: "userA"<sip:userA@xxxxxxxxxxxx>;tag=1
Call-ID: 1-2252@xxxxxxxxxxx
CSeq: 1 INVITE
Content-Length: 0


DEBUG | 20100908-085957.553 | B2BUA | RESIP:DUM | 3078854352 | resiprocate-1.6/resip/dum/DialogUsageManager.cxx:867 | SEND:

SIP/2.0 408 Request Timeout
Via: SIP/2.0/UDP 192.168.0.2:5070;branch=z9hG4bK-2252-1-0
To: "userB"<sip:userB@xxxxxxxxxxxx>;tag=47d3d245
From: "userA"<sip:userA@xxxxxxxxxxxx>;tag=1
Call-ID: 1-2252@xxxxxxxxxxx
CSeq: 1 INVITE
Content-Length: 0


DEBUG | 20100908-085957.553 | B2BUA | RESIP | 3078854352 | SipStack.cxx:319 | SEND: SipResp: 408 tid=-2252-1-0 cseq=INVITE / 1 from(tu)
INFO | 20100908-085957.554 | B2BUA | RESIP:DUM | 3078854352 | resiprocate-1.6/resip/dum/InviteSession.cxx:2604 | Transition UAS_EarlyOffer -> InviteSession::Terminated
Segmentation fault

--
"Some say that the soul wants to speak and
does so all the time, but humans are blind to
its messages, for they come not in words but
in actions in the world around them."

_______________________________________________
resiprocate-users mailing list
resiprocate-users@xxxxxxxxxxxxxxx
List Archive: http://list.resiprocate.org/archive/resiprocate-users/




--
"Some say that the soul wants to speak and
does so all the time, but humans are blind to
its messages, for they come not in words but
in actions in the world around them."