a user reported sems crash when a new participant is connecting to
conference. gdb shows
#0 0x080bde0a in AmRtpStream::bufferPacket (this=0x933dd10, p=0x933dd68)
at AmRtpStream.cpp:515
515 if(!(telephone_event_pt.get() &&
(gdb) where
#0 0x080bde0a in AmRtpStream::bufferPacket (this=0x933dd10, p=0x933dd68)
at AmRtpStream.cpp:515
#1 0x080bb592 in AmRtpReceiver::run (this=0x91a2880) at AmRtpReceiver.cpp:143
#2 0x080e6da5 in AmThread::_start (_t=0x91a2880) at AmThread.cpp:70
#3 0xb7ece4c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#4 0xb7d5261e in sysctl () from /lib/i686/cmov/libc.so.6
just before the crash, debug shows that sems replies to invite with 200 ok:
(15887) DEBUG: [b62adb90] send (udp_trsp.cpp:244): send msg
--++--
SIP/2.0 200 OK
Record-Route: <sip:xxx.xxx.xxx.xxx;r2=on;lr>
Record-Route: <sip:127.0.0.1:5080;r2=on;lr>
Via: SIP/2.0/UDP xxx.xxx.xxx.xxx;branch=z9hG4bK83b2.b9e14877.0
Via: SIP/2.0/UDP 127.0.0.1:5090;branch=z9hG4bKnTSBxaJs
From: "xxxx" <sip:x...@xxxxx>;tag=2C608931-49A5567E000DF25D-B64B
3B90
To: sip:x...@xxxx;tag=3AFCDA6B-49A5567E000E04CF-B68EEB90
CSeq: 10 INVITE
Call-ID: 2361c48d-49a5567e000df264-b64b3...@xxxxx
Server: Sip Express Media Server (1.1.0-pre-r1255M (i386/linux))
Contact: <sip:[email protected]:5090>
Content-Type: application/sdp
Content-Length: 222
v=0
o=sems 1258845740 1053270361 IN IP4 xxxx
s=session
c=IN IP4 xxxx
t=0 0
m=audio 64506 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=direction:passive
--++--
(15887) DEBUG: [b62adb90] reset_timer (sip_trans.cpp:151): New timer of type G a
t time=9266
(15887) DEBUG: [b68eeb90] postEvent (AmEventQueue.cpp:56): (15887) DEBUG: [b6cf2
b90] receive (AmRtpStream.cpp:323): DTMF: event=10; e=1; r=0; volume=32; duratio
n=376
(15887) DEBUG: [b6cf2b90] postEvent (AmEventQueue.cpp:48): AmEventQueue: trying
to post event
(15887) DEBUG: [b6cf2b90] postEvent (AmEventQueue.cpp:56): AmEventQueue: event p
osted
(15887) DEBUG: [b6cf2b90] processEvents (AmEventQueue.cpp:69): before processing
event
(15887) DEBUG: [b6cf2b90] process (AmMediaProcessor.cpp:407): Session removed fr
om the scheduler
(15887) DEBUG: [b6cf2b90] processEvents (AmEventQueue.cpp:71): event processed
(15887) DEBUG: [b6cf2b90] processEvents (AmEventQueue.cpp:69): before processing
event
(15887) DEBUG: [b6cf2b90] processEvents (AmEventQueue.cpp:71): event processed
(15887) DEBUG: [b6cf2b90] conceal_loss (AmRtpAudio.cpp:182): default PLC (ts_dif
f = 80; s = 160)
(15887) DEBUG: [b69efb90] ~timer (wheeltimer.cpp:40): timer::~timer(this=0x926cd
10)
(15887) DEBUG: [b69efb90] ~timer (wheeltimer.cpp:40): timer::~timer(this=0x926cd
b8)
(15887) DEBUG: [b62adb90] reset_timer (sip_trans.cpp:151): New timer of type H a
t time=10841
(15887) DEBUG: [b62adb90] ~sip_msg (sip_parser.cpp:92): ~sip_msg()
(15887) DEBUG: [b62adb90] get_audio_file (Conference.cpp:109): Query string <sel
ect audio from domain_audio where application='conference' and message='first_pa
rticipant_msg' and domain='xxxx' and language='fi'>
/etc/init.d/sems: line 49: 15887 "out-of-bounds reference" (core dumped)
any ideas or questions?
this is with Sip Express Media Server (1.1.0-pre-r1255M (i386/linux)).
-- juha
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev