getsentry / symbolicator

Native Symbolication as a Service
https://getsentry.github.io/symbolicator/
MIT License
352 stars 45 forks source link

Redacted function names on iOS #1489

Open espenrl opened 4 days ago

espenrl commented 4 days ago

Hi, the following is a stack trace from Sentry Cloud as of late June 2024 (I couldn't find the version number of Sentry Cloud).

This is from a MAUI app running latest version of MAUI v8 service release 6 and latest version of Sentry.Maui v4.7.0

CoreGraphics        0x19a7b6d30  CGSColorMaskCopyARGB8888
CoreGraphics        0x19a7b3c60  <redacted>
CoreGraphics        0x19a7b36b0  <redacted>
CoreGraphics        0x19a7873b4  <redacted>
CoreGraphics        0x19a796758  <redacted>
CoreGraphics        0x19a796310  <redacted>
CoreGraphics        0x19a796104  CGContextDrawPath
MauApp              0x105b76144  wrapper_managed_to_native_CoreGraphics_CGContext_CGContextDrawPath_intptr_CoreGraphics_CGPathDrawingMode
MauApp              0x10992af88  Microsoft_iOS_CoreGraphics_CGContext_DrawPath_CoreGraphics_CGPathDrawingMode (CGContext.cs:381)
MauApp              0x109cc9518  mono_jit_runtime_invoke (mini-runtime.c:3636)
MauApp              0x109c7616c  do_runtime_invoke (object.c:2576)
MauApp              0x109c7616c  mono_runtime_try_invoke (object.c:2733)
MauApp              0x109c78e8c  mono_runtime_invoke (object.c:2659)
MauApp              0x109d55cf8  native_to_managed_trampoline_80 (registrar.mm:4859)
MauApp              0x109d71b74  -[Microsoft_Maui_Platform_MauiCALayer drawInContext:] (registrar.mm:24660)
QuartzCore          0x19a2e74e8  <redacted>
QuartzCore          0x19a2e72bc  <redacted>
QuartzCore          0x19a26ea14  <redacted>
QuartzCore          0x19a26d044  <redacted>
QuartzCore          0x19a2c80e0  <redacted>
QuartzCore          0x19a23d028  <redacted>
UIKitCore           0x19afc3678  <redacted>
CoreFoundation      0x198be2c9c  <redacted>
CoreFoundation      0x198bd0dec  <redacted>
CoreFoundation      0x198bd0498  <redacted>
CoreFoundation      0x198bcfcd8  CFRunLoopRunSpecific
GraphicsServices    0x1dda801a8  GSEventRunModal
UIKitCore           0x19b20890c  <redacted>
UIKitCore           0x19b2bc9d0  UIApplicationMain
MauApp              0x109a2dbfc  xamarin_UIApplicationMain (bindings.m:126)
MauApp              0x105b80b5c  wrapper_managed_to_native_UIKit_UIApplication_xamarin_UIApplicationMain_int_intptr_intptr_intptr_intptr_
MauApp              0x1099465c0  Microsoft_iOS_UIKit_UIApplication_UIApplicationMain_int_string___intptr_intptr (UIApplication.cs:58)
MauApp              0x109cc9518  mono_jit_runtime_invoke (mini-runtime.c:3636)
MauApp              0x109c75258  do_runtime_invoke (object.c:2576)
MauApp              0x109c75258  mono_runtime_invoke_checked (object.c:2792)
MauApp              0x109c7b29c  do_exec_main_checked (object.c)
MauApp              0x109c7b29c  mono_runtime_exec_main_checked (object.c:4775)
MauApp              0x109cce8c8  mono_jit_exec_internal (driver.c:1369)
MauApp              0x109cce8c8  mono_jit_exec (driver.c:1314)
MauApp              0x109a38ca8  xamarin_main (monotouch-main.m:495)
MauApp              0x109d37190  main (main.arm64.mm:352)

Wherever it says <redacted> that is what Sentry Cloud has generated. So function names for common libraries like CoreGraphics, QuartzCore, UIKitCore and CoreFoundation are redacted. Why is that? And why are most redacted while some are not?