Summary:ASTERISK-14823: SEGV in chan_iax2.c - socket_process - with Zoiper client
Reporter:Chris Stone (habile)Labels:
Date Opened:2009-09-14 04:46:49Date Closed:2009-09-21 09:16:26
Versions:Frequency of
Environment:Attachments:( 0) gdb_iax2_crash.txt
( 1) gdb.txt
( 2) log.txt
Description:I get a sigsegv in

#0  0xb6678009 in socket_process (thread=0x98baa00) at chan_iax2.c:9549
9549                            if (ast_test_flag64(iaxs[fr->callno], IAX_ENCRYPTED)) {

but only when I am using the Zoiper client.


It can occur frequently (within a few seconds of each other) or less frequently, but usually no longer than 30 minutes. The problem is not seen when the Zoiper client is not active.

Comments:By: Chris Stone (habile) 2009-09-14 04:56:04

Zoiper client is at (user 1919) is an Asterisk server used for PSTN access.

By: Chris Stone (habile) 2009-09-14 05:27:20

It is not the Zoiper client that's causing this - still occurs without it.

By: Joerg Staedele (brainy) 2009-09-14 10:21:38

I am having the same problem with iax and iaxmodem ...

#0  0xb7bf02e1 in socket_process (thread=0x943b320) at chan_iax2.c:8427
8427                            if (ast_test_flag(iaxs[fr->callno], IAX_ENCRYPTED)) {

By: Chris Stone (habile) 2009-09-15 02:30:46

Possibly related: https://issues.asterisk.org/view.php?id=15834 ?

By: Chris Stone (habile) 2009-09-15 12:43:17

Sorry - I uploaded an optimized backtrace - let me know if you do need one with DONT_OPTIMIZE set and I will recompile and upload again... ta.

By: Chris Stone (habile) 2009-09-19 07:08:54

I think this is fixed in 219587 - not able to reproduce since then.

By: Russell Bryant (russell) 2009-09-21 09:16:26

Yep, I fixed this a few days ago.  Thanks for the report.