[asterisk-bugs] [Asterisk 0019126]: Astrisk crash when started: Program terminated with signal 11, Segmentation fault.

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Apr 18 17:04:57 CDT 2011


The following issue requires your FEEDBACK. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19126 
====================================================================== 
Reported By:                cptreptile
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   19126
Category:                   General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.8.3.2 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-04-15 17:34 CDT
Last Modified:              2011-04-18 17:04 CDT
====================================================================== 
Summary:                    Astrisk crash when started: Program terminated with
signal 11, Segmentation fault.
Description: 
I'm using CentOS release 5.6 (Final) x86_64 Linux 2.6.18-028stab070.14
on VPS Parallels container.

I have installed astrisk succefully (at least thats what it told me)
however when starting it using:
asterisk  -gcvvvvv
i get: Segmentation fault (core dumped)

on service astrisk start
i get:

/usr/sbin/safe_asterisk: line 151: /dev/tty9: Permission denied
/usr/sbin/safe_asterisk: line 152: /dev/tty9: Permission denied
Asterisk ended with exit status 1
Asterisk died with code 1.
Automatically restarting Asterisk.

when i comment # tty9 and try again i get

/usr/sbin/safe_asterisk: line 146: 11617 Segmentation fault      nice -n
$PRIORITY ${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS}
Asterisk ended with exit status 139
Asterisk exited on signal 11.
Automatically restarting Asterisk.

backtrace.txt first lines..

[New Thread 8068]
[New Thread 8067]
[New Thread 8064]
Core was generated by `asterisk -gcvvvvv'.
Program terminated with signal 11, Segmentation fault.
https://issues.asterisk.org/view.php?id=0  0x00002b17ff18ce0a in strncmp () from
/lib64/libc.so.6
https://issues.asterisk.org/view.php?id=0  0x00002b17ff18ce0a in strncmp () from
/lib64/libc.so.6
No symbol table info available.

 
====================================================================== 

---------------------------------------------------------------------- 
 (0133895) lmadsen (administrator) - 2011-04-18 17:04
 https://issues.asterisk.org/view.php?id=19126#c133895 
---------------------------------------------------------------------- 
<Marquis42> leifmadsen: They're either trying to run asterisk as non-root
but aren't set up properly to do so or they have SELinux set to enforcing. 
At least, that's my take.


This is my belief as well. Additionally, in order to provide a proper
backtrace please follow the instructions here:
https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-04-18 17:04 lmadsen        Note Added: 0133895                          
2011-04-18 17:04 lmadsen        Status                   new => feedback     
======================================================================




More information about the asterisk-bugs mailing list