Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by PhilFlyclops · Feb 25, 2020 at 11:11 PM · xcodecrashreport

Unity Cloud USYM Uploader crashes when Go Mobile Present

I am working with a project that is built in Unity, and is attempting to use Gomobile to deal with various network communications.

When attempting to upload an iOS build that uses a Go Mobile built library to TestFlight, the following occurs

 11:58:21 ▸ Generating '<name of app>.dSYM'​
 11:58:21 ▸ Running script 'Run Script'
 11:58:21 ▸ Running script 'Process symbols'
 11:58:21 ** ARCHIVE FAILED **
 11:58:21
 11:58:21
 11:58:21 The following build commands failed:
 11:58:21 PhaseScriptExecution Process\ symbols /Users/administrator/Library/Developer/Xcode/DerivedData/Unity-iPhone-bycgdxfbrkuyytbxlcychbuwwowu/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Script-FC34453AA9340C29E1DB06A5.sh​

The full stack trace that is occuring at that phase in the build is as follows

 panic: runtime error: invalid memory address or nil pointer dereference
 [signal SIGSEGV: segmentation violation code=0x1 addr=0x60 pc=0x1441c36]goroutine 81 [running]:
 debug/dwarf.(*LineReader).Next(0x0, 0xc43800baf8, 0x0, 0x0)
 /usr/local/go/src/debug/dwarf/line.go:317 +0x26
 unitycloud-go-crash/usym.readLines(0xc42e284000, 0xc43800bd20)
 /go/src/unitycloud-go-crash/usym/dwarf.go:32 +0x11d
 unitycloud-go-crash/usym.convertDwarfData(0xc42e284000, 0xc43800bd20)
 /go/src/unitycloud-go-crash/usym/dwarf.go:11 +0x35
 unitycloud-go-crash/usym.(*machoConverter).Convert(0xc4200a0f60, 0xc428cb81c0, 0x62, 0x0, 0x0)
 /go/src/unitycloud-go-crash/usym/macho.go:170 +0x681
 unitycloud-go-crash/usym.(*uploader).convertAndUpload(0xc42028adb0, 0x1905f20, 0xc4200a0f60, 0x0, 0x0)
 /go/src/unitycloud-go-crash/usym/upload.go:184 +0x29f
 unitycloud-go-crash/usym.(*uploader).UploadSymbolsInPath.func1(0xc4200a0fc0, 0xc42028adb0, 0xc42013c3c0, 0xc428550bf0)
 /go/src/unitycloud-go-crash/usym/upload.go:128 +0xba
 created by unitycloud-go-crash/usym.(*uploader).UploadSymbolsInPath
 /go/src/unitycloud-go-crash/usym/upload.go:124 +0x359
 Command PhaseScriptExecution failed with a nonzero exit code
 debug/dwarf.(*LineReader).Next(0x0, 0xc43800baf8, 0x0, 0x0)
 /usr/local/go/src/debug/dwarf/line.go:317 +0x26
 unitycloud-go-crash/usym.readLines(0xc42e284000, 0xc43800bd20)
 /go/src/unitycloud-go-crash/usym/dwarf.go:32 +0x11d
 unitycloud-go-crash/usym.convertDwarfData(0xc42e284000, 0xc43800bd20)
 /go/src/unitycloud-go-crash/usym/dwarf.go:11 +0x35
 unitycloud-go-crash/usym.(*machoConverter).Convert(0xc4200a0f60, 0xc428cb81c0, 0x62, 0x0, 0x0)
 /go/src/unitycloud-go-crash/usym/macho.go:170 +0x681
 unitycloud-go-crash/usym.(*uploader).convertAndUpload(0xc42028adb0, 0x1905f20, 0xc4200a0f60, 0x0, 0x0)
 /go/src/unitycloud-go-crash/usym/upload.go:184 +0x29f
 unitycloud-go-crash/usym.(*uploader).UploadSymbolsInPath.func1(0xc4200a0fc0, 0xc42028adb0, 0xc42013c3c0, 0xc428550bf0)
 /go/src/unitycloud-go-crash/usym/upload.go:128 +0xba
 created by unitycloud-go-crash/usym.(*uploader).UploadSymbolsInPath
 /go/src/unitycloud-go-crash/usym/upload.go:124 +0x359
 Command PhaseScriptExecution failed with a nonzero exit code​

I attempted it with both the default configuration that go mobile provides as well as by stripping out debug symbols by using -ldflags="-s -w" when building the Gomobile library in accordance with this possibly related issue https://github.com/golang/go/issues/28997 .

I wanted to also reach out about it here in case anybody else is using Gomobile with Unity and has encountered something similar, or if somebody who knew more about Unity internals and how its symbol extraction tools work.

For now we've just worked around it by disabling Unity crash reporting entirely, which is not ideal

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

125 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity augmented reality based app keep crashing after building it on ios 1 Answer

Unity 4.0 vs 4.1.5 iOS Build 0 Answers

What should be the options visible to me when doing an iOS build on Windows? 0 Answers

Xcode warnings: Potential leak of an object and Dead store 0 Answers

No matching function for call to 'OrientView' 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges