Search Unity

usymtool Segmentation Fault on M1 Mac

Discussion in 'Unity Cloud Diagnostics' started by HereIAmItsMe, Dec 8, 2020.

  1. HereIAmItsMe

    HereIAmItsMe

    Joined:
    Jul 16, 2012
    Posts:
    11
    We are trying to run an iOS Build with Unity Cloud Diagnostics enabled but the build is failing on the process_symbols.sh step. From reviewing the log it looks like a segmentation fault is being triggered by usymtool and seems to only be happening on a newer mac that uses the M1 processor. Is anyone else running into this or know of a work around aside from disabling Cloud Diagnostics?

    Here is the output from the log:
    builds/iOS-v1.59/process_symbols.sh: line 12: 40463 Segmentation fault: 11
    "$PROJECT_DIR/usymtool" -symbolPath "$DWARF_DSYM_FOLDER_PATH/$DWARF_DSYM_FILE_NAME"
    Command PhaseScriptExecution failed with a nonzero exit code
     
  2. WayneC

    WayneC

    Joined:
    Jan 15, 2016
    Posts:
    13
    Same here. Unity 2019.4.16f
     
    Last edited: Dec 21, 2020
  3. wechat_os_Qy07H2udaprkZeDTKYc7gsLfI

    wechat_os_Qy07H2udaprkZeDTKYc7gsLfI

    Joined:
    Nov 11, 2020
    Posts:
    4
    I have the same error. may be the ‘usymtool’ has not support with mac m1.
     
  4. Calabash_Boy

    Calabash_Boy

    Joined:
    Aug 6, 2019
    Posts:
    2
    I also think like that, so I'm getting some way to skip this step.
     
    Last edited: Dec 29, 2020
  5. andy_nvizzio

    andy_nvizzio

    Joined:
    Oct 20, 2015
    Posts:
    3
    Did you find away around this?
     
  6. OleksandrB

    OleksandrB

    Joined:
    Aug 21, 2019
    Posts:
    3
    I've filed a bug report, it's not yet fixed in any version I've tried so far. The only solution would be to turn off cloud diagnostics which is not an option for a live project.
     
  7. OleksandrB

    OleksandrB

    Joined:
    Aug 21, 2019
    Posts:
    3
  8. cometa93

    cometa93

    Joined:
    Mar 5, 2014
    Posts:
    41
    Hello did anyone solve this issue, already? It's messed up.
     
  9. sss88028

    sss88028

    Joined:
    May 23, 2017
    Posts:
    1
    It happen to our project too.
    And it only happen when using Unity batchmode to build iOS project.
    It won't happen if build with Unity editor(i.e. Build Setting -> Build)
     
    woozza likes this.
  10. woozza

    woozza

    Joined:
    Sep 2, 2021
    Posts:
    1
    I also had the same issue.
    Did you find a solution?
     
  11. frbodya

    frbodya

    Joined:
    Jul 23, 2012
    Posts:
    6
    Hi, someone find solution?
     
  12. frbodya

    frbodya

    Joined:
    Jul 23, 2012
    Posts:
    6
  13. UnityLouisaRogers

    UnityLouisaRogers

    Unity Technologies

    Joined:
    Apr 22, 2021
    Posts:
    9
    Hi frbodya,

    Yes, this issue has been resolved in Unity 2019.4.25f1 and all proceeding versions. Please let us know if you have any additional questions.