<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hi,<br>
<br>
I have found the cause of the crash and fixed it. Please update your
code.<br>
<br>
Thanks and regards,<br>
<br>
<pre class="moz-signature" cols="72">--
Anca Vamanu
<a class="moz-txt-link-abbreviated" href="http://www.voice-system.ro">www.voice-system.ro</a></pre>
<br>
<br>
On 11/09/2010 06:40 PM, thrillerbee wrote:
<blockquote
cite="mid:AANLkTi=nBUQBhX54w8S=rYix97UVTV2HeOXjkha-3aRv@mail.gmail.com"
type="cite">Anca,
<div><br>
</div>
<div>I am seeing a crash about every 13-14 days. I've attached the
backtrace from this morning.</div>
<div>The other problem is that OpenSIPS immediately crashes when
monit tries to restart it. I have to manually truncate the b2b_entities
& b2b_logic tables to get it to start w/o crashing. I'm attaching
this backtrace as well (called <i>restart</i>).</div>
<div><br>
</div>
<div>Thanks.<br>
<br>
<div class="gmail_quote">On Mon, Nov 1, 2010 at 10:56 AM, thrillerbee
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:thrillerbee@gmail.com">thrillerbee@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Anca,<br>
<br>
I had not altered the code. It core dumped pretty quickly so I was
force to revert to revision 7317.<br>
I will try to schedule some time to retest the newest revision and see
if it core dumps again.<br>
<br>
Thanks again.
<div>
<div class="h5">
<div><br>
<div class="gmail_quote">On Mon, Nov 1, 2010 at 10:44 AM, Anca
Vamanu <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:anca@opensips.org" target="_blank">anca@opensips.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff">
Hi,<br>
<br>
The lines in your gdb backtrace don't match at all. Have you altered
the code or is the core corrupted?
<div><br>
<br>
Regards,<br>
<pre cols="72">--
Anca Vamanu
<a moz-do-not-send="true" href="http://www.voice-system.ro"
target="_blank">www.voice-system.ro</a></pre>
<br>
<br>
</div>
<div>
<div>On 11/01/2010 04:35 PM, thrillerbee wrote:
<blockquote type="cite">Anca,
<div><br>
</div>
<div>I am still seeing core dumps. bt attached.</div>
<div><br>
</div>
<div>Thanks .<br>
<br>
<div class="gmail_quote">On Tue, Oct 26, 2010 at 8:44 AM,
thrillerbee <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:thrillerbee@gmail.com" target="_blank">thrillerbee@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Anca,
<div><br>
</div>
<div>Thanks for the info. I'll let you know if I have issues
after
the upgrade.</div>
<div><br>
</div>
<div>Thanks.
<div>
<div><br>
<br>
<div class="gmail_quote">On Tue, Oct 26, 2010 at 3:42 AM,
Anca
Vamanu <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:anca@opensips.org" target="_blank">anca@opensips.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
At startup, the b2b_tables are copied into memory and are truncated,<br>
then the data is updated in the database at an interval controlled by<br>
the update_period parameter ( by default 100 seconds).<br>
<br>
As for the core dump, if you are using trunk, can you please update your<br>
code? I just committed a lot of changes in those modules.<br>
<br>
Regards,<br>
<br>
--<br>
Anca Vamanu<br>
<a moz-do-not-send="true" href="http://www.voice-system.ro"
target="_blank">www.voice-system.ro</a><br>
<div>
<div><br>
<br>
<br>
<br>
On 10/26/2010 06:58 AM, thrillerbee wrote:<br>
> I'm waiting for my b2bua box to core dump again so I can get the<br>
> backtrace, but is it expected behavior that OpenSIPS cannot restart<br>
> w/o first truncating the b2b_entities & b2b_logic tables?
That makes<br>
> for a messy recovery...<br>
><br>
> Thanks.<br>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</body>
</html>