[asterisk-users] Trap invalide opcode error

Grant Bagdasarian GB at cm.nl
Thu Oct 31 03:43:30 CDT 2013


Hello,

Using Ubuntu Server 12.04 and Asterisk 11.2.1.

I'm getting the following error when trying to start asterisk:
(Syslog) kernel: [ 1032.713864] asterisk[26918] trap invalid opcode ip:7fc272923076 sp:7fff928cf1b0 error:0 in codec_ilbc.so[7fc272921000+e000]

We were running Asterisk on a physical box, but moved it to a virtual environment. That went fine. Asterisk started normally and calls were also processed like usual.
Then we moved Asterisk to a new virtual environment. That's when we starting getting this error.

The first VM was ESXi (Free version). The second VM was again ESXi (but the licensed version). We used the VMWare converter to migrate from the Free to the Licensed environment.

After we moved Asterisk from the first to the second VM and tried starting it, we got the following message:

root at Asterisk01:~# service asterisk start
* Starting Asterisk PBX: asterisk
Illegal instruction (core dumped)

I recompiled Asterisk and tried again. Now I just get:
root at Asterisk01:~# service asterisk start
* Starting Asterisk PBX: asterisk

But during the compiling of asterisk I got these messages:
../src/pj/os_core_unix.c: In function âpj_thread_registerâ:
../src/pj/os_core_unix.c:394:10: warning: variable âstack_ptrâ set but not used [-Wunused-but-set-variable]
../src/pj/ssl_sock_ossl.c: In function âcreate_sslâ:
../src/pj/ssl_sock_ossl.c:605:5: warning: value computed is not used [-Wunused-value]
../src/pj/ssl_sock_ossl.c:606:5: warning: value computed is not used [-Wunused-value]
../src/pj/ssl_sock_ossl.c: In function âflush_write_bioâ:
../src/pj/ssl_sock_ossl.c:1148:5: warning: value computed is not used [-Wunused-value]
r - output/pjlib-x86_64-unknown-linux-gnu/ioqueue_select.o
r - output/pjlib-x86_64-unknown-linux-gnu/file_access_unistd.o
r - output/pjlib-x86_64-unknown-linux-gnu/file_io_ansi.o
r - output/pjlib-x86_64-unknown-linux-gnu/os_core_unix.o
r - output/pjlib-x86_64-unknown-linux-gnu/os_error_unix.o
r - output/pjlib-x86_64-unknown-linux-gnu/os_time_unix.o
r - output/pjlib-x86_64-unknown-linux-gnu/os_timestamp_posix.o
r - output/pjlib-x86_64-unknown-linux-gnu/guid_simple.o
r - output/pjlib-x86_64-unknown-linux-gnu/addr_resolv_sock.o
r - output/pjlib-x86_64-unknown-linux-gnu/log_writer_stdout.o
r - output/pjlib-x86_64-unknown-linux-gnu/os_timestamp_common.o
r - output/pjlib-x86_64-unknown-linux-gnu/pool_policy_malloc.o
r - output/pjlib-x86_64-unknown-linux-gnu/sock_bsd.o
r - output/pjlib-x86_64-unknown-linux-gnu/sock_select.o
r - output/pjlib-x86_64-unknown-linux-gnu/activesock.o
r - output/pjlib-x86_64-unknown-linux-gnu/array.o
r - output/pjlib-x86_64-unknown-linux-gnu/config.o
r - output/pjlib-x86_64-unknown-linux-gnu/ctype.o
r - output/pjlib-x86_64-unknown-linux-gnu/errno.o
r - output/pjlib-x86_64-unknown-linux-gnu/except.o
r - output/pjlib-x86_64-unknown-linux-gnu/fifobuf.o
r - output/pjlib-x86_64-unknown-linux-gnu/guid.o
r - output/pjlib-x86_64-unknown-linux-gnu/hash.o
r - output/pjlib-x86_64-unknown-linux-gnu/ip_helper_generic.o
r - output/pjlib-x86_64-unknown-linux-gnu/list.o
r - output/pjlib-x86_64-unknown-linux-gnu/lock.o
r - output/pjlib-x86_64-unknown-linux-gnu/log.o
r - output/pjlib-x86_64-unknown-linux-gnu/os_time_common.o
r - output/pjlib-x86_64-unknown-linux-gnu/os_info.o
r - output/pjlib-x86_64-unknown-linux-gnu/pool.o
r - output/pjlib-x86_64-unknown-linux-gnu/pool_buf.o
r - output/pjlib-x86_64-unknown-linux-gnu/pool_caching.o
r - output/pjlib-x86_64-unknown-linux-gnu/pool_dbg.o
r - output/pjlib-x86_64-unknown-linux-gnu/rand.o
r - output/pjlib-x86_64-unknown-linux-gnu/rbtree.o
r - output/pjlib-x86_64-unknown-linux-gnu/sock_common.o
r - output/pjlib-x86_64-unknown-linux-gnu/sock_qos_common.o
r - output/pjlib-x86_64-unknown-linux-gnu/sock_qos_bsd.o
r - output/pjlib-x86_64-unknown-linux-gnu/ssl_sock_common.o
r - output/pjlib-x86_64-unknown-linux-gnu/ssl_sock_ossl.o
r - output/pjlib-x86_64-unknown-linux-gnu/ssl_sock_dump.o
r - output/pjlib-x86_64-unknown-linux-gnu/string.o
r - output/pjlib-x86_64-unknown-linux-gnu/timer.o
r - output/pjlib-x86_64-unknown-linux-gnu/types.o
../src/pjlib-test/activesock.c: In function âudp_echo_srv_createâ:
../src/pjlib-test/activesock.c:104:9: warning: variable âaddr_lenâ set but not used [-Wunused-but-set-variable]
../src/pjlib-test/test.c: In function âtest_mainâ:
../src/pjlib-test/test.c:218:9: warning: variable âiâ set but not used [-Wunused-but-set-variable]
../src/pjlib-test/thread.c: In function âthread_procâ:
../src/pjlib-test/thread.c:76:14: warning: variable âidâ set but not used [-Wunused-but-set-variable]
../src/pjlib-util/dns.c: In function âpj_dns_make_queryâ:
../src/pjlib-util/dns.c:62:17: warning: variable âqueryâ set but not used [-Wunused-but-set-variable]
r - output/pjlib-util-x86_64-unknown-linux-gnu/base64.o
r - output/pjlib-util-x86_64-unknown-linux-gnu/crc32.o
r - output/pjlib-util-x86_64-unknown-linux-gnu/errno.o
r - output/pjlib-util-x86_64-unknown-linux-gnu/dns.o
r - output/pjlib-util-x86_64-unknown-linux-gnu/dns_dump.o
r - output/pjlib-util-x86_64-unknown-linux-gnu/dns_server.o
r - output/pjlib-util-x86_64-unknown-linux-gnu/getopt.o
r - output/pjlib-util-x86_64-unknown-linux-gnu/hmac_md5.o
r - output/pjlib-util-x86_64-unknown-linux-gnu/hmac_sha1.o
r - output/pjlib-util-x86_64-unknown-linux-gnu/http_client.o
r - output/pjlib-util-x86_64-unknown-linux-gnu/md5.o
r - output/pjlib-util-x86_64-unknown-linux-gnu/pcap.o
r - output/pjlib-util-x86_64-unknown-linux-gnu/resolver.o
r - output/pjlib-util-x86_64-unknown-linux-gnu/scanner.o
r - output/pjlib-util-x86_64-unknown-linux-gnu/sha1.o
r - output/pjlib-util-x86_64-unknown-linux-gnu/srv_resolver.o
r - output/pjlib-util-x86_64-unknown-linux-gnu/string.o
r - output/pjlib-util-x86_64-unknown-linux-gnu/stun_simple.o
r - output/pjlib-util-x86_64-unknown-linux-gnu/stun_simple_client.o
r - output/pjlib-util-x86_64-unknown-linux-gnu/xml.o
../src/pjnath/ice_strans.c: In function âpj_ice_strans_sendtoâ:
../src/pjnath/ice_strans.c:1167:16: warning: variable âpkt_sizeâ set but not used [-Wunused-but-set-variable]
../src/pjnath/stun_msg.c: In function âpj_stun_msg_decodeâ:
../src/pjnath/stun_msg.c:2303:14: warning: variable âuattr_cntâ set but not used [-Wunused-but-set-variable]
../src/pjnath/stun_session.c: In function âpj_stun_session_set_lockâ:
../src/pjnath/stun_session.c:594:15: warning: variable âold_delâ set but not used [-Wunused-but-set-variable]
../src/pjnath/stun_sock.c: In function âdns_srv_resolver_cbâ:
../src/pjnath/stun_sock.c:473:1: warning: label âTODO___SUPPORT_IPV6_IN_RESOLVERâ defined but not used [-Wunused-label]
r - output/pjnath-x86_64-unknown-linux-gnu/errno.o
r - output/pjnath-x86_64-unknown-linux-gnu/ice_session.o
r - output/pjnath-x86_64-unknown-linux-gnu/ice_strans.o
r - output/pjnath-x86_64-unknown-linux-gnu/nat_detect.o
r - output/pjnath-x86_64-unknown-linux-gnu/stun_auth.o
r - output/pjnath-x86_64-unknown-linux-gnu/stun_msg.o
r - output/pjnath-x86_64-unknown-linux-gnu/stun_msg_dump.o
r - output/pjnath-x86_64-unknown-linux-gnu/stun_session.o
r - output/pjnath-x86_64-unknown-linux-gnu/stun_sock.o
r - output/pjnath-x86_64-unknown-linux-gnu/stun_transaction.o
r - output/pjnath-x86_64-unknown-linux-gnu/turn_session.o
r - output/pjnath-x86_64-unknown-linux-gnu/turn_sock.o
../src/pjturn-srv/allocation.c: In function âsend_allocate_responseâ:
../src/pjturn-srv/allocation.c:218:1: warning: label âTODO___ADD_RESERVATION_TOKENâ defined but not used [-Wunused-label]
../src/pjturn-srv/allocation.c: In function âstun_on_rx_requestâ:
../src/pjturn-srv/allocation.c:1169:26: warning: variable âbandwidthâ set but not used [-Wunused-but-set-variable]
../src/pjturn-srv/server.c: In function âon_rx_stun_requestâ:
../src/pjturn-srv/server.c:524:18: warning: variable âsrvâ set but not used [-Wunused-but-set-variable]

Any idea how to fix this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20131031/9bacfbe6/attachment.html>


More information about the asterisk-users mailing list