[asterisk-bugs] [JIRA] (ASTERISK-23265) Preloading Certain Modules in Asterisk 12 causes a core dump
Rusty Newton (JIRA)
noreply at issues.asterisk.org
Fri Feb 7 14:41:03 CST 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-23265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=215001#comment-215001 ]
Rusty Newton commented on ASTERISK-23265:
-----------------------------------------
Can't reproduce on SVN-branch-12-r407750. Same deal.
{noformat}
== Registered channel type 'Surrogate' (Surrogate channel used to pull channel from an application)
== Parsing '/etc/asterisk/codecs.conf': Found
Asterisk Dynamic Loader Starting:
== Parsing '/etc/asterisk/modules.conf': Found
[Feb 7 14:36:40] NOTICE[25072]: loader.c:1323 load_modules: 2 modules will be loaded.
> Registering module pbx_config
> Unregistering module pbx_config
[Feb 7 14:36:40] WARNING[25072]: loader.c:523 load_dynamic_module: Error loading module 'chan_local.so': /usr/lib/asterisk/modules/chan_local.so: cannot open shared object file: No such file or directory
> Registering module pbx_config
> Unregistering module pbx_config
> Registering module pbx_config
[Feb 7 14:36:40] WARNING[25072]: loader.c:523 load_dynamic_module: Error loading module 'chan_local.so': /usr/lib/asterisk/modules/chan_local.so: cannot open shared object file: No such file or directory
[Feb 7 14:36:40] WARNING[25072]: loader.c:1032 load_resource: Module 'chan_local.so' could not be loaded.
Loading pbx_config.so.
== Parsing '/etc/asterisk/extensions.conf': Found
{noformat}
So, getting it to crash may be more complicated. Perhaps attach output showing what modules are in your /usr/lib/asterisk/modules directory?
Also maybe, asterisk.conf.
> Preloading Certain Modules in Asterisk 12 causes a core dump
> ------------------------------------------------------------
>
> Key: ASTERISK-23265
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-23265
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Affects Versions: 12.1.0
> Environment: CentOS 6.5
> Reporter: Andrew Nagy
> Attachments: backtrace.txt
>
>
> Preloading pbx_config.so and chan_local.so causes asterisk to Core Dump. The original module.conf is below:
> {code}
> [modules]
> autoload=yes
> preload = pbx_config.so
> preload = chan_local.so
> noload = pbx_gtkconsole.so
> noload = pbx_kdeconsole.so
> noload = app_intercom.so
> noload = chan_modem.so
> noload = chan_modem_bestdata.so
> noload = chan_modem_i4l.so
> noload = app_trunkisavail.so
> noload = chan_alsa.so
> noload = chan_oss.so
> noload = app_directory_odbcstorage.so
> noload = app_voicemail_odbcstorage.so
> noload = chan_modem_aopen.so
> load = format_wav.so
> load = format_pcm.so
> load = format_mp3.so
> load = res_musiconhold.so
> {code}
> Removing the two preloads allows asterisk to function normally
> {code}
> [modules]
> autoload=yes
> noload = pbx_gtkconsole.so
> noload = pbx_kdeconsole.so
> noload = app_intercom.so
> noload = chan_modem.so
> noload = chan_modem_bestdata.so
> noload = chan_modem_i4l.so
> noload = app_trunkisavail.so
> noload = chan_alsa.so
> noload = chan_oss.so
> noload = app_directory_odbcstorage.so
> noload = app_voicemail_odbcstorage.so
> noload = chan_modem_aopen.so
> load = format_wav.so
> load = format_pcm.so
> load = format_mp3.so
> load = res_musiconhold.so
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list