首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何象征电子碰撞日志

如何象征电子碰撞日志
EN

Stack Overflow用户
提问于 2017-10-08 03:20:50
回答 1查看 1.1K关注 0票数 1
  • 电子版本:电子v1.6.7
  • 操作系统: Mac 10.12.1

app启动时崩溃

代码语言:javascript
复制
Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [0]

Thread 0 Crashed:: CrBrowserMain  Dispatch queue: com.apple.main-thread
0   com.github.electron.framework   0x000000010e73d3f2 0x10e619000 +     1197042
1   com.github.electron.framework   0x000000010e7145e5 0x10e619000 + 1029605
2   com.github.electron.framework   0x000000010e71457d 0x10e619000 + 1029501
3   com.github.electron.framework   0x000000010e71403e 0x10e619000 + 1028158
4   com.github.electron.framework   0x000000010e713ed5 asar::GetOrCreateAsarArchive(base::FilePath const&) + 133
5   com.github.electron.framework   0x000000010e71428f asar::ReadFileToString(base::FilePath const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*) + 79
6   com.github.electron.framework   0x000000010e702ac1 0x10e619000 + 957121
7   com.github.electron.framework   0x000000010e701b97 0x10e619000 + 953239
8   com.github.electron.framework   0x000000010e7019e5 atom::api::NativeImage::CreateFromPath(v8::Isolate*, base::FilePath const&) + 53
9   com.github.electron.framework   0x000000010e7025f2 mate::Converter<mate::Handle<atom::api::NativeImage>, void>::FromV8(v8::Isolate*, v8::Local<v8::Value>, mate::Handle<atom::api::NativeImage>*) + 66
10  com.github.electron.framework   0x000000010e728fb9 0x10e619000 + 1114041
11  com.github.electron.framework   0x000000010e674636 0x10e619000 + 374326

‘如何象征电子碰撞日志?

已尝试:

  1. 下载电子-v1.6.7-达尔文-x64.zip和电子-v1.6.7-达尔文-x64-dsym.zip
  2. 把它放在同样的地方
  3. /Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources/symbolicatecrash ./xxx.crash ./Electron.app.dSYM > xxxxsym.crash
  4. 不支持的崩溃日志版本失败: 12
  5. atos -o ./Electron.app/Content/MacOS/ -arch x86_64 -l 0x10e616000 0x000000010e73d3f2
  6. 只得到输出0x000000010e73d3f2

我怎样才能象征崩溃的地点

代码语言:javascript
复制
0 com.github.electron.framework     0x000000010e73d3f2 0x10e619000 + 1197042
EN

回答 1

Stack Overflow用户

发布于 2017-10-11 07:37:55

在电子Framework.framework中使用电子Framework.framework.dSYM

比如:

xcrun atos -o ./Electron Framework.framework.dSYM/Contents/Resources/DWARF/Electron Framework -l 0x10e619000 0x000000010e73d3f2 -arch x86_64

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/46627220

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档