Summary:ASTERISK-01447: Any load on H.323 seg faults
Reporter:casey0999 (casey0999)Labels:
Date Opened:2004-04-21 00:43:32Date Closed:2011-06-07 14:00:37
Versions:Frequency of
Description:Any load test of H.323 with more than 15 simultaneous calls crashes asterisk very quickly. Per Jeremy's advice running pre-Janus code (PW 1.5.2, H.323 1.12.2, asterisk CVS 4/17.)
Load test scenario: Asterisk System A generates voice calls on a PRI to a Cisco AS5300 which in turn routes calls to Asterisk system B using H.323 (G.711 ALaw).  System B answers each H.323 call, simply plays an aLaw prompt of about 5 seconds, then hangs up.  Works fine with a low number of simultaneous calls.  Over 15 at the same time, crashes within 30 seconds! Same BT each time - see below.


Last Error Was:
Apr 20 21:04:02 ERROR[1388100528]: chan_h323.c:1155 connection_made: Something is wrong: connection

Back Trace:
(gdb) bt
#0  connection_made (call_reference=5590275) at chan_h323.c:1158
#1  0x0054d8b5 in MyH323EndPoint::OnConnectionEstablished(H323Connection&, PString const&) (
   this=0x87c03f8, connection=@0x894fe58, estCallToken=@0x894fe74) at ast_h323.cpp:335
#2  0x054df4bf in H323Connection::OnEstablished() ()
  from /usr/src/openh323/lib/libh323_linux_x86_r.so.1.12.2
#3  0x0550228a in H323Connection::InternalEstablishedConnectionCheck() ()
  from /usr/src/openh323/lib/libh323_linux_x86_r.so.1.12.2
#4  0x055006a4 in H323Connection::HandleControlData(PPER_Stream&) ()
  from /usr/src/openh323/lib/libh323_linux_x86_r.so.1.12.2
ASTERISK-1  0x054dc082 in H323Connection::HandleTunnelPDU(H323SignalPDU*) ()
  from /usr/src/openh323/lib/libh323_linux_x86_r.so.1.12.2
ASTERISK-2  0x054dbd83 in H323Connection::HandleSignalPDU(H323SignalPDU&) ()
  from /usr/src/openh323/lib/libh323_linux_x86_r.so.1.12.2
ASTERISK-3  0x054d8e2f in H323Connection::HandleSignallingChannel() ()
  from /usr/src/openh323/lib/libh323_linux_x86_r.so.1.12.2
ASTERISK-4  0x05565eb0 in H323Transport::HandleFirstSignallingChannelPDU() ()
  from /usr/src/openh323/lib/libh323_linux_x86_r.so.1.12.2
ASTERISK-5  0x0555d28b in H225TransportThread::Main() ()
  from /usr/src/openh323/lib/libh323_linux_x86_r.so.1.12.2
ASTERISK-6 0x012f1178 in PThread::PX_ThreadStart(void*) ()
  from /usr/src/pwlib/lib/libpt_linux_x86_r.so.1.5.2
ASTERISK-7 0x00b1079c in start_thread () from /lib/tls/libpthread.so.0
ASTERISK-8 0x0095d27a in clone () from /lib/tls/libc.so.6
(gdb) q
Comments:By: Brian West (bkw918) 2004-04-21 02:05:52

Please post your comments on bug 1334 as its the same thing.