Summary:ASTERISK-01371: Asterisk Seg Faults consistently
Reporter:darkthorn (darkthorn)Labels:
Date Opened:2004-04-07 17:18:55Date Closed:2004-09-25 02:52:14
Versions:Frequency of
Description:Asterisk is seg faulting after it's been under load, although not always *while* it's under load. Crashes get more consistent above 30 Calls.
Machine is a P4 3.0 Ghz with 1 GB Ram.


GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
Core was generated by `asterisk -vvvg -c'.
Program terminated with signal 11, Segmentation fault.

(gdb) bt
#0  0x42074d5e in malloc_consolidate () from /lib/tls/libc.so.6
#1  0x420743c9 in _int_malloc () from /lib/tls/libc.so.6
#2  0x4207378d in malloc () from /lib/tls/libc.so.6
#3  0x41e5fe9e in operator new(unsigned) () from /usr/lib/libstdc++.so.5
#4  0x466bd6f5 in H225_H323_UU_PDU_h323_message_body::CreateObject() ()
  from /usr/local/lib/libh323_linux_x86_r.so.1.12.2
ASTERISK-1  0x462201d5 in PASN_Choice::DecodePER(PPER_Stream&) ()
  from /usr/local/lib/libpt_linux_x86_r.so.1.5.2
ASTERISK-2  0x462203f7 in PPER_Stream::ChoiceDecode(PASN_Choice&) ()
  from /usr/local/lib/libpt_linux_x86_r.so.1.5.2
ASTERISK-3  0x4621ca38 in PASN_Choice::Decode(PASN_Stream&) ()
  from /usr/local/lib/libpt_linux_x86_r.so.1.5.2
ASTERISK-4  0x46732cda in H225_H323_UU_PDU::Decode(PASN_Stream&) ()
  from /usr/local/lib/libh323_linux_x86_r.so.1.12.2
ASTERISK-5  0x4674237e in H225_H323_UserInformation::Decode(PASN_Stream&) ()
  from /usr/local/lib/libh323_linux_x86_r.so.1.12.2
ASTERISK-6 0x469c2e99 in H323SignalPDU::Read(H323Transport&) ()
  from /usr/local/lib/libh323_linux_x86_r.so.1.12.2
ASTERISK-7 0x469a2a0d in H323Connection::HandleSignallingChannel() ()
  from /usr/local/lib/libh323_linux_x86_r.so.1.12.2
ASTERISK-8 0x469eb187 in H323Transport::HandleFirstSignallingChannelPDU() ()
  from /usr/local/lib/libh323_linux_x86_r.so.1.12.2
ASTERISK-9 0x469e72e4 in H225TransportThread::Main() ()
---Type <return> to continue, or q <return> to quit---
  from /usr/local/lib/libh323_linux_x86_r.so.1.12.2
ASTERISK-10 0x463533c4 in PThread::PX_ThreadStart(void*) ()
  from /usr/local/lib/libpt_linux_x86_r.so.1.5.2
ASTERISK-11 0x40026484 in start_thread () from /lib/tls/libpthread.so.0

Comments:By: darkthorn (darkthorn) 2004-04-07 17:23:45

Using libh323_linux_x86_d.so.1.12.2 and libpt_linux_x86_d.so.1.5.2.
I believe these are the current recommended versions.
Running CVS-04/05/04-14:42:44.

By: darkthorn (darkthorn) 2004-04-07 17:59:45

Also, it's cored out 107 times since April 1st.

By: Mark Spencer (markster) 2004-04-07 18:30:07

This is a duplicate of the 1334 H.323 bug