Why are many Google Play crash reports still obfuscated? - google-play-console

An Android app's package is submitted together with its mapping.txt. Some crash reports from Google Play are perfectly deobfuscated. However many reports' backtraces are not.
For example, I have to look up "net.my.android.foo.j2.V0" in mapping.txt for the following backtrace to find out it is a variable of a class. I have tried Google's Retrace tool but it does not do anything.
Could anyone shed some light on this? Is there an easy way to deobfuscate backtraces reported by Google Play without resorting to search mapping.txt?
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> net.my.app <<<
backtrace:
#00 pc 0000000000089cd0 /apex/com.android.runtime/lib64/bionic/libc.so (abort+164)
#00 pc 00000000005666fc /apex/com.android.art/lib64/libart.so (art::Runtime::Abort(char const*)+2308)
#00 pc 0000000000013978 /system/lib64/libbase.so (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_3::__invoke(char const*)+76)
#00 pc 0000000000006e18 /system/lib64/liblog.so (__android_log_assert+336)
#00 pc 0000000000041f38 /system/lib64/libmedia_jni.so (android::JMediaCodec::configure(android::sp<android::AMessage> const&, android::sp<android::IGraphicBufferProducer> const&, android::sp<android::ICrypto> const&, android::sp<android::hardware::cas::native::V1_0::IDescrambler> const&, int)+488)
#00 pc 0000000000045950 /system/lib64/libmedia_jni.so (android_media_MediaCodec_native_configure(_JNIEnv*, _jobject*, _jobjectArray*, _jobjectArray*, _jobject*, _jobject*, _jobject*, int)+588)
#00 pc 0000000000253330 /system/framework/arm64/boot-framework.oat (art_jni_trampoline+272)
#00 pc 0000000000676820 /system/framework/arm64/boot-framework.oat (android.media.MediaCodec.configure+1472)
#00 pc 0000000000677484 /system/framework/arm64/boot-framework.oat (android.media.MediaCodec.configure+68)
#00 pc 0000000000134564 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548)
#00 pc 00000000001a9a78 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200)
#00 pc 0000000000321270 /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+376)
#00 pc 000000000031759c /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+996)
#00 pc 00000000006862ac /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+848)
#00 pc 000000000012e814 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20)
#00 pc 0000000000387178 [anon:dalvik-classes.dex (net.my.android.b1.a+56)
#00 pc 000000000068654c /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520)
#00 pc 000000000012e814 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20)
#00 pc 00000000003b59b0 [anon:dalvik-classes.dex (net.my.android.foo.j2.o0+4556)
#00 pc 000000000068654c /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520)
#00 pc 000000000012e814 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20)
#00 pc 00000000003b061e [anon:dalvik-classes.dex (net.my.android.foo.j2.I+126)
#00 pc 000000000068bee0 /apex/com.android.art/lib64/libart.so (MterpInvokeDirectRange+852)
#00 pc 000000000012ec14 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_direct_range+20)
#00 pc 00000000003b28e2 [anon:dalvik-classes.dex (net.my.android.foo.j2.K+3022)
#00 pc 0000000000688bc8 /apex/com.android.art/lib64/libart.so (MterpInvokeDirect+1248)
#00 pc 000000000012e914 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_direct+20)
#00 pc 00000000003bd5d2 [anon:dalvik-classes.dex (net.my.android.foo.j2.V0+4102)
#00 pc 000000000030eb98 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.17742042824686272710)+268)
#00 pc 0000000000674d30 /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+780)
#00 pc 000000000013dff8 /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88)
#00 pc 00000000020edc08 /memfd:jit-cache (net.my.android.foo.j2.H+1624)
#00 pc 0000000000134564 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548)
#00 pc 00000000001a9a78 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200)
#00 pc 0000000000321270 /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+376)
#00 pc 000000000031759c /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+996)
#00 pc 0000000000688928 /apex/com.android.art/lib64/libart.so (MterpInvokeDirect+576)
#00 pc 000000000012e914 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_direct+20)
#00 pc 00000000003bf802 [anon:dalvik-classes.dex (net.my.android.foo.j2.l1+1650)
#00 pc 0000000000688bc8 /apex/com.android.art/lib64/libart.so (MterpInvokeDirect+1248)
#00 pc 000000000012e914 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_direct+20)
#00 pc 00000000003b64fa [anon:dalvik-classes.dex (net.my.android.foo.j2.x0+658)
#00 pc 0000000000688bc8 /apex/com.android.art/lib64/libart.so (MterpInvokeDirect+1248)
#00 pc 000000000012e914 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_direct+20)
#00 pc 00000000003ae224 [anon:dalvik-classes.dex (net.my.android.foo.j2.r)
#00 pc 00000000006894a8 /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+1224)
#00 pc 000000000012e994 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+20)
#00 pc 00000000003aba4c [anon:dalvik-classes.dex (net.my.android.foo.e2.run+4)
#00 pc 000000000030eb98 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.17742042824686272710)+268)
#00 pc 0000000000674d30 /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+780)
#00 pc 000000000013dff8 /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88)
#00 pc 000000000015ce98 /apex/com.android.art/javalib/arm64/boot.oat (java.lang.Thread.run+72)
#00 pc 0000000000134564 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548)
#00 pc 00000000001a9a78 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200)
#00 pc 000000000055e24c /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*)+460)
#00 pc 00000000005ada10 /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+1308)
#00 pc 00000000000eb7a8 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
#00 pc 000000000008bc8c /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

Related

Cannot install jekyll (eventmachine) on m1 mac

I'm a real newbie to iOS development and wanna make a new GitHub blog.
I'm following How to install jekyll on Apple M1 Macbook as a reference.
And I've tried installing Jekyll on my M1 Pro Macbook (macOS Monterey 12.6) but it fails when installing Bundler and Jekyll with gem install --user-install bundler jekyll (output below).
I already read articles from many bloggers who finally succeeded. How can I solve this problem? Please somebody help me!
[eric#~/blog/hyleedevelop.github.io]$ gem install --user-install bundler jekyll
Successfully installed bundler-2.3.24
Parsing documentation for bundler-2.3.24
Done installing documentation for bundler after 0 seconds
Building native extensions. This could take a while...
ERROR: Error installing jekyll:
ERROR: Failed to build gem native extension.
current directory: /Users/eric/.gem/ruby/3.0.0/gems/eventmachine-1.2.7/ext
/Users/eric/.rbenv/versions/3.0.0/bin/ruby -I /Users/eric/.rbenv/versions/3.0.0/lib/ruby/3.0.0 -r ./siteconf20221026-8644-6ak8a4.rb extconf.rb
checking for -lcrypto... no
checking for openssl/ssl.h... yes
checking for openssl/err.h... yes
checking for rb_trap_immediate in ruby.h,rubysig.h... no
checking for rb_thread_blocking_region()... no
checking for rb_thread_call_without_gvl() in ruby/thread.h... yes
checking for rb_thread_fd_select()... yes
checking for rb_fdset_t in ruby/intern.h... yes
checking for rb_wait_for_single_fd()... yes
checking for rb_enable_interrupt()... no
checking for rb_time_new()... yes
checking for inotify_init() in sys/inotify.h... no
checking for __NR_inotify_init in sys/syscall.h... no
checking for writev() in sys/uio.h... yes
checking for pipe2() in unistd.h... no
checking for accept4() in sys/socket.h... no
checking for SOCK_CLOEXEC in sys/socket.h... no
checking for sys/event.h... yes
checking for sys/queue.h... yes
checking for clock_gettime()... yes
checking for CLOCK_MONOTONIC_RAW in time.h... yes
checking for CLOCK_MONOTONIC in time.h... yes
CXXFLAGS= -Wall -Wextra -Wno-deprecated-declarations -Wno-ignored-qualifiers -Wno-unused-result -Wno-address
creating Makefile
current directory: /Users/eric/.gem/ruby/3.0.0/gems/eventmachine-1.2.7/ext
make "DESTDIR=" clean
current directory: /Users/eric/.gem/ruby/3.0.0/gems/eventmachine-1.2.7/ext
make "DESTDIR="
compiling binder.cpp
compiling cmain.cpp
compiling ed.cpp
compiling em.cpp
compiling kb.cpp
compiling page.cpp
compiling pipe.cpp
compiling rubymain.cpp
rubymain.cpp:220:3: warning: 'rb_rescue' is deprecated: Use of ANYARGS in this function is deprecated [-Wdeprecated-declarations]
rb_rescue((VALUE (*)(ANYARGS))event_callback, (VALUE)&e, (VALUE (*)(ANYARGS))event_error_handler, Qnil);
^
/Users/eric/.rbenv/versions/3.0.0/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp:244:1: note: 'rb_rescue' has been explicitly marked deprecated here
RUBY_CXX_DEPRECATED("Use of ANYARGS in this function is deprecated")
^
/Users/eric/.rbenv/versions/3.0.0/include/ruby-3.0.0/ruby/backward/2/attributes.h:79:35: note: expanded from macro 'RUBY_CXX_DEPRECATED'
#define RUBY_CXX_DEPRECATED(mseg) RBIMPL_ATTR_DEPRECATED((mseg))
^
/Users/eric/.rbenv/versions/3.0.0/include/ruby-3.0.0/ruby/internal/attr/deprecated.h:32:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED'
# define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg))
^
1 warning generated.
compiling ssl.cpp
linking shared-object rubyeventmachine.bundle
Undefined symbols for architecture arm64:
"_BIO_ctrl", referenced from:
t_get_peer_cert(unsigned long, unsigned long) in rubymain.o
_ssl_verify_wrapper in ssl.o
SslBox_t::CanGetCiphertext() in ssl.o
SslBox_t::PutPlaintext(char const*, int) in ssl.o
"_BIO_free", referenced from:
t_get_peer_cert(unsigned long, unsigned long) in rubymain.o
SslContext_t::SslContext_t(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) in ssl.o
InitializeDefaultCredentials() in ssl.o
_ssl_verify_wrapper in ssl.o
"_BIO_new", referenced from:
t_get_peer_cert(unsigned long, unsigned long) in rubymain.o
SslBox_t::SslBox_t(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, unsigned long) in ssl.o
_ssl_verify_wrapper in ssl.o
"_BIO_new_file", referenced from:
SslContext_t::SslContext_t(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) in ssl.o
"_BIO_new_mem_buf", referenced from:
InitializeDefaultCredentials() in ssl.o
"_BIO_read", referenced from:
SslBox_t::GetCiphertext(char*, int) in ssl.o
"_BIO_s_mem", referenced from:
t_get_peer_cert(unsigned long, unsigned long) in rubymain.o
SslBox_t::SslBox_t(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, unsigned long) in ssl.o
_ssl_verify_wrapper in ssl.o
"_BIO_write", referenced from:
_ssl_verify_wrapper in ssl.o
SslBox_t::PutCiphertext(char const*, int) in ssl.o
"_DH_free", referenced from:
SslContext_t::SslContext_t(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) in ssl.o
"_EC_KEY_free", referenced from:
SslContext_t::SslContext_t(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) in ssl.o
"_EC_KEY_new_by_curve_name", referenced from:
SslContext_t::SslContext_t(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) in ssl.o
"_ERR_print_errors_fp", referenced from:
SslContext_t::SslContext_t(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) in ssl.o
SslBox_t::SslBox_t(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, unsigned long) in ssl.o
SslBox_t::GetPlaintext(char*, int) in ssl.o
"_EVP_PKEY_free", referenced from:
InitializeDefaultCredentials() in ssl.o
SslContext_t::~SslContext_t() in ssl.o
"_OBJ_sn2nid", referenced from:
SslContext_t::SslContext_t(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) in ssl.o
"_OPENSSL_init_crypto", referenced from:
SslContext_t::SslContext_t(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) in ssl.o
"_OPENSSL_init_ssl", referenced from:
SslContext_t::SslContext_t(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) in ssl.o
"_PEM_read_bio_DHparams", referenced from:
SslContext_t::SslContext_t(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) in ssl.o
"_PEM_read_bio_PrivateKey", referenced from:
InitializeDefaultCredentials() in ssl.o
"_PEM_read_bio_X509", referenced from:
InitializeDefaultCredentials() in ssl.o
"_PEM_write_bio_X509", referenced from:
t_get_peer_cert(unsigned long, unsigned long) in rubymain.o
_ssl_verify_wrapper in ssl.o
"_SSL_CIPHER_get_bits", referenced from:
SslBox_t::GetCipherBits() in ssl.o
"_SSL_CIPHER_get_name", referenced from:
SslBox_t::GetCipherName() in ssl.o
"_SSL_CIPHER_get_version", referenced from:
SslBox_t::GetCipherProtocol() in ssl.o
"_SSL_CTX_ctrl", referenced from:
SslContext_t::SslContext_t(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) in ssl.o
"_SSL_CTX_free", referenced from:
SslContext_t::~SslContext_t() in ssl.o
"_SSL_CTX_new", referenced from:
SslContext_t::SslContext_t(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) in ssl.o
"_SSL_CTX_set_cipher_list", referenced from:
SslContext_t::SslContext_t(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) in ssl.o
"_SSL_CTX_set_options", referenced from:
SslContext_t::SslContext_t(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) in ssl.o
"_SSL_CTX_set_session_id_context", referenced from:
SslContext_t::SslContext_t(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) in ssl.o
"_SSL_CTX_use_PrivateKey", referenced from:
SslContext_t::SslContext_t(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) in ssl.o
"_SSL_CTX_use_PrivateKey_file", referenced from:
SslContext_t::SslContext_t(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) in ssl.o
"_SSL_CTX_use_certificate", referenced from:
SslContext_t::SslContext_t(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) in ssl.o
"_SSL_CTX_use_certificate_chain_file", referenced from:
SslContext_t::SslContext_t(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) in ssl.o
"_SSL_accept", referenced from:
SslBox_t::GetPlaintext(char*, int) in ssl.o
"_SSL_clear", referenced from:
SslBox_t::~SslBox_t() in ssl.o
"_SSL_connect", referenced from:
SslBox_t::SslBox_t(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, unsigned long) in ssl.o
SslBox_t::GetPlaintext(char*, int) in ssl.o
"_SSL_ctrl", referenced from:
SslBox_t::SslBox_t(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, unsigned long) in ssl.o
"_SSL_free", referenced from:
SslBox_t::~SslBox_t() in ssl.o
"_SSL_get_current_cipher", referenced from:
SslBox_t::GetCipherBits() in ssl.o
SslBox_t::GetCipherName() in ssl.o
SslBox_t::GetCipherProtocol() in ssl.o
"_SSL_get_error", referenced from:
SslBox_t::GetPlaintext(char*, int) in ssl.o
SslBox_t::PutPlaintext(char const*, int) in ssl.o
"_SSL_get_ex_data", referenced from:
_ssl_verify_wrapper in ssl.o
"_SSL_get_ex_data_X509_STORE_CTX_idx", referenced from:
_ssl_verify_wrapper in ssl.o
"_SSL_get_peer_certificate", referenced from:
SslBox_t::GetPeerCert() in ssl.o
"_SSL_get_servername", referenced from:
SslBox_t::GetSNIHostname() in ssl.o
"_SSL_get_shutdown", referenced from:
SslBox_t::~SslBox_t() in ssl.o
"_SSL_is_init_finished", referenced from:
SslBox_t::GetPlaintext(char*, int) in ssl.o
SslBox_t::PutPlaintext(char const*, int) in ssl.o
"_SSL_new", referenced from:
SslBox_t::SslBox_t(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, unsigned long) in ssl.o
"_SSL_read", referenced from:
SslBox_t::GetPlaintext(char*, int) in ssl.o
"_SSL_set_bio", referenced from:
SslBox_t::SslBox_t(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, unsigned long) in ssl.o
"_SSL_set_ex_data", referenced from:
SslBox_t::SslBox_t(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, unsigned long) in ssl.o
"_SSL_set_verify", referenced from:
SslBox_t::SslBox_t(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, unsigned long) in ssl.o
"_SSL_shutdown", referenced from:
SslBox_t::~SslBox_t() in ssl.o
"_SSL_write", referenced from:
SslBox_t::PutPlaintext(char const*, int) in ssl.o
"_TLS_client_method", referenced from:
SslContext_t::SslContext_t(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) in ssl.o
"_TLS_server_method", referenced from:
SslContext_t::SslContext_t(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) in ssl.o
"_X509_STORE_CTX_get_current_cert", referenced from:
_ssl_verify_wrapper in ssl.o
"_X509_STORE_CTX_get_ex_data", referenced from:
_ssl_verify_wrapper in ssl.o
"_X509_free", referenced from:
t_get_peer_cert(unsigned long, unsigned long) in rubymain.o
InitializeDefaultCredentials() in ssl.o
SslContext_t::~SslContext_t() in ssl.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [rubyeventmachine.bundle] Error 1
make failed, exit code 2
Gem files will remain installed in /Users/eric/.gem/ruby/3.0.0/gems/eventmachine-1.2.7 for inspection.
Results logged to /Users/eric/.gem/ruby/3.0.0/extensions/arm64-darwin-21/3.0.0/eventmachine-1.2.7/gem_make.out
1 gem installed
This worked for me:
gem install eventmachine -- --with-openssl-dir=/usr/local/opt/openssl#1.1

A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x740078008d

We are getting the crash mentioned in the title. It occurs quite often and randomly. It seem to occur only on Android 11.
I have the tombstone file, which I paste below. But I am having issues also using ndk-stack, because when issuing the command:
ndk-stack -sym /Users/UserNameExample/Library/Android/sdk/build-tools/30.0.3/renderscript/lib/blas/arm64-v8a -dump /Users/UserNameExample/Desktop/tombstone02
I get the exact same source file in the prompt.
Ideally, I would like ndk to work and understand why it is not translating my tombstone. Otherwise, as a second alternative, by looking at the tombstone, would anyone pls have any hints on how to track this down ?
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'OPPO/CPH1919EEA/OP4845L1:11/RKQ1.200928.002/1636803154694:user/release-keys'
Revision: '0'
ABI: 'arm64'
Timestamp: 2021-12-12 14:12:07+0100
pid: 10105, tid: 10105, name: es.dev.virtualshop >>> com.dev.virtualshop <<<
uid: 10320
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x8
Cause: null pointer dereference
x0 0000000000000000 x1 b4000071594a846d x2 fffffffffffffffd x3 0819080000006023
x4 2360000000081908 x5 0819080000006023 x6 2360000000081908 x7 b4000071aa8a8630
x8 0000007fe4039c60 x9 0000000000000041 x10 b4000071594a8440 x11 b4000071594a8440
x12 b4000071aa8a89f0 x13 b4000071aa8a8b30 x14 0000000000000030 x15 aaaaaaaaaaaaaaab
x16 000000724827b5c0 x17 0000007248bfe200 x18 000000724ed96000 x19 0000000000000000
x20 0000000000000000 x21 b400007134377c20 x22 000000000000003d x23 000000000000000e
x24 0000000000000020 x25 b4000071aa8aa759 x26 000000000000000e x27 b4000071aa8aa750
x28 000000000000001b x29 0000007fe4039d80
lr 000000724824f1d4 sp 0000007fe4039c00 pc 000000724824f1ec pst 0000000060000000
backtrace:
#00 pc 00000000000401ec /system/lib64/libandroidfw.so (android::Theme::SetTo(android::Theme const&)+2104) (BuildId: dd55aee448a41ca5dd33562f5abdc552)
#01 pc 000000000012209c /system/lib64/libandroid_runtime.so (android::NativeThemeCopy(_JNIEnv*, _jclass*, long, long, long, long)+132) (BuildId: a54426a2b2bfe5ad975341aa6c0e7841)
#02 pc 000000000021ea50 /system/framework/arm64/boot-framework.oat (art_jni_trampoline+176) (BuildId: 75f57aa82d8d6889edeed86525a613a1631601e4)
#03 pc 00000000001337e8 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#04 pc 00000000001a8a94 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+228) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#05 pc 0000000000318290 /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+376) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#06 pc 000000000030f67c /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<true, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+696) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#07 pc 0000000000682a90 /apex/com.android.art/lib64/libart.so (MterpInvokeStaticRange+412) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#08 pc 000000000012dc94 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static_range+20) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#09 pc 00000000003b7f00 /system/framework/framework.jar (android.content.res.AssetManager.setThemeTo+28)
#10 pc 00000000006803fc /apex/com.android.art/lib64/libart.so (MterpInvokeVirtualRange+1132) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#11 pc 000000000012db14 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual_range+20) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#12 pc 00000000003c3698 /system/framework/framework.jar (android.content.res.ResourcesImpl$ThemeImpl.setTo+28)
#13 pc 000000000067cb78 /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#14 pc 000000000012d814 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#15 pc 00000000003c30c4 /system/framework/framework.jar (android.content.res.Resources$Theme.setTo+8)
#16 pc 000000000067cb78 /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#17 pc 000000000012d814 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#18 pc 00000000001aaa0a [anon:dalvik-classes.dex extracted in memory from /data/app/~~L2_UsRVtNSOKCZeGvFhDhQ==/com.dev.virtualshop-gSflxpM7-xq4qewsKph26Q==/base.apk] (androidx.appcompat.view.ContextThemeWrapper.initializeTheme+62)
#19 pc 000000000067f1f4 /apex/com.android.art/lib64/libart.so (MterpInvokeDirect+1248) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#20 pc 000000000012d914 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#21 pc 00000000001aa87e [anon:dalvik-classes.dex extracted in memory from /data/app/~~L2_UsRVtNSOKCZeGvFhDhQ==/com.dev.virtualshop-gSflxpM7-xq4qewsKph26Q==/base.apk] (androidx.appcompat.view.ContextThemeWrapper.getTheme+26)
#22 pc 000000000067cb78 /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#23 pc 000000000012d814 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#24 pc 000000000027f0a6 /system/framework/framework.jar (offset 0x12ad000) (android.view.ContextThemeWrapper.initializeTheme+46)
#25 pc 000000000067f1f4 /apex/com.android.art/lib64/libart.so (MterpInvokeDirect+1248) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#26 pc 000000000012d914 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#27 pc 000000000027f11c /system/framework/framework.jar (offset 0x12ad000) (android.view.ContextThemeWrapper.setTheme+12)
#28 pc 000000000067d930 /apex/com.android.art/lib64/libart.so (MterpInvokeSuper+2468) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#29 pc 000000000012d894 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_super+20) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#30 pc 00000000001cf384 /system/framework/framework.jar (android.app.Activity.setTheme)
#31 pc 000000000067d930 /apex/com.android.art/lib64/libart.so (MterpInvokeSuper+2468) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#32 pc 000000000012d894 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_super+20) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#33 pc 000000000019d0fc [anon:dalvik-classes.dex extracted in memory from /data/app/~~L2_UsRVtNSOKCZeGvFhDhQ==/com.dev.virtualshop-gSflxpM7-xq4qewsKph26Q==/base.apk] (androidx.appcompat.app.AppCompatActivity.setTheme)
#34 pc 0000000000305bb8 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.12828692043800420071)+268) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#35 pc 000000000030dba8 /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+200) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#36 pc 000000000030ef90 /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, true>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1772) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#37 pc 0000000000174fb8 /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<true, false>(art::interpreter::SwitchImplContext*)+45680) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#38 pc 000000000013f7d8 /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#39 pc 00000000001bae68 /system/framework/framework.jar (android.app.ActivityThread.performLaunchActivity)
#40 pc 0000000000305cc0 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.12828692043800420071)+532) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#41 pc 000000000030dba8 /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+200) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#42 pc 000000000030ef90 /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, true>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1772) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#43 pc 0000000000174fb8 /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<true, false>(art::interpreter::SwitchImplContext*)+45680) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#44 pc 000000000013f7d8 /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#45 pc 00000000001bacf8 /system/framework/framework.jar (android.app.ActivityThread.handleLaunchActivity)
#46 pc 0000000000305cc0 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.12828692043800420071)+532) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#47 pc 000000000030dba8 /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+200) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#48 pc 000000000030e5a0 /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+968) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#49 pc 000000000067c8d8 /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+848) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#50 pc 000000000012d814 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#51 pc 00000000002c26ea /system/framework/framework.jar (android.app.servertransaction.LaunchActivityItem.execute+134)
#52 pc 000000000067cb78 /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#53 pc 000000000012d814 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#54 pc 00000000002c4ada /system/framework/framework.jar (android.app.servertransaction.TransactionExecutor.executeCallbacks+286)
#55 pc 000000000067cb78 /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#56 pc 000000000012d814 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#57 pc 00000000002c495c /system/framework/framework.jar (android.app.servertransaction.TransactionExecutor.execute+228)
#58 pc 000000000067cb78 /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#59 pc 000000000012d814 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#60 pc 00000000001b9fe0 /system/framework/framework.jar (android.app.ActivityThread$H.handleMessage+292)
#61 pc 000000000067cb78 /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#62 pc 000000000012d814 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#63 pc 00000000003d141a /system/framework/framework.jar (offset 0x97a000) (android.os.Handler.dispatchMessage+38)
#64 pc 000000000067cb78 /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#65 pc 000000000012d814 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#66 pc 00000000004039ce /system/framework/framework.jar (offset 0x97a000) (android.os.Looper.loop+666)
#67 pc 0000000000305bb8 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.12828692043800420071)+268) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#68 pc 000000000030dba8 /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+200) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#69 pc 000000000030ef90 /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, true>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1772) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#70 pc 0000000000177f40 /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<true, false>(art::interpreter::SwitchImplContext*)+57848) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#71 pc 000000000013f7d8 /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#72 pc 00000000001c57ac /system/framework/framework.jar (android.app.ActivityThread.main)
#73 pc 0000000000305cc0 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.12828692043800420071)+532) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#74 pc 000000000066b5f0 /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+780) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#75 pc 000000000013cff8 /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#76 pc 00000000001337e8 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#77 pc 00000000001a8a94 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+228) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#78 pc 00000000005562bc /apex/com.android.art/lib64/libart.so (art::InvokeMethod(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned long)+1364) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#79 pc 00000000004d53d4 /apex/com.android.art/lib64/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*)+52) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#80 pc 00000000000947f4 /apex/com.android.art/javalib/arm64/boot.oat (art_jni_trampoline+180) (BuildId: f5ff44d4e96af9e82722863cdcbb11a1fae640f2)
#81 pc 0000000000133564 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#82 pc 00000000001a8a78 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#83 pc 0000000000318290 /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+376) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#84 pc 000000000030e5bc /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+996) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#85 pc 000000000067c8d8 /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+848) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#86 pc 000000000012d814 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#87 pc 00000000005286ba /system/framework/framework.jar (offset 0x12ad000) (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+22)
#88 pc 0000000000305bb8 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.12828692043800420071)+268) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#89 pc 000000000066b5f0 /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+780) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#90 pc 000000000013cff8 /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#91 pc 00000000008fac74 /system/framework/arm64/boot-framework.oat (com.android.internal.os.ZygoteInit.main+2756) (BuildId: 75f57aa82d8d6889edeed86525a613a1631601e4)
#92 pc 00000000001337e8 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#93 pc 00000000001a8a94 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+228) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#94 pc 0000000000554cf8 /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, std::__va_list)+448) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#95 pc 00000000005551ac /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+92) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#96 pc 0000000000438fdc /apex/com.android.art/lib64/libart.so (art::JNI<true>::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+656) (BuildId: 0ba3e7738c2ac9a4d1da77e310c0b257)
#97 pc 000000000009c424 /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+124) (BuildId: a54426a2b2bfe5ad975341aa6c0e7841)
#98 pc 00000000000a4160 /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+856) (BuildId: a54426a2b2bfe5ad975341aa6c0e7841)
#99 pc 0000000000003674 /system/bin/app_process64 (main+1580) (BuildId: 9349370b830e2b77b835dee3aff71480)
#100 pc 0000000000073a5c /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+108) (BuildId: 1ca28d785d6567d2b225cf978ef04de5)
try these three steps:
invalidate and restart android studio
close/kill all the opened applications to keep all the memory to your developing app.
reinstall your app from android studio.

Nativescript App keeps crashing with the following error: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)

This app keeps crashing after about 10 minutes of non-use and the app remaining open. I'm new to Nativescript and don't have any idea where to start with this.
--------- beginning of crash
05-24 20:08:19.316 17271 17271 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0xdeadcab1 in tid 17271 (ivescript.PPMNS)
05-24 20:08:19.428 274 274 I DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
05-24 20:08:19.428 274 274 I DEBUG : Build fingerprint: 'lge/g2_tmo_us/g2:5.0.2/LRX22G/1507914346dda:user/release-keys'
05-24 20:08:19.428 274 274 I DEBUG : Revision: '10'
05-24 20:08:19.428 274 274 I DEBUG : ABI: 'arm'
05-24 20:08:19.428 274 274 I DEBUG : pid: 17271, tid: 17271, name: ivescript.PPMNS >>> org.nativescript.PPMNS <<<
05-24 20:08:19.428 274 274 I DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xdeadcab1
05-24 20:08:19.527 274 274 I DEBUG : r0 a2dd9855 r1 a2dd9855 r2 00000000 r3 deadcab1
05-24 20:08:19.527 274 274 I DEBUG : r4 9ecb52a0 r5 9ecb52d8 r6 af0e7000 r7 beef4564
05-24 20:08:19.527 274 274 I DEBUG : r8 00000001 r9 00000000 sl 00000001 fp b4bb9ff8
05-24 20:08:19.527 274 274 I DEBUG : ip a2efcef8 sp beef44b0 lr a2dd986f pc a2dd9860 cpsr 60000030
05-24 20:08:19.527 274 274 I DEBUG :
05-24 20:08:19.527 274 274 I DEBUG : backtrace:
05-24 20:08:19.527 274 274 I DEBUG : #00 pc 006ca860 /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so
05-24 20:08:19.527 274 274 I DEBUG : #01 pc 006ca86d /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so
05-24 20:08:19.527 274 274 I DEBUG : #02 pc 006ca8f1 /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so
05-24 20:08:19.527 274 274 I DEBUG : #03 pc 006c9e9b /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so
05-24 20:08:19.527 274 274 I DEBUG : #04 pc 006c98bd /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so
05-24 20:08:19.527 274 274 I DEBUG : #05 pc 006c9981 /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so
05-24 20:08:19.527 274 274 I DEBUG : #06 pc 006ca4b7 /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so (operator new(unsigned int)+78)
05-24 20:08:19.528 274 274 I DEBUG : #07 pc 006ca4ff /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so (operator new[](unsigned int)+2)
05-24 20:08:19.528 274 274 I DEBUG : #08 pc 003360c0 /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so (v8::internal::HandleScope::Extend(v8::internal::Isolate*)+184)
05-24 20:08:19.528 274 274 I DEBUG : #09 pc 0031aba4 /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so (v8::internal::Factory::NewRawOneByteString(int, v8::internal::PretenureFlag)+568)
05-24 20:08:19.528 274 274 I DEBUG : #10 pc 0031af3c /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so (v8::internal::Factory::NewStringFromOneByte(v8::internal::Vector<unsigned char const>, v8::internal::PretenureFlag)+44)
05-24 20:08:19.528 274 274 I DEBUG : #11 pc 0031b700 /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so (v8::internal::Factory::NewStringFromUtf8(v8::internal::Vector<char const>, v8::internal::PretenureFlag)+480)
05-24 20:08:19.528 274 274 I DEBUG : #12 pc 00279e5c /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so (v8::String::NewFromUtf8(v8::Isolate*, char const*, v8::NewStringType, int)+120)
05-24 20:08:19.528 274 274 I DEBUG : #13 pc 00260101 /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so (tns::ConvertToV8String(std::string const&)+16)
05-24 20:08:19.528 274 274 I DEBUG : #14 pc 00251195 /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so (tns::NativeScriptException::ReThrowToV8()+56)
05-24 20:08:19.528 274 274 I DEBUG : #15 pc 00265381 /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so (tns::ObjectManager::OnGcFinishedStatic(v8::Isolate*, v8::GCType, v8::GCCallbackFlags)+200)
05-24 20:08:19.528 274 274 I DEBUG : #16 pc 0033a55c /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so (v8::internal::Heap::CallGCEpilogueCallbacks(v8::GCType, v8::GCCallbackFlags)+120)
05-24 20:08:19.528 274 274 I DEBUG : #17 pc 00349d2c /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so (v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags)+928)
05-24 20:08:19.528 274 274 I DEBUG : #18 pc 00349ffc /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so (v8::internal::Heap::CollectGarbage(v8::internal::GarbageCollector, char const*, char const*, v8::GCCallbackFlags)+152)
05-24 20:08:19.528 274 274 I DEBUG : #19 pc 0034a32c /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so (v8::internal::Heap::CollectAllGarbage(int, char const*, v8::GCCallbackFlags)+68)
05-24 20:08:19.528 274 274 I DEBUG : #20 pc 0027e004 /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so (v8::Isolate::RequestGarbageCollectionForTesting(v8::Isolate::GarbageCollectionType)+64)
05-24 20:08:19.528 274 274 I DEBUG : #21 pc 005971f4 /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so (v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))+132)
05-24 20:08:19.528 274 274 I DEBUG : #22 pc 002ad5e4 /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so
05-24 20:08:19.528 274 274 I DEBUG : #23 pc 002ada34 /data/app/org.nativescript.PPMNS-1/lib/arm/libNativeScript.so
05-24 20:08:19.528 274 274 I DEBUG : #24 pc 00000090 <unknown>
05-24 20:08:20.772 801 817 I ActivityManager: Process gbis.gbandroid (pid 22408) has died
05-24 20:08:20.776 801 817 W ActivityManager: Scheduling restart of crashed service gbis.gbandroid/com.xone.internal.XoneService in 1000ms
05-24 20:08:20.776 801 817 W ActivityManager: Scheduling restart of crashed service gbis.gbandroid/com.cuebiq.cuebiqsdk.model.Collector in 242598ms
05-24 20:08:20.847 801 801 I BackupManagerService: Beginning scheduled full backup operation
05-24 20:08:20.857 801 22898 W BackupManagerService: Requested unavailable transport: com.google.android.gms/.backup.BackupTransportService
05-24 20:08:20.857 801 22898 W PFTBT : Transport not present; full data backup not performed
05-24 20:08:20.872 801 864 I BootReceiver: Copying /data/tombstones/tombstone_09 to DropBox (SYSTEM_TOMBSTONE)
05-24 20:08:20.894 801 22897 W ActivityManager: Force finishing activity 1 org.nativescript.PPMNS/com.tns.NativeScriptActivity
05-24 20:08:21.249 801 1151 I WindowState: WIN DEATH: Window{1afd861a u0 org.nativescript.PPMNS/com.tns.NativeScriptActivity}
05-24 20:08:21.549 801 22897 W ActivityManager: Exception thrown during pause
05-24 20:08:21.549 801 22897 W ActivityManager: android.os.DeadObjectException
05-24 20:08:21.549 801 22897 W ActivityManager: at android.os.BinderProxy.transactNative(Native Method)
05-24 20:08:21.549 801 22897 W ActivityManager: at android.os.BinderProxy.transact(Binder.java:496)
05-24 20:08:21.549 801 22897 W ActivityManager: at android.app.ApplicationThreadProxy.schedulePauseActivity(ApplicationThreadNative.java:704)
05-24 20:08:21.549 801 22897 W ActivityManager: at com.android.server.am.ActivityStack.startPausingLocked(ActivityStack.java:833)
05-24 20:08:21.549 801 22897 W ActivityManager: at com.android.server.am.ActivityStack.finishActivityLocked(ActivityStack.java:2830)
05-24 20:08:21.549 801 22897 W ActivityManager: at com.android.server.am.ActivityStack.finishTopRunningActivityLocked(ActivityStack.java:2687)
05-24 20:08:21.549 801 22897 W ActivityManager: at com.android.server.am.ActivityStackSupervisor.finishTopRunningActivityLocked(ActivityStackSupervisor.java:2531)
05-24 20:08:21.549 801 22897 W ActivityManager: at com.android.server.am.ActivityManagerService.handleAppCrashLocked(ActivityManagerService.java:11795)
05-24 20:08:21.549 801 22897 W ActivityManager: at com.android.server.am.ActivityManagerService.makeAppCrashingLocked(ActivityManagerService.java:11667)
05-24 20:08:21.549 801 22897 W ActivityManager: at com.android.server.am.ActivityManagerService.crashApplication(ActivityManagerService.java:12376)
05-24 20:08:21.549 801 22897 W ActivityManager: at com.android.server.am.ActivityManagerService.handleApplicationCrashInner(ActivityManagerService.java:11887)
05-24 20:08:21.549 801 22897 W ActivityManager: at com.android.server.am.NativeCrashListener$NativeCrashReporter.run(NativeCrashListener.java:86)
05-24 20:08:21.585 801 22897 I ActivityManager: Start proc 22905:com.google.android.googlequicksearchbox/u0a69 for activity com.google.android.googlequicksearchbox/com.google.android.launcher.GEL
05-24 20:08:21.624 801 1203 D WifiService: New client listening to asynchronous messages
05-24 20:08:21.762 801 1898 I ActivityManager: Process org.nativescript.PPMNS (pid 17271) has died

encfs on OSX Mavericks: illegal hardware instruction

I use encfs to encode the personal documents that I keep on cloud drives. I have written a script that mounts the encoded folders at startup on MacOS, and it works flawlessly on two of my Macs. The third Mac (iMac 2008), though, fails to run encfs command, crashes with the error "illegal hardware instruction" that I have never encountered before. I wonder what is preventing encfs from running correctly.
I have installed "OSXFuse" using "Homebrew" along with some other fuse-based file systems such as sshfs and bindfs that I use regularly on the same iMac with no issue. I have the same version of Mavericks installed on all my computers (10.9.5).
Here is my brew config:
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew.git
HEAD: a0d9ecf1ce73acee32de0eca937d25dfa80b0cd5
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: dual-core 64-bit penryn
OS X: 10.9.5-x86_64
Xcode: 6.0.1
CLT: 6.0.0.0.1.1410400753
Clang: 6.0 build 600
X11: 2.7.5 => /opt/X11
System Ruby: 2.0.0-481
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /Users/mah/.rvm/rubies/ruby-2.1.1/bin/ruby
Here is the crash log from the last crash:
Process: encfs [869]
Path: /usr/local/Cellar/encfs/1.7.5_1/bin/encfs
Identifier: encfs
Version: 0
Code Type: X86-64 (Native)
Parent Process: zsh [625]
Responsible: iTerm [616]
User ID: 501
Date/Time: 2014-09-29 15:41:15.243 -0400
OS Version: Mac OS X 10.9.5 (13F34)
Report Version: 11
Anonymous UUID: 74ECAA66-AC67-A002-50AB-F34FFEFA7DC2
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Application Specific Information:
/usr/local/lib/librlog.5.dylib
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 librlog.5.dylib 0x000000010df749b7 _GLOBAL__I_a + 7
1 dyld 0x00007fff6a5f0c2e ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 268
2 dyld 0x00007fff6a5f0dba ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 40
3 dyld 0x00007fff6a5eda62 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 308
4 dyld 0x00007fff6a5ed9eb ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 189
5 dyld 0x00007fff6a5ed9eb ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 189
6 dyld 0x00007fff6a5ed8f6 ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 54
7 dyld 0x00007fff6a5e11da dyld::initializeMainExecutable() + 189
8 dyld 0x00007fff6a5e4560 dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 2419
9 dyld 0x00007fff6a5e027b dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) + 477
10 dyld 0x00007fff6a5e005e _dyld_start + 54
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000001 rbx: 0x000000010df749b0 rcx: 0x00007fff51d288c0 rdx: 0x00007fff51d28760
rdi: 0x0000000000000001 rsi: 0x00007fff51d28750 rbp: 0x00007fff51d276a0 rsp: 0x00007fff51d27690
r8: 0x00007fff6a613178 r9: 0x00007fff51d27600 r10: 0x00007fff964500e1 r11: 0x00007fff9598e6c6
r12: 0x0000000000000001 r13: 0x00007fff6a6130b0 r14: 0x00007fff6a61b4c0 r15: 0x000000010df7a378
rip: 0x000000010df749b7 rfl: 0x0000000000010246 cr2: 0x000000010df749b0
Logical CPU: 1
Error Code: 0x00000000
Trap Number: 6
Binary Images:
0x10ded7000 - 0x10dee9fff +encfs (0) <0CDF19BF-6E75-3CC4-BBCA-E8552FC2BE0F> /usr/local/bin/encfs
0x10defd000 - 0x10df33fff +libencfs.6.dylib (0) <30EA3D2B-3481-3CB5-9808-77A4E0C372EF> /usr/local/Cellar/encfs/1.7.5_1/lib/libencfs.6.dylib
0x10df72000 - 0x10df79ff7 +librlog.5.dylib (0) <B4C44B6B-BF72-3B1B-97F2-9BBC7EA64AA7> /usr/local/lib/librlog.5.dylib
0x10df89000 - 0x10dfc2ff7 +libssl.1.0.0.dylib (0) <C70E951B-86CD-3F4C-A1DC-6AB02B838B0F> /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
0x10dfde000 - 0x10e0effef +libcrypto.1.0.0.dylib (0) <B3590A5D-883A-337D-84F8-8217F641E340> /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib
0x10e165000 - 0x10e189ff7 +libboost_serialization-mt.dylib (0) <EC54345E-8170-3663-82E7-0308E1BCCDCB> /usr/local/lib/libboost_serialization-mt.dylib
0x10e201000 - 0x10e20eff7 +libboost_filesystem-mt.dylib (0) <8A57889F-24FE-3923-87B1-9BE986A3A07E> /usr/local/lib/libboost_filesystem-mt.dylib
0x10e221000 - 0x10e223ff3 +libboost_system-mt.dylib (0) <28E41007-7056-3375-A009-BB8E0FC78AF1> /usr/local/lib/libboost_system-mt.dylib
0x10e22a000 - 0x10e233fff +libintl.8.dylib (0) <4E31E35C-6964-39DE-86EC-7CD308FBC206> /usr/local/opt/gettext/lib/libintl.8.dylib
0x10e23d000 - 0x10e257fff +libosxfuse_i64.2.dylib (0) <C638BF8A-4AF0-3F4E-9AF7-09CC5130F911> /usr/local/lib/libosxfuse_i64.2.dylib
0x7fff6a5df000 - 0x7fff6a612817 dyld (239.4) <7AD43B9B-5CEA-3C7E-9836-A06909F9CA56> /usr/lib/dyld
0x7fff884db000 - 0x7fff884f5fff libdispatch.dylib (339.92.1) <C4E4A18D-3C3B-3C9C-8709-A4270D998DE7> /usr/lib/system/libdispatch.dylib
0x7fff88939000 - 0x7fff8895dfff libxpc.dylib (300.90.2) <AB40CD57-F454-3FD4-B415-63B3C0D5C624> /usr/lib/system/libxpc.dylib
0x7fff8899e000 - 0x7fff8899eff7 libkeymgr.dylib (28) <3AA8D85D-CF00-3BD3-A5A0-E28E1A32A6D8> /usr/lib/system/libkeymgr.dylib
0x7fff88e26000 - 0x7fff88e27ff7 libsystem_blocks.dylib (63) <FB856CD1-2AEA-3907-8E9B-1E54B6827F82> /usr/lib/system/libsystem_blocks.dylib
0x7fff894b7000 - 0x7fff894bdff7 libsystem_platform.dylib (24.90.1) <3C3D3DA8-32B9-3243-98EC-D89B9A1670B3> /usr/lib/system/libsystem_platform.dylib
0x7fff8995d000 - 0x7fff8995eff7 libDiagnosticMessagesClient.dylib (100) <4CDB0F7B-C0AF-3424-BC39-495696F0DB1E> /usr/lib/libDiagnosticMessagesClient.dylib
0x7fff89e49000 - 0x7fff89e8bff7 libauto.dylib (185.5) <F45C36E8-B606-3886-B5B1-B6745E757CA8> /usr/lib/libauto.dylib
0x7fff89e8c000 - 0x7fff89eb5ff7 libc++abi.dylib (49.1) <21A807D3-6732-3455-B77F-743E9F916DF0> /usr/lib/libc++abi.dylib
0x7fff8bfb4000 - 0x7fff8bfb7ff7 libdyld.dylib (239.4) <7C9EC3B7-DDE3-33FF-953F-4067C743951D> /usr/lib/system/libdyld.dylib
0x7fff8cd6f000 - 0x7fff8cd71ff3 libsystem_configuration.dylib (596.15) <4998CB6A-9D54-390A-9F57-5D1AC53C135C> /usr/lib/system/libsystem_configuration.dylib
0x7fff8cdd8000 - 0x7fff8cf90ffb libicucore.A.dylib (511.35) <6F097DA7-147C-32A1-93D2-728A64CF0DC2> /usr/lib/libicucore.A.dylib
0x7fff8d0c7000 - 0x7fff8d0c8fff libunc.dylib (28) <62682455-1862-36FE-8A04-7A6B91256438> /usr/lib/system/libunc.dylib
0x7fff8d1bc000 - 0x7fff8d1c6fff libcommonCrypto.dylib (60049) <8C4F0CA0-389C-3EDC-B155-E62DD2187E1D> /usr/lib/system/libcommonCrypto.dylib
0x7fff8d1c7000 - 0x7fff8d1ceffb libcopyfile.dylib (103.92.1) <CF29DFF6-0589-3590-834C-82E2316612E8> /usr/lib/system/libcopyfile.dylib
0x7fff8db04000 - 0x7fff8dbf5ff9 libiconv.2.dylib (41) <BB44B115-AC32-3877-A0ED-AEC6232A4563> /usr/lib/libiconv.2.dylib
0x7fff8e3bf000 - 0x7fff8e3e6ffb libsystem_info.dylib (449.1.3) <7D41A156-D285-3849-A2C3-C04ADE797D98> /usr/lib/system/libsystem_info.dylib
0x7fff8f358000 - 0x7fff8f360fff libsystem_dnssd.dylib (522.92.1) <17B03FFD-92C5-3282-9981-EBB28B456207> /usr/lib/system/libsystem_dnssd.dylib
0x7fff900c9000 - 0x7fff900cafff libsystem_sandbox.dylib (278.11.1) <0D0B13EA-6B7A-3AC8-BE60-B548543BEB77> /usr/lib/system/libsystem_sandbox.dylib
0x7fff900cb000 - 0x7fff900f2ff7 libsystem_network.dylib (241.3) <8B1E1F1D-A5CC-3BAE-8B1E-ABC84337A364> /usr/lib/system/libsystem_network.dylib
0x7fff9057f000 - 0x7fff90586ff7 libsystem_pthread.dylib (53.1.4) <AB498556-B555-310E-9041-F67EC9E00E2C> /usr/lib/system/libsystem_pthread.dylib
0x7fff908f2000 - 0x7fff908f9ff8 liblaunch.dylib (842.92.1) <A40A0C7B-3216-39B4-8AE0-B5D3BAF1DA8A> /usr/lib/system/liblaunch.dylib
0x7fff908fa000 - 0x7fff90903ffb libsystem_notify.dylib (121.20.1) <9B34B4FE-F5AD-3F09-A5F0-46AFF3571323> /usr/lib/system/libsystem_notify.dylib
0x7fff91d1c000 - 0x7fff91d1eff7 libquarantine.dylib (71) <7A1A2BCB-C03D-3A25-BFA4-3E569B2D2C38> /usr/lib/system/libquarantine.dylib
0x7fff91d36000 - 0x7fff91d84fff libcorecrypto.dylib (161.1) <F3973C28-14B6-3006-BB2B-00DD7F09ABC7> /usr/lib/system/libcorecrypto.dylib
0x7fff922bc000 - 0x7fff922c0ff7 libcache.dylib (62) <BDC1E65B-72A1-3DA3-A57C-B23159CAAD0B> /usr/lib/system/libcache.dylib
0x7fff922c1000 - 0x7fff922c8fff libcompiler_rt.dylib (35) <4CD916B2-1B17-362A-B403-EF24A1DAC141> /usr/lib/system/libcompiler_rt.dylib
0x7fff92de2000 - 0x7fff92df3ff7 libsystem_asl.dylib (217.1.4) <655FB343-52CF-3E2F-B14D-BEBF5AAEF94D> /usr/lib/system/libsystem_asl.dylib
0x7fff939cc000 - 0x7fff939fbfd2 libsystem_m.dylib (3047.16) <B7F0E2E4-2777-33FC-A787-D6430B630D54> /usr/lib/system/libsystem_m.dylib
0x7fff93c9e000 - 0x7fff93ca3ff7 libunwind.dylib (35.3) <78DCC358-2FC1-302E-B395-0155B47CB547> /usr/lib/system/libunwind.dylib
0x7fff94330000 - 0x7fff94341ff7 libz.1.dylib (53) <42E0C8C6-CA38-3CA4-8619-D24ED5DD492E> /usr/lib/libz.1.dylib
0x7fff94342000 - 0x7fff9435eff7 libsystem_kernel.dylib (2422.115.4) <9EDE872E-2A9E-3A78-8E1D-AB790794A098> /usr/lib/system/libsystem_kernel.dylib
0x7fff9448e000 - 0x7fff9448fff7 libSystem.B.dylib (1197.1.1) <E303F2F8-A8CF-3DF3-84B3-F2D0EE41CCF6> /usr/lib/libSystem.B.dylib
0x7fff9496c000 - 0x7fff94987ff7 libsystem_malloc.dylib (23.10.1) <A695B4E4-38E9-332E-A772-29D31E3F1385> /usr/lib/system/libsystem_malloc.dylib
0x7fff94ed6000 - 0x7fff94edbfff libmacho.dylib (845) <1D2910DF-C036-3A82-A3FD-44FF73B5FF9B> /usr/lib/system/libmacho.dylib
0x7fff9528d000 - 0x7fff95472fff com.apple.CoreFoundation (6.9 - 855.17) <729BD6DA-1F63-3E72-A148-26F21EBF52BB> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff9555e000 - 0x7fff9555fffb libremovefile.dylib (33) <3543F917-928E-3DB2-A2F4-7AB73B4970EF> /usr/lib/system/libremovefile.dylib
0x7fff955ee000 - 0x7fff955f2ff7 libsystem_stats.dylib (93.90.3) <4E51D5B0-92A0-3D0D-B90E-495A1ED3E391> /usr/lib/system/libsystem_stats.dylib
0x7fff95781000 - 0x7fff9592ef27 libobjc.A.dylib (551.1) <AD7FD984-271E-30F4-A361-6B20319EC73B> /usr/lib/libobjc.A.dylib
0x7fff95931000 - 0x7fff959baff7 libsystem_c.dylib (997.90.3) <6FD3A400-4BB2-3B95-B90C-BE6E9D0D78FA> /usr/lib/system/libsystem_c.dylib
0x7fff95cfe000 - 0x7fff95d50fff libc++.1.dylib (120) <4F68DFC5-2077-39A8-A449-CAC5FDEE7BDE> /usr/lib/libc++.1.dylib
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 630
thread_create: 1
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=78.9M resident=54.4M(69%) swapped_out_or_unallocated=24.5M(31%)
Writable regions: Total=17.7M written=336K(2%) resident=404K(2%) swapped_out=0K(0%) unallocated=17.3M(98%)
REGION TYPE VIRTUAL
=========== =======
Kernel Alloc Once 4K
MALLOC 9396K
MALLOC (admin) 16K
STACK GUARD 56.0M
Stack 8192K
VM_ALLOCATE 8K
__DATA 1352K
__LINKEDIT 67.3M
__TEXT 11.6M
__UNICODE 544K
shared memory 4K
=========== =======
TOTAL 154.0M

OSX : File was built for archive which is not the architecture being linked (i386)

I have the following makefile:
PROG = tracecone
RBASE= /Users/owner/Documents/raytrace
GDIR=$(RBASE)/Graphics
MDIR=$(RBASE)/VrMath
ODIR=$(RBASE)/OpenglRender
MANDIR=$(RBASE)/RaytraceMgr
CFLAGS = -w -s -O2 -ansi -DSHM -m32
XLIBS = -lX11 -lXext -lXmu -lXext -lXmu -lXt -lXi -lSM -lICE
LIBS = -lglut -lGLU -lGL
RAYLIBS = -lraygraph -lvrmath
INCLS = -I/usr/X11R6/include -I/usr/X11/include/GL
INCL1 = -I$(GDIR) -I../RayTrace -I$(GDIR) -I$(MDIR) -I$(ODIR) -I$(MANDIR)
LIBDIR = -L/usr/X11/lib -L/usr/X11R6/lib -L$(GDIR) -L$(MDIR)
#source codes
SRCS = $(PROG).cpp
#substitute .cpp by .o to obtain object filenames
OBJS = $(SRCS:.cpp=.o)
#in ../Graphics
OBJOD = $(ODIR)/GlutRenderer.o
OBJO = GlutRenderer.o
OBJMAND = $(MANDIR)/SceneDescription.o
OBJMAN = SceneDescription.o
OBJ_temp = ../RayTrace/RayTraceData.o
#$< evaluates to the target's dependencies,
#$# evaluates to the target
$(PROG): $(OBJS)
g++ -o $# -m32 $(OBJ_temp) $(OBJS) $(OBJOD) $(OBJMAND) $(LIBDIR) $(LIBS) $(XLIBS) $(RAYLIBS)
$(OBJS):
g++ -c -m32 $*.cpp $(INCLS) $(INCL1)
$(OBJ1):
cd $(GDIR); g++ -m32 -c $*.cpp $(INCLS)
$(OBJM):
cd $(MDIR); g++ -m32 -c $*.cpp $(INCLS)
$(OBJO):
cd $(ODIR); g++ -m32 -c $*.cpp $(INCLS)
$(OBJMAN):
cd $(MANDIR); g++ -m32 -c $*.cpp $(INCLS)
clean:
rm $(OBJS)
clean1:
rm $(OBJD1)
And I'm getting the following error:
g++ -c -m32 tracecone.cpp -I/usr/X11R6/include -I/usr/X11/include/GL -I/Users/owner/Documents/raytrace/Graphics -I../RayTrace -I/Users/owner/Documents/raytrace/Graphics -I/Users/owner/Documents/raytrace/VrMath -I/Users/owner/Documents/raytrace/OpenglRender -I/Users/owner/Documents/raytrace/RaytraceMgr
g++ -o tracecone -m32 ../RayTrace/RayTraceData.o tracecone.o /Users/owner/Documents/raytrace/OpenglRender/GlutRenderer.o /Users/owner/Documents/raytrace/RaytraceMgr/SceneDescription.o -L/usr/X11/lib -L/usr/X11R6/lib -L/Users/owner/Documents/raytrace/Graphics -L/Users/owner/Documents/raytrace/VrMath -lglut -lGLU -lGL -lX11 -lXext -lXmu -lXext -lXmu -lXt -lXi -lSM -lICE -lraygraph -lvrmath
ld: warning: ld: warning: ld: warning: ignoring file /Users/owner/Documents/raytrace/OpenglRender/GlutRenderer.o, file was built for unsupported file format ( 0x7f 0x45 0x4c 0x46 0x 2 0x 1 0x 1 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /Users/owner/Documents/raytrace/OpenglRender/GlutRenderer.oignoring file /Users/owner/Documents/raytrace/RaytraceMgr/SceneDescription.o, file was built for unsupported file format ( 0x7f 0x45 0x4c 0x46 0x 2 0x 1 0x 1 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /Users/owner/Documents/raytrace/RaytraceMgr/SceneDescription.oignoring file ../RayTrace/RayTraceData.o, file was built for unsupported file format ( 0x7f 0x45 0x4c 0x46 0x 2 0x 1 0x 1 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): ../RayTrace/RayTraceData.o
ld: warning: ignoring file /Users/owner/Documents/raytrace/Graphics/libraygraph.a, file was built for archive which is not the architecture being linked (i386): /Users/owner/Documents/raytrace/Graphics/libraygraph.a
ld: warning: ignoring file /Users/owner/Documents/raytrace/VrMath/libvrmath.a, file was built for archive which is not the architecture being linked (i386): /Users/owner/Documents/raytrace/VrMath/libvrmath.a
Undefined symbols for architecture i386:
"_BackgroundColorR3", referenced from:
RayTrace(int, VectorR3 const&, VectorR3, VectorR3&, long)in tracecone.o
"_Cdims", referenced from:
ResizeWindow(int, int)in tracecone.o
"_GlobalAmbientR3", referenced from:
CalcAllDirectIllum(VectorR3 const&, VisiblePoint const&, VectorR3&, long)in tracecone.o
RenderWithGlut() in tracecone.o
"_LightArray", referenced from:
CalcAllDirectIllum(VectorR3 const&, VisiblePoint const&, VectorR3&, long)in tracecone.o
RenderWithGlut() in tracecone.o
"_MainView", referenced from:
ResizeWindow(int, int)in tracecone.o
mySpecialFunc(int, int, int)in tracecone.o
SetupRayTraceWorld() in tracecone.o
RayTraceView() in tracecone.o
RenderWithGlut() in tracecone.o
"_NumLights", referenced from:
CalcAllDirectIllum(VectorR3 const&, VisiblePoint const&, VectorR3&, long)in tracecone.o
RenderWithGlut() in tracecone.o
"_NumObjects", referenced from:
SeekIntersection(VectorR3 const&, VectorR3 const&, double*, VisiblePoint&, long)in tracecone.o
ShadowFeeler(VectorR3 const&, Light const&, long)in tracecone.o
SetupRayTraceWorld() in tracecone.o
RenderWithGlut() in tracecone.o
"_ViewObj", referenced from:
SeekIntersection(VectorR3 const&, VectorR3 const&, double*, VisiblePoint&, long)in tracecone.o
ShadowFeeler(VectorR3 const&, Light const&, long)in tracecone.o
SetupRayTraceWorld() in tracecone.o
RenderWithGlut() in tracecone.o
"SetUpLights()", referenced from:
SetupRayTraceWorld() in tracecone.o
"SetUpMainView()", referenced from:
SetupRayTraceWorld() in tracecone.o
"SetUpMaterials()", referenced from:
SetupRayTraceWorld() in tracecone.o
"DirectIlluminateViewPos(VectorR3 const&, VectorR3 const&, VectorR3 const&, Light const&, MaterialBase const&, VectorR3&, VectorR3 const&)", referenced from:
DirectIlluminateViewPos(VisiblePoint const&, VectorR3 const&, Light const&, VectorR3&, VectorR3 const&)in tracecone.o
"GetOrtho(VectorR3 const&, VectorR3&, VectorR3&)", referenced from:
ViewableCone::SetCenterAxis(VectorR3 const&) in tracecone.o
"CameraView::RotateViewUp(double)", referenced from:
mySpecialFunc(int, int, int)in tracecone.o
"CameraView::PixelDirPreCalc()", referenced from:
CameraView::SetDirection(VectorR3 const&) in tracecone.o
CameraView::SetDirection(float const*)in tracecone.o
CameraView::SetDirection(double const*)in tracecone.o
CameraView::SetDirection(double, double, double)in tracecone.o
"CameraView::RecalcPixeldUdV()", referenced from:
CameraView::SetScreenDimensions(double, double)in tracecone.o
CameraView::SetScreenPixelSize(int, int)in tracecone.o
"CameraView::RotateViewRight(double)", referenced from:
mySpecialFunc(int, int, int)in tracecone.o
"CameraView::CalcScreenCenter()", referenced from:
CameraView::SetPosition(VectorR3 const&) in tracecone.o
CameraView::SetPosition(float const*)in tracecone.o
CameraView::SetPosition(double const*)in tracecone.o
CameraView::SetPosition(double, double, double)in tracecone.o
CameraView::SetDirection(VectorR3 const&) in tracecone.o
CameraView::SetDirection(float const*)in tracecone.o
CameraView::SetDirection(double const*)in tracecone.o
...
"CameraView::RescaleDistanceOfViewer(double)", referenced from:
mySpecialFunc(int, int, int)in tracecone.o
"PixelArray::ClampAndDrawFloats()", referenced from:
PixelArray::Draw() in tracecone.o
"PixelArray::SetSize(int, int)", referenced from:
ResizeWindow(int, int)in tracecone.o
PixelArray::PixelArray(int, int)in tracecone.o
"GlutRenderer::RenderViewable(ViewableBase const&)", referenced from:
RenderWithGlut() in tracecone.o
"GlutRenderer::FinishRendering()", referenced from:
RenderWithGlut() in tracecone.o
"GlutRenderer::SetupCameraView(CameraView const&, double, double)", referenced from:
RenderWithGlut() in tracecone.o
"GlutRenderer::SetGlobalAmbientLight(VectorR3 const&)", referenced from:
RenderWithGlut() in tracecone.o
"GlutRenderer::SetGlobalAmbientLight(double, double, double)", referenced from:
RenderWithGlut() in tracecone.o
"GlutRenderer::AddLight(Light const&)", referenced from:
RenderWithGlut() in tracecone.o
"GlutRenderer::GlutRenderer()", referenced from:
RenderWithGlut() in tracecone.o
"Material::Default", referenced from:
ViewableCone::Reset() in tracecone.o
"ViewableBase::CalcExtentsInBox(AABB const&, AABB&) const", referenced from:
vtable for ViewableBasein tracecone.o
"ViewableBase::CalcAABB(AABB&) const", referenced from:
vtable for ViewableBasein tracecone.o
"Material::CalcLocalLighting(VectorR3&, Light const&, VectorR3 const&, double, VectorR3 const&, VectorR3 const&, VectorR3 const&, VectorR3 const*) const", referenced from:
vtable for Materialin tracecone.o
"Material::Clone() const", referenced from:
vtable for Materialin tracecone.o
"vtable for ViewableCone", referenced from:
ViewableCone::ViewableCone()in tracecone.o
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
make: *** [tracecone] Error 1
How can I avoid the following error:
I'm using OSX, if that matters.
File was built for archive which is not the architecture being linked (i386)
Thanks in advance.
For the GlutRenderer.o, SceneDescription.o, RayTraceData.o files: add them to your clean section and make clean. For now you are cleaning only one file: tracecone.o. Perhaps other object files were built before you added -m32 flag to your makefile. You can also remove all object files manually.
Run find . | grep '\.o$' in source root directory to check if there is any object file left after the cleaning.
For the libraygraph.a and libvrmath.a: those libs must be built with -m32 flag too.

Resources