android: App crashes with debugger attached
Steps to Reproduce
- Debug app
- App crashes randomly
Expected Behavior
App runs without random crashes
Actual Behavior
When the App crashes it outputs a crash report, without having any useful stack trace to the App being at fault.
=================================================================
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.
=================================================================
=================================================================
Basic Fault Adddress Reporting
=================================================================
Memory around native instruction pointer (0x7414eaa494):0x7414eaa484 60 0b 00 35 88 66 40 f9 08 01 00 b4 0a 01 40 79 `..5.f@.......@y
0x7414eaa494 a9 be 80 b9 5f 01 09 6b 8b 00 00 54 08 0d 09 8b ...._..k...T....
0x7414eaa4a4 16 05 40 f9 d6 0a 00 b5 7f 02 00 b9 e6 67 ff 97 ..@..........g..
0x7414eaa4b4 e0 03 15 aa 2e 59 fe 97 96 66 40 f9 f6 01 00 b4 .....Y...f@.....
No native Android stacktrace (see debuggerd output).
===============================================04-03 13:07:12.816 E/mono-rt (28243): /proc/self/maps:
==================
Managed Stacktrace:
=================================================================
domain required for stack walk=================================================================
04-03 13:07:12.817 E/mono-rt (28243): 12c00000-12cc0000 rw-p 00000000 00:05 13719 /dev/ashmem/dalvik-main space (region space) (deleted)
04-03 13:07:12.817 E/mono-rt (28243): 12cc0000-12f80000 ---p 000c0000 00:05 13719 /dev/ashmem/dalvik-main space (region space) (deleted)
04-03 13:07:12.817 E/mono-rt (28243): 12f80000-13940000 rw-p 00380000 00:05 13719 /dev/ashmem/dalvik-main space (region space) (deleted)
04-03 13:07:12.817 E/mono-rt (28243): 13940000-1d980000 ---p 00d40000 00:05 13719 /dev/ashmem/dalvik-main space (region space) (deleted)
04-03 13:07:12.817 E/mono-rt (28243): 1d980000-1db80000 rw-p 0ad80000 00:05 13719 /dev/ashmem/dalvik-main space (region space) (deleted)
04-03 13:07:12.817 E/mono-rt (28243): 1db80000-1dc80000 rw-p 0af80000 00:05 13719 /dev/ashmem/dalvik-main space (region space) (deleted)
04-03 13:07:12.817 E/mono-rt (28243): 1dc80000-52c00000 rw-p 0b080000 00:05 13719 /dev/ashmem/dalvik-main space (region space) (deleted)
04-03 13:07:12.817 E/mono-rt (28243): 70158000-70170000 rw-p 00000000 103:01 1310729 /data/dalvik-cache/arm64/system@framework@boot.art
04-03 13:07:12.817 E/mono-rt (28243): 70170000-70172000 r--p 00018000 103:01 1310729 /data/dalvik-cache/arm64/system@framework@boot.art
04-03 13:07:12.817 E/mono-rt (28243): 70172000-70173000 rw-p 00000000 103:01 1310735 /data/dalvik-cache/arm64/system@framework@boot-com.qualcomm.qti.camera.art
04-03 13:07:12.817 E/mono-rt (28243): 70173000-70174000 r--p 00001000 103:01 1310735 /data/dalvik-cache/arm64/system@framework@boot-com.qualcomm.qti.camera.art
04-03 13:07:12.817 E/mono-rt (28243): 70174000-70176000 rw-p 00000000 103:01 1310741 /data/dalvik-cache/arm64/system@framework@boot-QPerformance.art
04-03 13:07:12.817 E/mono-rt (28243): 70176000-70177000 r--p 00002000 103:01 1310741 /data/dalvik-cache/arm64/system@framework@boot-QPerformance.art
04-03 13:07:12.817 E/mono-rt (28243): 70177000-70178000 rw-p 00000000 103:01 1310747 /data/dalvik-cache/arm64/system@framework@boot-UxPerformance.art
04-03 13:07:12.817 E/mono-rt (28243): 70178000-70179000 r--p 00001000 103:01 1310747 /data/dalvik-cache/arm64/system@framework@boot-UxPerformance.art
04-03 13:07:12.817 E/mono-rt (28243): 70179000-7043d000 rw-p 00000000 103:01 1310753 /data/dalvik-cache/arm64/system@framework@boot-core-oj.art
04-03 13:07:12.817 E/mono-rt (28243): 7043d000-70451000 r--p 002c4000 103:01 1310753 /data/dalvik-cache/arm64/system@framework@boot-core-oj.art
04-03 13:07:12.817 E/mono-rt (28243): 70451000-70586000 rw-p 00000000 103:01 1310759 /data/dalvik-cache/arm64/system@framework@boot-core-libart.art
04-03 13:07:12.817 E/mono-rt (28243): 70586000-70598000 r--p 00135000 103:01 1310759 /data/dalvik-cache/arm64/system@framework@boot-core-libart.art
04-03 13:07:12.817 E/mono-rt (28243): 70598000-705d7000 rw-p 00000000 103:01 1310765 /data/dalvik-cache/arm64/system@framework@boot-conscrypt.art
04-03 13:07:12.817 E/mono-rt (28243): 705d7000-705da000 r--p 0003f000 103:01 1310765 /data/dalvik-cache/arm64/system@framework@boot-conscrypt.art
04-03 13:07:12.817 E/mono-rt (28243): 705da000-70616000 rw-p 00000000 103:01 1310771 /data/dalvik-cache/arm64/system@framework@boot-okhttp.art
04-03 13:07:12.817 E/mono-rt (28243): 70616000-70619000 r--p 0003c000 103:01 1310771 /data/dalvik-cache/arm64/system@framework@boot-okhttp.art
04-03 13:07:12.817 E/mono-rt (28243): 70619000-7067f000 rw-p 00000000 103:01 1310777 /data/dalvik-cache/arm64/system@framework@boot-bouncycastle.art
04-03 13:07:12.817 E/mono-rt (28243): 7067f000-70686000 r--p 00066000 103:01 1310777 /data/dalvik-cache/arm64/system@framework@boot-bouncycastle.art
04-03 13:07:12.818 F/libc (28243): Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xbc in tid 28304 (pool-4-thread-1), pid 28243 (.TrackMan.Range)
When trying to debug with VS for Mac I only get:
[mono-rt] /proc/self/maps:
[mono-rt] 12c00000-13680000 rw-p 00000000 00:05 31230 /dev/ashmem/dalvik-main space (region space)_5189_5189 (deleted)
[mono-rt] 13680000-137c0000 ---p 00a80000 00:05 31230 /dev/ashmem/dalvik-main space (region space)_5189_5189 (deleted)
[mono-rt] 137c0000-15440000 rw-p 00bc0000 00:05 31230 /dev/ashmem/dalvik-main space (region space)_5189_5189 (deleted)
[mono-rt] 15440000-15740000 ---p 02840000 00:05 31230 /dev/ashmem/dalvik-main space (region space)_5189_5189 (deleted)
[mono-rt] 15740000-52c00000 rw-p 02b40000 00:05 31230 /dev/ashmem/dalvik-main space (region space)_5189_5189 (deleted)
[mono-rt] 6f126000-6f400000 rw-p 00000000 103:0f 16 /data/dalvik-cache/arm64/system@framework@boot.art
[mono-rt] 6f400000-6f416000 r--p 002da000 103:0f 16 /data/dalvik-cache/arm64/system@framework@boot.art
[mono-rt] 6f416000-6f54b000 rw-p 00000000 103:0f 28 /data/dalvik-cache/arm64/system@framework@boot-core-libart.art
[mono-rt] 6f54b000-6f55d000 r--p 00135000 103:0f 28 /data/dalvik-cache/arm64/system@framework@boot-core-libart.art
[mono-rt] 6f55d000-6f59d000 rw-p 00000000 103:0f 34 /data/dalvik-cache/arm64/system@framework@boot-conscrypt.art
[mono-rt] 6f59d000-6f5a0000 r--p 00040000 103:0f 34 /data/dalvik-cache/arm64/system@framework@boot-conscrypt.art
[mono-rt] 6f5a0000-6f5e7000 rw-p 00000000 103:0f 43 /data/dalvik-cache/arm64/system@framework@boot-okhttp.art
[mono-rt] 6f5e7000-6f5eb000 r--p 00047000 103:0f 43 /data/dalvik-cache/arm64/system@framework@boot-okhttp.art
[mono-rt] 6f5eb000-6f651000 rw-p 00000000 103:0f 50 /data/dalvik-cache/arm64/system@framework@boot-bouncycastle.art
[mono-rt] 6f651000-6f658000 r--p 00066000 103:0f 50 /data/dalvik-cache/arm64/system@framework@boot-bouncycastle.art
[mono-rt] 6f658000-6f6b9000 rw-p 00000000 103:0f 53 /data/dalvik-cache/arm64/system@framework@boot-apache-xml.art
[mono-rt] 6f6b9000-6f6c0000 r--p 00061000 103:0f 53 /data/dalvik-cache/arm64/system@framework@boot-apache-xml.art
[mono-rt] 6f6c0000-6f704000 rw-p 00000000 103:0f 56 /data/dalvik-cache/arm64/system@framework@boot-ext.art
[mono-rt] 6f704000-6f70f000 r--p 00044000 103:0f 56 /data/dalvik-cache/arm64/system@framework@boot-ext.art
[mono-rt] 6f70f000-70326000 rw-p 00000000 103:0f 62 /data/dalvik-cache/arm64/system@framework@boot-framework.art
[mono-rt] 70326000-70386000 r--p 00c17000 103:0f 62 /data/dalvik-cache/arm64/system@framework@boot-framework.art
[mono-rt] 70386000-70510000 rw-p 00000000 103:0f 80 /data/dalvik-cache/arm64/system@framework@boot-telephony-common.art
[mono-rt] 70510000-7052e000 r--p 0018a000 103:0f 80 /data/dalvik-cache/arm64/system@framework@boot-telephony-common.art
[mono-rt] 7052e000-7053d000 rw-p 00000000 103:0f 86 /data/dalvik-cache/arm64/system@framework@boot-voip-common.art
[mono-rt] 7053d000-7053f000 r--p 0000f000 103:0f 86 /data/dalvik-cache/arm64/system@framework@boot-voip-common.art
[libc] Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xbc in tid 27358 (AsyncTask #5), pid 27108 (.TrackMan.Range)
Version Information
Latest version of VS for Mac stable or VS2019 GA (was also an issue on VS2019 Preview 4.4)
=== Visual Studio Enterprise 2019 for Mac ===
Version 8.0 (build 3001)
Installation UUID: e39f69fe-f899-4e46-a9a8-17ff8f869cb3
GTK+ 2.24.23 (Raleigh theme)
Xamarin.Mac 5.6.0.2 (d16-0 / 040682909)
Package version: 518010003
=== Mono Framework MDK ===
Runtime:
Mono 5.18.1.3 (2018-08/fdb26b0a445) (64-bit)
Package version: 518010003
=== NuGet ===
Version: 4.8.2.5835
=== .NET Core ===
Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
2.1.9
2.1.8
2.1.7
2.1.6
2.1.5
SDK: /usr/local/share/dotnet/sdk/2.1.505/Sdks
SDK Versions:
2.1.505
2.1.504
2.1.503
2.1.500
2.1.403
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.18.1/lib/mono/msbuild/15.0/bin/Sdks
=== Xamarin.Profiler ===
Version: 1.6.9
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
=== Updater ===
Version: 11
=== Xamarin.Android ===
Version: 9.2.0.5 (Visual Studio Enterprise)
Android SDK: /Users/tci/Library/Android/sdk
Supported Android versions:
6.0 (API level 23)
7.0 (API level 24)
7.1 (API level 25)
8.1 (API level 27)
SDK Tools Version: 26.1.1
SDK Platform Tools Version: 28.0.1
SDK Build Tools Version: 28.0.3
Build Information:
Mono: mono/mono/2018-08-rc@5ad371dab1b
Java.Interop: xamarin/java.interop/d16-0@c987483
LibZipSharp: grendello/LibZipSharp/master@44de300
LibZip: nih-at/libzip/rel-1-5-1@b95cf3f
MXE: xamarin/mxe/xamarin@b9cbb535
ProGuard: xamarin/proguard/master@905836d
SQLite: xamarin/sqlite/3.26.0@325e91a
Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-0@0a7edd6
=== Microsoft Mobile OpenJDK ===
Java SDK: /Users/tci/Library/Developer/Xamarin/jdk/microsoft_dist_openjdk_8.0.25
1.8.0-25
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL
=== Android Device Manager ===
Version: 1.2.0.14
Hash: 86df26f
Branch: remotes/origin/d16-0
Build date: 2019-03-27 18:41:02 UTC
=== Apple Developer Tools ===
Xcode 10.1 (14460.46)
Build 10B61
=== Xamarin.Mac ===
Version: 5.6.0.25 (Visual Studio Enterprise)
Hash: 50f75273
Branch: d16-0
Build date: 2019-03-05 11:50:33-0800
=== Xamarin.iOS ===
Version: 12.6.0.25 (Visual Studio Enterprise)
Hash: 50f75273
Branch: d16-0
Build date: 2019-03-05 11:50:33-0800
=== Xamarin Designer ===
Version: 4.17.4.414
Hash: 55b8d07ef
Branch: remotes/origin/d16-0
Build date: 2019-03-22 21:44:12 UTC
=== Xamarin Inspector ===
Version: 1.4.3
Hash: db27525
Branch: 1.4-release
Build date: Mon, 09 Jul 2018 21:20:18 GMT
Client compatibility: 1
=== Build Information ===
Release ID: 800003001
Git revision: 16b11d379aeff65cd1e81d3616c267ad4251ad36
Build date: 2019-03-28 13:14:24+00
Build branch: master
Xamarin extensions: efad41c7f410d8e6d43361236e0e778cf6f9b4a5
=== Operating System ===
Mac OS X 10.13.6
Darwin 17.7.0 Darwin Kernel Version 17.7.0
Thu Dec 20 21:47:19 PST 2018
root:xnu-4570.71.22~1/RELEASE_X86_64 x86_64
Additional Information
I got some help from @grendello to debug the issue and tried the following:
- Adding an environment.txt file to the App to increase what is being logged. That yielded the following log:
Debug (5741) / SurfaceControl: finalize(protected), animation-leash is released by finalize, sc=Surface(name=Surface(name=AppWindowToken{e06d450 token=Token{7deda13 ActivityRecord{b4e2102 u0 dk.TrackMan.Range/dk.TrackMan.SplashScreen t148}}})/@0x492bab0 - animation-leash)/@0xb2b8e08, nativeObject=515906067584, caller=java.lang.Daemons$FinalizerDaemon.doFinalize:250 java.lang.Daemons$FinalizerDaemon.runInternal:237 java.lang.Daemons$Daemon.run:103 java.lang.Thread.run:764 <bottom of call stack> <bottom of call stack> <bottom of call stack>
Debug (5741) / SurfaceControl: finalize(protected), animation-leash is released by finalize, sc=Surface(name=Surface(name=5a5d6a7 NavigationBar)/@0xe459edc - animation-leash)/@0xb93ad11, nativeObject=515907470240, caller=java.lang.Daemons$FinalizerDaemon.doFinalize:250 java.lang.Daemons$FinalizerDaemon.runInternal:237 java.lang.Daemons$Daemon.run:103 java.lang.Thread.run:764 <bottom of call stack> <bottom of call stack> <bottom of call stack>
Debug (5741) / SurfaceControl: finalize(protected), animation-leash is released by finalize, sc=Surface(name=Surface(name=512dde7 StatusBar)/@0xf8d1253 - animation-leash)/@0x7a88d03, nativeObject=516060250112, caller=java.lang.Daemons$FinalizerDaemon.doFinalize:250 java.lang.Daemons$FinalizerDaemon.runInternal:237 java.lang.Daemons$Daemon.run:103 java.lang.Thread.run:764 <bottom of call stack> <bottom of call stack> <bottom of call stack>
Debug (5741) / SurfaceControl: finalize(protected), animation-leash is released by finalize, sc=Surface(name=Surface(name=5a5d6a7 NavigationBar)/@0xe459edc - animation-leash)/@0x4904975, nativeObject=515934594048, caller=java.lang.Daemons$FinalizerDaemon.doFinalize:250 java.lang.Daemons$FinalizerDaemon.runInternal:237 java.lang.Daemons$Daemon.run:103 java.lang.Thread.run:764 <bottom of call stack> <bottom of call stack> <bottom of call stack>
Debug (5741) / SurfaceControl: finalize(protected), animation-leash is released by finalize, sc=Surface(name=Surface(name=e81e8ee SnapshotStartingWindow for taskId=148)/@0x94a536f - animation-leash)/@0xbccf4dc, nativeObject=515934593664, caller=java.lang.Daemons$FinalizerDaemon.doFinalize:250 java.lang.Daemons$FinalizerDaemon.runInternal:237 java.lang.Daemons$Daemon.run:103 java.lang.Thread.run:764 <bottom of call stack> <bottom of call stack> <bottom of call stack>
Warning (5741) / System: A resource failed to call release.
Debug (5741) / SurfaceControl: finalize(protected), animation-leash is released by finalize, sc=Surface(name=Surface(name=AppWindowToken{e98764e token=Token{595ed49 ActivityRecord{9314750 u0 dk.TrackMan.Range/md552e608b944995f090b52594b40e05f58.RootView t148}}})/@0xb09a95a - animation-leash)/@0xde62136, nativeObject=515934883392, caller=java.lang.Daemons$FinalizerDaemon.doFinalize:250 java.lang.Daemons$FinalizerDaemon.runInternal:237 java.lang.Daemons$Daemon.run:103 java.lang.Thread.run:764 <bottom of call stack> <bottom of call stack> <bottom of call stack>
Debug (5741) / SurfaceControl: finalize(protected), animation-leash is released by finalize, sc=Surface(name=Surface(name=AppWindowToken{df4009d token=Token{1c10374 ActivityRecord{29d7f47 u0 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView t148}}})/@0x8a6c410 - animation-leash)/@0x6b5401a, nativeObject=515907473120, caller=java.lang.Daemons$FinalizerDaemon.doFinalize:250 java.lang.Daemons$FinalizerDaemon.runInternal:237 java.lang.Daemons$Daemon.run:103 java.lang.Thread.run:764 <bottom of call stack> <bottom of call stack> <bottom of call stack>
Debug (5741) / SurfaceControl: finalize(protected), animation-leash is released by finalize, sc=Surface(name=Surface(name=Dim Layer for - Task=148)/@0x8b8872f - animation-leash)/@0x29bcec5, nativeObject=515887426112, caller=java.lang.Daemons$FinalizerDaemon.doFinalize:250 java.lang.Daemons$FinalizerDaemon.runInternal:237 java.lang.Daemons$Daemon.run:103 java.lang.Thread.run:764 <bottom of call stack> <bottom of call stack> <bottom of call stack>
Debug (5741) / SurfaceControl: finalize(protected), animation-leash is released by finalize, sc=Surface(name=Surface(name=fbb672b dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView)/@0xf074b07 - animation-leash)/@0x4b057d2, nativeObject=515934883104, caller=java.lang.Daemons$FinalizerDaemon.doFinalize:250 java.lang.Daemons$FinalizerDaemon.runInternal:237 java.lang.Daemons$Daemon.run:103 java.lang.Thread.run:764 <bottom of call stack> <bottom of call stack> <bottom of call stack>
Debug (5741) / SurfaceControl: finalize(protected), animation-leash is released by finalize, sc=Surface(name=Surface(name=Dim Layer for - Task=148)/@0x84390a3 - animation-leash)/@0x9ba7759, nativeObject=515882971328, caller=java.lang.Daemons$FinalizerDaemon.doFinalize:250 java.lang.Daemons$FinalizerDaemon.runInternal:237 java.lang.Daemons$Daemon.run:103 java.lang.Thread.run:764 <bottom of call stack> <bottom of call stack> <bottom of call stack>
Debug (5741) / SurfaceControl: finalize(protected), animation-leash is released by finalize, sc=Surface(name=Surface(name=fbb672b dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView)/@0xf074b07 - animation-leash)/@0x23303f7, nativeObject=516060254240, caller=java.lang.Daemons$FinalizerDaemon.doFinalize:250 java.lang.Daemons$FinalizerDaemon.runInternal:237 java.lang.Daemons$Daemon.run:103 java.lang.Thread.run:764 <bottom of call stack> <bottom of call stack> <bottom of call stack>
Debug (5741) / SurfaceControl: finalize(protected), animation-leash is released by finalize, sc=Surface(name=Surface(name=Dim Layer for - Task=148)/@0x84390a3 - animation-leash)/@0xb794ccd, nativeObject=516060254720, caller=java.lang.Daemons$FinalizerDaemon.doFinalize:250 java.lang.Daemons$FinalizerDaemon.runInternal:237 java.lang.Daemons$Daemon.run:103 java.lang.Thread.run:764 <bottom of call stack> <bottom of call stack> <bottom of call stack>
Debug (5741) / SurfaceControl: finalize(protected), animation-leash is released by finalize, sc=Surface(name=Surface(name=95ae8c9 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView)/@0x33596da - animation-leash)/@0xf21e801, nativeObject=515934885216, caller=java.lang.Daemons$FinalizerDaemon.doFinalize:250 java.lang.Daemons$FinalizerDaemon.runInternal:237 java.lang.Daemons$Daemon.run:103 java.lang.Thread.run:764 <bottom of call stack> <bottom of call stack> <bottom of call stack>
Debug (5741) / SurfaceControl: finalize(protected), animation-leash is released by finalize, sc=Surface(name=Surface(name=Dim Layer for - Task=148)/@0x7e646a6 - animation-leash)/@0x8daec94, nativeObject=515888486016, caller=java.lang.Daemons$FinalizerDaemon.doFinalize:250 java.lang.Daemons$FinalizerDaemon.runInternal:237 java.lang.Daemons$Daemon.run:103 java.lang.Thread.run:764 <bottom of call stack> <bottom of call stack> <bottom of call stack>
Debug (5741) / SurfaceControl: finalize(protected), animation-leash is released by finalize, sc=Surface(name=Surface(name=95ae8c9 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView)/@0x33596da - animation-leash)/@0xadd5cf5, nativeObject=515887430048, caller=java.lang.Daemons$FinalizerDaemon.doFinalize:250 java.lang.Daemons$FinalizerDaemon.runInternal:237 java.lang.Daemons$Daemon.run:103 java.lang.Thread.run:764 <bottom of call stack> <bottom of call stack> <bottom of call stack>
Debug (5741) / SurfaceControl: finalize(protected), animation-leash is released by finalize, sc=Surface(name=Surface(name=Dim Layer for - Task=148)/@0x7e646a6 - animation-leash)/@0xf9c98fb, nativeObject=516582275232, caller=java.lang.Daemons$FinalizerDaemon.doFinalize:250 java.lang.Daemons$FinalizerDaemon.runInternal:237 java.lang.Daemons$Daemon.run:103 java.lang.Thread.run:764 <bottom of call stack> <bottom of call stack> <bottom of call stack>
Debug (5741) / SurfaceControl: finalize(protected), animation-leash is released by finalize, sc=Surface(name=Surface(name=98b865c dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView)/@0xe78ac48 - animation-leash)/@0x2d6c7, nativeObject=515888485632, caller=java.lang.Daemons$FinalizerDaemon.doFinalize:250 java.lang.Daemons$FinalizerDaemon.runInternal:237 java.lang.Daemons$Daemon.run:103 java.lang.Thread.run:764 <bottom of call stack> <bottom of call stack> <bottom of call stack>
Debug (5741) / SurfaceControl: finalize(protected), animation-leash is released by finalize, sc=Surface(name=Surface(name=Dim Layer for - Task=148)/@0x39044f4 - animation-leash)/@0xdeb2692, nativeObject=515882981600, caller=java.lang.Daemons$FinalizerDaemon.doFinalize:250 java.lang.Daemons$FinalizerDaemon.runInternal:237 java.lang.Daemons$Daemon.run:103 java.lang.Thread.run:764 <bottom of call stack> <bottom of call stack> <bottom of call stack>
Debug (5741) / SurfaceControl: finalize(protected), animation-leash is released by finalize, sc=Surface(name=Surface(name=98b865c dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView)/@0xe78ac48 - animation-leash)/@0x16b3e8c, nativeObject=515888492448, caller=java.lang.Daemons$FinalizerDaemon.doFinalize:250 java.lang.Daemons$FinalizerDaemon.runInternal:237 java.lang.Daemons$Daemon.run:103 java.lang.Thread.run:764 <bottom of call stack> <bottom of call stack> <bottom of call stack>
Debug (5741) / SurfaceControl: finalize(protected), animation-leash is released by finalize, sc=Surface(name=Surface(name=Dim Layer for - Task=148)/@0x39044f4 - animation-leash)/@0x910f5ea, nativeObject=515882982176, caller=java.lang.Daemons$FinalizerDaemon.doFinalize:250 java.lang.Daemons$FinalizerDaemon.runInternal:237 java.lang.Daemons$Daemon.run:103 java.lang.Thread.run:764 <bottom of call stack> <bottom of call stack> <bottom of call stack>
Debug (5741) / SurfaceControl: finalize(protected), animation-leash is released by finalize, sc=Surface(name=Surface(name=512dde7 StatusBar)/@0xf8d1253 - animation-leash)/@0x23e053, nativeObject=515888480544, caller=java.lang.Daemons$FinalizerDaemon.doFinalize:250 java.lang.Daemons$FinalizerDaemon.runInternal:237 java.lang.Daemons$Daemon.run:103 java.lang.Thread.run:764 <bottom of call stack> <bottom of call stack> <bottom of call stack>
Debug (5741) / SurfaceControl: finalize(protected), animation-leash is released by finalize, sc=Surface(name=Surface(name=5a5d6a7 NavigationBar)/@0xe459edc - animation-leash)/@0x1a5b68e, nativeObject=515882975168, caller=java.lang.Daemons$FinalizerDaemon.doFinalize:250 java.lang.Daemons$FinalizerDaemon.runInternal:237 java.lang.Daemons$Daemon.run:103 java.lang.Thread.run:764 <bottom of call stack> <bottom of call stack> <bottom of call stack>
Debug (5741) / SurfaceControl: finalize(protected), animation-leash is released by finalize, sc=Surface(name=Surface(name=512dde7 StatusBar)/@0xf8d1253 - animation-leash)/@0x45a3f9, nativeObject=515230059392, caller=java.lang.Daemons$FinalizerDaemon.doFinalize:250 java.lang.Daemons$FinalizerDaemon.runInternal:237 java.lang.Daemons$Daemon.run:103 java.lang.Thread.run:764 <bottom of call stack> <bottom of call stack> <bottom of call stack>
Debug (5741) / SurfaceControl: finalize(protected), animation-leash is released by finalize, sc=Surface(name=Surface(name=5a5d6a7 NavigationBar)/@0xe459edc - animation-leash)/@0xd40f2ec, nativeObject=516060256160, caller=java.lang.Daemons$FinalizerDaemon.doFinalize:250 java.lang.Daemons$FinalizerDaemon.runInternal:237 java.lang.Daemons$Daemon.run:103 java.lang.Thread.run:764 <bottom of call stack> <bottom of call stack> <bottom of call stack>
Debug (5741) / SurfaceControl: finalize(protected), animation-leash is released by finalize, sc=Surface(name=Surface(name=fa99816 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView)/@0x79f1fa2 - animation-leash)/@0x7da7d69, nativeObject=515887425344, caller=java.lang.Daemons$FinalizerDaemon.doFinalize:250 java.lang.Daemons$FinalizerDaemon.runInternal:237 java.lang.Daemons$Daemon.run:103 java.lang.Thread.run:764 <bottom of call stack> <bottom of call stack> <bottom of call stack>
Debug (5741) / SurfaceControl: finalize(protected), animation-leash is released by finalize, sc=Surface(name=Surface(name=Dim Layer for - Task=148)/@0x27393ee - animation-leash)/@0x4dcef1c, nativeObject=515882982944, caller=java.lang.Daemons$FinalizerDaemon.doFinalize:250 java.lang.Daemons$FinalizerDaemon.runInternal:237 java.lang.Daemons$Daemon.run:103 java.lang.Thread.run:764 <bottom of call stack> <bottom of call stack> <bottom of call stack>
Debug (5741) / SurfaceControl: finalize(protected), animation-leash is released by finalize, sc=Surface(name=Surface(name=AppWindowToken{df4009d token=Token{1c10374 ActivityRecord{29d7f47 u0 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView t148}}})/@0x8a6c410 - animation-leash)/@0xd2e8395, nativeObject=515888491968, caller=java.lang.Daemons$FinalizerDaemon.doFinalize:250 java.lang.Daemons$FinalizerDaemon.runInternal:237 java.lang.Daemons$Daemon.run:103 java.lang.Thread.run:764 <bottom of call stack> <bottom of call stack> <bottom of call stack>
Debug (5741) / SurfaceControl: finalize(protected), animation-leash is released by finalize, sc=Surface(name=Surface(name=AppWindowToken{e98764e token=Token{595ed49 ActivityRecord{9314750 u0 dk.TrackMan.Range/md552e608b944995f090b52594b40e05f58.RootView t148}}})/@0xb09a95a - animation-leash)/@0xa1843e4, nativeObject=515888487840, caller=java.lang.Daemons$FinalizerDaemon.doFinalize:250 java.lang.Daemons$FinalizerDaemon.runInternal:237 java.lang.Daemons$Daemon.run:103 java.lang.Thread.run:764 <bottom of call stack> <bottom of call stack> <bottom of call stack>
Debug (5741) / SurfaceControl: finalize(protected), animation-leash is released by finalize, sc=Surface(name=Surface(name=Dim Layer for - Task=148)/@0x27393ee - animation-leash)/@0xeef1702, nativeObject=515883772192, caller=java.lang.Daemons$FinalizerDaemon.doFinalize:250 java.lang.Daemons$FinalizerDaemon.runInternal:237 java.lang.Daemons$Daemon.run:103 java.lang.Thread.run:764 <bottom of call stack> <bottom of call stack> <bottom of call stack>
Debug (5741) / SurfaceControl: finalize(protected), animation-leash is released by finalize, sc=Surface(name=Surface(name=AppWindowToken{e98764e token=Token{595ed49 ActivityRecord{9314750 u0 dk.TrackMan.Range/md552e608b944995f090b52594b40e05f58.RootView t148}}})/@0xb09a95a - animation-leash)/@0x6a97075, nativeObject=516060257984, caller=java.lang.Daemons$FinalizerDaemon.doFinalize:250 java.lang.Daemons$FinalizerDaemon.runInternal:237 java.lang.Daemons$Daemon.run:103 java.lang.Thread.run:764 <bottom of call stack> <bottom of call stack> <bottom of call stack>
Debug (5741) / SurfaceControl: finalize(protected), animation-leash is released by finalize, sc=Surface(name=Surface(name=AppWindowToken{4c9d381 token=Token{b788368 ActivityRecord{9cbf68b u0 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView t148}}})/@0xeab8444 - animation-leash)/@0x755deae, nativeObject=516060257504, caller=java.lang.Daemons$FinalizerDaemon.doFinalize:250 java.lang.Daemons$FinalizerDaemon.runInternal:237 java.lang.Daemons$Daemon.run:103 java.lang.Thread.run:764 <bottom of call stack> <bottom of call stack> <bottom of call stack>
Debug (5741) / SurfaceControl: finalize(protected), animation-leash is released by finalize, sc=Surface(name=Surface(name=Dim Layer for - Task=148)/@0x9e9bf3 - animation-leash)/@0x4803b29, nativeObject=515934888768, caller=java.lang.Daemons$FinalizerDaemon.doFinalize:250 java.lang.Daemons$FinalizerDaemon.runInternal:237 java.lang.Daemons$Daemon.run:103 java.lang.Thread.run:764 <bottom of call stack> <bottom of call stack> <bottom of call stack>
Info (5741) / AfterimageCompensationService: BRIGHTNESS = 76
Debug (5741) : mAFPC_Read - w = 1080, h = 2280, s = 8, f = 4, s_size = 9922560, luminance = 76, count = 82, captureOrientation = 0
Verbose (5227) / APM_AudioPolicyManager: AudioPolicyManager:setRecordSilenced(uid:10024, silenced:1)
Debug (5741) / CustomFrequencyManagerService: FrequencyrequestList.getNextSchedTuneBoostRequest, index: 0
Debug (5741) / InputReader: Input event(7): value=1 when=84994.634821
Debug (5741) / InputReader: Input event(7): value=1 when=84994.634821
Info (5741) / InputReader: Touch event's action is 0x0 (deviceType=0) [pCnt=1, s=0.375 ] when=84994.634821
Info (5741) / clp-JNI: Add pinfo. (channel) 29a8674 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView (server) (pkg) AppWindowToken{4c9d381 token=Token{b788368 ActivityRecord{9cbf68b u0 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView t148}}} 31484 10243 (action) 0
Info (5741) / clp-JNI: Add pinfo end.
Info (5741) / InputDispatcher: Delivering touch to (31484): action: 0x0, displayId: 0, '29a8674', toolType: 1
Info (5741) / Pageboost: Launcher App Execution
Info (5741) / Pageboost: vramdisk hit dk.TrackMan.Range
Debug (31484) / ViewRootImpl@c6e57c[ActivityFlowHostView]: ViewPostIme pointer 0
Debug (5741) / WifiTrafficPoller: TrafficStats TxPkts=119237 RxPkts=279553 TxBytes=17971770 RxBytes=362284066 , Foreground uid=10243 pkgName=dk.TrackMan.Range TxPackets=7141 RxPackets=8949 TxBytes=657173 RxBytes=7544180
Debug (5741) / WifiPermissionsUtil: canAccessScanResults: pkgName = android, uid = 1000
Debug (5741) / InputReader: Input event(7): value=0 when=84994.726355
Debug (5741) / InputReader: Input event(7): value=0 when=84994.726355
Info (5741) / InputReader: Touch event's action is 0x1 (deviceType=0) [pCnt=1, s=] when=84994.726355
Info (5741) / clp-JNI: Add pinfo. (channel) 29a8674 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView (server) (pkg) AppWindowToken{4c9d381 token=Token{b788368 ActivityRecord{9cbf68b u0 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView t148}}} 31484 10243 (action) 1
Info (5741) / clp-JNI: Add pinfo end.
Info (5741) / InputDispatcher: Delivering touch to (31484): action: 0x1, displayId: 0, '29a8674', toolType: 1
Debug (31484) / ViewRootImpl@c6e57c[ActivityFlowHostView]: ViewPostIme pointer 1
Debug (5741) / WifiPermissionsUtil: canAccessScanResults: pkgName = com.sec.android.sdhms, uid = 1000
Error (5231) / BufferQueueProducer: [dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView[31484]#1] disconnect: not connected (req=1)
Warning (31484) / libEGL: EGLNativeWindowType 0x780764b010 disconnect failed
Debug (31484) / OpenGLRenderer: eglDestroySurface = 0x780ac15780, 0x780764b000
Debug (31484) / ViewRootImpl@c6e57c[ActivityFlowHostView]: dispatchDetachedFromWindow
Debug (31484) / ViewRootImpl@c6e57c[ActivityFlowHostView]: Surface release. android.view.ViewRootImpl.doDie:7944 android.view.ViewRootImpl.die:7912 android.view.WindowManagerGlobal.removeViewLocked:497 android.view.WindowManagerGlobal.removeView:435 android.view.WindowManagerImpl.removeViewImmediate:124 android.app.Dialog.dismissDialog:518 android.app.Dialog.dismiss:501 mono.android.view.View_OnClickListenerImplementor.n_onClick:-2
Verbose (5741) / WindowManager: Remove Window{29a8674 u0 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView}: mSurfaceController=Surface(name=dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView[31484])/@0xfa667e3 mAnimatingExit=false mRemoveOnExit=false mHasSurface=true surfaceShowing=true isAnimationSet=false app-animation=false mWillReplaceWindow=false inPendingTransaction=false mDisplayFrozen=false callers=com.android.server.wm.WindowState.removeIfPossible:2710 com.android.server.wm.WindowManagerService.removeWindow:1921 com.android.server.wm.Session.remove:253 android.view.IWindowSession$Stub.onTransact:261 com.android.server.wm.Session.onTransact:186 android.os.Binder.execTransact:739
Info (5741) / WindowManager: Cancelling animation restarting=true, leash=null, surface=Surface(name=29a8674 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView)/@0x5cd4f5e, parent=Surface(name=AppWindowToken{4c9d381 token=Token{b788368 ActivityRecord{9cbf68b u0 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView t148}}})/@0xeab8444, caller=com.android.server.wm.SurfaceAnimator.startAnimation:119 com.android.server.wm.WindowContainer.startAnimation:1213 com.android.server.wm.WindowState.startAnimation:5783 com.android.server.wm.WindowState.startAnimation:5766 com.android.server.wm.WindowStateAnimator.applyAnimationLocked:1785
Info (5741) / WindowManager: Reparenting to leash, surface=Surface(name=29a8674 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView)/@0x5cd4f5e, caller=com.android.server.wm.SurfaceAnimator.startAnimation:127 com.android.server.wm.WindowContainer.startAnimation:1213 com.android.server.wm.WindowState.startAnimation:5783 com.android.server.wm.WindowState.startAnimation:5766 com.android.server.wm.WindowStateAnimator.applyAnimationLocked:1785
Info (5231) / SurfaceFlinger: id=982 createSurf (6080x6080),2 flag=4, Surface(name=29a8674 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView)/@0x5cd4f5e - animation-leash#0
Debug (5741) / SurfaceControl: reparent is called, sc=Surface(name=29a8674 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView)/@0x5cd4f5e, newParentHandle=android.os.BinderProxy@fa83710, transaction=android.view.SurfaceControl$Transaction@c4c300c, caller=com.android.server.wm.SurfaceAnimator.createAnimationLeash:387 com.android.server.wm.SurfaceAnimator.startAnimation:127 com.android.server.wm.WindowContainer.startAnimation:1213 com.android.server.wm.WindowState.startAnimation:5783 com.android.server.wm.WindowState.startAnimation:5766 com.android.server.wm.WindowStateAnimator.applyAnimationLocked:1785 com.android.server.wm.WindowState.removeIfPossible:2804
Verbose (5741) / WindowManager: Changing focus from Window{29a8674 u0 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView EXITING} to Window{7066e14 u0 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView} Callers=com.android.server.wm.WindowState.setupWindowForRemoveOnExit:2860 com.android.server.wm.WindowState.removeIfPossible:2831 com.android.server.wm.WindowState.removeIfPossible:2710 com.android.server.wm.WindowManagerService.removeWindow:1921
Debug (5741) / StatusBarManagerService: notifyRequestedSystemKey recent=false home=false
Info (5741) / WindowManager: Cancelling animation restarting=true, leash=null, surface=Surface(name=Dim Layer for - Task=148)/@0x39b036a, parent=Surface(name=Task=148)/@0xb7b4d29, caller=com.android.server.wm.SurfaceAnimator.startAnimation:119 com.android.server.wm.-$$Lambda$yACUZqn1Ak-GL14-Nu3kHUSaLX0.startAnimation:0 com.android.server.wm.Dimmer.startAnim:406 com.android.server.wm.Dimmer.startDimExit:393 com.android.server.wm.Dimmer.updateDims:350
Info (5741) / WindowManager: Reparenting to leash, surface=Surface(name=Dim Layer for - Task=148)/@0x39b036a, caller=com.android.server.wm.SurfaceAnimator.startAnimation:127 com.android.server.wm.-$$Lambda$yACUZqn1Ak-GL14-Nu3kHUSaLX0.startAnimation:0 com.android.server.wm.Dimmer.startAnim:406 com.android.server.wm.Dimmer.startDimExit:393 com.android.server.wm.Dimmer.updateDims:350
Info (5231) / SurfaceFlinger: id=983 createSurf (6080x6080),2 flag=4, Surface(name=Dim Layer for - Task=148)/@0x39b036a - animation-leash#0
Debug (5741) / SurfaceControl: reparent is called, sc=Surface(name=Dim Layer for - Task=148)/@0x39b036a, newParentHandle=android.os.BinderProxy@91a4c0e, transaction=android.view.SurfaceControl$Transaction@762117d, caller=com.android.server.wm.SurfaceAnimator.createAnimationLeash:387 com.android.server.wm.SurfaceAnimator.startAnimation:127 com.android.server.wm.-$$Lambda$yACUZqn1Ak-GL14-Nu3kHUSaLX0.startAnimation:0 com.android.server.wm.Dimmer.startAnim:406 com.android.server.wm.Dimmer.startDimExit:393 com.android.server.wm.Dimmer.updateDims:350 com.android.server.wm.Task.prepareSurfaces:902
Debug (5231) / Layer: [29a8674 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView#0]::reparent oldParent:[AppWindowToken{4c9d381 token=Token{b788368 ActivityRecord{9cbf68b u0 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView t148}}}#0], newParent:[Surface(name=29a8674 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView)/@0x5cd4f5e - animation-leash#0]
Debug (5741) / InputDispatcher: Focus left window (31484): 29a8674 0
Debug (5741) / InputDispatcher: Focus entered window (31484): 7066e14 0
Debug (5741) / InputTransport: Input channel destroyed: fd=471
Debug (5741) / WindowManager: reportFocusChangedSerialized, focused=true, inTouchMode=true, win=Window{7066e14 u0 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView}
Debug (5741) / WindowManager: reportFocusChangedSerialized, focused=false, inTouchMode=true, win=Window{29a8674 u0 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView EXITING}
Debug (31484) / InputTransport: Input channel destroyed: fd=95
Debug (31484) / ViewRootImpl@793d1f0[ActivityFlowHostView]: MSG_WINDOW_FOCUS_CHANGED 1 1
Debug (5741) / WindowManager: setSystemUiVisibility: vis= 0x9016, fullscreenVis= 0x0, dockedVis= 0x0, win=Window{7066e14 u0 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView}
Debug (5231) / Layer: [Dim Layer for - Task=148#0]::reparent oldParent:[Task=148#0], newParent:[Surface(name=Dim Layer for - Task=148)/@0x39b036a - animation-leash#0]
Debug (17759) / LightBarController: onNavigationVisibilityChanged : vis = 9016, nbModeChanged = false navigationBarMode = 4
Debug (5741) / SamsungPhoneWindowManager: adjustSystemUiVisibilityLw: vis=0x9016
Debug (5741) / InputManager-JNI: setSystemUiVisibility dexmode: false changed: true displayid: 0 visibility: 0x9016 DD: 0x9016 OD: 0x0
Debug (31484) / InputMethodManager: prepareNavigationBarInfo() DecorView@8e09b84[ActivityFlowHostView]
Debug (31484) / InputMethodManager: getNavigationBarColor() -855310
Debug (31484) / InputMethodManager: prepareNavigationBarInfo() DecorView@8e09b84[ActivityFlowHostView]
Debug (31484) / InputMethodManager: getNavigationBarColor() -855310
Verbose (31484) / InputMethodManager: Starting input: tba=dk.TrackMan.Range ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : false , NavTrans : false
Debug (31484) / InputMethodManager: startInputInner - Id : 0
Info (31484) / InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
Debug (5741) / InputMethodManagerService: startInputOrWindowGainedFocus : windowGainedFocus
Debug (5741) / InputMethodManagerService: windowGainedFocus: destinationUserId (getCallingUid) = 0
Debug (5741) / InputMethodManagerService: windowGainedFocus: currentUserId=0
Debug (5741) / InputMethodManagerService: windowGainedFocus: mCurrentFocusedUserId=0
Debug (5741) / InputMethodManagerService: windowGainedFocus : lock - currentUserId = 0 destinationUserId = 0
Debug (5741) / InputMethodManagerService: windowGainedFocus : mCurrentFocusedUserId - 0 and mSecureKeypadEnabled - false, userSwitched - false
Verbose (5741) / InputMethodManagerService: windowGainedFocus : reason=WINDOW_FOCUS_GAIN client=android.os.BinderProxy@26c94f7 inputContext=null missingMethods= attribute=android.view.inputmethod.EditorInfo@e41b43c nm = dk.TrackMan.Range controlFlags=#101 softInputMode=#12 windowFlags=#81810100
Debug (5741) / InputMethodManagerService: checkDisplayOfStartInputAndUpdateKeyboard display Id 0last 0
Debug (5741) / InputMethodManagerService: setCurrentInputInfo - inputContext : null eidtorInfo : android.view.inputmethod.EditorInfo@e41b43c missingMethods : 0
Debug (5741) / InputTransport: Input channel constructed: fd=471
Debug (5741) / InputTransport: Input channel destroyed: fd=471
Debug (31484) / InputTransport: Input channel constructed: fd=95
Debug (31484) / InputTransport: Input channel destroyed: fd=116
Info (19520) / InputMethodWrapper: call dispatchStartInputWithToken
Info (19520) / InputMethodService: dispatchStartInputWithToken
Info (19520) / SKBD_Performance: [IIManager] [PF_CL][onFinishInput] 195615
Debug (19520) / InputMethodService: checkDisplayOfStartInputAndUpdateKeyboard display Id 0last 0
Error (31484) / ViewRootImpl: sendUserActionEvent() returned.
Info (19520) / SKBD: SamsungKeypad [IMI] onStartInput - caller pid : 31484, caller uid : 10243
Info (5741) / WindowManager: reset, Reparenting to original parent, shouldDeferScheduleAnimation=false, destroyLeash=true, surface=Surface(name=Dim Layer for - Task=148)/@0x39b036a, parent=Surface(name=Task=148)/@0xb7b4d29, parentNativeHandle=android.os.BinderProxy@49495c2, caller=com.android.server.wm.SurfaceAnimator.lambda$getFinishedCallback$0:94 com.android.server.wm.-$$Lambda$SurfaceAnimator$SIBia0mND666K8lMCPsoid8pUTI.run:4 com.android.server.wm.SurfaceAnimator.lambda$getFinishedCallback$1:101 com.android.server.wm.-$$Lambda$SurfaceAnimator$vdRZk66hQVbQCvVXEaQCT1kVmFc.onAnimationFinished:4 com.android.server.wm.LocalAnimationAdapter.lambda$startAnimation$0:65
Debug (5741) / SurfaceControl: reparent is called, sc=Surface(name=Dim Layer for - Task=148)/@0x39b036a, newParentHandle=android.os.BinderProxy@49495c2, transaction=android.view.SurfaceControl$Transaction@762117d, caller=com.android.server.wm.SurfaceAnimator.reset:328 com.android.server.wm.SurfaceAnimator.lambda$getFinishedCallback$0:94 com.android.server.wm.-$$Lambda$SurfaceAnimator$SIBia0mND666K8lMCPsoid8pUTI.run:4 com.android.server.wm.SurfaceAnimator.lambda$getFinishedCallback$1:101 com.android.server.wm.-$$Lambda$SurfaceAnimator$vdRZk66hQVbQCvVXEaQCT1kVmFc.onAnimationFinished:4 com.android.server.wm.LocalAnimationAdapter.lambda$startAnimation$0:65 com.android.server.wm.-$$Lambda$LocalAnimationAdapter$X--EomqUvw4qy89IeeTFTH7aCMo.run:4
Debug (5741) / SurfaceControl: destroy(transaction), animation-leash is destroyed, sc=Surface(name=Surface(name=Dim Layer for - Task=148)/@0x39b036a - animation-leash)/@0x432d62f, transaction=android.view.SurfaceControl$Transaction@762117d, caller=com.android.server.wm.SurfaceAnimator.reset:335 com.android.server.wm.SurfaceAnimator.lambda$getFinishedCallback$0:94 com.android.server.wm.-$$Lambda$SurfaceAnimator$SIBia0mND666K8lMCPsoid8pUTI.run:4 com.android.server.wm.SurfaceAnimator.lambda$getFinishedCallback$1:101 com.android.server.wm.-$$Lambda$SurfaceAnimator$vdRZk66hQVbQCvVXEaQCT1kVmFc.onAnimationFinished:4 com.android.server.wm.LocalAnimationAdapter.lambda$startAnimation$0:65 com.android.server.wm.-$$Lambda$LocalAnimationAdapter$X--EomqUvw4qy89IeeTFTH7aCMo.run:4
Info (5231) / SurfaceFlinger: id=980 Removed Dim Layer for - Task=148#0 (0/73)
Info (5741) / WindowManager: reset, Reparenting to original parent, shouldDeferScheduleAnimation=false, destroyLeash=true, surface=Surface(name=29a8674 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView)/@0x5cd4f5e, parent=Surface(name=AppWindowToken{4c9d381 token=Token{b788368 ActivityRecord{9cbf68b u0 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView t148}}})/@0xeab8444, parentNativeHandle=android.os.BinderProxy@f2674a4, caller=com.android.server.wm.SurfaceAnimator.lambda$getFinishedCallback$0:94 com.android.server.wm.-$$Lambda$SurfaceAnimator$SIBia0mND666K8lMCPsoid8pUTI.run:4 com.android.server.wm.SurfaceAnimator.lambda$getFinishedCallback$1:101 com.android.server.wm.-$$Lambda$SurfaceAnimator$vdRZk66hQVbQCvVXEaQCT1kVmFc.onAnimationFinished:4 com.android.server.wm.LocalAnimationAdapter.lambda$startAnimation$0:65
Debug (5741) / SurfaceControl: reparent is called, sc=Surface(name=29a8674 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView)/@0x5cd4f5e, newParentHandle=android.os.BinderProxy@f2674a4, transaction=android.view.SurfaceControl$Transaction@c4c300c, caller=com.android.server.wm.SurfaceAnimator.reset:328 com.android.server.wm.SurfaceAnimator.lambda$getFinishedCallback$0:94 com.android.server.wm.-$$Lambda$SurfaceAnimator$SIBia0mND666K8lMCPsoid8pUTI.run:4 com.android.server.wm.SurfaceAnimator.lambda$getFinishedCallback$1:101 com.android.server.wm.-$$Lambda$SurfaceAnimator$vdRZk66hQVbQCvVXEaQCT1kVmFc.onAnimationFinished:4 com.android.server.wm.LocalAnimationAdapter.lambda$startAnimation$0:65 com.android.server.wm.-$$Lambda$LocalAnimationAdapter$X--EomqUvw4qy89IeeTFTH7aCMo.run:4
Debug (5741) / SurfaceControl: destroy(transaction), animation-leash is destroyed, sc=Surface(name=Surface(name=29a8674 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView)/@0x5cd4f5e - animation-leash)/@0x1c68209, transaction=android.view.SurfaceControl$Transaction@c4c300c, caller=com.android.server.wm.SurfaceAnimator.reset:335 com.android.server.wm.SurfaceAnimator.lambda$getFinishedCallback$0:94 com.android.server.wm.-$$Lambda$SurfaceAnimator$SIBia0mND666K8lMCPsoid8pUTI.run:4 com.android.server.wm.SurfaceAnimator.lambda$getFinishedCallback$1:101 com.android.server.wm.-$$Lambda$SurfaceAnimator$vdRZk66hQVbQCvVXEaQCT1kVmFc.onAnimationFinished:4 com.android.server.wm.LocalAnimationAdapter.lambda$startAnimation$0:65 com.android.server.wm.-$$Lambda$LocalAnimationAdapter$X--EomqUvw4qy89IeeTFTH7aCMo.run:4
Error (5741) / WindowManager: win=Window{29a8674 u0 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView EXITING} destroySurfaces: appStopped=false win.mWindowRemovalAllowed=true win.mRemoveOnExit=true win.mViewVisibility=0 caller=com.android.server.wm.AppWindowToken.destroySurfaces:870 com.android.server.wm.AppWindowToken.destroySurfaces:851 com.android.server.wm.WindowState.onExitAnimationDone:5366 com.android.server.wm.WindowStateAnimator.onAnimationFinished:319 com.android.server.wm.WindowState.onAnimationFinished:5788 com.android.server.wm.-$$Lambda$yVRF8YoeNdTa8GR1wDStVsHu8xM.run:2 com.android.server.wm.SurfaceAnimator.lambda$getFinishedCallback$0:97
Info (5741) / WindowManager: Destroying surface Surface(name=dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView[31484])/@0xfa667e3 called by com.android.server.wm.WindowStateAnimator.destroySurface:1880 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:838 com.android.server.wm.WindowState.destroySurfaceUnchecked:3775 com.android.server.wm.WindowState.destroySurface:3756 com.android.server.wm.AppWindowToken.destroySurfaces:870 com.android.server.wm.AppWindowToken.destroySurfaces:851 com.android.server.wm.WindowState.onExitAnimationDone:5366 com.android.server.wm.WindowStateAnimator.onAnimationFinished:319
Info (5231) / SurfaceFlinger: id=978 Removed dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView[31484]#1 (0/72)
Debug (5741) / WindowManager: clearSavedLeashOnCommit, savedLeash=Surface(name=Surface(name=29a8674 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView)/@0x5cd4f5e - animation-leash)/@0x1c68209, caller=com.android.server.wm.WindowContainer.removeImmediately:337 com.android.server.wm.WindowState.removeImmediately:2622 com.android.server.wm.WindowState.destroySurface:3759 com.android.server.wm.AppWindowToken.destroySurfaces:870 com.android.server.wm.AppWindowToken.destroySurfaces:851 com.android.server.wm.WindowState.onExitAnimationDone:5366
Info (5741) / SensorService: [REARLIGHT] lux value : 102, code value : 109
Warning (5231) / SurfaceFlinger: Attempting to set client state on removed layer: dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView[31484]#1 [s.what : 64]
Debug (5231) / Layer: [29a8674 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView#0]::reparent oldParent:[Surface(name=29a8674 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView)/@0x5cd4f5e - animation-leash#0], newParent:[AppWindowToken{4c9d381 token=Token{b788368 ActivityRecord{9cbf68b u0 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView t148}}}#0]
Warning (5231) / SurfaceFlinger: Attempting to set client state on removed layer: Dim Layer for - Task=148#0 [s.what : 65536]
Warning (5231) / SurfaceFlinger: Attempting to destroy on removed layer: dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView[31484]#1
Info (5231) / SurfaceFlinger: id=977 Removed 29a8674 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView#0 (2/71)
Warning (5231) / SurfaceFlinger: Attempting to destroy on removed layer: Dim Layer for - Task=148#0
Info (5231) / SurfaceFlinger: id=983 Removed Surface(name=Dim Layer for - Task=148)/@0x39b036a - animation-leash#0 (1/70)
Info (5231) / SurfaceFlinger: id=982 Removed Surface(name=29a8674 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView)/@0x5cd4f5e - animation-leash#0 (2/69)
Info (5231) / Layer: id=977 onRemoved 29a8674 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView#0
Info (5231) / Layer: id=982 onRemoved Surface(name=29a8674 dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView)/@0x5cd4f5e - animation-leash#0
Info (5231) / Layer: id=980 onRemoved Dim Layer for - Task=148#0
Info (5231) / Layer: id=983 onRemoved Surface(name=Dim Layer for - Task=148)/@0x39b036a - animation-leash#0
Info (5231) / Layer: id=978 onRemoved dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView[31484]#1
Debug (5741) / WifiStateMachine: enter getWifiLinkLayerStats
Info (5741) / WifiVendorHal: getWifiLinkLayerStats(l.2965) before calling iface.getLinkLayerStats
Info (5212) / android.hardware.wifi@1.0-service: enter getLinkLayerStats
Info (5212) / android.hardware.wifi@1.0-service: enter getLinkLayerStatsInternal
Info (5231) / SurfaceFlinger: Display 0 HWC layers:
Info (5231) / SurfaceFlinger: type | handle | flag | format | source crop (l,t,r,b) | frame | name
Info (5231) / SurfaceFlinger: ------------+--------------+------+-----------+----------------------------+---------------------+------
Info (5231) / SurfaceFlinger: SolidColor | | 0004 | Unknown | 0.0 0.0 -1.0 -1.0 | 0 0 1080 112 | Letterbox - top#1
Info (5231) / SurfaceFlinger: Device | 0x7823642180 | 0002 | RGBA_8888 | 0.0 0.0 1080.0 2168.0 | 0 112 1080 2280 | dk.TrackMan.Range/md51bc303ec2e30c20[...]1a9e67.ActivityFlowHostView[31484]#0
Info (5231) / SurfaceFlinger: Device | 0x7823049460 | 0000 | RGBA_8888 | 0.0 0.0 67.0 431.0 | 1013 870 1080 1301 | com.samsung.android.app.cocktailbars[...]rservice.CocktailBarService[20894]#0
Info (5231) / SurfaceFlinger:
Info (5212) / android.hardware.wifi@1.0-service: Successfully getLinkLayerStats.
Info (5741) / WifiVendorHal: getWifiLinkLayerStats(l.2965) after calling iface.getLinkLayerStats
Info (5741) / WifiStateMachine: checkScoreBasedQuality - mPreviousScore[0]:72 mPreviousScore[1]:72 mPreviousScore[2]:73 s2Score:73mPrevoiusScoreAverage:72
Error (5741) / Watchdog: !@Sync 2828 [2019-04-03 15:38:44.501] FD count : 584
Info (5741) / SensorService: [REARLIGHT] lux value : 101, code value : 109
Verbose (5227) / APM_AudioPolicyManager: AudioPolicyManager:setRecordSilenced(uid:10041, silenced:1)
Debug (5741) / WifiPermissionsUtil: canAccessScanResults: pkgName = android, uid = 1000
Debug (17759) / SecStatusBarWifiView: updateState: WifiIconState(resId=2131232608, visible=true, activityId=2131232613)
Debug (5741) / CustomFrequencyManagerService: FrequencyrequestList.getNextSchedTuneBoostRequest, index: 0
Warning (31484) / .TrackMan.Rang: 0xebadde09 skipped times: 0
Error (31484) / mono-rt: /proc/self/maps:
Error (31484) / mono-rt: 12c00000-135c0000 rw-p 00000000 00:05 31230 /dev/ashmem/dalvik-main space (region space)_5189_5189 (deleted)
Error (31484) / mono-rt: 135c0000-13740000 ---p 009c0000 00:05 31230 /dev/ashmem/dalvik-main space (region space)_5189_5189 (deleted)
Error (31484) / mono-rt: 13740000-17b00000 rw-p 00b40000 00:05 31230 /dev/ashmem/dalvik-main space (region space)_5189_5189 (deleted)
Error (31484) / mono-rt: 17b00000-17b80000 ---p 04f00000 00:05 31230 /dev/ashmem/dalvik-main space (region space)_5189_5189 (deleted)
Error (31484) / mono-rt: 17b80000-52c00000 rw-p 04f80000 00:05 31230 /dev/ashmem/dalvik-main space (region space)_5189_5189 (deleted)
Error (31484) / mono-rt: 6f126000-6f400000 rw-p 00000000 103:0f 16 /data/dalvik-cache/arm64/system@framework@boot.art
Error (31484) / mono-rt: 6f400000-6f416000 r--p 002da000 103:0f 16 /data/dalvik-cache/arm64/system@framework@boot.art
Error (31484) / mono-rt: 6f416000-6f54b000 rw-p 00000000 103:0f 28 /data/dalvik-cache/arm64/system@framework@boot-core-libart.art
Error (31484) / mono-rt: 6f54b000-6f55d000 r--p 00135000 103:0f 28 /data/dalvik-cache/arm64/system@framework@boot-core-libart.art
Error (31484) / mono-rt: 6f55d000-6f59d000 rw-p 00000000 103:0f 34 /data/dalvik-cache/arm64/system@framework@boot-conscrypt.art
Error (31484) / mono-rt: 6f59d000-6f5a0000 r--p 00040000 103:0f 34 /data/dalvik-cache/arm64/system@framework@boot-conscrypt.art
Error (31484) / mono-rt: 6f5a0000-6f5e7000 rw-p 00000000 103:0f 43 /data/dalvik-cache/arm64/system@framework@boot-okhttp.art
Error (31484) / mono-rt: 6f5e7000-6f5eb000 r--p 00047000 103:0f 43 /data/dalvik-cache/arm64/system@framework@boot-okhttp.art
Error (31484) / mono-rt: 6f5eb000-6f651000 rw-p 00000000 103:0f 50 /data/dalvik-cache/arm64/system@framework@boot-bouncycastle.art
Error (31484) / mono-rt: 6f651000-6f658000 r--p 00066000 103:0f 50 /data/dalvik-cache/arm64/system@framework@boot-bouncycastle.art
Error (31484) / mono-rt: 6f658000-6f6b9000 rw-p 00000000 103:0f 53 /data/dalvik-cache/arm64/system@framework@boot-apache-xml.art
Error (31484) / mono-rt: 6f6b9000-6f6c0000 r--p 00061000 103:0f 53 /data/dalvik-cache/arm64/system@framework@boot-apache-xml.art
Error (31484) / mono-rt: 6f6c0000-6f704000 rw-p 00000000 103:0f 56 /data/dalvik-cache/arm64/system@framework@boot-ext.art
Error (31484) / mono-rt: 6f704000-6f70f000 r--p 00044000 103:0f 56 /data/dalvik-cache/arm64/system@framework@boot-ext.art
Error (31484) / mono-rt: 6f70f000-70326000 rw-p 00000000 103:0f 62 /data/dalvik-cache/arm64/system@framework@boot-framework.art
Error (31484) / mono-rt: 70326000-70386000 r--p 00c17000 103:0f 62 /data/dalvik-cache/arm64/system@framework@boot-framework.art
Error (31484) / mono-rt: 70386000-70510000 rw-p 00000000 103:0f 80 /data/dalvik-cache/arm64/system@framework@boot-telephony-common.art
Error (31484) / mono-rt: 70510000-7052e000 r--p 0018a000 103:0f 80 /data/dalvik-cache/arm64/system@framework@boot-telephony-common.art
Error (31484) / mono-rt: 7052e000-7053d000 rw-p 00000000 103:0f 86 /data/dalvik-cache/arm64/system@framework@boot-voip-common.art
Error (31484) / mono-rt: 7053d000-7053f000 r--p 0000f000 103:0f 86 /data/dalvik-cache/arm64/system@framework@boot-voip-common.art
Error (31484) / libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xbc in tid 31527 (AsyncTask #4), pid 31484 (.TrackMan.Range)
Info (31859) / crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone
Info (5407) : received crash request for pid 31527
Info (31859) / crash_dump64: performing dump of process 31484 (target tid = 31527)
Error (31859) / DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Error (31859) / DEBUG: Build fingerprint: 'samsung/beyond1lteeea/beyond1:9/PPR1.180610.011/G973FXXU1ASCA:user/release-keys'
Error (31859) / DEBUG: Revision: '26'
Error (31859) / DEBUG: ABI: 'arm64'
Error (31859) / DEBUG: pid: 31484, tid: 31527, name: AsyncTask #4 >>> dk.TrackMan.Range <<<
Error (31859) / DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xbc
Error (31859) / DEBUG: Cause: null pointer dereference
Error (31859) / DEBUG: x0 0000000000000000 x1 000000783e57c648 x2 00000078264e7148 x3 0000000000000008
Error (31859) / DEBUG: x4 0000000000000000 x5 0000000000000002 x6 000000780f84c698 x7 0000000000000009
Error (31859) / DEBUG: x8 000000783e59e898 x9 0000000000000001 x10 0000000000000001 x11 0000007820000000
Error (31859) / DEBUG: x12 00000000000000a3 x13 0000007820000000 x14 000000000000000d x15 aaaaaaaaaaaaaaab
Error (31859) / DEBUG: x16 000000782e3589c0 x17 00000078cc6c794c x18 0000000000000000 x19 00000078264e7148
Error (31859) / DEBUG: x20 000000783e57c648 x21 0000000000000000 x22 00000078200a3e06 x23 0000007840506b40
Error (31859) / DEBUG: x24 0000000000000000 x25 0000007812997990 x26 0000000000000000 x27 000000000000000b
Error (31859) / DEBUG: x28 0000000000000000 x29 00000078264e7130
Error (31859) / DEBUG: sp 00000078264e70a0 lr 000000782e1af484 pc 000000782e1af494
Error (31859) / DEBUG:
Error (31859) / DEBUG: backtrace:
Error (31859) / DEBUG: #00 pc 0000000000199494 /data/app/Mono.Android.DebugRuntime-lFcdnuZ4gxhgNloh2F5UDw==/lib/arm64/libmonosgen-64bit-2.0.so
Debug (5741) / WifiConnectivityMonitor.DnsPingerHandler: setCurrentLinkProperties: lp={InterfaceName: wlan0 LinkAddresses: [fe80::aa15:4cdf:530c:59b1/64,192.168.17.3/24,] Routes: [fe80::/64 -> :: wlan0,192.168.17.0/24 -> 0.0.0.0 wlan0,0.0.0.0/0 -> 192.168.17.1 wlan0,] DnsAddresses: [83.136.89.6,83.136.89.4,] UsePrivateDns: false PrivateDnsServerName: null Domains: null MTU: 0 TcpBufferSizes: 524288,1048576,4194304,524288,1048576,4194304}
Debug (5741) / WifiPermissionsUtil: canAccessScanResults: pkgName = android, uid = 1000
Debug (5741) / WifiPermissionsUtil: canAccessScanResults: pkgName = android, uid = 1000
Debug (5741) / WifiConnectivityMonitor.DnsPingerHandler: #1 GW MAC address found in ARP table.0 msec.
Error (5407) : Tombstone written to: /data/tombstones/tombstone_02
Info (5741) / BootReceiver: Copying /data/tombstones/tombstone_02 to DropBox (SYSTEM_TOMBSTONE)
Warning (5741) / ActivityManager: crash : dk.TrackMan.Range,0
Error (5181) / audit: type=1701 audit(1554298726.009:1420): auid=4294967295 uid=10243 gid=10243 ses=4294967295 subj=u:r:untrusted_app_27:s0:c512,c768 pid=31484 comm=4173796E635461736B202334 exe="/system/bin/app_process64" sig=11 res=1
Warning (5741) / ActivityManager: Force finishing activity dk.TrackMan.Range/md51bc303ec2e30c20fab671d92b41a9e67.ActivityFlowHostView
-
@grendello then asked me to try run the App with lldb. However, I didn’t get that to work, it just made my App hang on splash screen and left some props on the device that made the subsequent launches of the app fail. I followed the instructions here: https://github.com/mono/lldb-binaries had to mess with the xa-lldb script to make it pick up the correct Main Activity and make it use msbuild because xabuild is not present on my machine.
-
After the failed lldb attempt, @grendello asked me to run
msbuild /bl /t:_Gdbon the App project, which didn’t seem to crash the App. Which lead @grendello to the conclusion: “that means it might be a problem with sdb or triggered by it”. And here we are.
I cannot attach a repro sample, because I don’t know which part of it actually triggers the App to blow up, since there is no stack trace to go from.
This issue seems to mainly happen on arm64 devices. My Nexus 5, doesn’t have any issues with debugging.
Other people on Gitter.im had a similar issue.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 23
- Comments: 60 (27 by maintainers)
Commits related to this issue
- [debugger-agent] Ignore thread_end event if thread is detached The thread_stopped profiler event can be raised by the thread_info_key_dtor tls key destructor when the thread is already doesn't have a... — committed to lambdageek/mono by lambdageek 8 years ago
- [debugger-agent] Ignore thread_end event if thread is detached The thread_stopped profiler event can be raised by the thread_info_key_dtor tls key destructor when the thread is already doesn't have a... — committed to monojenkins/mono by lambdageek 8 years ago
- [debugger-agent] Ignore thread_end event if thread is detached The thread_stopped profiler event can be raised by the thread_info_key_dtor tls key destructor when the thread is already doesn't have a... — committed to monojenkins/mono by lambdageek 8 years ago
- [debugger-agent] Ignore thread_end event if thread is detached The thread_stopped profiler event can be raised by the thread_info_key_dtor tls key destructor when the thread is already doesn't have a... — committed to monojenkins/mono by lambdageek 8 years ago
- [debugger-agent] Ignore thread_end event if thread is detached (#13936) The thread_stopped profiler event can be raised by the thread_info_key_dtor tls key destructor when the thread is already does... — committed to mono/mono by lambdageek 8 years ago
- [debugger-agent] Ignore thread_end event if thread is detached (#13937) The thread_stopped profiler event can be raised by the thread_info_key_dtor tls key destructor when the thread is already does... — committed to mono/mono by monojenkins 8 years ago
- [debugger-agent] Ignore thread_end event if thread is detached (#13939) The thread_stopped profiler event can be raised by the thread_info_key_dtor tls key destructor when the thread is already does... — committed to mono/mono by monojenkins 8 years ago
- [debugger-agent] Ignore thread_end event if thread is detached (#13938) The thread_stopped profiler event can be raised by the thread_info_key_dtor tls key destructor when the thread is already does... — committed to mono/mono by monojenkins 8 years ago
- Bump to mono/mono/2018-08-rc@5ac37ccd385 Changes: https://github.com/mono/mono/compare/74451376043..5ac37ccd385 Fixes: https://github.com/xamarin/xamarin-android/issues/2920 — committed to jonathanpeppers/xamarin-android by jonathanpeppers 8 years ago
- Bump to mono/mono/2018-08@bf4e8d2ae19 Changes: https://github.com/mono/mono/compare/4b020ca06d4..bf4e8d2ae19 Fixes: https://github.com/xamarin/xamarin-android/issues/2920 — committed to jonathanpeppers/xamarin-android by jonathanpeppers 8 years ago
- Bump to mono/mono/2018-10@886c4901747 Changes: https://github.com/mono/mono/compare/85d1920b016...886c4901747 Fixes: https://github.com/xamarin/xamarin-android/issues/2920 — committed to jonathanpeppers/xamarin-android by jonathanpeppers 8 years ago
- Bump to mono/mono/2018-08-rc@5ac37ccd385 (#2946) Fixes: https://github.com/xamarin/xamarin-android/issues/2920 — committed to dotnet/android by jonathanpeppers 8 years ago
- Bump to mono/mono/2018-08@bf4e8d2ae19 (#2947) Changes: https://github.com/mono/mono/compare/4b020ca06d4...bf4e8d2ae19 Fixes: https://github.com/xamarin/xamarin-android/issues/2920 — committed to dotnet/android by jonathanpeppers 8 years ago
- Bump to mono/mono/2018-10@886c4901747 (#2948) Changes: https://github.com/mono/mono/compare/85d1920b016...886c4901747 Fixes: https://github.com/xamarin/xamarin-android/issues/2920 — committed to dotnet/android by jonathanpeppers 8 years ago
- [debugger-agent] Ignore thread_end event if thread is detached The thread_stopped profiler event can be raised by the thread_info_key_dtor tls key destructor when the thread is already doesn't have a... — committed to monojenkins/mono by lambdageek 8 years ago
- [debugger-agent] Ignore thread_end event if thread is detached (#14003) The thread_stopped profiler event can be raised by the thread_info_key_dtor tls key destructor when the thread is already does... — committed to mono/mono by monojenkins 8 years ago
- [debugger-agent] Ignore thread_end event if thread is detached The thread_stopped profiler event can be raised by the thread_info_key_dtor tls key destructor when the thread is already doesn't have a... — committed to monojenkins/mono by lambdageek 8 years ago
- [debugger-agent] Ignore thread_end event if thread is detached The thread_stopped profiler event can be raised by the thread_info_key_dtor tls key destructor when the thread is already doesn't have a... — committed to monojenkins/mono by lambdageek 8 years ago
- [debugger-agent] Ignore thread_end event if thread is detached The thread_stopped profiler event can be raised by the thread_info_key_dtor tls key destructor when the thread is already doesn't have a... — committed to mono/mono by lambdageek 8 years ago
- [debugger-agent] Ignore thread_end event if thread is detached The thread_stopped profiler event can be raised by the thread_info_key_dtor tls key destructor when the thread is already doesn't have a... — committed to mono/mono by lambdageek 8 years ago
Serious bugs like these should be given topmost priority, not stay unfixed for 4 days without any indication of when to expect a fix 🙄
This is a pretty big blocker for our enterprise Android app that can not be debugged! Surely this was tested before making VS 2019 GA? Hope it gets fixed ASAP!
Hi, I encountered the same issue. With a Xamarin android native app and Visual Studio 2019 for Mac. I just have to launch the app with the debugger attached on a emulator or a device and wait. The app crash after few seconds. No crash when the debugger is not attached
Apologies in advance that I don’t have precise details about the timeline for publication of the updated Xamarin.Android SDK version as part of Visual Studio. I believe the approximate answer is as soon as possible, but that might be another week or more. To add one more little bit of info to this issue before the weekend, here are links for the candidate development installer packages that include the fix:
I did a quick sanity-check of these packages myself to verify that I could debug the test case successfully. That said, note that these are not fully validated packages. They should be considered experimental for now until they have been published as part of Visual Studio.
Installing and uninstalling these experimental packages
For either installer, ensure that the file downloads with the correct extension, and then double-click it to install. When running the .vsix installer on Windows, be sure to select only Visual Studio 2019 if you have multiple versions of Visual Studio installed.
When this Xamarin.Android package is installed, Visual Studio for Mac will offer to downgrade back to version Xamarin.Android SDK version 9.2.0.5, so you will need to ignore that update to keep using this experimental version, until the newer Xamarin.Android version is published to the Visual Studio for Mac updater channel. On the other hand, if you wish to revert to Xamarin.Android SDK version 9.2.0.5 after trying the experimental package, then you can apply the older version from the updater.
If you wish to revert to Xamarin.Android SDK version 9.2.0.5 in Visual Studio on Windows, navigate to Extensions > Manage Extensions, select the Xamarin.Android SDK entry, and click Revert.
@lambdageek please handle this issue
Windows fix published. The new Xamarin.Android SDK version 9.2.3.0 that includes the fix for this issue has now been published as part of Visual Studio 2019 version 16.0.3. Check for the latest updates or install the most recent release from https://visualstudio.microsoft.com/downloads/ to get the fix.
Thank you, @brendanzagaeski will that fix for android on Mac issue which occurs even if you just run an app in debug mode and after a few seconds (without a single click) crashed
Preliminary verification of candidate fix:
For x86 emulator, extract
$MSBuild/Xamarin/Android/lib/x86/libmonosgen-2.0.sofrom the.vsixof the public non-commerical build that includes the candidate fix.Push the
libomonosgen-2.0.soto the external.__override__/lib/directory of the test app:Repeat the test scenario.
Result:
👍 The app does not crash while debugging from Visual Studio.
The best place to follow for additional information about the problem in Visual Studio 2019 version 16.1 and higher is: https://github.com/xamarin/xamarin-android/issues/3112 (or the corresponding item on Developer Community).
For example, I’ll make sure those issues are switched to the closed state when a version of Visual Studio 2019 version 16.1 with a fix for the issue is released, so you’ll be able to watch for the state change to get a notification. There is a candidate change in progress to resolve the issue.
(For additional background context, the crash in Visual Studio 2019 version 16.1 has a new unrelated cause, and can happen with or without the debugger attached.)
I first reported this back in January, a couple of days after preview 2 was released. Someone started looking at it quite quickly but seemed to struggle with repro steps. Sadly I didn’t have time back then to try and create a small test application as we were at a critical point in our mobile app development.
macOS fix published. The new Xamarin.Android SDK version 9.2.3.0 that includes the fix for this issue has now been released in the Stable updater channel in Visual Studio for Mac. Check for the latest updates or install the most recent release from https://visualstudio.microsoft.com/downloads/ to get the fix.
Windows fix upcoming. Due to an uncommon release cadence match-up, the corresponding update for Visual Studio 2019 is still upcoming. I will update this issue again when that release is available.
Ok yes, maybe you can just wait a few seconds on that second page – I may have been tapping buttons in a state of panic.
Guys, the problem is resolved for debugging (in 16.1.2 and 16.1.3) on the main thread, but I am reproducing it randomly when debugging background threads.
Reproduced with:
This evening, I received update 16.1.2 from VS2019. My problem is solved now. I can debug my Xamarin application again in VS2019!
Verzonden vanuit Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 voor Windows 10
Van: Brendan Zagaeski notifications@github.com Verzonden: Wednesday, June 5, 2019 5:37:17 PM Aan: xamarin/xamarin-android CC: marcelbeeker; Comment Onderwerp: Re: [xamarin/xamarin-android] App crashes with debugger attached (#2920)
The best place to follow for additional information about the problem in Visual Studio 2019 version 16.1 and higher is: #3112https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fxamarin%2Fxamarin-android%2Fissues%2F3112&data=02|01||db4f43768894463f686108d6e9cbb165|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636953458391778291&sdata=ETWwSxzIMMsXrgjDJH2hVqTiAvie3GnOH7yzhv%2BUuos%3D&reserved=0 (or the corresponding item on Developer Communityhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdevelopercommunity.visualstudio.com%2Fcontent%2Fproblem%2F580820%2Fxamarin-problem-following-update-to-vs2019-161.html&data=02|01||db4f43768894463f686108d6e9cbb165|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636953458391788297&sdata=6r2Pj3ix5yuJCZtO8YRWpqaqW1U2wjvKn4EMgQFWRNc%3D&reserved=0).
For example, I’ll make sure those issue are switched to the closed state when a version of Visual Studio 2019 version 16.1 with a fix for the issue is released, so you’ll be able to watch for the state change to get a notification. There is a candidate change in progress to resolve the issue.
(For additional background context, the crash in Visual Studio 2019 version 16.1 has a new unrelated cause, and can happen with or without the debugger attached.)
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fxamarin%2Fxamarin-android%2Fissues%2F2920%3Femail_source%3Dnotifications%26email_token%3DAENYSNQWQ7DB4YO57MF4YJLPY7MS3A5CNFSM4HDLNA72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXADRWA%23issuecomment-499136728&data=02|01||db4f43768894463f686108d6e9cbb165|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636953458391798308&sdata=cE8ziEfGHfgecmFB5OOr3Ey%2BQhDTXTuswB6CTWVGDf4%3D&reserved=0, or mute the threadhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAENYSNUORS4OCYOHH323O5TPY7MS3ANCNFSM4HDLNA7Q&data=02|01||db4f43768894463f686108d6e9cbb165|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636953458391808314&sdata=tXYHI8b1apAtIEiDKahDNL2YVmcCdnA67%2FespEcpTLA%3D&reserved=0.
Does Xamarin even test serious bugs like these?
thanks … I used an arm64-v8a version on my device and it also worked!
I’m using an
environment.txtwithSeeing this sort of thing when the crash is happening using the repro from https://github.com/xamarin/xamarin-android/issues/2920#issuecomment-479582065
~In terms of app behavior, I hacked the suggest box to never have any suggestions. At this point the app crashes for me about a 2 seconds after I switch to the “simple auto-completion” page without any interaction. So it does make sense that the event code would be involved. (As for debugger - best guess so far is that the soft debugger just affects some timing between threads.)~
~Going to scrutinize the mono 2018-08 event related changes…~
Update: my guess here was wrong. See https://github.com/xamarin/xamarin-android/issues/2920#issuecomment-480929875 for a clean stack trace of what’s going wrong. It’s the debugger agent trying to process a thread_stopped profiler event from a thread that is already detached.
People, is this bug ever going to be fixed? I have VS 16.1.1 and my project still crashes with SQLite.
same issue for visual studio 16.1.1 and 16.2.0 preview 1 versions. download the 16.0.3 and not problem. https://docs.microsoft.com/en-us/visualstudio/releases/2019/history
Apologies in advance that I don’t have specific timing information for the publication of the version of Visual Studio 2019 that will include the fix. Barring unexpected complications, it will be included in the next version 16.0.x release. Historically, the time between Visual Studio 2017 version 15.x.x updates was under a month.
As one additional piece of information in case it might be of interest to anyone who uses the preview versions, the new Visual Studio 2019 version 16.1 Preview 2 release from yesterday does include the fix.
Additional results
The backtrace in my previous comment was from an Android 7.1 (API level 25) x86 emulator. On a Google Pixel 3 Android 9.0 (API level 28) device, the backtrace I get is:
Notes for the soft debugger and runtime engineers about using `sdb` and `lldb` at the same time with the test case
As one way to get debugging symbols for libmonosgen-2.0 on recent Android versions, you can build the app in the shared runtime configuration, add a copy of /Library/Frameworks/Xamarin.Android.framework/Versions/Current/lib/xamarin.android/xbuild/Xamarin/Android/lib/x86/libmonosgen-2.0.d.so to the project, name it lib/x86/libmonosgen-2.0.so, and set it to a build action of AndroidNativeLibrary.
Build and run the app once from Visual Studio for Mac to double-check that the error occurs as expected.
Forward a port from the Android emulator to the local host, for example port 50100:
Set a property to tell the Mono runtime to wait for a soft debugger connection on that port during startup:
Launch the application using
xa-lldb:Once
lldbis attached, set it to ignore a couple signals:Continue running the app in
lldb.Attach to the app using
sdb. For example, launchsdb-dev, and then run:Allow some time for app to load on the emulator, and then proceed with the steps to reproduce.
Additional results with these steps
When the segmentation fault occurs,
lldbshows:The backtrace of thread 19 is:
The backtrace of thread 1 is: