Crash on srtp_unprotect_rtcp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Today I was experiencing consistent crashes when calling a Snom phone. I tested latest PJSUA (1.x branch) and I can reproduce the crash all the time. It's produced a few seconds after the call has started.

Here is the backtrace:

Program terminated with signal 11, Segmentation fault.
#0  0x00000000004ea1f2 in rdb_add_index (rdb=0x1d0c4c8, index=2802) at ../../srtp/crypto/replay/rdb.c:118
118	    v128_set_bit(&rdb->bitmask, rdb_bits_in_bitmask-delta);
(gdb) bt
#0  0x00000000004ea1f2 in rdb_add_index (rdb=0x1d0c4c8, index=2802) at ../../srtp/crypto/replay/rdb.c:118
#1  0x00000000004e651b in srtp_unprotect_rtcp (ctx=0x1cfd3f0, srtcp_hdr=0x1d2b260, pkt_octet_len=0x7f4c7eb3e5b0) at ../../srtp/srtp/srtp.c:1799
#2  0x00000000004a4d5a in srtp_rtcp_cb (user_data=0x1d254c8, pkt=0x1d2b260, size=66) at ../src/pjmedia/transport_srtp.c:972
#3  0x00000000004a7439 in on_rx_rtcp (key=0x1ccc078, op_key=0x1d2b040, bytes_read=66) at ../src/pjmedia/transport_udp.c:564
#4  0x000000000053c741 in ioqueue_dispatch_read_event (ioqueue=0x1d0d948, h=0x1ccc078) at ../src/pj/ioqueue_common_abs.c:577
#5  0x000000000053e6fa in pj_ioqueue_poll (ioqueue=0x1d0d948, timeout=0x7f4c7eb3ee80) at ../src/pj/ioqueue_select.c:905
#6  0x000000000048b75e in worker_proc (arg=0x1ccc208) at ../src/pjmedia/endpoint.c:296
#7  0x000000000053f5ca in thread_main (param=0x1d137d8) at ../src/pj/os_core_unix.c:492
#8  0x00007f4c80205b40 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#9  0x00007f4c7f64f2fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
(gdb) 

Let me know if you need any further information to help debug the issue.

Regards,

--
Sa?l Ibarra Corretg?
AG Projects






[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux