Hi all,

I again reproduced the crash in similar use-case. reading the logs
it seems clear again that the same mail is being sent twice. It's
also pretty clear from the logs that unexpected traffic occured

incoming INVITE (cseq=21)
200ok
ACK

incoming INVITE (cseq=22)
200ok
retransmissions of 200ok being sent
**no ACK COMING**
retransmission of INVITE being received
500 Server Internal Error being sent
   (a DIFFERENT answer.... = uncompliant)

**many retransmission are happening here and after**
BYE is being sent
BYE is being retransmitted
** no answer received for BYE **

an INVITE is being received (cseq=23)
200ok for cseq=23
**but still receivnig retransmissions for ACKs for cseq=22**

BYE is being received
481 is being replied

The above call flow is a mess and whatever the failure
it finally try sending the email twice, but I guess, upon
second try, the audio flie is already "released".

Here is my log starting from initial INVITE causing the issue
and ending when it crash:

http://sip.antisip.com/sems150-crash.log

Tks all,
Aymeric MOIZARD / ANTISIP
amsip - http://www.antisip.com
osip2 - http://www.osip.org
eXosip2 - http://savannah.nongnu.org/projects/exosip/


On Fri, 10 Jan 2014, Aymeric Moizard wrote:


Hi,

Tks for answering!

On Fri, 10 Jan 2014, Juha Heinanen wrote:

Aymeric Moizard writes:

#5 0x00007f7dcf9e8551 in base64_encode_file (in=0xa2d0b0, out_fd=<optimized out>) at AmSmtpClient.cpp:371 #6 0x00007f7dcf9e9c79 in AmSmtpClient::send_data #(this=this@entry=0x7f7dcc698c00, hdrs=..., mail=...) at #AmSmtpClient.cpp:294

looks like the crash is related to sending mail via smtp and encoding of
(audio?) file.

i'm not using myself that feature.  add some debug statements to the
code and try to find out why sems crashes.

I've been reading the logs carefull and it seems I found something:
the same "voicemail" seems to be sent twice?

My log contains this:
[read_line, AmSmtpClient.cpp:158] DEBUG: RECEIVED: 250 2.0.0 Ok: queued as 611C140007A#015

And right after, the same voicemail is being resent.

I have added minor additionnal logs in AmMail.cpp to check the return
code for "err = smtp.send(*cur_mail);"

I will wait for next crash...

Regards
Aymeric

-- juha

_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

Reply via email to