crashed with SIGILL in juce::FileInputStream::FileInputStream()


#1

i have an app being built and packaged on travis (ubuntu 14.04 64bit) that crashes when run on ubuntu 15.10 with the only output:

Illegal instruction (core dumped)

the crash manager then pops up with some details:

Title: av-caster crashed with SIGILL in juce::FileInputStream::FileInputStream()

StacktraceTop:
 juce::FileInputStream::FileInputStream(juce::File const&) ()
 juce::File::loadFileAsString() const ()
 juce::resolveXDGFolder(char const*, char const*) ()
 juce::File::getSpecialLocation(juce::File::SpecialLocationType) ()

has anyone seen anything like this ?

the same codebase when compiled on the ubuntu 15.10 box runs correctly

 


#2

Could you try adding -march=x86-64 to your makefile?


#3

yes that worked ty - travis still chokes trying to execute the binary it creates tho - must be something peculiar with their setup - normally when launching no X i see something like "juce desktop assertion" and it exits gracefully but travis segfaults