Comments (5)
Running
which otool
shows me:
/usr/bin/otool
from symbolicate-crashreports.
It looks like xcrun
is located at a new path /usr/bin/xcrun
:
Changing line 112 let's me find otool
, but I don't know how to get around the version check that's now failing.
#my $toolPath = `'$DEVELOPER_DIR/usr/bin/xcrun' -find $toolName`;
my $toolPath = `'/usr/bin/xcrun' -find $toolName`;
Next I get the error:
Unsupported crash log version: 12 at /Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources/symbolicatecrash line 527.
If I try to force the version to also match 12, then I get other errors.
In my crash log, it has a report version of 12. And it doesn't look like the original symbolicatecrash from Apple supports it either.
Date/Time: 2018-06-15 07:46:18.211 +0300
OS Version: Mac OS X 10.13.6 (17G39b)
Report Version: 12
from symbolicate-crashreports.
The best link I can find for how to work around this issue is How to Symbolize OSX Crash Logs
from symbolicate-crashreports.
Hey Paul. I did not use this script for some years, so it is probably not working with the current Xcode tools and the latest crash report version out of the box.
The manual process via atos
should work no matter what.
Anyway. If you want to fix the script, it should be fairly straight forward. The version miss-match can be fixed by adding another if-case here: L498-L525. Then just follow the script to the next error.
If you get the script to run, feel free to open a pull request. I think the fastest way to do this is by fixing one error after another.
from symbolicate-crashreports.
Thanks Lukas!
I made a quick and dirty check for version 12, and then fixed the error by setting a hardware flag to some value so that it could run. However, I didn't see it actually populate any of the memory addresses, so I gave up.
I was hesitant to replace the original file from Apple, so when I made the copy, I called your version the symbolicatecrash-alt
I posted some of the ways I use atos
with multiple memory addresses on the other gist: How to Symbolize OSX Crash Logs
from symbolicate-crashreports.
Related Issues (2)
- Usage example : HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from symbolicate-crashreports.