[Home]

Summary:ASTERISK-08009: Crash in chan_h323 when dialing invalid non existing extension
Reporter:Morten Isaksen (misaksen)Labels:
Date Opened:2006-10-25 15:37:31Date Closed:2006-11-21 08:49:13.000-0600
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Channels/chan_h323
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When I from my H.323 device call an extension that does not exists asterisk sometimes crashes.

The last console output is

[Oct 25 22:35:49] NOTICE[21885]: chan_h323.c:2214 answer_call: Dropping call because extensions '22332233', 's' and 'i' doesn't exists in context [default]





****** ADDITIONAL INFORMATION ******

(gdb) bt full
#0  0x00373588 in strcmp () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x008c356c in find_call_locked (call_reference=14136, token=0xa142c38 "ip$localhost/14136") at chan_h323.c:1151
       pvt = (struct oh323_pvt *) 0xa1240e0
       __PRETTY_FUNCTION__ = "find_call_locked"
#2  0x008c71f8 in cleanup_connection (call_reference=14136, call_token=0xa142c38 "ip$localhost/14136") at chan_h323.c:2287
       pvt = (struct oh323_pvt *) 0x8eeab5
       __PRETTY_FUNCTION__ = "cleanup_connection"
#3  0x008cc103 in MyH323EndPoint::OnConnectionCleared () from /usr/lib/asterisk/modules/chan_h323.so
No symbol table info available.
#4  0x014571a3 in H323Connection::OnCleared () from /usr/local/lib/libh323_linux_x86_r.so.1.17.3
No symbol table info available.
ASTERISK-1  0x0146a12f in H323EndPoint::CleanUpConnections () from /usr/local/lib/libh323_linux_x86_r.so.1.17.3
No symbol table info available.
ASTERISK-2  0x01467e5b in H323ConnectionsCleaner::Main () from /usr/local/lib/libh323_linux_x86_r.so.1.17.3
No symbol table info available.
ASTERISK-3  0x00de648f in PThread::PX_ThreadStart () from /usr/local/lib/libpt_linux_x86_r.so.1.9.2
No symbol table info available.
ASTERISK-4  0x00f8ece1 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
ASTERISK-5  0x003d0b3a in clone () from /lib/i686/libc.so.6
No symbol table info available.
Comments:By: Joshua C. Colp (jcolp) 2006-11-16 17:46:46.000-0600

Can you please confirm that the backtrace is unoptimized? If so can you please do a frame 1 and report back what gdb says? Thanks.

By: Morten Isaksen (misaksen) 2006-11-17 01:00:45.000-0600

Sorry, I do not have access to any H.323 device any more, and I have deleted the core file.

By: Paul Cadach (pcadach) 2006-11-17 01:30:49.000-0600

I'll try to look for this issue without additional debugging.

By: Morten Isaksen (misaksen) 2006-11-19 06:20:23.000-0600

I figured that I could test this without any H.323 devices - just gnugk and asterisk.

With the latest 1.4 branch I cannot make asterisk fail anymore.

You are welcome to close this bug.

By: Paul Cadach (pcadach) 2006-11-20 01:02:55.000-0600

Unable to reproduce in latest 1.4 branch. Feel free to re-open this bug if you will hit this issue again.