[Home]

Summary:ASTERISK-14449: Segmentation Fault loading res_fax.so module
Reporter:Alessandro (alex70)Labels:
Date Opened:2009-07-10 03:09:26Date Closed:2009-07-10 15:05:19
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Applications/app_fax
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Few days ago I upgraded from asterisk 1.6.1 to 1.6.2.
Each time I run asterisk it crashes after having loaded res_fax.so & res_fax_digium.so
To run asterisk I have to remove those two modules from their directory and everything works properly. Obviously I cannot use Fax for Asterisk.

Please note that this did not happen with rev 1.6.1

System Configuration:
OS Version:
Linux 2.6.18-128.1.10.el5.centos.plus #1 SMP Mon May 11 07:04:55 EDT 2009 i686 i686 i386 GNU/Linux
Asterisk Build:
Asterisk/SVN-branch-1.6.2-r205731
Asterisk GUI-version : SVN-branch-2.0-r4964

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

Asterisk SVN-branch-1.6.2-r205731, Copyright (C) 1999 - 2009 Digium, Inc. and others.
Created by Mark Spencer <markster@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
Asterisk Event Logger Started /var/log/asterisk/event_log
 == Parsing '/etc/asterisk/asterisk.conf':   == Found
Asterisk Dynamic Loader Starting:
 == Parsing '/etc/asterisk/modules.conf':   == Found
 == Parsing '/etc/asterisk/dnsmgr.conf':   == Found
 == 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 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
 == Parsing '/etc/asterisk/manager.conf':   == Found
 == Parsing '/etc/asterisk/users.conf':   == Found
 == Parsing '/etc/asterisk/cdr.conf':   == Found
[Jul 10 09:49:16] NOTICE[32571]: cdr.c:1473 do_reload: CDR simple logging enabled.
 == Parsing '/etc/asterisk/rtp.conf':   == Found
 == RTP Allocating from port range 10000 -> 20000
 == Parsing '/etc/asterisk/dsp.conf':   == Found
 == Parsing '/etc/asterisk/udptl.conf':   == Found
 == UDPTL allocating from port range 4000 -> 4999
Asterisk PBX Core Initializing
Registering builtin applications:
 == Registered custom function 'EXCEPTION'
[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-o'
   -- Registered indication country 'tw'
   -- Registered indication country 've'
   -- Registered indication country 'za'
   -- Setting default indication country to 'it'
 == Registered application 'Bridge'
   -- Registered extension context 'parkedcalls' (0x97a1900) in table 0x97a1868; registrar: features
 == Parsing '/etc/asterisk/features.conf':   == Found
   -- Added extension '700' priority 1 to parkedcalls (0x97a1900)
 == Registered application 'ParkedCall'
 == Registered application 'Park'
 == Manager registered action ParkedCalls
 == Manager registered action Park
 == Manager registered action Bridge
 == Manager registered action DBGet
 == Manager registered action DBPut
 == Manager registered action DBDel
 == Manager registered action DBDelTree
 == Parsing '/etc/asterisk/enum.conf':   == Found
Asterisk Dynamic Loader Starting:
 == Parsing '/etc/asterisk/modules.conf':   == Found
[Jul 10 09:49:17] NOTICE[32571]: loader.c:1044 load_modules: 185 modules will be loaded.
 == Parsing '/etc/asterisk/res_ldap.conf':   == Found
[Jul 10 09:49:17] WARNING[32571]: res_config_ldap.c:1582 parse_config: No directory user found, anonymous binding as default.
[Jul 10 09:49:17] ERROR[32571]: res_config_ldap.c:1607 parse_config: No directory URL or host found.
[Jul 10 09:49:17] NOTICE[32571]: res_config_ldap.c:1501 load_module: Cannot load LDAP RealTime driver.
res_config_ldap.so => (LDAP realtime interface)
 == Registered custom function 'SMDI_MSG_RETRIEVE'
 == Registered custom function 'SMDI_MSG'
 == Parsing '/etc/asterisk/smdi.conf':   == Found
 == Unregistered custom function SMDI_MSG_RETRIEVE
 == Unregistered custom function SMDI_MSG
[Jul 10 09:49:17] NOTICE[32571]: res_smdi.c:1361 load_module: No SMDI interfaces are available to listen on, not starting SMDI listener.
res_speech.so => (Generic Speech Recognition API)
res_ael_share.so => (share-able code for AEL)
 == 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)
[Jul 10 09:49:17] NOTICE[32571]: res_fax.c:1693 load_module: Generic FAX application module version 1.6.1_1.0.8, Copyright (C) 2008-2009 Digium, Inc.
[Jul 10 09:49:17] NOTICE[32571]: res_fax.c:1696 load_module: This module is supplied under a commercial license granted by Digium, Inc.
[Jul 10 09:49:17] NOTICE[32571]: res_fax.c:1697 load_module: Please see the full license text supplied by the accompanying
[Jul 10 09:49:17] NOTICE[32571]: res_fax.c:1698 load_module: "register" utility, or ask for a copy from Digium.
 == Parsing '/etc/asterisk/res_fax.conf':   == Found
 == Registered application 'SendFAX'
 == Registered application 'ReceiveFAX'
Segmentation fault
Comments:By: Mark Michelson (mmichelson) 2009-07-10 15:05:18

The issue you are reporting, while valid, doesn't belong on this bug tracker since the issue is with a commercial Digium-distributed module and not part of the widely-distributed Open Source Asterisk code. You should either call or e-mail Digium technical support with this issue so that it may be addressed.

Sorry for the inconvenience.