[asterisk-bugs] [JIRA] (ASTERISK-25354) Unable to compile any version
Private Name (JIRA)
noreply at issues.asterisk.org
Thu Oct 8 18:06:32 CDT 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-25354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=227829#comment-227829 ]
Private Name commented on ASTERISK-25354:
-----------------------------------------
The issue of the handle leak remains identical in Asterisk GIT-11-966265dM
I have an application that plays IVRs and dials out, only a few calls, waits for DTMF,etc.
The calls are always almost exactly 1300 calls
core show channels count
1292 active channels
1284 active calls
core show uptime
System uptime: 2 hours, 29 minutes, 32 seconds
Last reload: 1 hour, 27 minutes, 20 seconds
The operating system shows
ss -s
Total: 29574 (kernel 30296)
TCP: 28 (estab 9, closed 0, orphaned 0, synrecv 0, timewait 0/0), ports 22
Transport Total IP IPv6
* 30296 - -
RAW 0 0 0
UDP 29441 29433 8
TCP 28 20 8
INET 29469 29453 16
FRAG 0 0 0
And it keeps growing until no more ports can be open, and the app needs to be restarted, which may happen again in 3 hours.
This app cannot be debugged because there are too many calls per second and it is in production.
However, if there is anything I may do to get to the bottom of this, let me know.
core show settings
PBX Core settings
-----------------
Version: GIT-11-966265dM
Build Options: AST_DEVMODE, LOADABLE_MODULES, G711_NEW_ALGORITHM, G711_REDUCED_BRANCHING
Maximum calls: Not set
Maximum open file handles: Not set
Root console verbosity: 0
Current console verbosity: 0
Debug level: 0
Maximum load average: 0.000000
Minimum free memory: 0 MB
Startup time: 16:27:47
Last reload time: 17:30:00
System: Linux/2.6.32-573.3.1.el6.x86_64 built by root on x86_64 2015-10-08 19:31:32 UTC
System name: X2
Entity ID: 00:50:56:b1:24:65
Default language: en
Language prefix: Enabled
User name and group: /
Executable includes: Disabled
Transcode via SLIN: Enabled
Transmit silence during rec: Disabled
Generic PLC: Enabled
Min DTMF duration:: 80
* Subsystems
-------------
Manager (AMI): Enabled
Web Manager (AMI/HTTP): Disabled
Call data records: Enabled
Realtime Architecture (ARA): Disabled
* Directories
-------------
Configuration file:
Configuration directory: /etc/asterisk
Module directory: /usr/lib/asterisk/modules
Spool directory: /var/spool/asterisk
Log directory: /var/log/asterisk
Run/Sockets directory: /var/run/asterisk
PID file: /var/run/asterisk/asterisk.pid
VarLib directory: /var/lib/asterisk
Data directory: /var/lib/asterisk
ASTDB: /var/lib/asterisk/astdb
IAX2 Keys directory: /var/lib/asterisk/keys
AGI Scripts directory: /var/lib/asterisk/agi-bin
> Unable to compile any version
> -----------------------------
>
> Key: ASTERISK-25354
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-25354
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Features
> Affects Versions: 11.19.0
> Environment: Fedora Core 22
> Reporter: Private Name
> Assignee: Unassigned
> Attachments: backtrace.txt
>
>
> I get a buhch of errors when compiling. Same errors in version 12 and 1.8
> The errors come in different components.
> I download Asterisk like this:
> svn co http://svn.digium.com/svn/asterisk/branches/11 asterisk
> gcc --version
> gcc (GCC) 5.1.1 20150618 (Red Hat 5.1.1-4)
> cat /etc/issue
> Fedora release 22 (Twenty Two)
> Kernel \r on an \m (\l)
> After downloading I see>
> Checked out external at revision 469.
> Checked out revision 1207.
> Checked out revision 434725.
> features.c: In function 'feature_interpret':
> features.c:3729:53: error: 'features.flags' may be used uninitialized in this function [-Werror=maybe-uninitialized]
> ast_copy_flags(&features, &(config->features_caller), AST_FLAGS_ALL);
> ^
> features.c:3733:53: error: 'features.flags' may be used uninitialized in this function [-Werror=maybe-uninitialized]
> ast_copy_flags(&features, &(config->features_callee), AST_FLAGS_ALL);
> ^
> features.c:3725:19: note: 'features' was declared here
> struct ast_flags features;
> ^
> cc1: all warnings being treated as errors
> /usr/src/asterisk/Makefile.rules:103: recipe for target 'features.o' failed
> make[1]: *** [features.o] Error 1
> Makefile:387: recipe for target 'main' failed
> make: *** [main] Error 2
> CC="gcc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts
> make[1]: Entering directory '/usr/src/asterisk/menuselect'
> make[1]: 'makeopts' is up to date.
> make[1]: Leaving directory '/usr/src/asterisk/menuselect'
> [CCi] features.i -> features.o
> features.c: In function 'feature_interpret':
> features.c:3729:53: error: 'features.flags' may be used uninitialized in this function [-Werror=maybe-uninitialized]
> ast_copy_flags(&features, &(config->features_caller), AST_FLAGS_ALL);
> ^
> features.c:3733:53: error: 'features.flags' may be used uninitialized in this function [-Werror=maybe-uninitialized]
> ast_copy_flags(&features, &(config->features_callee), AST_FLAGS_ALL);
> ^
> features.c:3725:19: note: 'features' was declared here
> struct ast_flags features;
> ^
> cc1: all warnings being treated as errors
> /usr/src/asterisk/Makefile.rules:103: recipe for target 'features.o' failed
> make[1]: *** [features.o] Error 1
> Makefile:387: recipe for target 'main' failed
> make: *** [main] Error 2
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list