[Home]

Summary:ASTERISK-11856: It happens when the calls reach more than 100 calls
Reporter:Private Name (falves11)Labels:
Date Opened:2008-04-15 09:42:19Date Closed:2011-06-07 14:00:52
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:PBX/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) valgrind_1.txt
( 1) valgrind_2.txt
( 2) valgrind_4.txt
( 3) valgrind.txt_1.txt
( 4) valgrind.txt_2.txt
( 5) valgrind9478.txt
Description:Please see the valgrind capture, I think it shows what happens.
Comments:By: Tilghman Lesher (tilghman) 2008-04-15 10:28:15

Despite the name, neither of these files contains valgrind output.

By: Private Name (falves11) 2008-04-15 11:13:35

I am running my asterisk like this (output of ps -auxxx):
valgrind --log-file=valgrind.txt asterisk -vf

and the core dumps names are:

valgrind.txt.core.15625

I do a gdb asterisk valgrind.txt.core.15625

Obviously, I doon't know what I am doing. In the directoruy there is an additional file that I am attaching. Please confirm that this is what we need to see, or else please I need a volunteer to help me capture this.

By: Private Name (falves11) 2008-04-16 00:39:09

This case is not related to 12284, for that case is based on EPoll, and this one, according to valgrind is related to chan_h323. I think that this is a new issue and respectfully request a reevaluation.

==32093== Thread 43:
==32093== Invalid free() / delete / delete[]
==32093==    at 0x4C1E89E: free (vg_replace_malloc.c:323)
==32093==    by 0xB338B37: MyH323_ExternalRTPChannel::MyH323_ExternalRTPChannel(MyH323Connection&, H323Capability const&, H323Channel::Directions, unsigned) (in /usr/lib/asterisk/modules/chan_h323.so)
==32093==    by 0xB338C1B: MyH323Connection::CreateRealTimeLogicalChannel(H323Capability const&, H323Channel::Directions, unsigned, H245_H2250LogicalChannelParameters const*, RTP_QOS*) (in /usr/lib/asterisk/modules/chan_h323.so)
==32093==    by 0x60C6319: H323Connection::OpenLogicalChannel(H323Capability const&, unsigned, H323Channel::Directions) (in /usr/src/openh323/lib/libh323_linux_x86_64_r.so.1.18.0)
==32093==    by 0x60BD842: H323Connection::SelectFastStartChannels(unsigned, int, int) (in /usr/src/openh323/lib/libh323_linux_x86_64_r.so.1.18.0)
==32093==    by 0x60C61D1: H323Connection::OnSelectLogicalChannels() (in /usr/src/openh323/lib/libh323_linux_x86_64_r.so.1.18.0)
==32093==    by 0xB336EEC: MyH323Connection::SendSignalSetup(PString const&, H323TransportAddress const&) (in /usr/lib/asterisk/modules/chan_h323.so)
==32093==    by 0x60CC1E2: H225CallThread::Main() (in /usr/src/openh323/lib/libh323_linux_x86_64_r.so.1.18.0)
==32093==    by 0x67B3EF3: PThread::PX_ThreadStart(void*) (in /usr/src/pwlib/lib/libpt_linux_x86_64_r.so.1.10.0)
==32093==    by 0x55BE2F6: start_thread (in /lib64/libpthread-2.5.so)
==32093==    by 0x7BDA85C: clone (in /lib64/libc-2.5.so)
==32093==  Address 0x110afdec is 140 bytes inside a block of size 184 alloc'd
==32093==    at 0x4C1ED1B: malloc (vg_replace_malloc.c:207)
==32093==    by 0x435172: __ast_alloc_region (astmm.c:101)
==32093==    by 0x43510D: __ast_calloc (astmm.c:184)
==32093==    by 0xB32AAE2: ??? (chan_h323.c:1893)
==32093==    by 0xB338A12: MyH323_ExternalRTPChannel::MyH323_ExternalRTPChannel(MyH323Connection&, H323Capability const&, H323Channel::Directions, unsigned) (in /usr/lib/asterisk/modules/chan_h323.so)
==32093==    by 0xB338C1B: MyH323Connection::CreateRealTimeLogicalChannel(H323Capability const&, H323Channel::Directions, unsigned, H245_H2250LogicalChannelParameters const*, RTP_QOS*) (in /usr/lib/asterisk/modules/chan_h323.so)
==32093==    by 0x60C6319: H323Connection::OpenLogicalChannel(H323Capability const&, unsigned, H323Channel::Directions) (in /usr/src/openh323/lib/libh323_linux_x86_64_r.so.1.18.0)
==32093==    by 0x60BD842: H323Connection::SelectFastStartChannels(unsigned, int, int) (in /usr/src/openh323/lib/libh323_linux_x86_64_r.so.1.18.0)
==32093==    by 0x60C61D1: H323Connection::OnSelectLogicalChannels() (in /usr/src/openh323/lib/libh323_linux_x86_64_r.so.1.18.0)
==32093==    by 0xB336EEC: MyH323Connection::SendSignalSetup(PString const&, H323TransportAddress const&) (in /usr/lib/asterisk/modules/chan_h323.so)
==32093==    by 0x60CC1E2: H225CallThread::Main() (in /usr/src/openh323/lib/libh323_linux_x86_64_r.so.1.18.0)
==32093==    by 0x67B3EF3: PThread::PX_ThreadStart(void*) (in /usr/src/pwlib/lib/libpt_linux_x86_64_r.so.1.10.0

By: Private Name (falves11) 2008-05-21 16:18:29

Please close the issue. The problem faded.

By: Joshua C. Colp (jcolp) 2008-05-21 16:20:31

Closed per reporter.