Linux crash on start


#1

I followed the manuals on http://docs.bsframework.io/latest/build.html
however the compile was successfull but when i start it on my linux - Manjaro, i received this error

 ~/Downloads/bsf_v1.1.0b_linux/bin/Data  ./myApp 
[ERROR] A fatal error occurred and the program has to terminate!
  - Error: Illegal instruction
  - Description: Received fatal signal
  - In function: 
  - In file: :0

Stack trace: 
0) /home/tngksygjhn/Downloads/bsf_v1.1.0b_linux/lib/libbsf.so.1: bs::CrashHandler::getStackTrace[abi:cxx11]()+0x1c5 [0x7f03f672aef5]
1) /home/tngksygjhn/Downloads/bsf_v1.1.0b_linux/lib/libbsf.so.1: bs::CrashHandler::logErrorAndStackTrace(std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, unsigned int) const+0x34e [0x7f03f670e90e]
2) /home/tngksygjhn/Downloads/bsf_v1.1.0b_linux/lib/libbsf.so.1: bs::CrashHandler::reportCrash(std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, bs::StdAlloc<char, bs::GenAlloc> > const&, unsigned int) const+0x9 [0x7f03f672aad9]
3) /home/tngksygjhn/Downloads/bsf_v1.1.0b_linux/lib/libbsf.so.1: bs::signalHandler(int, siginfo_t*, void*)+0x136 [0x7f03f672b676]
4) /usr/lib/libc.so.6: +0x37e00 [0x7f03f5d65e00]
5) /home/tngksygjhn/Downloads/bsf_v1.1.0b_linux/lib/libbsf.so.1: bs::PlatformUtility::generateUUID()+0x14 [0x7f03f672c684]
6) /home/tngksygjhn/Downloads/bsf_v1.1.0b_linux/lib/libbsf.so.1: bs::Resources::_createResourceHandle(std::shared_ptr<bs::Resource> const&)+0x16 [0x7f03f68ae696]
7) /home/tngksygjhn/Downloads/bsf_v1.1.0b_linux/lib/libbsf.so.1: bs::Mesh::create(std::shared_ptr<bs::MeshData> const&, int, bs::DrawOperationType)+0x13a [0x7f03f6ac93fa]
8) /home/tngksygjhn/Downloads/bsf_v1.1.0b_linux/lib/libbsf.so.1: bs::MeshManager::onStartUp()+0x1ff [0x7f03f6a8bb8f]
9) /home/tngksygjhn/Downloads/bsf_v1.1.0b_linux/lib/libbsf.so.1: bs::CoreApplication::onStartUp()+0xbe7 [0x7f03f69cc2d7]
10) /home/tngksygjhn/Downloads/bsf_v1.1.0b_linux/lib/libbsf.so.1: bs::Application::onStartUp()+0x19 [0x7f03f6c4bed9]
11) ./myApp: +0x2ff3 [0x5591e08a4ff3]
12) ./myApp: +0x2805 [0x5591e08a4805]
13) ./myApp: +0x22dc [0x5591e08a42dc]
14) /usr/lib/libc.so.6: __libc_start_main+0xf3 [0x7f03f5d52223]
15) ./myApp: +0x218e [0x5591e08a418e]

The window appear but suddenly close, it is normal? or did i miss something?


#2

Did you follow the Link with source part of the manual? This should be preferred approach on Linux, as our precompiled dependencies are compiled on Ubuntu and might not be compatible with other distros without recompiling.