Log in or register to post comments

Application crashing after a while on android device

June 20, 2017 - 5:31am #1

Hello, we are building an AR application and we have an unsolved problem, our application is crashing after some time (depending on the device).

The problem occure after 4 minutes 20 seconds on a galaxy tab s3 and arround 25 minutes on a galaxy tab s.

 

The application just load an ar camera with a vuforia database, we let the galaxy tabs film (nothing special, no tracker, etc) then after a while the application crash.

 

Here is the crash dump I got with adb logcat parse with ndk-stack:

 

********** Crash dump: **********

Build fingerprint: 'samsung/gts3lwifixx/gts3lwifi:7.0/NRD90M/T820XXU1AQDC:user/release-keys'

pid: 25883, tid: 25898, name: UnityMain  >>> com.Estech.AR_Drawing <<<

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xa437b604

Stack frame 06-20 11:48:55.313  1969  1969 F DEBUG   :     #00 pc 00269f14  /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN10A5xContext25HwPatchForDirectRenderingEP15EsxRenderBucketP13EsxLinkedListj+1811)

Stack frame 06-20 11:48:55.313  1969  1969 F DEBUG   :     #01 pc 000bd267  /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN10EsxContext25ProcessAndSubmitRenderingE14EsxFlushReason+3362)

Stack frame 06-20 11:48:55.313  1969  1969 F DEBUG   :     #02 pc 0016e3df  /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN9EsxCmdMgr5FlushE14EsxFlushReason+606)

Stack frame 06-20 11:48:55.313  1969  1969 F DEBUG   :     #03 pc 00187cf5  /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN17EsxChunkedMemPool29GetChunkedMemPoolSpaceAlignedEjjPPjPy+78)

Stack frame 06-20 11:48:55.313  1969  1969 F DEBUG   :     #04 pc 00265d99  /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN10A5xContext30WriteDepthStencilTexStateGroupE13EsxCmdBufType+456)

Stack frame 06-20 11:48:55.314  1969  1969 F DEBUG   :     #05 pc 00252cfb  /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN10A5xContext13ValidateStateEPK17EsxDrawDescriptor+5666)

Stack frame 06-20 11:48:55.314  1969  1969 F DEBUG   :     #06 pc 002516c3  /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN10A5xContext18HwValidateGfxStateEPK17EsxDrawDescriptor+4)

Stack frame 06-20 11:48:55.314  1969  1969 F DEBUG   :     #07 pc 000cc511  /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN10EsxContext16ValidateGfxStateEPK17EsxDrawDescriptor+2132)

Stack frame 06-20 11:48:55.314  1969  1969 F DEBUG   :     #08 pc 000c3489  /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN10EsxContext21DrawElementsInstancedE11EsxPrimTypej10EsxPixTypePKvji+828)

Stack frame 06-20 11:48:55.314  1969  1969 F DEBUG   :     #09 pc 000e6a09  /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN21EsxGlApiParamValidate14GlDrawElementsEP11EsxDispatchjijPKv+192)

Stack frame 06-20 11:48:55.314  1969  1969 F DEBUG   :     #10 pc 00094fc3  /system/vendor/lib/egl/libGLESv2_adreno.so (glDrawElements+46)

Stack frame 06-20 11:48:55.314  1969  1969 F DEBUG   :     #11 pc 005bb2b8  /data/app/com.Estech.AR_Drawing-2/lib/arm/libunity.so: Routine NetworkManager::AllocateViewID() at ??:?

Stack frame 06-20 11:48:55.314  1969  1969 F DEBUG   :     #12 pc 005bb744  /data/app/com.Estech.AR_Drawing-2/lib/arm/libunity.so: Routine NetworkManager::ValidateSceneViewID(NetworkView*, NetworkViewID) at ??:?

Stack frame 06-20 11:48:55.314  1969  1969 F DEBUG   :     #13 pc 0016e050  /data/app/com.Estech.AR_Drawing-2/lib/arm/libunity.so: Routine SuiteSortingGroupTestskUnitTestCategory::SortingGroupTestFixtureMultiChildrenMultiLevel_ChildSortingGroupIDMatchesParentIndexHelper::RunImpl() at ??:?

Stack frame 06-20 11:48:55.314  1969  1969 F DEBUG   :     #14 pc 001d18a4  /data/app/com.Estech.AR_Drawing-2/lib/arm/libunity.so: Routine $a.2066 at ??:?

Stack frame 06-20 11:48:55.314  1969  1969 F DEBUG   :     #15 pc 001db6ac  /data/app/com.Estech.AR_Drawing-2/lib/arm/libunity.so: Routine void resize_trimmed<std::vector<core::basic_string<char, core::StringStorageDefault<char> >, std::allocator<core::basic_string<char, core::StringStorageDefault<char> > > > >(std::vector<core::basic_string<char, core::StringStorageDefault<char> >, std::allocator<core::basic_string<char, core::StringStorageDefault<char> > > >&, unsigned int) at ??:?

Stack frame 06-20 11:48:55.314  1969  1969 F DEBUG   :     #16 pc 00493484  /data/app/com.Estech.AR_Drawing-2/lib/arm/libunity.so: Routine void SerializeTraits<ChannelInfo>::Transfer<SafeBinaryRead>(ChannelInfo&, SafeBinaryRead&) at ??:?

Stack frame 06-20 11:48:55.314  1969  1969 F DEBUG   :     #17 pc 001da010  /data/app/com.Estech.AR_Drawing-2/lib/arm/libunity.so: Routine void TagManager::Transfer<RemapPPtrTransfer>(RemapPPtrTransfer&) at ??:?

Stack frame 06-20 11:48:55.314  1969  1969 F DEBUG   :     #18 pc 001dbb20  /data/app/com.Estech.AR_Drawing-2/lib/arm/libunity.so: Routine std::vector<core::basic_string<char, core::StringStorageDefault<char> >, std::allocator<core::basic_string<char, core::StringStorageDefault<char> > > >::_M_default_append(unsigned int) at ??:?

Stack frame 06-20 11:48:55.314  1969  1969 F DEBUG   :     #19 pc 001dcfc0  /data/app/com.Estech.AR_Drawing-2/lib/arm/libunity.so: Routine void TagManager::Transfer<SafeBinaryRead>(SafeBinaryRead&) at ??:?

Stack frame 06-20 11:48:55.314  1969  1969 F DEBUG   :     #20 pc 001e47b8  /data/app/com.Estech.AR_Drawing-2/lib/arm/libunity.so: Routine void std::__final_insertion_sort<Object**, __gnu_cxx::__ops::_Iter_comp_iter<CompareInstanceID> >(Object**, Object**, __gnu_cxx::__ops::_Iter_comp_iter<CompareInstanceID>) at ??:?

Stack frame 06-20 11:48:55.314  1969  1969 F DEBUG   :     #21 pc 001b1f20  /data/app/com.Estech.AR_Drawing-2/lib/arm/libunity.so: Routine Object::Produce(Unity::Type const*, int, MemLabelId, ObjectCreationMode) at ??:?

Stack frame 06-20 11:48:55.314  1969  1969 F DEBUG   :     #22 pc 0015943c  /data/app/com.Estech.AR_Drawing-2/lib/arm/libunity.so: Routine $a.67 at ??:?

Stack frame 06-20 11:48:55.314  1969  1969 F DEBUG   :     #23 pc 0015aa14  /data/app/com.Estech.AR_Drawing-2/lib/arm/libunity.so: Routine $a.85 at ??:?

Stack frame 06-20 11:48:55.315  1969  1969 F DEBUG   :     #24 pc 00181d5c  /data/app/com.Estech.AR_Drawing-2/lib/arm/libunity.so: Routine void SuiteMemoryManagerPerformancekPerformanceTestCategory::StackAllocPerformanceTest<SuiteMemoryManagerPerformancekPerformanceTestCategory::TempOverflowAllocWrapper, 1000u, 50u>(SuiteMemoryManagerPerformancekPerformanceTestCategory::TempOverflowAllocWrapper&) at ??:?

Stack frame 06-20 11:48:55.315  1969  1969 F DEBUG   :     #25 pc 00349b34  /data/app/com.Estech.AR_Drawing-2/lib/arm/libunity.so: Routine SuiteMemoryBandwidthPerformancekPerformanceTestCategory::Testtest_memcpy_16KB::~Testtest_memcpy_16KB() at ??:?

Stack frame 06-20 11:48:55.315  1969  1969 F DEBUG   :     #26 pc 0034b814  /data/app/com.Estech.AR_Drawing-2/lib/arm/libunity.so: Routine void std::__adjust_heap<fixed_bitset<49, unsigned short>*, int, fixed_bitset<49, unsigned short>, __gnu_cxx::__ops::_Iter_less_iter>(fixed_bitset<49, unsigned short>*, int, int, fixed_bitset<49, unsigned short>, __gnu_cxx::__ops::_Iter_less_iter) at ??:?

Stack frame 06-20 11:48:55.315  1969  1969 F DEBUG   :     #27 pc 006314ec  /data/app/com.Estech.AR_Drawing-2/lib/arm/libunity.so: Routine void ShaderLab::SerializedShaderVectorValue::Transfer<StreamedBinaryRead<true> >(StreamedBinaryRead<true>&) at ??:?

Stack frame 06-20 11:48:55.315  1969  1969 F DEBUG   :     #28 pc 006339d0  /data/app/com.Estech.AR_Drawing-2/lib/arm/libunity.so: Routine std::vector<ShaderLab::SerializedSubShader, std::allocator<ShaderLab::SerializedSubShader> >::~vector() at ??:?

Stack frame 06-20 11:48:55.315  1969  1969 F DEBUG   :     #29 pc 00058201  /data/app/com.Estech.AR_Drawing-2/oat/arm/base.odex (offset 0x57000)

 

If anyone could guide me on the direction to search where the problem it would be realy apreciated, thank a lot

Application crashing after a while on android device

June 20, 2017 - 1:29pm #2

Hello,

I don't see anything in the stack trace that shows a crash in a Vuforia library.

Thanks.

Log in or register to post comments