[Home]

Summary:ASTERISK-05809: new app_groupcount.so causes CLI name clash; crashes server
Reporter:capouch (capouch)Labels:
Date Opened:2005-12-10 00:16:26.000-0600Date Closed:2011-06-07 14:01:02
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:find_cli in cli.c seems to be choking when the module app_groupcount.so registers its functions.

Asterisk unloads the module and then crashes.

Asterisk runs fine with this module no-loaded.

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

[app_groupcount.so] => (Group Management Routines)
 == Registered application 'GetGroupCount'
 == Registered application 'SetGroup'
 == Registered application 'CheckGroup'
 == Registered application 'GetGroupMatchCount'
Dec 10 01:36:28 WARNING[25547]: cli.c:1104 ast_cli_register: Command 'groupshowchannels' already registered (or something close enough)
Dec 10 01:36:28 WARNING[25547]: loader.c:414 __load_resource: app_groupcount.so: load_module failed, returning -1
 == Unregistered application 'GetGroupCount'
 == Unregistered application 'SetGroup'
 == Unregistered application 'CheckGroup'
 == Unregistered application 'GetGroupMatchCount'
Dec 10 01:36:28 WARNING[25547]: loader.c:554 load_modules: Loading module app_groupcount.so failed!
*CLI>
Disconnected from Asterisk server
Comments:By: capouch (capouch) 2005-12-10 00:18:19.000-0600

I don't know how that version got cut off; it should be SVN-trunk-r7413

By: capouch (capouch) 2005-12-10 13:22:13.000-0600

The culprit is app_groupcount.so.

Removing it fixes the problem.  Sorry for the noise.

By: BJ Weschke (bweschke) 2005-12-10 13:57:18.000-0600

old module issue. not an issue. closing.