<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.45">
<TITLE>segmentation fault</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2 FACE="Arial">Configuration:</FONT>
<BR><FONT SIZE=2 FACE="Arial">Linux wpbx 2.4.9-13 #1 Tue Oct 30 20:11:04 EST 2001 i686 unknown</FONT>
<BR><FONT SIZE=2 FACE="Arial">P4 2.5 GHz, 1 GB RAM</FONT>
<BR><FONT SIZE=2 FACE="Arial">T400P with 3 T1s plugged in. A flow of 46 calls (spread out over 3 T1s).</FONT>
<BR><FONT SIZE=2 FACE="Arial">Each call gets transferred (Dial) to the SIP platform and stays for 5 min.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Case 1. Asterisk built out of CVS Mar. 19. Test was running for 3 days. Segmentation fault.</FONT>
<BR><FONT SIZE=2 FACE="Arial">Case 2. Asterisk built out of CVS Apr. 1. Test was running for 12 hours. Segmentation fault.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">No coredump found. In case 1 there was a significant memory growth:</FONT>
<BR><FONT SIZE=2 FACE="Arial">Top at the startup:</FONT>
<BR><FONT FACE="Times New Roman">15986 root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 9&nbsp;&nbsp; 0&nbsp; 6440 6436&nbsp; 2144 S&nbsp;&nbsp;&nbsp;&nbsp; 0.0&nbsp; 0.6&nbsp;&nbsp; 0:00 asterisk</FONT>
<BR><FONT FACE="Times New Roman">15987 root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8&nbsp;&nbsp; 0&nbsp; 6440 6436&nbsp; 2144 S&nbsp;&nbsp;&nbsp;&nbsp; 0.0&nbsp; 0.6&nbsp;&nbsp; 0:00 asterisk</FONT>
<BR><FONT FACE="Times New Roman">Top in several hours:</FONT>
<BR><FONT FACE="Times New Roman">15986 root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 9&nbsp;&nbsp; 0&nbsp; 9192 9188&nbsp; 2148 S&nbsp;&nbsp;&nbsp;&nbsp; 0.0&nbsp; 0.9&nbsp;&nbsp; 0:00 asterisk</FONT>
<BR><FONT FACE="Times New Roman">15987 root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 9&nbsp;&nbsp; 0&nbsp; 9192 9188&nbsp; 2148 S&nbsp;&nbsp;&nbsp;&nbsp; 0.0&nbsp; 0.9&nbsp;&nbsp; 0:00 asterisk</FONT>
<BR><FONT SIZE=2 FACE="Arial">Top after a day:</FONT>
<BR><FONT FACE="Times New Roman">27441 root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 9&nbsp;&nbsp; 0 45980&nbsp; 44M&nbsp; 2156 S&nbsp;&nbsp;&nbsp;&nbsp; 0.0&nbsp; 4.5&nbsp;&nbsp; 0:00 asterisk</FONT>
<BR><FONT FACE="Times New Roman">27442 root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8&nbsp;&nbsp; 0 45980&nbsp; 44M&nbsp; 2156 S&nbsp;&nbsp;&nbsp;&nbsp; 0.0&nbsp; 4.5&nbsp;&nbsp; 0:16 asterisk</FONT>
<BR><FONT FACE="Times New Roman">Actually, I saw it over 50.</FONT>
</P>

<P><FONT FACE="Times New Roman">There were some warning messages on the way. For example:</FONT>
</P>

<P><FONT FACE="Times New Roman">Apr&nbsp; 1 23:22:33 WARNING[10251]: File chan_zap.c, Line 5248 (zt_pri_error): PRI: </FONT>
<BR><FONT FACE="Times New Roman">Read on 86 failed: Unknown error 500</FONT>
<BR><FONT FACE="Times New Roman">Apr&nbsp; 1 23:24:54 WARNING[11276]: File chan_zap.c, Line 5248 (zt_pri_error): PRI: </FONT>
<BR><FONT FACE="Times New Roman">!! Got reject for frame 102, retransmitting frame 102 now, updating n_r!</FONT>
<BR><FONT FACE="Times New Roman">Apr&nbsp; 1 23:24:54 WARNING[11276]: File chan_zap.c, Line 5248 (zt_pri_error): PRI: </FONT>
<BR><FONT FACE="Times New Roman">!! Got reject for frame 103, but we have nothing -- resetting!</FONT>
<BR><FONT FACE="Times New Roman">Apr&nbsp; 1 23:28:49 WARNING[10251]: File chan_zap.c, Line 5248 (zt_pri_error): PRI: </FONT>
<BR><FONT FACE="Times New Roman">!! Got reject for frame 29, retransmitting frame 29 now, updating n_r!</FONT>
<BR><FONT FACE="Times New Roman">Apr&nbsp; 1 23:28:49 WARNING[10251]: File chan_zap.c, Line 5248 (zt_pri_error): PRI: </FONT>
<BR><FONT FACE="Times New Roman">!! Got reject for frame 30, but we have nothing -- resetting!</FONT>
<BR><FONT FACE="Times New Roman">Apr&nbsp; 1 23:30:00 WARNING[11276]: File chan_zap.c, Line 5248 (zt_pri_error): PRI: </FONT>
<BR><FONT FACE="Times New Roman">Read on 87 failed: Unknown error 500</FONT>
<BR><FONT FACE="Times New Roman">Apr&nbsp; 1 23:30:24 WARNING[10251]: File chan_zap.c, Line 5248 (zt_pri_error): PRI: </FONT>
<BR><FONT FACE="Times New Roman">Read on 86 failed: Unknown error 500</FONT>
</P>

<P><FONT FACE="Times New Roman">Question:</FONT>
<BR><FONT FACE="Times New Roman">What do I do to give you more info? Should I issue 'ulimit -c unlimited' to get a coredump?</FONT>
<BR><FONT FACE="Times New Roman">Are there any flags/modes to set?</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Thank you.</FONT>
<BR><FONT SIZE=2 FACE="Arial">Alex Zarubin</FONT>
</P>
<BR>

</BODY>
</HTML>