Summary: | ASTERISK-14984: Crash on incoming IAX call from Asterisk 1.4.18 without DONT_OPTIMIZE | ||
Reporter: | philipp2 (philipp2) | Labels: | |
Date Opened: | 2009-10-14 09:21:18 | Date Closed: | 2009-11-02 10:33:04.000-0600 |
Priority: | Critical | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_iax2 |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) ast1427rc2-core.txt | |
Description: | Call from ast1418 to ast1427rc2 always and immediately crashes ast1427rc2. Linux a.b.c.d 2.4.32 #1 SMP i686 GNU/Linux (Debian Sarge) gcc (GCC) 3.4.4 With debug flags enabled the crash does NOT occur and all is fine: [x] DONT_OPTIMIZE ERROR[10459]: astobj2.c:114 INTERNAL_OBJ: bad magic number 0x1 for 0x81faa3c -- Accepting AUTHENTICATED call from e.f.g.h: ; -- iax.conf peer on Asterisk box 1.4.18 for 1.4.27-rc2 -- [general] calltokenoptional=0.0.0.0/0.0.0.0 maxcallnumbers=16 minregexpire=10 maxregexpire=60 delayreject=yes autokill=yes [ast1427rc2l] context=default type=user auth=rsa inkeys=otherkey accountcode=xyz language=en jitterbuffer=no disallow=all allow=alaw allow=g726 [ast1427rc2p] context=default type=peer auth=rsa outkeys=somekey host=a.b.c.d sendani=yes qualify=2500 jitterbuffer=no disallow=all allow=alaw allow=ilbc ; -- iax.conf peer on Asterisk box 1.4.27-rc2 for 1.4.18 -- [ast1418] context=from-ast1418 type=user auth=rsa inkeys=somekey disallow=all jitterbuffer=no allow=alaw [ast1418p] context=from-ast1418 type=peer auth=rsa outkeys=otherkey host=e.f.g.h qualify=2500 jitterbuffer=no disallow=all allow=alaw ****** ADDITIONAL INFORMATION ****** If 1.4.27-rc2 calls 1.4.18 then the call connects, but there is no audio. Here the console of the receiver (1.4.18): -- Accepting AUTHENTICATED call from a.b.c.d: WARNING[12208]: file.c:1159 waitstream_core: Unexpected control subclass '20' WARNING[12208]: file.c:644 ast_readaudio_callback: Failed to write frame -- Hungup 'IAX2/xyz-7' Note - this link is broken: http://www.asterisk.org/developers/bug-guidelines | ||
Comments: | By: David Brillert (aragon) 2009-10-14 10:27:58 Looking at the crash I wonder if this might be fixed in a fresh checkout of 1.4 SVN Revision 223550 - Directory Listing Modified Sun Oct 11 18:34:37 2009 UTC (2 days, 20 hours ago) by russell Remove a duplicate ao2_iterator_destroy(). By: philipp2 (philipp2) 2009-10-14 11:42:49 No change with SVN-branch-1.4-r223955 By: David Vossel (dvossel) 2009-11-02 10:33:03.000-0600 This was resolved by issue ASTERISK-15062. |