[asterisk-users] Segmentation fault after upgrading from asterisk-10.5.0 to asterisk-11.1.2

Leandro Dardini ldardini at gmail.com
Thu Jan 10 14:02:32 CST 2013


I see asterisk is finding res_jabber.so not compiled for your asterisk
version. As Tim just said, remove all the modules from
/usr/lib/asterisk/modules and reinstall asterisk.

[2013-01-10 14:20:10] WARNING[27062]: loader.c:804 inspect_module: Module
'res_jabber.so' was not compiled with the same compile-time options as this
version of Asterisk.

**

[2013-01-10 14:20:10] WARNING[27062]: loader.c:805 inspect_module: Module
'res_jabber.so' will not be initialized as it may cause instability.****

[2013-01-10 14:20:10] WARNING[27062]: loader.c:895 load_resource: Module
'res_jabber.so' could not be loaded.


Leandro

2013/1/10 Tim Nelson <tnelson at rockbochs.com>

> First thing to *ALWAYS* check is if you have any Asterisk version specific
> modules (Fax for Asterisk, G.729, etc). Ensure these are not loaded (noload
> in modules.conf, or simply move them out of the asterisk modules dir).
>
> Tim Nelson
> Systems/Network Support
> Rockbochs Inc.
> (218)727-4332 x105
>
> ------------------------------
>
> After upgrading from asterisk-10.5.0 to asterisk-11.1.2, I am getting a
> Segmentation fault.
>
>
>
> [root at localhost asterisk-11.1.2]# asterisk -vvvvvvc
>
> Asterisk 11.1.2, Copyright (C) 1999 - 2012 Digium, Inc. and others.
>
> Created by Mark Spencer <markster at digium.com>
>
> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for
> details.
>
> This is free software, with components licensed under the GNU General
> Public
>
> License version 2 and other licenses; you are welcome to redistribute it
> under
>
> certain conditions. Type 'core show license' for details.
>
> =========================================================================
>
>   == Parsing '/etc/asterisk/asterisk.conf': Found
>
>   == Parsing '/etc/asterisk/extconfig.conf': Found
>
>   == Parsing '/etc/asterisk/logger.conf': Found
>
>   == Manager registered action DBGet
>
>   == Manager registered action DBPut
>
>   == Manager registered action DBDel
>
>   == Manager registered action DBDelTree
>
>   == Registered custom function 'MESSAGE'
>
>   == Registered custom function 'MESSAGE_DATA'
>
>   == Registered application 'MessageSend'
>
>   == Manager registered action MessageSend
>
>   == Manager registered action DataGet
>
>   == Parsing '/etc/asterisk/codecs.conf': Found
>
> Asterisk Dynamic Loader Starting:
>
>   == Parsing '/etc/asterisk/modules.conf': Found
>
>   == Parsing '/etc/asterisk/dnsmgr.conf': Found
>
> [2013-01-10 14:20:10] ERROR[27062]: config_options.c:512
> aco_process_config: Unable to load config file 'acl.conf'
>
>   == Parsing '/etc/asterisk/http.conf': Found
>
>   == Manager registered action Ping
>
>   == Manager registered action Events
>
>   == Manager registered action Logoff
>
>   == Manager registered action Login
>
>   == Manager registered action Challenge
>
>   == Manager registered action Hangup
>
>   == Manager registered action Status
>
>   == Manager registered action Setvar
>
>   == Manager registered action Getvar
>
>   == Manager registered action GetConfig
>
>   == Manager registered action GetConfigJSON
>
>   == Manager registered action UpdateConfig
>
>   == Manager registered action CreateConfig
>
>   == Manager registered action ListCategories
>
>   == Manager registered action Redirect
>
>   == Manager registered action Atxfer
>
>   == Manager registered action Originate
>
>   == Manager registered action Command
>
>   == Manager registered action ExtensionState
>
>   == Manager registered action PresenceState
>
>   == Manager registered action AbsoluteTimeout
>
>   == Manager registered action MailboxStatus
>
>   == Manager registered action MailboxCount
>
>   == Manager registered action ListCommands
>
>   == Manager registered action SendText
>
>   == Manager registered action UserEvent
>
>   == Manager registered action WaitEvent
>
>   == Manager registered action CoreSettings
>
>   == Manager registered action CoreStatus
>
>   == Manager registered action Reload
>
>   == Manager registered action CoreShowChannels
>
>   == Manager registered action ModuleLoad
>
>   == Manager registered action ModuleCheck
>
>   == Manager registered action AOCMessage
>
>   == Manager registered action Filter
>
>   == Registered custom function 'AMI_CLIENT'
>
>   == Parsing '/etc/asterisk/manager.conf': Found
>
>   == Parsing '/etc/asterisk/manager_humbug.conf': Found
>
> [2013-01-10 14:20:10] NOTICE[27062]: manager.c:7545 __init_manager:
> Invalid keyword <displaysystemname> = <yes> in manager.conf [general]
>
>   == Parsing '/etc/asterisk/users.conf': Found
>
>   == Parsing '/etc/asterisk/cdr.conf': Found
>
> [2013-01-10 14:20:10] NOTICE[27062]: cdr.c:1613 do_reload: CDR logging
> disabled, data will be lost.
>
>     -- CEL logging disabled.
>
>   == Parsing '/etc/asterisk/udptl.conf': Found
>
> [2013-01-10 14:20:10] WARNING[27062]: udptl.c:1413
> removed_options_handler: t38faxudpec in udptl.conf is no longer supported;
> use the t38pt_udptl configuration option in sip.conf instead.
>
> [2013-01-10 14:20:10] WARNING[27062]: udptl.c:1415
> removed_options_handler: t38faxmaxdatagram in udptl.conf is no longer
> supported; value is now supplied by T.38 applications.
>
> Asterisk PBX Core Initializing
>
> Registering builtin applications:
>
>   == Registered custom function 'EXCEPTION'
>
>   == Registered custom function 'TESTTIME'
>
> [Answer]
>
>   == Registered application 'Answer'
>
> [BackGround]
>
>   == Registered application 'BackGround'
>
> [Busy]
>
>   == Registered application 'Busy'
>
> [Congestion]
>
>   == Registered application 'Congestion'
>
> [ExecIfTime]
>
>   == Registered application 'ExecIfTime'
>
> [Goto]
>
>   == Registered application 'Goto'
>
> [GotoIf]
>
>   == Registered application 'GotoIf'
>
> [GotoIfTime]
>
>   == Registered application 'GotoIfTime'
>
> [ImportVar]
>
>   == Registered application 'ImportVar'
>
> [Hangup]
>
>   == Registered application 'Hangup'
>
> [Incomplete]
>
>   == Registered application 'Incomplete'
>
> [NoOp]
>
>   == Registered application 'NoOp'
>
> [Proceeding]
>
>   == Registered application 'Proceeding'
>
> [Progress]
>
>   == Registered application 'Progress'
>
> [RaiseException]
>
>   == Registered application 'RaiseException'
>
> [ResetCDR]
>
>   == Registered application 'ResetCDR'
>
> [Ringing]
>
>   == Registered application 'Ringing'
>
> [SayAlpha]
>
>   == Registered application 'SayAlpha'
>
> [SayDigits]
>
>   == Registered application 'SayDigits'
>
> [SayNumber]
>
>   == Registered application 'SayNumber'
>
> [SayPhonetic]
>
>   == Registered application 'SayPhonetic'
>
> [Set]
>
>   == Registered application 'Set'
>
> [MSet]
>
>   == Registered application 'MSet'
>
> [SetAMAFlags]
>
>   == Registered application 'SetAMAFlags'
>
> [Wait]
>
>   == Registered application 'Wait'
>
> [WaitExten]
>
>   == Registered application 'WaitExten'
>
>   == Manager registered action ShowDialPlan
>
>   == Parsing '/etc/asterisk/indications.conf': Found
>
>     -- Registered indication country 'at'
>
>     -- Registered indication country 'au'
>
>     -- Registered indication country 'bg'
>
>     -- Registered indication country 'br'
>
>     -- Registered indication country 'be'
>
>     -- Registered indication country 'ch'
>
>     -- Registered indication country 'cl'
>
>     -- Registered indication country 'cn'
>
>     -- Registered indication country 'cz'
>
>     -- Registered indication country 'de'
>
>     -- Registered indication country 'dk'
>
>     -- Registered indication country 'ee'
>
>     -- Registered indication country 'es'
>
>     -- Registered indication country 'fi'
>
>     -- Registered indication country 'fr'
>
>     -- Registered indication country 'gr'
>
>     -- Registered indication country 'hu'
>
>     -- Registered indication country 'il'
>
>     -- Registered indication country 'in'
>
>     -- Registered indication country 'it'
>
>     -- Registered indication country 'lt'
>
>     -- Registered indication country 'jp'
>
>     -- Registered indication country 'mx'
>
>     -- Registered indication country 'my'
>
>     -- Registered indication country 'nl'
>
>     -- Registered indication country 'no'
>
>     -- Registered indication country 'nz'
>
>     -- Registered indication country 'ph'
>
>     -- Registered indication country 'pl'
>
>     -- Registered indication country 'pt'
>
>     -- Registered indication country 'ru'
>
>     -- Registered indication country 'se'
>
>     -- Registered indication country 'sg'
>
>     -- Registered indication country 'th'
>
>     -- Registered indication country 'uk'
>
>     -- Registered indication country 'us'
>
>     -- Registered indication country 'us-old'
>
>     -- Registered indication country 'tw'
>
>     -- Registered indication country 've'
>
>     -- Registered indication country 'za'
>
>     -- Setting default indication country to 'us'
>
>   == Parsing '/etc/asterisk/features.conf': Found
>
>     -- Registered extension context 'parkedcalls'; registrar: features
>
>     -- Added extension '700' priority 1 to parkedcalls
>
>   == Registered application 'Bridge'
>
>   == Registered application 'ParkedCall'
>
>   == Registered application 'Park'
>
>   == Manager registered action ParkedCalls
>
>   == Manager registered action Parkinglots
>
>   == Manager registered action Park
>
>   == Manager registered action Bridge
>
>   == Registered custom function 'FEATURE'
>
>   == Registered custom function 'FEATUREMAP'
>
>   == Parsing '/etc/asterisk/enum.conf': Found
>
>   == Registered application 'CallCompletionRequest'
>
>   == Registered application 'CallCompletionCancel'
>
> [2013-01-10 14:20:10] WARNING[27062]: ccss.c:4278
> initialize_cc_max_requests: Could not find valid ccss.conf file. Using
> cc_max_requests default
>
> [2013-01-10 14:20:10] WARNING[27062]: ccss.c:4335
> initialize_cc_devstate_map: Could not find valid ccss.conf file. Using
> cc_[state]_devstate defaults
>
> Asterisk Dynamic Loader Starting:
>
>   == Parsing '/etc/asterisk/modules.conf': Found
>
> [2013-01-10 14:20:10] NOTICE[27062]: loader.c:1170 load_modules: 202
> modules will be loaded.
>
> [2013-01-10 14:20:10] WARNING[27062]: loader.c:804 inspect_module: Module
> 'res_jabber.so' was not compiled with the same compile-time options as this
> version of Asterisk.
>
> [2013-01-10 14:20:10] WARNING[27062]: loader.c:805 inspect_module: Module
> 'res_jabber.so' will not be initialized as it may cause instability.
>
> [2013-01-10 14:20:10] WARNING[27062]: loader.c:895 load_resource: Module
> 'res_jabber.so' could not be loaded.
>
>   == Parsing '/etc/asterisk/jabber.conf': Found
>
>   == Manager registered action JabberSend
>
>   == Registered application 'JabberSend'
>
>   == Registered application 'JabberSendGroup'
>
>   == Registered application 'JabberStatus'
>
>   == Registered application 'JabberJoin'
>
>   == Registered application 'JabberLeave'
>
>   == Registered custom function 'JABBER_STATUS'
>
>   == Registered custom function 'JABBER_RECEIVE'
>
>     -- Message technology handler 'xmpp' registered.
>
> res_xmpp.so => (Asterisk XMPP Interface)
>
> [2013-01-10 14:20:11] WARNING[27062]: res_stun_monitor.c:319 load_config:
> Unable to load config res_stun_monitor.conf
>
>   == Parsing '/etc/asterisk/smdi.conf': Found
>
> [2013-01-10 14:20:11] NOTICE[27062]: res_smdi.c:1418 load_module: No SMDI
> interfaces are available to listen on, not starting SMDI listener.
>
>   == Registered application 'Monitor'
>
>   == Registered application 'StopMonitor'
>
>   == Registered application 'ChangeMonitor'
>
>   == Registered application 'PauseMonitor'
>
>   == Registered application 'UnpauseMonitor'
>
>   == Manager registered action Monitor
>
>   == Manager registered action StopMonitor
>
>   == Manager registered action ChangeMonitor
>
>   == Manager registered action PauseMonitor
>
>   == Manager registered action UnpauseMonitor
>
> res_monitor.so => (Call Monitoring Resource)
>
>   == WebSocket registered sub-protocol 'echo'
>
> res_http_websocket.so => (HTTP WebSocket Support)
>
> res_crypto.so => (Cryptographic Digital Signatures)
>
> res_speech.so => (Generic Speech Recognition API)
>
>   == AGI Command 'answer' registered
>
>   == AGI Command 'asyncagi break' registered
>
>   == AGI Command 'channel status' registered
>
>   == AGI Command 'database del' registered
>
>   == AGI Command 'database deltree' registered
>
>   == AGI Command 'database get' registered
>
>   == AGI Command 'database put' registered
>
>   == AGI Command 'exec' registered
>
>   == AGI Command 'get data' registered
>
>   == AGI Command 'get full variable' registered
>
>   == AGI Command 'get option' registered
>
>   == AGI Command 'get variable' registered
>
>   == AGI Command 'hangup' registered
>
>   == AGI Command 'noop' registered
>
>   == AGI Command 'receive char' registered
>
>   == AGI Command 'receive text' registered
>
>   == AGI Command 'record file' registered
>
>   == AGI Command 'say alpha' registered
>
>   == AGI Command 'say digits' registered
>
>   == AGI Command 'say number' registered
>
>   == AGI Command 'say phonetic' registered
>
>   == AGI Command 'say date' registered
>
>   == AGI Command 'say time' registered
>
>   == AGI Command 'say datetime' registered
>
>   == AGI Command 'send image' registered
>
>   == AGI Command 'send text' registered
>
>   == AGI Command 'set autohangup' registered
>
>   == AGI Command 'set callerid' registered
>
>   == AGI Command 'set context' registered
>
>   == AGI Command 'set extension' registered
>
> Segmentation fault
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130110/130dd1d6/attachment.htm>


More information about the asterisk-users mailing list