Summary:ASTERISK-10014: chan_iax2 causes segfault while trying to queue a frame
Reporter:Frank Waller (explidous)Labels:
Date Opened:2007-08-02 11:25:23Date Closed:2007-09-06 17:27:27
Versions:Frequency of
Environment:Attachments:( 0) all_thread_bt
( 1) cli_output
( 2) single_thread_bt_full
Description:chan_iax2 causes a segfault while trying to queue a frame. This generally happens under high load and can take upwards of an hour to reproduce (though I have had it happen in as little as a minute).

I was running Vicidial (a predictive dialer) on this server with twenty agents and dialing at a ratio of four to one. This means that there are twenty channels waiting in twenty meetmes and the server is dialing 80 numbers via IAX to another XEN server on the same box. When a number connects they get placed into one of the meetmes.

This crash happened amongst some other crashes that I am still debugging. I have not been able to narrow down exactly what caused this one. Most likely a threading issue.

****** STEPS TO REPRODUCE ******

I am able to reproduce this by simply dialing many calls simultaneously via IAX to the same server on a low latency connection.
Comments:By: Russell Bryant (russell) 2007-08-23 15:16:13

please try the latest code in the 1.4 branch.  I have made a lot of changes which may fix this

By: Russell Bryant (russell) 2007-09-06 17:27:26

closing and assuming this is fixed ....