chan_iax2.so getting segmentation falt on load of this file

Good evening… I installed asterisk tonight, and it works fine, however I had to restart the server and now when I load up asterisk I get a SEGMENTATION FALT…

UPDATE****

I found out that the segmentation fault would happen on the chan_iax2.so file. I have deleted this file so that it would not load, and it corrects the issue. Does anyone know of a bug or fix, or updated chan_iax2.so file?

Its minor as I am not using iax2 right now, only sip. If anyone has the same issue please provide the fix, or a link where I can get an updated .so file… Thank you!!

turn on debug logging in logger.conf, reload with IAX enabled, and post the appropriate fragment of /var/log/asterisk/full here.

Here is the debug file “full” at the end when it crashes on the chan_iax2.so file. The funny thing is this, it loads fine on another machine I loaded that is exactly the same config… i reloaded and imaged this computer and I don’t know why its acting different…

FULL---->
Nov 9 06:58:43 VERBOSE[19522] logger.c: [chan_iax2.so]Nov 9 06:58:43 VERBOSE[
19522] logger.c: [chan_iax2.so] => (Inter Asterisk eXchange (Ver 2))
Nov 9 06:58:43 VERBOSE[19522] logger.c: == Registered custom function IAXPEER
Nov 9 06:58:43 VERBOSE[19522] logger.c: == Registered application 'IAX2Provis
ion’
Nov 9 06:58:43 VERBOSE[19522] logger.c: == Manager registered action IAXpeers
Nov 9 06:58:43 VERBOSE[19522] logger.c: == Manager registered action IAXnetst
ats
Nov 9 06:58:43 VERBOSE[19522] logger.c: == Parsing ‘/etc/asterisk/iax.conf’:
Nov 9 06:58:43 VERBOSE[19522] logger.c: == Parsing ‘/etc/asterisk/iax.conf’:
Found
Nov 9 06:58:43 VERBOSE[19522] logger.c: == Using TOS bits 16
Nov 9 06:58:43 VERBOSE[19522] logger.c: == Binding IAX2 to default address 0.
0.0.0:4569
Nov 9 06:58:43 VERBOSE[19522] logger.c: – doing lookup for '216.207.245.47

Nov 9 06:58:43 VERBOSE[19522] logger.c: == Registered channel type ‘IAX2’ (In
ter Asterisk eXchange Driver (Ver 2))
Nov 9 06:58:43 VERBOSE[19522] logger.c: == IAX Ready and Listening

my system was up and running just fine until my provider changed kernels.

Linux version 2.6.9-022stab078.21-smp (root@rel270.x86_64.sw.ru) (gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-49)) #1 SMP Fri Sep 8 22:16:16 MSD 2006

if i remove iax.conf asterisk starts but even with just 1 extension in iax.conf it dies starting up.

== Manager registered action Agents
== Manager registered action AgentLogoff
== Manager registered action AgentCallbackLogin
== Registered custom function AGENT
chan_agent.so => (Agent Proxy Channel)
== Registered channel type ‘Feature’ (Feature Proxy Channel Driver)
chan_features.so => (Feature Proxy Channel)
== Registered custom function IAXPEER
== Registered application ‘IAX2Provision’
== Manager registered action IAXpeers
== Manager registered action IAXnetstats
== Parsing ‘/etc/asterisk/iax.conf’: Found
== Using TOS bits 0
== Binding IAX2 to default address 0.0.0.0:4569
[Nov 15 10:27:45] DEBUG[7524]: db.c:197 ast_db_get: Unable to find key ‘70126’ in family ‘IAX/Registry’
== Registered channel type ‘IAX2’ (Inter Asterisk eXchange Driver (Ver 2))
== 10 helper threaads started
== IAX Ready and Listening
Segmentation fault

have you recompiled since the kernel upgrade ?

yes and reinstalled everythig from scratch.

i was running 1.2.11 and the system was running fine sunday.
i have tried 1.2.13 and and currently running 1.4.0-beta3

i tracked the problem down as far as try_firmware

when it calls

ast_verbose(VERBOSE_PREFIX_2 “IAX MD5update \n”);
MD5Update(&md5, fwh->data, ntohl(fwh->datalen));
ast_verbose(VERBOSE_PREFIX_2 “IAX MD5final \n”);

it dies!!! removing iaxy.bin solves the problem…

mv /var/lib/asterisk/firmware/iax/iaxy.bin ~/

I was having the same problem.

And I removed IAX.conf and everything works fine,(except IAX).

Any Ideas on how to fix this so I can use IAX again?