[asterisk-bugs] [JIRA] (ASTERISK-29788) symbol lookup and trap invalid opcode errors with migrated VM

JoshV (JIRA) noreply at issues.asterisk.org
Sat Dec 4 15:42:34 CST 2021


JoshV created ASTERISK-29788:
--------------------------------

             Summary: symbol lookup and trap invalid opcode errors with migrated VM
                 Key: ASTERISK-29788
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29788
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: .Release/Targets
    Affects Versions: 13.38.1
         Environment: Debian 10, 64bit, on vultr.com
            Reporter: JoshV


Recently, my Asterisk application started crashing. Process would not launch on SIP Invites and could not even launch console. I was getting the following errors and the like: 

asterisk symbol lookup error: undefined symbol: 
kernel: [1388.62997]  asterisk [811] trap invalid opcode..error: 0 in asterisk..

After much digging, I learned that my VPS provider migrated the virtual machine to another host live. I rebooted many times and nothing. I restored from older version and nothing. I finally asked provider to migrate back to original/same architecture and it worked.

I then realized that Asterisk may have been compiled using CPU optimization. What are my options now? Is there a way to re-compile? I found the following switch: 

menuselect/menuselect --disable BUILD_NATIVE menuselect.makeopts

Is this the only thing I should be looking at moving forward? Or should I rebuild a new VPS from scratch? I prefer to rebuild in place but I want to make sure it's resilient with live migrations. Thank you. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list