[Home]

Summary:ASTERISK-01896: Can't unload/reload codec_g729a.so
Reporter:Tilghman Lesher (tilghman)Labels:
Date Opened:2004-06-25 14:08:51Date Closed:2004-09-25 02:40:22
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:The unload routine in codec_g729a.so does not correctly unload all registered routines, which could cause a crash, if a routine in an unloaded module was referenced.

At the very least, it prevents an unload/load of codec_g729a.so

****** ADDITIONAL INFORMATION ******

iax*CLI> unload codec_g729a.so
 == Unregistered translator 'lintog729' from format SLINR to G729A
 == Unregistered translator 'g729tolin' from format G729A to SLINR
iax*CLI> load codec_g729a.so
Unable to load module codec_g729a.so
Loaded /usr/lib/asterisk/modules/codec_g729a.so => (Annex A/B (floating point) G.729/PCM16 Codec Translator)
 == G.729 Host-ID: <obscured>
 == Found license 'G729-<obscured>' providing 10 channels
 == Found total of 10 G.729 licenses
 == Registered translator 'g729tolin' from format G729A to SLINR, cost 4
 == Registered translator 'lintog729' from format SLINR to G729A, cost 19
Jun 25 13:49:17 WARNING[163850]: cli.c:733 ast_cli_register: Command 'showg729' already registered (or something close enough)
Jun 25 13:49:17 WARNING[163850]: loader.c:328 ast_load_resource: codec_g729a.so: load_module failed, returning -1
 == Unregistered translator 'lintog729' from format SLINR to G729A
 == Unregistered translator 'g729tolin' from format G729A to SLINR
Comments:By: Mark Spencer (markster) 2004-06-25 14:44:18

This has already been fixed on the version of codec_g729a.so on the FTP site for all architectures except x86_64 (see earlier bug)