Start a new topic
Solved

8.3.1: cannot map BpMemoryHeap when NOT using ARCore

Hi Wikitude Team,


we updated our Xamarin app to 8.3.1. but it seems there is a memory leak when NOT using ARCore (Android).


When we use your utorial code for example (https://github.com/Wikitude/wikitude-sdk-samples/tree/master/05_InstantTracking_3_Interactivity) on device without ARCore support, after starting the tutorial code and wait for approx. 10-15 sec. without doing nothing, the app crashes with:


03-06 12:13:34.185 E/IMemory (25673): cannot map BpMemoryHeap (binder=0xc7ba62c0), size=18665472, fd=175 (Out of memory)

 

=================================================================

03-06 12:13:34.342 W/google-breakpad(25673): ### ### ### ### ### ### ### ### ### ### ### ### ### Native Crash Reporting

=================================================================

Got a SIGSEGV while executing native code. This usually indicates

a fatal error in the mono runtime or one of the native libraries

used by your application.

=================================================================

 

03-06 12:13:34.342 W/google-breakpad(25673): Chrome build fingerprint:

=================================================================

 Basic Fault Adddress Reporting

=================================================================

Memory around native instruction pointer (0xf3540b28):0xf3540b18 b9 b1 08 68 07 aa 06 ab 07 69 05 a8 b8 47 05 98 ...h.....i...G..

0xf3540b28 01 68 49 69 88 47 05 46 6d b1 dd f8 1c a0 b8 f1 .hIi.G.Fm.......

0xf3540b38 80 0f 0f d1 06 9b 0b f1 20 02 21 46 7c f7 5c ef ........ .!F|.\.

0xf3540b48 2a e0 00 27 4d e0 43 49 43 a2 06 20 79 44 74 f7 *..'M.CIC.. yDt.

 

No native Android stacktrace (see debuggerd output).

 

03-06 12:13:34.342 W/google-breakpad(25673): 72.0.3626.105

03-06 12:13:34.342 W/google-breakpad(25673): 362610552

03-06 12:13:34.342 W/google-breakpad(25673): ### ### ### ### ### ### ### ### ### ### ### ### ###

03-06 12:13:34.344 E/mono-rt (25673): /proc/self/maps:

03-06 12:13:34.345 E/mono-rt (25673): 00100000-02380000 rw-p 00000000 00:00 0 [anon:libc_malloc]

03-06 12:13:34.345 E/mono-rt (25673): 02400000-04380000 rw-p 00000000 00:00 0 [anon:libc_malloc]

03-06 12:13:34.345 E/mono-rt (25673): 04380000-05c80000 rw-p 00000000 00:00 0 [anon:libc_malloc]

03-06 12:13:34.345 E/mono-rt (25673): 05d00000-0a780000 rw-p 00000000 00:00 0 [anon:libc_malloc]

03-06 12:13:34.345 E/mono-rt (25673): 0a800000-10c00000 rw-p 00000000 00:00 0 [anon:libc_malloc]

03-06 12:13:34.345 E/mono-rt (25673): 10c80000-12c00000 rw-p 00000000 00:00 0 [anon:libc_malloc]

03-06 12:13:34.345 E/mono-rt (25673): 12c00000-52c00000 rw-p 00000000 00:01 18991 /dev/ashmem/dalvik-main space (region space) (deleted)

03-06 12:13:34.345 E/mono-rt (25673): 52c80000-53780000 rw-p 00000000 00:00 0 [anon:libc_malloc]

03-06 12:13:34.345 E/mono-rt (25673): 53780000-58780000 rw-p 00000000 00:00 0 [anon:libc_malloc]

03-06 12:13:34.345 E/mono-rt (25673): 58780000-5b980000 rw-p 00000000 00:00 0 [anon:libc_malloc]

03-06 12:13:34.345 E/mono-rt (25673): 5ba00000-5f000000 rw-p 00000000 00:00 0 [anon:libc_malloc]

03-06 12:13:34.345 E/mono-rt (25673): 5f080000-62a00000 rw-p 00000000 00:00 0 [anon:libc_malloc]

03-06 12:13:34.345 E/mono-rt (25673): 62a80000-69b00000 rw-p 00000000 00:00 0 [anon:libc_malloc]

03-06 12:13:34.345 E/mono-rt (25673): 69b80000-6ff00000 rw-p 00000000 00:00 0 [anon:libc_malloc]

03-06 12:13:34.345 E/mono-rt (25673): 6ff70000-70156000 rw-p 00000000 b3:3b 9661 /data/dalvik-cache/arm/system@framework@boot.art

03-06 12:13:34.345 E/mono-rt (25673): 70156000-70213000 rw-p 00000000 b3:3b 9733 /data/dalvik-cache/arm/system@framework@boot-core-libart.art

03-06 12:13:34.346 E/mono-rt (25673): 70213000-70250000 rw-p 00000000 b3:3b 9823 /data/dalvik-cache/arm/system@framework@boot-conscrypt.art

03-06 12:13:34.346 E/mono-rt (25673): 70250000-70278000 rw-p 00000000 b3:3b 9834 /data/dalvik-cache/arm/system@framework@boot-okhttp.art

03-06 12:13:34.346 E/mono-rt (25673): 70278000-7027c000 rw-p 00000000 b3:3b 9853 /data/dalvik-cache/arm/system@framework@boot-legacy-test.art

03-06 12:13:34.346 E/mono-rt (25673): 7027c000-702ae000 rw-p 00000000 b3:3b 9861 /data/dalvik-cache/arm/system@framework@boot-bouncycastle.art

03-06 12:13:34.346 E/mono-rt (25673): 702ae000-702dc000 rw-p 00000000 b3:3b 9914 /data/dalvik-cache/arm/system@framework@boot-ext.art

03-06 12:13:34.346 E/mono-rt (25673): 702dc000-70852000 rw-p 00000000 b3:3b 9924 /data/dalvik-cache/arm/system@framework@boot-framework.art

03-06 12:13:34.346 E/mono-rt (25673): 70852000-708b9000 rw-p 00000000 b3:3b 9964 /data/dalvik-cache/arm/system@framework@boot-telephony-common.art

03-06 12:13:34.347 E/mono-rt (25673): 708b9000-708c1000 rw-p 00000000 b3:3b 9970 /data/dalvik-cache/arm/system@framework@boot-voip-common.art

03-06 12:13:34.347 E/mono-rt (25673): 708c1000-708c9000 rw-p 00000000 b3:3b 9975 /data/dalvik-cache/arm/system@framework@boot-ims-common.art

03-06 12:13:34.349 F/libc (25673): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 25688 (Binder:25673_2)


This behaviour cannot currently be reproduced on devices using ARCore.

We used 8.2 before but our app crashed when using our content on ARCore devices and ended the WikitudeActivity. So we disabled ARCore completly (which is not our goal). Using 8.3.1. fixes the crash with ARCore but we can't use any other device any more.


Any help is appriciated. 


Regards


Guido

1 Comment

Sorry wrong place - wanted to create a support ticket!

Login or Signup to post a comment