Skip to content

Dynamic Link crashes app #11

Closed
Closed
@comtaler

Description

@comtaler

I created a dynamic link on the firebase console with Link name and Link URL set. With the dynamic link generated, I created webpage with this link and click on the link. After it launches the app, the app crashes (Running the test app to send invites to email and click the link in the email works fine).

Here is the entire logcat output:

D/FirebaseApp: com.google.firebase.auth.FirebaseAuth is not linked. Skipping initialization.
D/FirebaseApp: com.google.firebase.iid.FirebaseInstanceId is not linked. Skipping initialization.
D/FirebaseApp: com.google.firebase.crash.FirebaseCrash is not linked. Skipping initialization.
D/FirebaseApp: com.google.android.gms.measurement.AppMeasurement is not linked. Skipping initialization.
I/FirebaseInitProvider: FirebaseApp initialization successful
V/Monotype: SetAppTypeFace- try to flip, app = com.google.firebase.unity.invites.testapp
V/Monotype:     Typeface getFontPathFlipFont - systemFont = default#default
V/Monotype: SetAppTypeFace- try to flip, app = com.google.firebase.unity.invites.testapp
V/Monotype:     Typeface getFontPathFlipFont - systemFont = default#default
I/Unity: splash_mode = 0 (integer)
I/Unity: useObb = False (bool)
I/Unity: onResume
D/Unity: [EGL] Attaching window :0xee951208
D/Unity: [EGL] Attaching window :0xee951208
I/Unity: windowFocusChanged: true
D/Unity: SystemInfo CPU = Intel x86 SSE3, Cores = 4, Memory = 3907mb
D/Unity: [SHA1] eedb14ec49d7f6b138ce3383e96afc53fd010c06   26157092 bytes ~ lib/armeabi-v7a/libunity.so
D/Unity: [SHA1] af4a5515324d20da8654a1e9248fd4218c0eefa1      25316 bytes ~ lib/armeabi-v7a/libmain.so
D/Unity: [SHA1] cf79e315d87e48141978629baa759ccadc0bb137    3762548 bytes ~ lib/armeabi-v7a/libmono.so
D/Unity: [SHA1] b2ac7c29110405829ce1563704cc29a74c6815c1   29887148 bytes ~ lib/x86/libunity.so
D/Unity: [SHA1] 6bc471c370e126c553ccad215df4ff2a63981624       8120 bytes ~ lib/x86/libmain.so
D/Unity: [SHA1] 899983818efd6b1863f4a0ee48347f8400837000    3628252 bytes ~ lib/x86/libmono.so
D/Unity: Mono path[0] = '/data/app/com.google.firebase.unity.invites.testapp-2/base.apk/assets/bin/Data/Managed'
D/Unity: Mono config path = 'assets/bin/Data/Managed'
D/Unity: PlayerConnection initialized from /data/app/com.google.firebase.unity.invites.testapp-2/base.apk/assets/bin/Data (debug = 0)
D/Unity: PlayerConnection initialized network socket : 0.0.0.0 55318
D/Unity: PlayerConnection initialized unix socket : Unity-com.google.firebase.unity.invites.testapp
D/Unity: Multi-casting "[IP] 192.168.3.23 [Port] 55318 [Flags] 2 [Guid] 4176766349 [EditorId] 3770221696 [Version] 1048832 [Id] AndroidPlayer([email protected]) [Debug] 0" to [225.0.0.222:54997]...
D/Unity: InitializeScriptEngine OK (000d8ee0)
D/Unity: PlayerConnection already initialized - listening to [192.168.3.23:55318]
D/Unity: PlayerInitEngineNoGraphics OK
D/Unity: [EGL] Request: ES 3.1+AEP RGB0 000 0/0
D/Unity: [EGL] Checking ES 3.1 support...
D/Unity: [EGL] ES 3.1 support detected
D/Unity: [EGL] Found: ID[25] ES 3.1+AEP RGB16 565 0/0
D/Unity: [EGL] Request: ES 3.1+AEP RGB0 000 0/0
D/Unity: [EGL] Found: ID[25] ES 3.1+AEP RGB16 565 0/0
D/Unity: [EGL] Request: ES 3.0 RGBA32 8888 0/0
D/Unity: [EGL] Found: ID[15] ES 3.0 RGBA32 8888 0/0 AFBT
D/Unity: ANativeWindow: (1080/1920) RequestedResolution: (0/0) EGLSurface: (1080/1920)
D/Unity: Renderer: PowerVR Rogue G6430
D/Unity: Vendor:   Imagination Technologies
D/Unity: Version:  OpenGL ES 3.1 build 1.4@3283119
D/Unity: GLES:     3
D/Unity:  GL_EXT_blend_minmax GL_EXT_color_buffer_float GL_EXT_discard_framebuffer GL_EXT_draw_buffers GL_EXT_multi_draw_arrays GL_EXT_multisampled_render_to_texture GL_EXT_occlusion_query_boolean GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_separate_shader_objects GL_EXT_shader_framebuffer_fetch GL_EXT_shader_texture_lod GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_sRGB_decode GL_IMG_multisampled_render_to_texture GL_IMG_program_binary GL_IMG_read_format GL_IMG_shader_binary GL_IMG_texture_compression_pvrtc GL_IMG_texture_compression_pvrtc2 GL_IMG_texture_format_BGRA8888 GL_IMG_texture_npot GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_KHR_debug GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_depth_texture GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_element_index_uint GL_OES_fragment_precision_high GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_required_internalformat GL
D/Unity: _OES_rgb8_rgba8 GL_OES_shader_image_atomic GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_npot GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_vertex_array_object GL_OES_vertex_half_float
W/ContextImpl: Failed to ensure directory: /storage/MicroSD/Android/data/com.google.firebase.unity.invites.testapp/cache
D/Unity: OPENGL LOG: Creating OpenGL ES 3.1 graphics device ; Context level  <OpenGL ES 3.1 AEP> ; Context handle -566240672
D/Unity: InitializeGfxDevice OK
D/Unity: Initialize engine version: 5.4.2f2 (b7e030c65c9b)
D/Unity: AudioManager: Selecting AudioTrack output...
W/libc: pthread_create sched_setscheduler call failed: Operation not permitted
D/Unity: Begin MonoManager ReloadAssembly
D/Unity: Platform assembly: /data/app/com.google.firebase.unity.invites.testapp-2/base.apk/assets/bin/Data/Managed/UnityEngine.dll (this message is harmless)
D/Unity: Loading /data/app/com.google.firebase.unity.invites.testapp-2/base.apk/assets/bin/Data/Managed/UnityEngine.dll into Unity Child Domain
D/Unity: Platform assembly: /data/app/com.google.firebase.unity.invites.testapp-2/base.apk/assets/bin/Data/Managed/Assembly-CSharp.dll (this message is harmless)
D/Unity: Loading /data/app/com.google.firebase.unity.invites.testapp-2/base.apk/assets/bin/Data/Managed/Assembly-CSharp.dll into Unity Child Domain
D/Unity: Platform assembly: /data/app/com.google.firebase.unity.invites.testapp-2/base.apk/assets/bin/Data/Managed/UnityEngine.UI.dll (this message is harmless)
D/Unity: Loading /data/app/com.google.firebase.unity.invites.testapp-2/base.apk/assets/bin/Data/Managed/UnityEngine.UI.dll into Unity Child Domain
D/Unity: Platform assembly: /data/app/com.google.firebase.unity.invites.testapp-2/base.apk/assets/bin/Data/Managed/UnityEngine.Networking.dll (this message is harmless)
D/Unity: Loading /data/app/com.google.firebase.unity.invites.testapp-2/base.apk/assets/bin/Data/Managed/UnityEngine.Networking.dll into Unity Child Domain
D/Unity: Platform assembly: /data/app/com.google.firebase.unity.invites.testapp-2/base.apk/assets/bin/Data/Managed/Firebase.App.dll (this message is harmless)
D/Unity: Loading /data/app/com.google.firebase.unity.invites.testapp-2/base.apk/assets/bin/Data/Managed/Firebase.App.dll into Unity Child Domain
D/Unity: Platform assembly: /data/app/com.google.firebase.unity.invites.testapp-2/base.apk/assets/bin/Data/Managed/Firebase.Invites.dll (this message is harmless)
D/Unity: Loading /data/app/com.google.firebase.unity.invites.testapp-2/base.apk/assets/bin/Data/Managed/Firebase.Invites.dll into Unity Child Domain
D/Unity: Platform assembly: /data/app/com.google.firebase.unity.invites.testapp-2/base.apk/assets/bin/Data/Managed/Unity.Compat.dll (this message is harmless)
D/Unity: Loading /data/app/com.google.firebase.unity.invites.testapp-2/base.apk/assets/bin/Data/Managed/Unity.Compat.dll into Unity Child Domain
D/Unity: Platform assembly: /data/app/com.google.firebase.unity.invites.testapp-2/base.apk/assets/bin/Data/Managed/Unity.Tasks.dll (this message is harmless)
D/Unity: Loading /data/app/com.google.firebase.unity.invites.testapp-2/base.apk/assets/bin/Data/Managed/Unity.Tasks.dll into Unity Child Domain
D/Unity: - Completed reload, in  0.090 seconds
D/Unity: Platform assembly: /data/app/com.google.firebase.unity.invites.testapp-2/base.apk/assets/bin/Data/Managed/System.Core.dll (this message is harmless)
D/Unity: Platform assembly: /data/app/com.google.firebase.unity.invites.testapp-2/base.apk/assets/bin/Data/Managed/System.dll (this message is harmless)
D/Unity: PlayerInitEngineGraphics OK
D/Unity: Found 25 native sensors
D/Unity: Sensor :        Accelerometer ( 1) ; 0.009577 / 0.01s ; PSH Accelerometer / Intel Inc. 
D/Unity: Sensor :        Accelerometer ( 1) ; 0.009577 / 0.01s ; PSH Accelerometer / Intel Inc. 
D/Unity: Requested framebuffer: resolution[1080x1920], rgba[8/8/8/8], depth+stencil[on], samples[1]
D/Unity: Created framebuffer: resolution[1080x1920], rgba[8/8/8/8], depth+stencil[24/8], samples[0] 
D/Unity: UnloadTime: 2.162000 ms
D/Unity: Sensor :        Accelerometer ( 1) ; 0.009577 / 0.01s ; PSH Accelerometer / Intel Inc. 
D/Unity: Choreographer available: Enabling VSYNC timing
I/firebase: firebase::App initializing app com.google.firebase.unity.invites.testapp (default 1).
D/Unity: firebase::App initializing app com.google.firebase.unity.invites.testapp (default 1).: 0 at ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp:42 (17408, 0, 0)
I/Unity: firebase::App initializing app com.google.firebase.unity.invites.testapp (default 1).
         UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
         UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
         UnityEngine.Logger:Log(LogType, Object)
         UnityEngine.Debug:Log(Object)
         Firebase.FirebaseHandler:LogMessage(LogLevel, String)
         Firebase.AppUtilPINVOKE:FirebaseApp_CreateInternal__SWIG_0()
         Firebase.FirebaseApp:CreateInternal()
         Firebase.FirebaseApp:<Create>m__1()
         Firebase.FirebaseApp:CreateAndTrack(CreateDelegate)
         Firebase.FirebaseApp:Create()
         Firebase.FirebaseApp:get_DefaultInstance()
         Firebase.FirebaseApp:CheckDependencies()
         UIHandler:Start() (at E:\airgc3\unity\quickstart-unity\invites\testapp\Assets\TestApp\UIHandler.cs:37)
          
         (Filename: E Line: 0)
D/Unity: Setting up firebase...: 0 at ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp:42 (17408, 0, 0)
I/Unity: Setting up firebase...
         UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
         UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
         UnityEngine.Logger:Log(LogType, Object)
         UnityEngine.Debug:Log(Object)
         UnityEngine.MonoBehaviour:print(Object) (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineMonoBehaviourBindings.gen.cs:107)
         UIHandler:DebugLog(String) (at E:\airgc3\unity\quickstart-unity\invites\testapp\Assets\TestApp\UIHandler.cs:137)
         UIHandler:InitializeFirebase() (at E:\airgc3\unity\quickstart-unity\invites\testapp\Assets\TestApp\UIHandler.cs:57)
         UIHandler:Start() (at E:\airgc3\unity\quickstart-unity\invites\testapp\Assets\TestApp\UIHandler.cs:51)
          
         (Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineMonoBehaviourBindings.gen.cs Line: 107)
D/Unity: Invites initialized: 0 at ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp:42 (17408, 0, 0)
I/Unity: Invites initialized
         UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
         UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
         UnityEngine.Logger:Log(LogType, Object)
         UnityEngine.Debug:Log(Object)
         UnityEngine.MonoBehaviour:print(Object) (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineMonoBehaviourBindings.gen.cs:107)
         UIHandler:DebugLog(String) (at E:\airgc3\unity\quickstart-unity\invites\testapp\Assets\TestApp\UIHandler.cs:137)
         UIHandler:InitializeFirebase() (at E:\airgc3\unity\quickstart-unity\invites\testapp\Assets\TestApp\UIHandler.cs:61)
         UIHandler:Start() (at E:\airgc3\unity\quickstart-unity\invites\testapp\Assets\TestApp\UIHandler.cs:51)
          
         (Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineMonoBehaviourBindings.gen.cs Line: 107)
D/firebase_log: Creating Log instance.
D/firebase: (firebase_log) class com.google.firebase.app.internal.cpp.Log
D/Unity: (firebase_log) class com.google.firebase.app.internal.cpp.Log: 0 at ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp:42 (17408, 0, 0)
I/Unity: (firebase_log) class com.google.firebase.app.internal.cpp.Log
         UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
         UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
         UnityEngine.Logger:Log(LogType, Object)
         UnityEngine.Debug:Log(Object)
         Firebase.FirebaseHandler:LogMessage(LogLevel, String)
          
         (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
D/firebase: (InvitesClass) getInvitation:onResult:Status{statusCode=SUCCESS, resolution=null}
D/Unity: (InvitesClass) getInvitation:onResult:Status{statusCode=SUCCESS, resolution=null}: 0 at ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp:42 (17408, 0, 0)
I/Unity: (InvitesClass) getInvitation:onResult:Status{statusCode=SUCCESS, resolution=null}
         UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
         UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
         UnityEngine.Logger:Log(LogType, Object)
         UnityEngine.Debug:Log(Object)
         Firebase.FirebaseHandler:LogMessage(LogLevel, String)
          
         (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
         
         
         
         --------- beginning of crash
A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 19749 (invites.testapp)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions