[Home]

Summary:ASTERISK-17698: Astrisk crash when started: Program terminated with signal 11, Segmentation fault.
Reporter:June (cptreptile)Labels:
Date Opened:2011-04-15 17:34:29Date Closed:2011-06-07 14:01:01
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:General
Versions:1.8.3 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
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.
#0  0x00002b17ff18ce0a in strncmp () from /lib64/libc.so.6
#0  0x00002b17ff18ce0a in strncmp () from /lib64/libc.so.6
No symbol table info available.

Comments:By: Leif Madsen (lmadsen) 2011-04-18 17:04:57

<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

By: Paul Belanger (pabelanger) 2011-04-25 21:26:01

Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested.

Further information can be found at http://www.asterisk.org/developers/bug-guidelines