I am using release 1.16 from pjmedia on windows and I had a few times an exception in stream.c in the procedure get_frame. The problem is not reproducible, and occurs rarely, but as it is fatal we have to solve it. With the help of Debug Diag I retrieved the following stack dump from the crash: Full Call Stack Function Arg 1 Arg 2 Arg 3 Arg 4 Source SIPMediaControl!get_frame+2ef 084bd82c 152ef8f4 152ef92c 65c0cbdb c:\pjsip\pjproject-1.16\pjmedia\src\pjmedia\stream.c @ 558 + 3 SIPMediaControl!pjmedia_port_get_frame+1c 084bd82c 152ef8f4 00000001 00000002 c:\pjsip\pjproject-1.16\pjmedia\src\pjmedia\port.c @ 68 + 4 SIPMediaControl!read_port+2b 084afc34 000000a0 152ef94c 084afde0 c:\pjsip\pjproject-1.16\pjmedia\src\pjmedia\conference.c @ 1418 SIPMediaControl!get_frame+e6 00000000 152ef998 152ef9b8 65c1472e c:\pjsip\pjproject-1.16\pjmedia\src\pjmedia\conference.c @ 1864 + 16 SIPMediaControl!pjmedia_port_get_frame+1c 084adf80 152ef998 084adf80 152ef998 c:\pjsip\pjproject-1.16\pjmedia\src\pjmedia\port.c @ 68 + 4 SIPMediaControl!clock_callback+ae 084afde0 084afc18 00000000 0eb601ac c:\pjsip\pjproject-1.16\pjmedia\src\pjmedia\master_port.c @ 191 + 19 SIPMediaControl!clock_thread+d4 084afdc0 00000000 152ef9f4 7664336a c:\pjsip\pjproject-1.16\pjmedia\src\pjmedia\clock_thread.c @ 265 + a SIPMediaControl!thread_main+3c 0eb601ac 152efa34 77469f72 0eb601ac c:\pjsip\pjproject-1.16\pjlib\src\pj\os_core_win32.c @ 451 + 9 kernel32!BaseThreadInitThunk+e 0eb601ac 055b1c6f 00000000 00000000 ntdll!__RtlUserThreadStart+70 65bf7a80 0eb601ac ffffffff 774f7428 ntdll!_RtlUserThreadStart+1b 65bf7a80 0eb601ac 00000000 00000000 Exception Information SIPMEDIACONTROL!GET_FRAME+2EFIn WER1994.tmp.hdmp the assembly instruction at SIPMediaControl!get_frame+2ef ..\SIPMediaControl.dll has caused an access violation exception (0xC0000005) when trying to read from memory location 0x00000010 on thread 84 Checking the code it seems that the stream->codec is null. Any suggestion how to find the cause of this error is welcome. Thanks, Coen van Geerestein -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20140505/9d34c4f3/attachment.html>