I just tried to subsitute mod_g729 by mod_com_g729 by using an appropriate moduls.conf.xml. After a restart of Freeswitch, it crahses, when the first inbound call gets processed:

freeswitch@sns-fs1.sns.eu> 2010-10-04 12:32:27.064152 [NOTICE] switch_channel.c:779 New Channel sofia/external/xyz@a.b.c.d [8e94789e-5a8d-4088-8ad1-cd5fb2be0c4f]
freeswitch: src/switch_core_memory.c:448: switch_core_perform_alloc: Assertion `pool != ((void *)0)' failed.
Aborted (core dumped)

There seems to be no error, when mod_com_g729 gets loaded:
2010-10-04 12:32:21.856829 [INFO] mod_com_g729.c:243 Permitted G.729AB channels: 20
2010-10-04 12:32:21.856920 [NOTICE] switch_loadable_module.c:185 Adding Codec G729 18 G.729 8000hz 10ms 8000bps
2010-10-04 12:32:21.856925 [NOTICE] switch_loadable_module.c:185 Adding Codec G729 18 G.729 8000hz 20ms 8000bps
2010-10-04 12:32:21.856928 [NOTICE] switch_loadable_module.c:185 Adding Codec G729 18 G.729 8000hz 30ms 8000bps
2010-10-04 12:32:21.856933 [NOTICE] switch_loadable_module.c:185 Adding Codec G729 18 G.729 8000hz 40ms 8000bps
2010-10-04 12:32:21.856937 [NOTICE] switch_loadable_module.c:185 Adding Codec G729 18 G.729 8000hz 50ms 8000bps
2010-10-04 12:32:21.856943 [NOTICE] switch_loadable_module.c:185 Adding Codec G729 18 G.729 8000hz 60ms 8000bps
2010-10-04 12:32:21.856947 [NOTICE] switch_loadable_module.c:185 Adding Codec G729 18 G.729 8000hz 70ms 8000bps
2010-10-04 12:32:21.856974 [NOTICE] switch_loadable_module.c:185 Adding Codec G729 18 G.729 8000hz 80ms 8000bps
2010-10-04 12:32:21.856978 [NOTICE] switch_loadable_module.c:185 Adding Codec G729 18 G.729 8000hz 90ms 8000bps
2010-10-04 12:32:21.856983 [NOTICE] switch_loadable_module.c:185 Adding Codec G729 18 G.729 8000hz 100ms 8000bps
2010-10-04 12:32:21.856988 [NOTICE] switch_loadable_module.c:185 Adding Codec G729 18 G.729 8000hz 110ms 8000bps
2010-10-04 12:32:21.856993 [NOTICE] switch_loadable_module.c:185 Adding Codec G729 18 G.729 8000hz 120ms 8000bps
2010-10-04 12:32:21.857144 [NOTICE] switch_loadable_module.c:274 Adding API Function 'g729_count'
2010-10-04 12:32:21.857175 [NOTICE] switch_loadable_module.c:274 Adding API Function 'g729_used'
2010-10-04 12:32:21.857199 [NOTICE] switch_loadable_module.c:274 Adding API Function 'g729_available'
2010-10-04 12:32:21.857229 [NOTICE] switch_loadable_module.c:274 Adding API Function 'g729_info'




I'm using
FreeSWITCH Version 1.0.head (git-758f383 2010-09-30 13-30-36 -0700)

If I use mod_g729 instead of mod_com_g729 Freeswitch is running stable.

Does anybody have any ideas how to debug this issue?

Thank you in advance
    Jan


-- 
Jan Riedinger                           Phone :  +49-30-39 73 19 66
Dipl.-Inf. | Managing Director          Fax   :  +49-30-39 73 19 64
                                        E-Mail:  riedinger@sns.eu
SNS Consult GmbH                        ICQ   :  163-237-041
Südwestkorso 49a                        MSN   :  jan@sns-consult.de
14197 Berlin GERMANY                    Skype :  Jan Riedinger

AG Charlottenburg - HRB 71973