<div dir="ltr">Some more feedback on the issue:<br><br>"When we checked the video call issue, it occurs only when the device is connected to a 4g mobile data. It is working properly in wifi & 3g mobile data. On connecting to a 4g network, the following error occurs"<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 22 March 2018 at 10:12, Igor Khomenko <span dir="ltr"><<a href="mailto:igor@quickblox.com" target="_blank">igor@quickblox.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div>Hi Olivier, Lorenzo<br><br></div>I've got all needed logs upon crash, including libnice logs<br><br>Stacktrace again (the same assert):<br><a href="https://www.dropbox.com/s/jlqtzu0neqlqc8o/janus_libnice_assert_stacktrace.crash?dl=0" target="_blank">https://www.dropbox.com/s/<wbr>jlqtzu0neqlqc8o/janus_libnice_<wbr>assert_stacktrace.crash?dl=0</a><br><br></div>logs:<br><a href="https://www.dropbox.com/s/hq1nkeh6w25jsk3/janus.log?dl=0" target="_blank">https://www.dropbox.com/s/<wbr>hq1nkeh6w25jsk3/janus.log?dl=0</a><br><br></div>look at the end of janus.log<br></div>Line N19365 - "(process:17784): libnice-DEBUG: Agent 0x7f6aa000dcf0 : stream 1 component 1 STATE-CHANGE gathering -> connected."<br>this is when crash happened, then autorestart of Janus occurred after some time.<br><br></div>So all the lines before N19365 are what we are looking for from my understanding, <br></div>e.g. line N19330 is where assertion failed<br><br></div>Please let me know if you need anything else here to identify the root cause and find a proper solution<br><br></div>thanks<br><div><div><div><div><div><div><br><br></div></div></div></div></div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 21 March 2018 at 20:03, Olivier Crête <span dir="ltr"><<a href="mailto:olivier.crete@collabora.com" target="_blank">olivier.crete@collabora.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>Hi,</div><div><br></div><div>The address in this log is from Airtel in India.</div><div><br></div><div>Olivier</div><div><div class="m_-6847968131119093478h5"><div><br></div><div>On Wed, 2018-03-21 at 19:28 +0200, Igor Khomenko wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex;border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr"><div>Thanks Lorenzo, that did a trick, I can see libnice logs now, will try to repro another crash and grab logs<br><br></div>@Olivier, I will ask about operator<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 21 March 2018 at 19:03, Olivier Crête <span dir="ltr"><<a href="mailto:olivier.crete@collabora.com" target="_blank">olivier.crete@collabora.com</a>></span> wrote:<br><blockquote type="cite" style="margin:0 0 0 .8ex;border-left:2px #729fcf solid;padding-left:1ex"><div><div>Hi,</div><div><br></div><div>Out of curiosity, does it happen for a specific operator? I've heard of problems with O2 UK, or is it a different one?</div><div><br></div><div>Olivie</div><div><div class="m_-6847968131119093478m_-396397441069541411h5"><div><br></div><div>On Wed, 2018-03-21 at 13:51 +0100, Lorenzo Miniero wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex;border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2018-03-19 14:39 GMT+01:00 Igor Khomenko <span dir="ltr"><<a href="mailto:igor@quickblox.com" target="_blank">igor@quickblox.com</a>></span>:<br><blockquote type="cite" style="margin:0 0 0 .8ex;border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div>This is what I got from Janus log after startup when set above configs:<br><br>[Mon Mar 19 10:04:20 2018] Enabling libnice debugging...<br>[Mon Mar 19 10:00:51 2018]  [33m[WARN] [0m No NICE_DEBUG environment variable set, setting maximum debug<br>[Mon Mar 19 10:00:51 2018]  [33m[WARN] [0m No G_MESSAGES_DEBUG environment variable set, setting maximum debug<br>[Mon Mar 19 10:00:51 2018] Debugging NICE_DEBUG=all G_MESSAGES_DEBUG=all<br><br></div>But I think it's not still there, I can't find proper logs of libnice inside /var/log/janus.log<br><br></div>Here is my log<br><a href="https://www.dropbox.com/s/zqkyjb80sl0cdwg/janus.log?dl=0" target="_blank">https://www.dropbox.com/s/zqky<wbr>jb80sl0cdwg/janus.log?dl=0</a><br><br></div></div></div></div></div></div><br></blockquote><div><br></div><div><br></div><div>This log doesn't contain any libnice related information, so I don't think this can help Olivier and the others figure out what's wrong. I believe the libnice debugging ends up on stdout or stderr, so if you're using the Janus log-to-file feature and disable stdout, those lines will be lost. You should either leave stdout/stderr logging enabled, and redirect both to a file, or check how you can redirect the NICE_DEBUG and G_MESSAGES_DEBUG debugging to the same file you're saving to.</div><div><br></div><div>L.</div><div><br></div><div><br></div><div> </div><blockquote type="cite" style="margin:0 0 0 .8ex;border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div></div>For example, we can find these lines:<br><br>------------------------------<wbr>---------------------<br>  Starting Meetecho Janus (WebRTC Gateway) v0.2.1<br>------------------------------<wbr>---------------------<br>....<br>[Mon Mar 19 10:21:29 2018] Enabling libnice debugging...<br><br></div>This is when Janus was restarted after the crash, <br></div>but before these lines I do not find anything unusual, and also there are no libnice debug logs<br><br></div>@Lorenzo - should we check for libnice debug logs on other place? <br><br></div>thanks<br></div><div class="m_-6847968131119093478m_-396397441069541411m_-3101545893354217087gmail-HOEnZb"><div class="m_-6847968131119093478m_-396397441069541411m_-3101545893354217087gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">On 6 March 2018 at 11:59, Igor Khomenko <span dir="ltr"><<a href="mailto:igor@quickblox.com" target="_blank">igor@quickblox.com</a>></span> wrote:<br><blockquote type="cite" style="margin:0 0 0 .8ex;border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr"><div>I set "nice_debug = true" in Janus config which is going to enable the flag you mentioned, here<br><a href="https://github.com/meetecho/janus-gateway/blob/master/ice.c#L110" target="_blank">https://github.com/meetecho/ja<wbr>nus-gateway/blob/master/ice.c#<wbr>L110</a><br><br></div>Will try to reproduce the issue and then post here logs<br></div><div class="gmail_extra"><div><div class="m_-6847968131119093478m_-396397441069541411m_-3101545893354217087gmail-m_3515371873036049668h5"><br><div class="gmail_quote">On 5 March 2018 at 21:00, Olivier Crête <span dir="ltr"><<a href="mailto:olivier.crete@collabora.com" target="_blank">olivier.crete@collabora.com</a>></span> wrote:<br><blockquote type="cite" style="margin:0 0 0 .8ex;border-left:2px #729fcf solid;padding-left:1ex"><div><div>Hi,</div><div><br></div><div>I wonder how it gets there in that state. It should be in the state connecting for this code to be called... Can you get a log with the libnice debug from the case? with G_MESSAGES_DEBUG=libnice ?</div><div><br></div><div>Olivier</div><span><div><br></div><div>On Mon, 2018-03-05 at 18:32 +0200, Igor Khomenko wrote:</div></span><blockquote type="cite" style="margin:0 0 0 .8ex;border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr"><span>Here is a link to stacktrace<br><a href="https://gist.github.com/soulfly/6d2f629b511423cbc1914ea66a141832" target="_blank">https://gist.github.com/soulfl<wbr>y/6d2f629b511423cbc1914ea66a14<wbr>1832</a><div><br></div></span><div><span><br>Here is a commit I reproduced this issue<br><a href="https://github.com/libnice/libnice/blob/dbaf8f5ccd76089e340883887c7e08e6c04de80a/agent/agent.c#L2320" target="_blank">https://github.com/libnice/lib<wbr>nice/blob/dbaf8f5ccd76089e3408<wbr>83887c7e08e6c04de80a/agent/age<wbr>nt.c#L2320</a><div><br></div></span><div><br><br><br><br><br clear="all"><div><br></div><pre>______________________________<wbr>_________________
nice mailing list
<a href="mailto:nice@lists.freedesktop.org" target="_blank">nice@lists.freedesktop.org</a>
<a href="https://lists.freedesktop.org/mailman/listinfo/nice" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/nice</a><span class="m_-6847968131119093478m_-396397441069541411m_-3101545893354217087gmail-m_3515371873036049668m_-3769585986096662126HOEnZb"><font color="#888888">
</font></span></pre></div></div></div></blockquote><span class="m_-6847968131119093478m_-396397441069541411m_-3101545893354217087gmail-m_3515371873036049668m_-3769585986096662126HOEnZb"><font color="#888888"><div><span><pre><pre>-- <br></pre>Olivier Crête
<a href="mailto:olivier.crete@collabora.com" target="_blank">olivier.crete@collabora.com</a>
</pre></span></div></font></span></div></blockquote></div><br><br clear="all"><br></div></div><span>-- <br><div class="m_-6847968131119093478m_-396397441069541411m_-3101545893354217087gmail-m_3515371873036049668m_-3769585986096662126gmail_signature"><div dir="ltr"><div><span style="font-size:13px;background-color:rgb(255,255,255);border-collapse:collapse;color:rgb(0,0,102);font-family:tahoma,sans-serif">Igor Khomenko,</span><div style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="font-family:tahoma,sans-serif;border-collapse:collapse"><div><font color="#000066">CTO @ </font><b><font color="#3366ff">Quick</font><font color="#009900">Blox</font></b></div><div><b><font color="#009900"><br></font></b></div><div style="color:rgb(0,0,102)"><a href="mailto:taras@quickblox.com" style="color:rgb(17,85,204)" target="_blank">igor@quickblox.com</a></div></span></div><div style="background-color:rgb(255,255,255)"><span style="border-collapse:collapse"><div style="color:rgb(0,0,102);font-family:tahoma,sans-serif;font-size:13px"><a href="https://q-municate.com/" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">Q-municate</a><span style="font-size:12.8px">: Igor Khomenko</span><br></div><div style="color:rgb(0,0,102);font-family:tahoma,sans-serif;font-size:13px"><br></div><div><font color="#000066" face="tahoma, sans-serif"><span style="white-space:pre-wrap">We will be happy to solve your tech issues if you ask ‘quickblox’ tagged question on StackOverflow <a href="http://stackoverflow.com/questions/ask" target="_blank">http://stackoverflow.com/quest<wbr>ions/ask</a></span></font></div></span></div></div></div></div>
</span></div>
</blockquote></div><br><br clear="all"><br></div></div></div></blockquote></div></div></div></blockquote></div></div><span class="m_-6847968131119093478m_-396397441069541411HOEnZb"><font color="#888888"><div><span><pre><pre>-- <br></pre>Olivier Crête
<a href="mailto:olivier.crete@collabora.com" target="_blank">olivier.crete@collabora.com</a>
</pre></span></div></font></span></div></blockquote></div><br><br clear="all"><br></div></blockquote></div></div><span class="m_-6847968131119093478HOEnZb"><font color="#888888"><div><span><pre><pre>-- <br></pre>Olivier Crête
<a href="mailto:olivier.crete@collabora.com" target="_blank">olivier.crete@collabora.com</a>
</pre></span></div></font></span></div></blockquote></div><br><br clear="all"><br>-- <br><div class="m_-6847968131119093478gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><span style="font-size:13px;background-color:rgb(255,255,255);border-collapse:collapse;color:rgb(0,0,102);font-family:tahoma,sans-serif">Igor Khomenko,</span><div style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="font-family:tahoma,sans-serif;border-collapse:collapse"><div><font color="#000066">CTO @ </font><b><font color="#3366ff">Quick</font><font color="#009900">Blox</font></b></div><div><b><font color="#009900"><br></font></b></div><div style="color:rgb(0,0,102)"><a href="mailto:taras@quickblox.com" style="color:rgb(17,85,204)" target="_blank">igor@quickblox.com</a></div></span></div><div style="background-color:rgb(255,255,255)"><span style="border-collapse:collapse"><div style="color:rgb(0,0,102);font-family:tahoma,sans-serif;font-size:13px"><a href="https://q-municate.com/" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">Q-municate</a><span style="font-size:12.8px">: Igor Khomenko</span><br></div><div style="color:rgb(0,0,102);font-family:tahoma,sans-serif;font-size:13px"><br></div><div><font color="#000066" face="tahoma, sans-serif"><span style="white-space:pre-wrap">We will be happy to solve your tech issues if you ask ‘quickblox’ tagged question on StackOverflow <a href="http://stackoverflow.com/questions/ask" target="_blank">http://stackoverflow.com/<wbr>questions/ask</a></span></font></div></span></div></div></div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><span style="font-size:13px;background-color:rgb(255,255,255);border-collapse:collapse;color:rgb(0,0,102);font-family:tahoma,sans-serif">Igor Khomenko,</span><div style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="font-family:tahoma,sans-serif;border-collapse:collapse"><div><font color="#000066">CTO @ </font><b><font color="#3366ff">Quick</font><font color="#009900">Blox</font></b></div><div><b><font color="#009900"><br></font></b></div><div style="color:rgb(0,0,102)"><a href="mailto:taras@quickblox.com" style="color:rgb(17,85,204)" target="_blank">igor@quickblox.com</a></div></span></div><div style="background-color:rgb(255,255,255)"><span style="border-collapse:collapse"><div style="color:rgb(0,0,102);font-family:tahoma,sans-serif;font-size:13px"><a href="https://q-municate.com/" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">Q-municate</a><span style="font-size:12.8px">: Igor Khomenko</span><br></div><div style="color:rgb(0,0,102);font-family:tahoma,sans-serif;font-size:13px"><br></div><div><font color="#000066" face="tahoma, sans-serif"><span style="white-space:pre-wrap">We will be happy to solve your tech issues if you ask ‘quickblox’ tagged question on StackOverflow <a href="http://stackoverflow.com/questions/ask" target="_blank">http://stackoverflow.com/questions/ask</a></span></font></div></span></div></div></div></div>
</div>