microsoftconnect / intune-app-wrapping-tool-android

Use the Intune App Wrapping Tool for Android to enable Android apps to be managed by Microsoft Intune
29 stars 11 forks source link

Intune : null pointer dereference #96

Open E-N-G-XOR opened 10 months ago

E-N-G-XOR commented 10 months ago

Questions to Ask Before Submission

  1. Does you app launch successfully without wrapping? YES

  2. Have you reviewed the prerequisites for App Wrapping? YES

  3. Does your issue have a solution in the Troubleshooting Guide? NOPE, WISH IT DID!

  4. Have you checked the Microsoft Intune App SDK for Android repository for similar issues? YES, BUT, WE DON'T HAVE SDK INTEGRATION ON OUR APP.

APK Crashing post Intune wrapping · Issue msintuneappsdk/intune-app-wrapping-tool-android#99 · msintuneappsdk/ms-intune-app-sdk-android (github.com)

  1. Are you using the latest version of the App Wrapper? YES, AND PREVIOUS VERSIONS

Describe the bug: A clear and concise description of what the bug is.

THE INTUNE WRAPPING COMPLETES, BUT WILL NOT LAUNCH ON THE DEVICE.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'

SIMPLY, GO TO APPS AND TRY TO LAUNCH THE APP. IT WILL IMMEDIATELY CRASH.

  1. See error STACK TRACE AND SCREEN SHOT ATTACHED

CAUSE: NULL POINTER DEREFERENCE

--------- BEGINNING OF CRASH
01-22 16:58:51.731  7166  7378 F LIBC    : FATAL SIGNAL 11 (SIGSEGV), CODE 1 (SEGV_MAPERR), FAULT ADDR 0X0 IN TID 7378 (LAUNCHER), PID 7166 (ANDROIDUI)
01-22 16:58:52.058  7594  7594 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-22 16:58:52.058  7594  7594 F DEBUG   : BUILD FINGERPRINT: 'SAMSUNG/B0QXXX/B0Q:14/UP1A.231005.007/S908EXXS7DWL8:USER/RELEASE-KEYS'
01-22 16:58:52.058  7594  7594 F DEBUG   : REVISION: '12'
01-22 16:58:52.058  7594  7594 F DEBUG   : ABI: 'ARM64'
01-22 16:58:52.058  7594  7594 F DEBUG   : PROCESSOR: '4'
01-22 16:58:52.058  7594  7594 F DEBUG   : TIMESTAMP: 2024-01-22 16:58:51.880214731+0400
01-22 16:58:52.058  7594  7594 F DEBUG   : PROCESS UPTIME: 4S
01-22 16:58:52.058  7594  7594 F DEBUG   : CMDLINE: AERO.INFORM.UXWRAPPER.FX.SC.APPNAME
01-22 16:58:52.058  7594  7594 F DEBUG   : PID: 7166, TID: 7378, NAME: LAUNCHER  >>> AERO.INFORM.UXWRAPPER.FX.SC.APPNAME <<<
01-22 16:58:52.058  7594  7594 F DEBUG   : UID: 10563
01-22 16:58:52.058  7594  7594 F DEBUG   : TAGGED_ADDR_CTRL: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
01-22 16:58:52.058  7594  7594 F DEBUG   : PAC_ENABLED_KEYS: 000000000000000F (PR_PAC_APIAKEY, PR_PAC_APIBKEY, PR_PAC_APDAKEY, PR_PAC_APDBKEY)
01-22 16:58:52.058  7594  7594 F DEBUG   : SIGNAL 11 (SIGSEGV), CODE 1 (SEGV_MAPERR), FAULT ADDR 0X0000000000000000
01-22 16:58:52.058  7594  7594 F DEBUG   : CAUSE: NULL POINTER DEREFERENCE
01-22 16:58:52.058  7594  7594 F DEBUG   :     X0  0000000000000001  X1  000000005C000000  X2  B400007A52FD6180  X3  0000000013851788
01-22 16:58:52.058  7594  7594 F DEBUG   :     X4  000000795B6C94E8  X5  000000799202487C  X6  0000000000000000  X7  00000079555E1B92
01-22 16:58:52.058  7594  7594 F DEBUG   :     X8  0000000000000000  X9  000000000000003D  X10 0000007965DE9B58  X11 0000007956CBBACE
01-22 16:58:52.058  7594  7594 F DEBUG   :     X12 000000795B6C95CC  X13 00000000156619C8  X14 000000795B6C93A0  X15 0000000000000000
01-22 16:58:52.058  7594  7594 F DEBUG   :     X16 0000000000000001  X17 00000000000000D2  X18 00000078C3460000  X19 000000795B6C9770
01-22 16:58:52.058  7594  7594 F DEBUG   :     X20 B400007A32F24C30  X21 000000789E798860  X22 000000795B6CA000  X23 00000079580A7000
01-22 16:58:52.058  7594  7594 F DEBUG   :     X24 000000795DE23B30  X25 000000795DEA5650  X26 0000000000000001  X27 0000000000000000
01-22 16:58:52.058  7594  7594 F DEBUG   :     X28 00000000FFFFFFFF  X29 0000000000000000
01-22 16:58:52.058  7594  7594 F DEBUG   :     LR  0000007953C6C174  SP  000000795B6C9720  PC  0000007953C6C234  PST 0000000060001000
01-22 16:58:52.058  7594  7594 F DEBUG   : 10 TOTAL FRAMES
01-22 16:58:52.058  7594  7594 F DEBUG   : BACKTRACE:
01-22 16:58:52.058  7594  7594 F DEBUG   :       #00 PC 0000000004455234  /DATA/APP/~~FC2H4IN3_QPOU21IW9S6OA==/AERO.INFORM.UXWRAPPER.FX.SC.APPNAME-UGSVRDN0M3JNQGYWUP8_8Q==/LIB/ARM64/LIBXUL.SO (BUILDID: 1CAC7FB090927ED300781E865D4BD3986F00835C)
01-22 16:58:52.058  7594  7594 F DEBUG   :       msintuneappsdk/ms-intune-app-sdk-android#1 PC 000000000445E504  /DATA/APP/~~FC2H4IN3_QPOU21IW9S6OA==/AERO.INFORM.UXWRAPPER.FX.SC.APPNAME-UGSVRDN0M3JNQGYWUP8_8Q==/LIB/ARM64/LIBXUL.SO (BUILDID: 1CAC7FB090927ED300781E865D4BD3986F00835C)
01-22 16:58:52.058  7594  7594 F DEBUG   :       msintuneappsdk/ms-intune-app-sdk-android#2 PC 0000000003A6DED8  /DATA/APP/~~FC2H4IN3_QPOU21IW9S6OA==/AERO.INFORM.UXWRAPPER.FX.SC.APPNAME-UGSVRDN0M3JNQGYWUP8_8Q==/LIB/ARM64/LIBXUL.SO (BUILDID: 1CAC7FB090927ED300781E865D4BD3986F00835C)
01-22 16:58:52.058  7594  7594 F DEBUG   :       msintuneappsdk/ms-intune-app-sdk-android#3 PC 0000000003AF8EB4  /DATA/APP/~~FC2H4IN3_QPOU21IW9S6OA==/AERO.INFORM.UXWRAPPER.FX.SC.APPNAME-UGSVRDN0M3JNQGYWUP8_8Q==/LIB/ARM64/LIBXUL.SO (BUILDID: 1CAC7FB090927ED300781E865D4BD3986F00835C)
01-22 16:58:52.058  7594  7594 F DEBUG   :       msintuneappsdk/ms-intune-app-sdk-android#4 PC 000000000408EFA8  /DATA/APP/~~FC2H4IN3_QPOU21IW9S6OA==/AERO.INFORM.UXWRAPPER.FX.SC.APPNAME-UGSVRDN0M3JNQGYWUP8_8Q==/LIB/ARM64/LIBXUL.SO (BUILDID: 1CAC7FB090927ED300781E865D4BD3986F00835C)
01-22 16:58:52.058  7594  7594 F DEBUG   :       msintuneappsdk/ms-intune-app-sdk-android#5 PC 0000000003F86178  /DATA/APP/~~FC2H4IN3_QPOU21IW9S6OA==/AERO.INFORM.UXWRAPPER.FX.SC.APPNAME-UGSVRDN0M3JNQGYWUP8_8Q==/LIB/ARM64/LIBXUL.SO (BUILDID: 1CAC7FB090927ED300781E865D4BD3986F00835C)
01-22 16:58:52.058  7594  7594 F DEBUG   :       msintuneappsdk/ms-intune-app-sdk-android#6 PC 00000000000FE7F4  /DATA/APP/~~FC2H4IN3_QPOU21IW9S6OA==/AERO.INFORM.UXWRAPPER.FX.SC.APPNAME-UGSVRDN0M3JNQGYWUP8_8Q==/LIB/ARM64/LIBNSS3.SO (BUILDID: 46069079852FEDB5F9BB179C681BC2E929D3A726)
01-22 16:58:52.058  7594  7594 F DEBUG   :       msintuneappsdk/ms-intune-app-sdk-android#7 PC 0000000000070698  /DATA/APP/~~FC2H4IN3_QPOU21IW9S6OA==/AERO.INFORM.UXWRAPPER.FX.SC.APPNAME-UGSVRDN0M3JNQGYWUP8_8Q==/LIB/ARM64/LIBMOZGLUE.SO (BUILDID: 3B98D337DE9022D43A410CF6DD6F4E74C7C5CAAD)
01-22 16:58:52.058  7594  7594 F DEBUG   :       msintuneappsdk/ms-intune-app-sdk-android#8 PC 00000000000C37B4  /APEX/COM.ANDROID.RUNTIME/LIB64/BIONIC/LIBC.SO (__PTHREAD_START(VOID*)+208) (BUILDID: 37F537C2BA9DCBB262A0A68F41A21DA4)
01-22 16:58:52.058  7594  7594 F DEBUG   :       msintuneappsdk/ms-intune-app-sdk-android#9 PC 000000000005D084  /APEX/COM.ANDROID.RUNTIME/LIB64/BIONIC/LIBC.SO (__START_THREAD+68) (BUILDID: 37F537C2BA9DCBB262A0A68F41A21DA4)
01-23 16:44:07.064 29342 29853 F LIBC    : FATAL SIGNAL 11 (SIGSEGV), CODE 1 (SEGV_MAPERR), FAULT ADDR 0X0 IN TID 29853 (LAUNCHER), PID 29342 (ANDROIDUI)
01-23 16:44:07.821 30106 30106 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-23 16:44:07.821 30106 30106 F DEBUG   : BUILD FINGERPRINT: 'SAMSUNG/B0QXXX/B0Q:14/UP1A.231005.007/S908EXXS7DWL8:USER/RELEASE-KEYS'
01-23 16:44:07.821 30106 30106 F DEBUG   : REVISION: '12'
01-23 16:44:07.821 30106 30106 F DEBUG   : ABI: 'ARM64'
01-23 16:44:07.821 30106 30106 F DEBUG   : PROCESSOR: '3'
01-23 16:44:07.821 30106 30106 F DEBUG   : TIMESTAMP: 2024-01-23 16:44:07.235118337+0400
01-23 16:44:07.821 30106 30106 F DEBUG   : PROCESS UPTIME: 9S
01-23 16:44:07.821 30106 30106 F DEBUG   : CMDLINE: AERO.INFORM.UXWRAPPER.FX.SC.APPNAME
01-23 16:44:07.821 30106 30106 F DEBUG   : PID: 29342, TID: 29853, NAME: LAUNCHER  >>> AERO.INFORM.UXWRAPPER.FX.SC.APPNAME <<<
01-23 16:44:07.821 30106 30106 F DEBUG   : UID: 10575
01-23 16:44:07.821 30106 30106 F DEBUG   : TAGGED_ADDR_CTRL: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
01-23 16:44:07.821 30106 30106 F DEBUG   : PAC_ENABLED_KEYS: 000000000000000F (PR_PAC_APIAKEY, PR_PAC_APIBKEY, PR_PAC_APDAKEY, PR_PAC_APDBKEY)
01-23 16:44:07.821 30106 30106 F DEBUG   : SIGNAL 11 (SIGSEGV), CODE 1 (SEGV_MAPERR), FAULT ADDR 0X0000000000000000
01-23 16:44:07.821 30106 30106 F DEBUG   : CAUSE: NULL POINTER DEREFERENCE
01-23 16:44:07.821 30106 30106 F DEBUG   :     X0  0000000000000001  X1  000000005C000000  X2  B400007A52F924D0  X3  0000000013970878
01-23 16:44:07.821 30106 30106 F DEBUG   :     X4  0000007988FB64E8  X5  000000799467B87C  X6  0000000000000000  X7  0000007959868B92
01-23 16:44:07.821 30106 30106 F DEBUG   :     X8  0000000000000000  X9  000000000000003D  X10 000000795E5CBB58  X11 000000795AF42ACE
01-23 16:44:07.821 30106 30106 F DEBUG   :     X12 0000007988FB65CC  X13 00000000159A18F8  X14 0000007988FB63A0  X15 0000000000000000
01-23 16:44:07.821 30106 30106 F DEBUG   :     X16 0000000000000001  X17 00000000000000D2  X18 00000078C7E22000  X19 0000007988FB6770
01-23 16:44:07.821 30106 30106 F DEBUG   :     X20 B400007A32F5D030  X21 000000789A91E0C0  X22 0000007988FB7000  X23 000000795C32E000
01-23 16:44:07.821 30106 30106 F DEBUG   :     X24 0000007971423B30  X25 00000079714A5E30  X26 0000000000000001  X27 0000000000000000
01-23 16:44:07.821 30106 30106 F DEBUG   :     X28 00000000FFFFFFFF  X29 0000000000000000
01-23 16:44:07.821 30106 30106 F DEBUG   :     LR  0000007957EF3174  SP  0000007988FB6720  PC  0000007957EF3234  PST 0000000060001000
01-23 16:44:07.821 30106 30106 F DEBUG   : 10 TOTAL FRAMES
01-23 16:44:07.821 30106 30106 F DEBUG   : BACKTRACE:
01-23 16:44:07.821 30106 30106 F DEBUG   :       #00 PC 0000000004455234  /DATA/APP/~~JZBEZHOA_FA2H_KX7ANK1Q==/AERO.INFORM.UXWRAPPER.FX.SC.APPNAME-ILTU0OE3QINY6PU63_HJKG==/LIB/ARM64/LIBXUL.SO (BUILDID: 1CAC7FB090927ED300781E865D4BD3986F00835C)
01-23 16:44:07.821 30106 30106 F DEBUG   :       msintuneappsdk/ms-intune-app-sdk-android#1 PC 000000000445E504  /DATA/APP/~~JZBEZHOA_FA2H_KX7ANK1Q==/AERO.INFORM.UXWRAPPER.FX.SC.APPNAME-ILTU0OE3QINY6PU63_HJKG==/LIB/ARM64/LIBXUL.SO (BUILDID: 1CAC7FB090927ED300781E865D4BD3986F00835C)
01-23 16:44:07.821 30106 30106 F DEBUG   :       msintuneappsdk/ms-intune-app-sdk-android#2 PC 0000000003A6DED8  /DATA/APP/~~JZBEZHOA_FA2H_KX7ANK1Q==/AERO.INFORM.UXWRAPPER.FX.SC.APPNAME-ILTU0OE3QINY6PU63_HJKG==/LIB/ARM64/LIBXUL.SO (BUILDID: 1CAC7FB090927ED300781E865D4BD3986F00835C)
01-23 16:44:07.821 30106 30106 F DEBUG   :       msintuneappsdk/ms-intune-app-sdk-android#3 PC 0000000003AF8EB4  /DATA/APP/~~JZBEZHOA_FA2H_KX7ANK1Q==/AERO.INFORM.UXWRAPPER.FX.SC.APPNAME-ILTU0OE3QINY6PU63_HJKG==/LIB/ARM64/LIBXUL.SO (BUILDID: 1CAC7FB090927ED300781E865D4BD3986F00835C)
01-23 16:44:07.821 30106 30106 F DEBUG   :       msintuneappsdk/ms-intune-app-sdk-android#4 PC 000000000408EFA8  /DATA/APP/~~JZBEZHOA_FA2H_KX7ANK1Q==/AERO.INFORM.UXWRAPPER.FX.SC.APPNAME-ILTU0OE3QINY6PU63_HJKG==/LIB/ARM64/LIBXUL.SO (BUILDID: 1CAC7FB090927ED300781E865D4BD3986F00835C)
01-23 16:44:07.821 30106 30106 F DEBUG   :       msintuneappsdk/ms-intune-app-sdk-android#5 PC 0000000003F86178  /DATA/APP/~~JZBEZHOA_FA2H_KX7ANK1Q==/AERO.INFORM.UXWRAPPER.FX.SC.APPNAME-ILTU0OE3QINY6PU63_HJKG==/LIB/ARM64/LIBXUL.SO (BUILDID: 1CAC7FB090927ED300781E865D4BD3986F00835C)
01-23 16:44:07.821 30106 30106 F DEBUG   :       msintuneappsdk/ms-intune-app-sdk-android#6 PC 00000000000FE7F4  /DATA/APP/~~JZBEZHOA_FA2H_KX7ANK1Q==/AERO.INFORM.UXWRAPPER.FX.SC.APPNAME-ILTU0OE3QINY6PU63_HJKG==/LIB/ARM64/LIBNSS3.SO (BUILDID: 46069079852FEDB5F9BB179C681BC2E929D3A726)
01-23 16:44:07.821 30106 30106 F DEBUG   :       msintuneappsdk/ms-intune-app-sdk-android#7 PC 0000000000070698  /DATA/APP/~~JZBEZHOA_FA2H_KX7ANK1Q==/AERO.INFORM.UXWRAPPER.FX.SC.APPNAME-ILTU0OE3QINY6PU63_HJKG==/LIB/ARM64/LIBMOZGLUE.SO (BUILDID: 3B98D337DE9022D43A410CF6DD6F4E74C7C5CAAD)
01-23 16:44:07.821 30106 30106 F DEBUG   :       msintuneappsdk/ms-intune-app-sdk-android#8 PC 00000000000C37B4  /APEX/COM.ANDROID.RUNTIME/LIB64/BIONIC/LIBC.SO (__PTHREAD_START(VOID*)+208) (BUILDID: 37F537C2BA9DCBB262A0A68F41A21DA4)
01-23 16:44:07.821 30106 30106 F DEBUG   :       msintuneappsdk/ms-intune-app-sdk-android#9 PC 000000000005D084  /APEX/COM.ANDROID.RUNTIME/LIB64/BIONIC/LIBC.SO (__START_THREAD+68) (BUILDID: 37F537C2BA9DCBB262A0A68F41A21DA4)
01-23 16:44:18.147 30457 30652 F LIBC    : FATAL SIGNAL 11 (SIGSEGV), CODE 1 (SEGV_MAPERR), FAULT ADDR 0X0 IN TID 30652 (LAUNCHER), PID 30457 (ANDROIDUI)
01-23 16:44:18.438 30861 30861 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-23 16:44:18.438 30861 30861 F DEBUG   : BUILD FINGERPRINT: 'SAMSUNG/B0QXXX/B0Q:14/UP1A.231005.007/S908EXXS7DWL8:USER/RELEASE-KEYS'
01-23 16:44:18.438 30861 30861 F DEBUG   : REVISION: '12'
01-23 16:44:18.438 30861 30861 F DEBUG   : ABI: 'ARM64'
01-23 16:44:18.438 30861 30861 F DEBUG   : PROCESSOR: '6'
01-23 16:44:18.438 30861 30861 F DEBUG   : TIMESTAMP: 2024-01-23 16:44:18.250875573+0400
01-23 16:44:18.438 30861 30861 F DEBUG   : PROCESS UPTIME: 4S
01-23 16:44:18.438 30861 30861 F DEBUG   : CMDLINE: AERO.INFORM.UXWRAPPER.FX.SC.APPNAME
01-23 16:44:18.438 30861 30861 F DEBUG   : PID: 30457, TID: 30652, NAME: LAUNCHER  >>> AERO.INFORM.UXWRAPPER.FX.SC.APPNAME <<<
01-23 16:44:18.438 30861 30861 F DEBUG   : UID: 10575
01-23 16:44:18.438 30861 30861 F DEBUG   : TAGGED_ADDR_CTRL: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
01-23 16:44:18.438 30861 30861 F DEBUG   : PAC_ENABLED_KEYS: 000000000000000F (PR_PAC_APIAKEY, PR_PAC_APIBKEY, PR_PAC_APDAKEY, PR_PAC_APDBKEY)
01-23 16:44:18.438 30861 30861 F DEBUG   : SIGNAL 11 (SIGSEGV), CODE 1 (SEGV_MAPERR), FAULT ADDR 0X0000000000000000
01-23 16:44:18.438 30861 30861 F DEBUG   : CAUSE: NULL POINTER DEREFERENCE
01-23 16:44:18.438 30861 30861 F DEBUG   :     X0  0000000000000001  X1  000000005C000000  X2  B400007A52FDEC90  X3  0000000013970878
01-23 16:44:18.438 30861 30861 F DEBUG   :     X4  000000795D07D4E8  X5  000000799408787C  X6  0000000000000000  X7  000000795202EB92
01-23 16:44:18.438 30861 30861 F DEBUG   :     X8  0000000000000000  X9  000000000000003D  X10 0000007959583B58  X11 0000007953708ACE
01-23 16:44:18.438 30861 30861 F DEBUG   :     X12 000000795D07D5CC  X13 0000000015721968  X14 000000795D07D3A0  X15 0000000000000000
01-23 16:44:18.438 30861 30861 F DEBUG   :     X16 0000000000000001  X17 00000000000000D2  X18 00000078BF6FC000  X19 000000795D07D770
01-23 16:44:18.438 30861 30861 F DEBUG   :     X20 B400007A32F4C6B0  X21 000000789321B860  X22 000000795D07E000  X23 0000007954AF4000
01-23 16:44:18.438 30861 30861 F DEBUG   :     X24 0000007959223BE0  X25 00000079592A5E30  X26 0000000000000001  X27 0000000000000000
01-23 16:44:18.438 30861 30861 F DEBUG   :     X28 00000000FFFFFFFF  X29 0000000000000000
01-23 16:44:18.438 30861 30861 F DEBUG   :     LR  00000079506B9174  SP  000000795D07D720  PC  00000079506B9234  PST 0000000060001000
01-23 16:44:18.438 30861 30861 F DEBUG   : 10 TOTAL FRAMES
01-23 16:44:18.438 30861 30861 F DEBUG   : BACKTRACE:
01-23 16:44:18.438 30861 30861 F DEBUG   :       #00 PC 0000000004455234  /DATA/APP/~~JZBEZHOA_FA2H_KX7ANK1Q==/AERO.INFORM.UXWRAPPER.FX.SC.APPNAME-ILTU0OE3QINY6PU63_HJKG==/LIB/ARM64/LIBXUL.SO (BUILDID: 1CAC7FB090927ED300781E865D4BD3986F00835C)
01-23 16:44:18.438 30861 30861 F DEBUG   :       msintuneappsdk/ms-intune-app-sdk-android#1 PC 000000000445E504  /DATA/APP/~~JZBEZHOA_FA2H_KX7ANK1Q==/AERO.INFORM.UXWRAPPER.FX.SC.APPNAME-ILTU0OE3QINY6PU63_HJKG==/LIB/ARM64/LIBXUL.SO (BUILDID: 1CAC7FB090927ED300781E865D4BD3986F00835C)
01-23 16:44:18.438 30861 30861 F DEBUG   :       msintuneappsdk/ms-intune-app-sdk-android#2 PC 0000000003A6DED8  /DATA/APP/~~JZBEZHOA_FA2H_KX7ANK1Q==/AERO.INFORM.UXWRAPPER.FX.SC.APPNAME-ILTU0OE3QINY6PU63_HJKG==/LIB/ARM64/LIBXUL.SO (BUILDID: 1CAC7FB090927ED300781E865D4BD3986F00835C)
01-23 16:44:18.438 30861 30861 F DEBUG   :       msintuneappsdk/ms-intune-app-sdk-android#3 PC 0000000003AF8EB4  /DATA/APP/~~JZBEZHOA_FA2H_KX7ANK1Q==/AERO.INFORM.UXWRAPPER.FX.SC.APPNAME-ILTU0OE3QINY6PU63_HJKG==/LIB/ARM64/LIBXUL.SO (BUILDID: 1CAC7FB090927ED300781E865D4BD3986F00835C)
01-23 16:44:18.438 30861 30861 F DEBUG   :       msintuneappsdk/ms-intune-app-sdk-android#4 PC 000000000408EFA8  /DATA/APP/~~JZBEZHOA_FA2H_KX7ANK1Q==/AERO.INFORM.UXWRAPPER.FX.SC.APPNAME-ILTU0OE3QINY6PU63_HJKG==/LIB/ARM64/LIBXUL.SO (BUILDID: 1CAC7FB090927ED300781E865D4BD3986F00835C)
01-23 16:44:18.438 30861 30861 F DEBUG   :       msintuneappsdk/ms-intune-app-sdk-android#5 PC 0000000003F86178  /DATA/APP/~~JZBEZHOA_FA2H_KX7ANK1Q==/AERO.INFORM.UXWRAPPER.FX.SC.APPNAME-ILTU0OE3QINY6PU63_HJKG==/LIB/ARM64/LIBXUL.SO (BUILDID: 1CAC7FB090927ED300781E865D4BD3986F00835C)
01-23 16:44:18.438 30861 30861 F DEBUG   :       msintuneappsdk/ms-intune-app-sdk-android#6 PC 00000000000FE7F4  /DATA/APP/~~JZBEZHOA_FA2H_KX7ANK1Q==/AERO.INFORM.UXWRAPPER.FX.SC.APPNAME-ILTU0OE3QINY6PU63_HJKG==/LIB/ARM64/LIBNSS3.SO (BUILDID: 46069079852FEDB5F9BB179C681BC2E929D3A726)
01-23 16:44:18.438 30861 30861 F DEBUG   :       msintuneappsdk/ms-intune-app-sdk-android#7 PC 0000000000070698  /DATA/APP/~~JZBEZHOA_FA2H_KX7ANK1Q==/AERO.INFORM.UXWRAPPER.FX.SC.APPNAME-ILTU0OE3QINY6PU63_HJKG==/LIB/ARM64/LIBMOZGLUE.SO (BUILDID: 3B98D337DE9022D43A410CF6DD6F4E74C7C5CAAD)
01-23 16:44:18.438 30861 30861 F DEBUG   :       msintuneappsdk/ms-intune-app-sdk-android#8 PC 00000000000C37B4  /APEX/COM.ANDROID.RUNTIME/LIB64/BIONIC/LIBC.SO (__PTHREAD_START(VOID*)+208) (BUILDID: 37F537C2BA9DCBB262A0A68F41A21DA4)
01-23 16:44:18.438 30861 30861 F DEBUG   :       msintuneappsdk/ms-intune-app-sdk-android#9 PC 000000000005D084  /APEX/COM.ANDROID.RUNTIME/LIB64/BIONIC/LIBC.SO (__START_THREAD+68) (BUILDID: 37F537C2BA9DCBB262A0A68F41A21DA4)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME: FATAL EXCEPTION: MAIN
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME: PROCESS: AERO.INFORM.UXWRAPPER.FX.SC.APPNAME, PID: 31689
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME: JAVA.LANG.RUNTIMEEXCEPTION: UNABLE TO CREATE APPLICATION AERO.INFORM.ANDROID.UXWRAPPER.FX.UXWRAPPERAPP: ANDROID.APP.FOREGROUNDSERVICESTARTNOTALLOWEDEXCEPTION: STARTFOREGROUNDSERVICE() NOT ALLOWED DUE TO MALLOWSTARTFOREGROUND FALSE: SERVICE AERO.INFORM.UXWRAPPER.FX.SC.APPNAME/AERO.INFORM.ANDROID.BACKGROUND.GSBACKGROUNDSERVICE
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT ANDROID.APP.ACTIVITYTHREAD.HANDLEBINDAPPLICATION(ACTIVITYTHREAD.JAVA:7690)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT ANDROID.APP.ACTIVITYTHREAD.-$$NEST$MHANDLEBINDAPPLICATION(UNKNOWN SOURCE:0)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT ANDROID.APP.ACTIVITYTHREAD$H.HANDLEMESSAGE(ACTIVITYTHREAD.JAVA:2478)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT ANDROID.OS.HANDLER.DISPATCHMESSAGE(HANDLER.JAVA:106)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT ANDROID.OS.LOOPER.LOOPONCE(LOOPER.JAVA:230)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT ANDROID.OS.LOOPER.LOOP(LOOPER.JAVA:319)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT ANDROID.APP.ACTIVITYTHREAD.MAIN(ACTIVITYTHREAD.JAVA:8893)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT JAVA.LANG.REFLECT.METHOD.INVOKE(NATIVE METHOD)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT COM.ANDROID.INTERNAL.OS.RUNTIMEINIT$METHODANDARGSCALLER.RUN(RUNTIMEINIT.JAVA:608)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT COM.ANDROID.INTERNAL.OS.ZYGOTEINIT.MAIN(ZYGOTEINIT.JAVA:1103)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME: CAUSED BY: ANDROID.APP.FOREGROUNDSERVICESTARTNOTALLOWEDEXCEPTION: STARTFOREGROUNDSERVICE() NOT ALLOWED DUE TO MALLOWSTARTFOREGROUND FALSE: SERVICE AERO.INFORM.UXWRAPPER.FX.SC.APPNAME/AERO.INFORM.ANDROID.BACKGROUND.GSBACKGROUNDSERVICE
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT ANDROID.APP.FOREGROUNDSERVICESTARTNOTALLOWEDEXCEPTION$1.CREATEFROMPARCEL(FOREGROUNDSERVICESTARTNOTALLOWEDEXCEPTION.JAVA:54)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT ANDROID.APP.FOREGROUNDSERVICESTARTNOTALLOWEDEXCEPTION$1.CREATEFROMPARCEL(FOREGROUNDSERVICESTARTNOTALLOWEDEXCEPTION.JAVA:50)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT ANDROID.OS.PARCEL.READPARCELABLEINTERNAL(PARCEL.JAVA:4882)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT ANDROID.OS.PARCEL.READPARCELABLE(PARCEL.JAVA:4864)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT ANDROID.OS.PARCEL.CREATEEXCEPTIONORNULL(PARCEL.JAVA:3064)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT ANDROID.OS.PARCEL.CREATEEXCEPTION(PARCEL.JAVA:3053)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT ANDROID.OS.PARCEL.READEXCEPTION(PARCEL.JAVA:3036)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT ANDROID.OS.PARCEL.READEXCEPTION(PARCEL.JAVA:2978)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT ANDROID.APP.IACTIVITYMANAGER$STUB$PROXY.STARTSERVICE(IACTIVITYMANAGER.JAVA:6437)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT ANDROID.APP.CONTEXTIMPL.STARTSERVICECOMMON(CONTEXTIMPL.JAVA:2002)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT ANDROID.APP.CONTEXTIMPL.STARTFOREGROUNDSERVICE(CONTEXTIMPL.JAVA:1967)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT COM.MICROSOFT.INTUNE.MAM.CLIENT.CONTENT.MAMCONTEXT.STARTFOREGROUNDSERVICE(:401)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT ANDROID.CONTENT.CONTEXTWRAPPER.STARTFOREGROUNDSERVICE(CONTEXTWRAPPER.JAVA:847)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT AERO.INFORM.ANDROID.UXWRAPPER.FX.UXWRAPPERAPP.ONMAMCREATE(SOURCEFILE:64)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT JAVA.LANG.REFLECT.METHOD.INVOKE(NATIVE METHOD)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT COM.MICROSOFT.INTUNE.MAM.INTERPROXY$INTERINVOCATIONHANDLER.INVOKE(:84)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT JAVA.LANG.REFLECT.PROXY.INVOKE(PROXY.JAVA:1006)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT $PROXY8.ONMAMCREATE(UNKNOWN SOURCE)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT COM.MICROSOFT.INTUNE.MAM.CLIENT.APP.APPLICATIONBEHAVIORIMPL.ONCREATE(:161)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT JAVA.LANG.REFLECT.METHOD.INVOKE(NATIVE METHOD)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT COM.MICROSOFT.INTUNE.MAM.INTERPROXY$INTERINVOCATIONHANDLER.INVOKE(:84)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT JAVA.LANG.REFLECT.PROXY.INVOKE(PROXY.JAVA:1006)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT $PROXY7.ONCREATE(UNKNOWN SOURCE)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT COM.MICROSOFT.INTUNE.MAM.CLIENT.APP.MAMAPPLICATION$IMPL.ONCREATE(MAMAPPLICATION.JAVA:110)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT COM.MICROSOFT.INTUNE.MAM.CLIENT.APP.MAMAPPLICATION.ONCREATE(MAMAPPLICATION.JAVA:53)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT ANDROID.APP.INSTRUMENTATION.CALLAPPLICATIONONCREATE(INSTRUMENTATION.JAVA:1316)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    AT ANDROID.APP.ACTIVITYTHREAD.HANDLEBINDAPPLICATION(ACTIVITYTHREAD.JAVA:7685)
01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME:    ... 9 MORE

Expected behavior: A clear and concise description of what you expected to happen.

THE APP SHOULD LAUNCH AND ASK TO LOGIN

Screenshots and logs:

DEVICE SCREENSHOT ATTACHED AND

Smartphone (please complete the following information):

Intune app wrapping tool (please complete the following information):

VERSION - COMMENTS

2528.3 - WRAPS FAILS WITH API VERSION ERROR (ATTACHED) 2896.3 - WRAPS FAILS WITH API VERSION ERROR (ATTACHED) 3199.5 - WRAPS FAILS WITH API VERSION ERROR (ATTACHED) 3401.4 - WRAPS FAILS WITH API VERSION ERROR (ATTACHED) 3610.6 - WRAPS FAILS WITH API VERSION ERROR (ATTACHED) 3935.1 - WRAP FAILS WITH NO APK FILE GENERATED 4191.6 - WRAPS BUT WILL NOT LAUNCH ON DEVICE 4214.3 - WRAPS BUT WILL NOT LAUNCH ON DEVICE

JAVA/KOTLIN PACKAGE

Additional context: Add any other context about the problem here.

E-N-G-XOR commented 10 months ago

align_log.txt [Uploading wrap_log.txt…]()

ATTACHMENTS

E-N-G-XOR commented 10 months ago

more attachments!

FAngelvs commented 10 months ago

Not sure if this is related, but we have something similar with our Intune Wrapped app. It is Cordova based app, fails at start. Place is different, but looks like something goes very wrong with it once wrapped. Similar behavior reported by other developers too.

Some more details here: https://issuetracker.google.com/issues/316396709

Our latest update is that it now fails on start and can be started later with no issues. Previously, it would start failing after some time and it was enough to clear cache to get it working for a while again. We have changed Intune policy to have minimum possible restrictions.

For us, this started to happen suddenly on an app that was OK, no new releases issued. Issue happens randomly, no idea how to reproduce it. As for now, it looks like app works fine if not wrapped. On devices that we have seen crash every day, it works for a week or two now, no issues reported.

mcsimons commented 10 months ago

Hi @E-N-G-XOR, thanks for the report. Is this your first time wrapping your app or did this ever work previously?

From the logs provided it looks like the crash in caused Android's foreground service launch restrictions, https://developer.android.com/about/versions/12/behavior-changes-12#foreground-service-launch-restrictions

01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME: CAUSED BY: ANDROID.APP.FOREGROUNDSERVICESTARTNOTALLOWEDEXCEPTION: STARTFOREGROUNDSERVICE() NOT ALLOWED DUE TO MALLOWSTARTFOREGROUND FALSE: SERVICE AERO.INFORM.UXWRAPPER.FX.SC.APPNAME/AERO.INFORM.ANDROID.BACKGROUND.GSBACKGROUNDSERVICE 01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME: AT ANDROID.APP.FOREGROUNDSERVICESTARTNOTALLOWEDEXCEPTION$1.CREATEFROMPARCEL(FOREGROUNDSERVICESTARTNOTALLOWEDEXCEPTION.JAVA:54) 01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME: AT ANDROID.APP.FOREGROUNDSERVICESTARTNOTALLOWEDEXCEPTION$1.CREATEFROMPARCEL(FOREGROUNDSERVICESTARTNOTALLOWEDEXCEPTION.JAVA:50) 01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME: AT ANDROID.OS.PARCEL.READPARCELABLEINTERNAL(PARCEL.JAVA:4882) 01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME: AT ANDROID.OS.PARCEL.READPARCELABLE(PARCEL.JAVA:4864) 01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME: AT ANDROID.OS.PARCEL.CREATEEXCEPTIONORNULL(PARCEL.JAVA:3064) 01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME: AT ANDROID.OS.PARCEL.CREATEEXCEPTION(PARCEL.JAVA:3053) 01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME: AT ANDROID.OS.PARCEL.READEXCEPTION(PARCEL.JAVA:3036) 01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME: AT ANDROID.OS.PARCEL.READEXCEPTION(PARCEL.JAVA:2978) 01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME: AT ANDROID.APP.IACTIVITYMANAGER$STUB$PROXY.STARTSERVICE(IACTIVITYMANAGER.JAVA:6437) 01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME: AT ANDROID.APP.CONTEXTIMPL.STARTSERVICECOMMON(CONTEXTIMPL.JAVA:2002) 01-23 16:48:22.909 31689 31689 E ANDROIDRUNTIME: AT ANDROID.APP.CONTEXTIMPL.STARTFOREGROUNDSERVICE(CONTEXTIMPL.JAVA:1967)

Is "AERO.INFORM.UXWRAPPER.FX.SC.APPNAME/AERO.INFORM.ANDROID.BACKGROUND.GSBACKGROUNDSERVICE" a service in your application? If so, you may want to check that the service you are trying to start adheres to Android's restrictions.

leoslima13 commented 9 months ago

This is also happening with my .net MAUI version. After Portal Company Required notification, and user clicks on Go To Store to install, after install the application will restart. But it crashes right after accessing the MSAL library. But when the application is opened again, it prompts the Android Activity showing all the requirements to use the application and its not crashing anymore. I think is something missing during this process when the policies will be applied and the application was alive before