问题标签 [google-breakpad]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
1346 浏览

symbols - 如何创建breakpad符号?

我在我的服务器上运行了一个mini-breakpad-server,它从我的Electron应用程序中正确收集报告,但是我不知道如何创建 breakpad 符号(适用于 windows、OSX、Linux)以与我的 Electron 应用程序一起使用,你能给请给我一个提示?

0 投票
0 回答
226 浏览

android - Google breakpad 在某些设备/cpus/os 上提供无效的转储信息?

我已经在 android 应用程序上成功编译并运行了 google-breakpad,并通过它收集的足够信息解决了一些崩溃问题。但是在转储中,有一些不充分的转储没有提供堆栈跟踪或发布的模型。我花了一些时间试图弄清楚转储信息和设备类型之间的关系,但没有发现任何痕迹。这是我的“不足”转储,每个thead只有一个内存转储,没有给出符号

这是有效转储给出的,崩溃的线程列出了堆栈跟踪

0 投票
0 回答
713 浏览

c++ - 使用 Google Breakpad 进行 MinGW-w64 应用

我正在尝试将 Google Breakpad 集成到 Windows Qt 项目中。

当我用 MinGW(不是 w64)编译它时,Breakpad 按预期工作,并在应用程序崩溃时生成一个 Minidump 文件。

但是,当我使用 MinGW-w64 编译相同的代码时,应用程序会在没有 Minidump 文件的情况下崩溃。

这个问题可以通过一个简单的测试程序重现:

代码与 Breakpad 源代码树一起编译(不是作为二进制库)

似乎没有调用异常处理程序。如果我将回调函数注册到google_breakpad::ExceptionHandler.

那么为什么会发生呢?是否可以将 Breakpad 集成到 MinGW-w64 编译的项目中?

0 投票
1 回答
638 浏览

c++14 - 在 PTRACE_ATTACH 之后处于无限等待状态的 waitpid

我在我的 C++ 应用程序中集成了Google-Breakpad 。现在,我故意让应用程序崩溃,但它在我的 Ubuntu i686 系统中挂起。我必须printf在 Breakpad 中的任何地方放置以检查它到底挂在哪里。因此,在 breakpad 中,正在创建一个克隆子进程,并且在该进程中ptrace(PTRACE_ATTACH, pid, NULL, NULL)waitpid(pid, NULL, __WALL)每个线程都会调用系统调用。随着一个特定的线程waitpid进入无限等待状态,然后我不得不故意杀死应用程序。

有谁知道为什么会发生这种情况?为什么这个特定线程waitpid()处于无限等待状态?有没有相同的解决方案?

谢谢。

0 投票
1 回答
1744 浏览

minidump - breakpad minidump 规范?

google的breakpad工具使用的minidump格式有详细的规范吗?我需要基于breakpad客户端库当前不支持的处理器/操作系统创建一个minidump文件,而且我还没有找到任何描述minidump文件本身实际格式的简明文档。

这是一个嵌入式系统,我没有太多可以放入转储文件,主要是堆栈跟踪和状态代码。

现有平台的 breakpad 客户端源将 minidump writer 构建到异常处理程序中,使用系统调用来收集信息。就我而言,我没有在异常处理程序中运行转储程序,因此我正在捕获关键信息并需要稍后编写转储文件。

指向对 breakpad 使用的小型转储格式的良好解释的指针将有很大帮助。

0 投票
1 回答
1223 浏览

c++ - Qt 应用程序和 Google Breakpad

我目前正在使用一个试图将 BreakPad 集成到 Qt 应用程序中的应用程序。我找到了一个帮助我解决初始设置和怪癖的页面。

https://github.com/JPNaude/dev_notes/wiki/Using-Google-Breakpad-with-Qt

我仍然无法让它为实际的异常工作。我创建了一个演示应用程序,它也有同样的问题。这是我要测试的步骤。我现在正在调试中进行测试。

  1. 构建应用程序 运行 dump_syms.exe BreakpadTest.pdb > BreakpadTest.sym
  2. 运行应用程序并生成转储文件
  3. 运行 minidump_stackwalk dumpfile.dmp 符号 > out.txt 2>&1
  4. 检查 out.txt 以获取放置 BreakpadTest.sym 的文件路径
  5. 将 BreakpadTest.sym 文件移动到正确的位置
  6. 再次运行 minidump_stackwalk dumpfile.dmp symbols > out.txt 2>&1

这给我留下了一个 out.txt 文件。

当我在执行此代码的演示应用程序中调用 dumpFunc

我得到以下输出

这很好,也是我想要的。但是当我实际上用 badFunc() 引起异常时。

我得到以下输出

这不是发生异常的实际堆栈跟踪。关于出了什么问题或如何更改它以获得实际堆栈的任何想法?

演示应用程序 http://s000.tinyupload.com/?file_id=26352983283926785193

0 投票
3 回答
1873 浏览

electron - Hosted Breakpad server (Electron Crash Reporter)

I want to setup a service to collect breakpad crash reports (specifically for an Electron app using Electron Crash Reporter: https://github.com/electron/electron/blob/master/docs/api/crash-reporter.md)

The only servers I can find just dump the minidump and present them in a list which isn't helpful for apps with millions of sessions generating hundreds of crash reports. Something like what Fabric/Crashlytics do for iOS/Android would be ideal (clusters matching reports, sort by release). Also something hosted would be very nice.

  • Does a better project exist for collecting breakpad crash reports?
  • Are there any good hosted options
  • Is there any middleware that will collect breakpad reports and send them to a hosted service like Crashlytics, HockeyApp or Firebase?

Thanks!

0 投票
1 回答
1035 浏览

android - Android Breakpad dmp 文件损坏/不完整

我正在为 Android 应用程序的原生崩溃报告集成 breakpad,该应用程序已经有一个重要的原生代码库,该代码库内置在一个单一的 so 中。我已经为此添加了 breakpad 静态库,并且当报告本机崩溃时,我能够生成 dmp 文件。但是本机 dmp 很小(3-4 KB),并且 minidump_stackwalker 给出以下错误:

我有一个 Android breakpad 测试应用程序,它使用相同的编译器和链接器标志,并且能够生成大约 300 KB 的正确 dmp 文件。我曾尝试使用 Android Studio C++ 调试器调试 breakpad 代码,我注意到子进程 breakpad 产生,并以错误结束,并且似乎将调试器同时附加到子进程并不容易。

我看过breakpad支持,也有人提到过类似的问题,但没有讨论解决方案。任何帮助将不胜感激。

0 投票
1 回答
420 浏览

android - android native crash了,手机记录了google-breakpad的报告,但是如何阅读并找到原因呢?

07-07 05:37:54.713 24137 32072 F google-breakpad: V AndroidWebView:57.0.2987.132 07-07 05:37:54.713 24137 32072 F google-breakpad: OA arm64 04 aarch64 Xiaomi/gemini/gemini:7.0/NRD90M/ 7.5.4:用户/释放键 07-07 05:37:54.713 24137 32072 F google-breakpad:P 浏览器 07-07 05:37:54.713 24137 32072 F google-breakpad:G OpenGL ES 3.2 V@145.0 (GIT @IE4D56A70F3)| Qualcomm | Adreno(TM)530 07-07 05:37:37:54.713 24137 32072 F Google-Breakpad:S 0 0000007F847C6FD0 00000000000000000077F847F847C6000 00000000000000000000001000 0777.3777.37.37.3PPRS 0000007F847C6000 07-07 05:37:54.713 24137 32072 F google-breakpad:S 0000007F847C6180 07-07 05:37:54.714 24137 32072 F google-breakpad:S 0000007F847C6300 07-07 05:37:54.714 24137 32072 F google-breakpad:S 0000007F847C6480 07-07 05:37:54.714 24137 32072 F google-breakpad:S 0000007F847C6600 07-07 05:37:54.715 24137 32072 F google-breakpad:S 0000007F847C6780 07-07 05:37:54.715 24137 32072 F google-breakpad:S 0000007F847C6900 07-07 05:37:54.715 24137 32072 F google-breakpad:S 0000007F847C6A80 07-07 05:37:54.715 24137 32072 F google-breakpad:S 0000007F847C6C00 07-07 05:37:54.715 24137 32072 F google-breakpad:S 0000007F847C6D80 07-07 05:37:54.715 24137 32072 F google-breakpad:S 0000007F847C6F00 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 07-07 05:37:54.716 24137 32072 F google-breakpad:C0600008000000000000400000000000000000000000000000000000000000000000000000000000000777C847F0000008900000000000000FFFFFFFFFFFF0000FFFFFFFFFFFFFFFF00506FA27F00000001000000000000000000000000000000487D0000000000000000000000000000D1000000000000008300000000000000DE0000000000000030146FA27F000000449F64A27F000000B8727C847F000000000400000000000000306FA27F000000E8667C4266BF68800000000000000000CB00000000000000FF03000000000000A34626987F000000E8667C4266BF68809A00000000000000010000000000000050707C847F000000E88768A27F000000D06F7C847F00000034C56BA27F000000000000201300000000000000000000000000000000000000FFFFFFFF0A505069643A093737350A5472616365725069643A09300A5569643A093130330100000000000000000010000000000000000000000000400000000000000000010410400104104001041040010410400100100000400000010010000040000053746174653A09532028736C6565706900000000000000000000000000000000000007-07 05:37:54.716 24137 32072 F google-breakpad:M 0000005555555000 0000000000000000 0000000000004000 0A7071C7CFEB04622EC4016CE5F39ACD0 app_process64 07-07 05:37:54.717 24137 32072 F google-breakpad: M 000000007080F000 00000000005A2000 0000000000409000 000000000000000000000000000000000 boot.oat 07-07 05:37:54.717 24137 32072 F google-breakpad: M 00000000710BA000 00000000004A0000 0000000000316000 000000000000000000000000000000000 boot -core-libart.oat 07-07 05:37:54.717 24137 32072 F google-breakpad: M 0000000071443000 0000000000071000 0000000000058000 000000000000000000000000000000000 boot-conscrypt.oat 07-07 05:37:54.717 24137 32072 F google-breakpad: M 0000000071528000 000000000008B000 0000000000065000 000000000000000000000000000000000 boot-okhttp.oat 07-07 05:37:54.717 24137 32072 F google-breakpad:M 0000000071599000 000000000000A000 0000000000003000 000000000000000000000000000000000 boot-core-junit.oat 07-07 05:37:54.717 24137 32072 F google-breakpad: M 000000007170A000 000000000016C000 0000000000047000 000000000000000000000000000000000 boot-bouncycastle.oat 07-07 05:37:54.717 24137 32072 F google- breakpad: M 0000000071871000 000000000011E000 0000000000043000 000000000000000000000000000000000 boot-ext.oat 07-07 05:37:54.717 24137 32072 F google-breakpad: M 00000000731D8000 0000000001922000 00000000010EC000 000000000000000000000000000000000 boot-framework.oat 07-07 05:37:54.717 24137 32072 F google- breakpad:M 00000000745DB000 0000000000315000 0000000000221000 0000000000000000000000000000000000 启动电话common.oat 07-07 05:37:54.717 241327 F google-breakpad:M 000000007482F000 0000000000031000 0000000000012000 000000000000000000000000000000000 boot-voip-common.oat 07-07 05:37:54.717 24137 32072 F google-breakpad: M 000000007486E000 000000000002B000 000000000001C000 000000000000000000000000000000000 boot-ims-common.oat 07-07 05:37:54.717 24137 32072 F google-breakpad: M 00000000749DC000 0000000000150000 0000000000025000 000000000000000000000000000000000 boot-apache-xml.oat 07-07 05:37:54.717 24137 32072 F google-breakpad: M 0000000074AB3000 00000000000B0000 0000000000076000 000000000000000000000000000000000 boot-org.apache.http.legacy.boot.oat 07 -07 05:37:54.718 24137 32072 F google-breakpad: M 0000000074B2E000 0000000000003000 0000000000001000 000000000000000000000000000000000 boot-tcmiface.oat 07-07 05:37:54.718 24137 32072 F google-breakpad:M 0000000074B37000 0000000000006000 0000000000001000 000000000000000000000000000000000 boot-telephony-ext.oat 07-07 05:37:54.718 24137 32072 F google-breakpad: M 0000000074B4F000 0000000000015000 0000000000002000 000000000000000000000000000000000 boot-WfdCommon.oat 07-07 05:37:54.718 24137 32072 F google- breakpad: M 0000000074B56000 0000000000003000 0000000000001000 000000000000000000000000000000000 boot-oem-services.oat 07-07 05:37:54.718 24137 32072 F google-breakpad: M 0000000074B72000 0000000000019000 0000000000004000 000000000000000000000000000000000 boot-qcom.fmradio.oat 07-07 05:37:54.718 24137 32072 F google-breakpad: M 0000000074B80000 0000000000008000 0000000000001000 000000000000000000000000000000000 boot-qcmediaplayer.oat 07-07 05:37:320718241372M 0000000074D0B000 0000000000188000 0000000000034000 000000000000000000000000000000000 boot-miui.oat 07-07 05:37:54.718 24137 32072 F google-breakpad: M 0000000074E30000 00000000000EF000 0000000000018000 000000000000000000000000000000000 boot-miuisystem.oat 07-07 05:37:54.718 24137 32072 F google-breakpad: M 0000007F59D73000 0000000000000000 0000000000109000 52AF51F9D1FA7DAA561D021AB1C80CAB0 libblas.so 07-07 05:37:54.718 24137 32072 F google-breakpad: M 0000007F7E156000 00000000002BD000 0000000000270000 000000000000000000000000000000000 WebViewGoogle.odex 07-07 05:37:54.718 24137 32072 F google-breakpad: M 0000007F7EE90000 0000000000000000 000000000001A000 B933D3445554C18D3D0F3115FABE7F910 libunwind.so 07-07 05:37:54.718 24137 32072 F google-breakpad: M 0000007F7EF16000 0000000000000000 0000000000020000 A667DE9A1B9342A0792D87ECDC0797360 libutils.so 07-07 05:37:54.718 24137 32072 F google-breakpad: M 0000007F7EF39000 0000000000000000 000000000000F000 43464F532EA6BF6A58D978FD4B89F7F30 libbacktrace.so 07-07 05:37:54.718 24137 32072 F google-breakpad: M 0000007F7EF4B000 0000000000000000 000000000000B000 32A74BDBF89F698D7D686F948166F1D40 libbase.so 07-07 05:37:54.719 24137 32072 F google-breakpad: M 0000007F7EF4F000 0000000000000000 00000000000E1000 56BE84F5391B03807C422A7EB9D3B3AC0 libc++.so 07-07 05:37:54.719 24137 32072 F google-breakpad: M 0000007F7F03C000 0000000000000000 000000000019C000 85AAE0FD2EA1DF47E53124262555CD1E0 libhyphenate.so 07-07 05:37: 54.719 24137 32072 F google-breakpad: M 0000007F7F209000 0000000000000000 0000000000025000 AFB06673527124FD46E557D9628A73A60 liblzma.so 07-07 05:37:54.719 24137 32072 F google-breakpad:M 0000007F7F234000 0000000000000000 000000000001D000 6175FF2427FC1EEDFDA84CDB775E012B0 libcutils.so 07-07 05:37:54.719 24137 32072 F google-breakpad: M 0000007F7F250000 0000000000000000 00000000000FB000 0D0D64DAAC71FD11EBE6E71CF006204C0 libsqlite.so 07-07 05:37:54.720 24137 32072 F google-breakpad: M 0000007F7F35B000 0000000000000000 0000000000813000 A1B425F02B77DFE5B1DB969A4921D5340 libhyphenate_av.so 07-07 05:37:54.720 24137 32072 F google-breakpad: M 0000007F8170B000 0000000000000000 00000000000BD000 1CEEDB3555807DDA367F25E43A95A04D0 libRSCpuRef.so 07-07 05:37:54.720 24137 32072 F google-breakpad: M 0000007F81B3F000 0000000000000000 0000000000033000 A10C7BBAD6051DD0F6B95DEFD7507A400 libRSDriver.so 07-07 05:37:54.720 24137 32072 F google-breakpad:M 0000007F83AAA000 0000000000000000 000000000000C000 25745D77F1A2FA7CAE5E9AF26BE6A68F0 eglSubDriverAndroid.so 07-07 05:37:54.721 24137 32072 F google-breakpad: M 0000007F8533F000 000000000086A000 000000000000A000 000000000000000000000000000000000 base.odex 07-07 05:37:54.721 24137 32072 F google-breakpad: M 0000007F87355000 0000000000000000 0000000002000000 000000000000000000000000000000000 dalvik-jit-code-cache (deleted) 07-07 05:37:54.721 24137 32072 F google-breakpad: M 0000007F8A355000 0000000000B72000 0000000003979000 1837DCE352E3B78F00C87296FEA41A990 libwebviewchromium.so 07-07 05:37:54.721 24137 32072 F google-breakpad: M 0000007F91CB9000 0000000000000000 0000000000002000 EB9549FD3C0235FD4CB9123FE538DB590 libwebviewchromium_loader.so 07-07 05:37:54.721 24137 32072 F google-breakpad:M 0000007F91DD0000 0000000000000000 0000000000020000 0C9EC5FB246E32DE3B9BBBB85304EDBC0 libcompiler_rt.so 07-07 05:37:54.721 24137 32072 F google-breakpad: M 0000007F91E5E000 0000000000000000 0000000000007000 F80D675E9F262326FEE4A24ED7321A560 libmemalloc.so 07-07 05:37:54.721 24137 32072 F google-breakpad: M 0000007F91E67000 0000000000000000 0000000000006000 6302517A1E98B73A5E101C744469913B0 gralloc.msm8996.so 07-07 05:37:54.721 24137 32072 F google-breakpad: M 0000007F91E69000 0000000000000000 0000000000013000 3F40A6680F0A92FDBBAA9BBE2313E9510 libqservice.so 07-07 05:37:54.721 24137 32072 F google-breakpad: M 0000007F91E83000 0000000000000000 0000000000005000 2B501C6E2B1643F2F1B693F446092B650 libqdutils .so 07-07 05:37:54.721 24137 32072 F google-breakpad:M 0000007F91E8A000 0000000000000000 0000000000002000 E2FCEF838A7D9BBE81994E43C43042C80 libqdMetaData.so 07-07 05:37:54.721 24137 32072 F google-breakpad: M 0000007F91E33000 0000000000000000 0000000000D8E000 3C176ACAD2486113657CAC560528A8790 libllvm-glnext.so 07-07 05:37:54.725 24137 32072 F google-breakpad: M 0000007F92BE2000 0000000000000000 00000000004C5000 43A8669D541255191676245C4EC45C020 libGLESv2_adreno.so 07-07 05:37:54.727 24137 32072 F google-breakpad: M 0000007F93343000 0000000000000000 000000000003A000 BDF15625689616C81B68AC72004A58540 libGLESv1_CM_adreno.so 07-07 05:37:54.728 24137 32072 F google-breakpad: M 0000007F9337E000 0000000000000000 0000000000014000 E0F344C9C89075AF0CAD4940643894730 libEGL_adreno .so 07-07 05:37:54.728 24137 32072 F google-breakpad:M 0000007F93395000 0000000000000000 0000000000018000 05BB3CA989D0F504DCF65A643BB9F2F60 libmiuinative.so 07-07 05:37:54.729 24137 32072 F google-breakpad: M 0000007F938AD000 0000000000000000 0000000000002000 36D97CBCF1B6E85B140E366626967F630 libkeystore-engine.so 07-07 05:37:54.729 24137 32072 F google-breakpad: M 0000007F938B1000 0000000000000000 0000000000020000 51B252DD45300621A0DE088306E557780 libsoftkeymasterdevice.so 07-07 05:37:54.729 24137 32072 F google-breakpad: M 0000007F938D1000 0000000000000000 000000000001E000 31499958466F177883B5EF5F85197E860 libkeystore_binder.so 07-07 05:37:54.729 24137 32072 F google-breakpad: M 0000007F938F4000 0000000000000000 000000000000F000 8191D2F9E326422B2FEAA427AA5177E60 libkeymaster_messages .so 07-07 05:37:54.729 24137 32072 F google-breakpad:M 0000007F93903000 0000000000000000 0000000000029000 0AA0D148632972AC6883691F96A749D50 libjavacrypto.so 07-07 05:37:54.729 24137 32072 F google-breakpad: M 0000007F9392E000 0000000000000000 000000000002E000 2AD9C6A1DED5952ADC2EF24BBB349F520 libkeymaster1.so 07-07 05:37:54.730 24137 32072 F google-breakpad: M 0000007F93960000 0000000000000000 0000000000007000 7DC8A64564A2358F7A7FECBC198E01460 libadreno_utils.so 07-07 05:37:54.730 24137 32072 F google-breakpad: M 0000007F939BC000 0000000000000000 000000000001F000 0B5CFCF41AF3470EB31F8032F8E6B9750 libmtp.so 07-07 05:37:54.730 24137 32072 F google-breakpad: M 0000007F939E0000 0000000000000000 0000000000010000 0AFC3DE4530669A5F382751127DD93700 libstagefright_amrnb_common.so 07-07 05:37:54.730 24137 32072 F google-breakpad:M 0000007F939E8000 0000000000000000 000000000002F000 FBE04B938B9EB4C2E372D70B304A983D0 libexif.so 07-07 05:37:54.730 24137 32072 F google-breakpad: M 0000007F93A22000 0000000000000000 000000000007C000 D8D5C0C10E38C36FECF13F9B227FB3100 libmedia_jni.so 07-07 05:37:54.730 24137 32072 F google-breakpad: M 0000007F93AC3000 0000000000000000 0000000000003000 957A01FA3E7B2A8948015CD6EEFE6A990 libextmedia_jni.so 07-07 05:37:54.730 24137 32072 F google-breakpad: M 0000007F980B6000 0000000000000000 0000000000144000 01BD26E755EF42AED908568986CF751D0 libxml2.so 07-07 05:37:54.730 24137 32072 F google-breakpad: M 0000007F9861E000 0000000000000000 000000000000D000 000000000000000000000000000000000 libshel​​la-2.10 .4.1.so 07-07 05:37:54.730 24137 32072 F google-breakpad:M 0000007F99E80000 0000000000000000 00000000003EC000 D8C44B9DF3014A6660F498526017376F0 libart-compiler.so 07-07 05:37:54.730 24137 32072 F google-breakpad: M 0000007F9A284000 0000000000000000 00000000000D4000 3CAC601505EC32062CF777C43CE88EB50 libvixl.so 07-07 05:37:54.730 24137 32072 F google-breakpad: M 0000007F9A385000 0000000000000000 000000000003F000 CBC6D52B77FE8C3918B4895C9653DC380 libopenjdk.so 07-07 05:37:54.730 24137 32072 F google-breakpad: M 0000007F9A3C4000 0000000000000000 000000000003D000 405C54B5E68A397AF200A48F4165F3D20 libjavacore.so 07-07 05:37:54.730 24137 32072 F google-breakpad: M 0000007F9A406000 0000000000000000 0000000000002000 39AE81637AEDB01959D4A9E892BABDE90 libtime_genoff .so 07-07 05:37:54.731 24137 32072 F google-breakpad:M 0000007F9A40A000 0000000000000000 0000000000004000 870C97FC860566D6EB0E18D344B45B620 libqmi_client_helper.so 07-07 05:37:54.731 24137 32072 F google-breakpad: M 0000007F9A40F000 0000000000000000 0000000000015000 DFB328A7A4FE785F9E68B98804586CCF0 libdsutils.so 07-07 05:37:54.731 24137 32072 F google-breakpad: M 0000007F9A427000 0000000000000000 000000000000B000 4CFEF8D1ADAA509D9E40A841FE2979D70 libqmi_cci.so 07-07 05:37:54.731 24137 32072 F google-breakpad: M 0000007F9A432000 0000000000000000 000000000001E000 A2142F3332A882D3CFFA5C62DDB024C20 libnetmgr.so 07-07 05:37:54.731 24137 32072 F google-breakpad: M 0000007F9A453000 0000000000000000 000000000002B000 FE109811C88EB707A0F11BFE0175F1190 lib-imsrcscm .so 07-07 05:37:54.731 24137 32072 F google-breakpad:M 0000007F9A481000 0000000000000000 0000000000003000 A15924805D6DD3D7FCB8F1BDCD1A57C80 libqmi_encdec.so 07-07 05:37:54.731 24137 32072 F google-breakpad: M 0000007F9A487000 0000000000000000 0000000000007000 1DD1061ED229AF48350CC1401A7061E00 libxml.so 07-07 05:37:54.731 24137 32072 F google-breakpad: M 0000007F9A48B000 0000000000000000 000000000001F000 82921F6B63255DA615C6BE1F614274A30 libqdi.so 07-07 05:37:54.731 24137 32072 F google-breakpad: M 0000007F9A4AC000 0000000000000000 0000000000192000 6944C2F5C39A6464C3624F113B5BDAC00 lib-imsqimf.so 07-07 05:37:54.731 24137 32072 F google-breakpad: M 0000007F9A644000 0000000000000000 000000000003B000 1D5893BE9807841E37F901ED8AE3871F0 libqmi .so 07-07 05:37:54.731 24137 32072 F google-breakpad: M 0000007F9A7EC000 0000000000000000 0000000000009000 20503B099D5681853CAC2A7D71EF0_3B0 libqmi.so 07-07 05:37:54.731 24137 32072 F google-breakpad: M 0000007F9A828000 0000000000000000 000000000001D000 AAA8C7D8281CFE51C94083D1A2A1F2E50 libdiag.so 07-07 05:37:54.731 24137 32072 F google-breakpad: M 0000007F9A938000 0000000000000000 00000000000C5000 506F39919ADDA39AC18E046A7C6234B90 lib-imsxml.so 07 -07 05:37:54.731 24137 32072 F google-breakpad: M 0000007F9AA0D000 0000000000000000 0000000000003000 4FC73A8D29EA0C753DAF91EA910100C30 libidl.so 07-07 05:37:54.731 24137 32072 F google-breakpad: M 0000007F9AA04000 0000000000000000 0000000000021000 DF664CBEE95B84FA54812F5957278EF90 libqmiservices.so 07-07 05: 37:54.731 24137 32072 F google-breakpad: M 0000007F9AA33000 0000000000000000 0000000000004000 D61AE25BD1F70F056E144A9A5F70B0C90 libconfigdb.so 07-07 05:37:54.731 24137 32072 F google-breakpad:M 0000007F9AA3A000 0000000000000000 000000000007C000 2BA353C60DE344E871BEE706E2D74E340 lib-imsdpl.so 07-07 05:37:54.731 24137 32072 F google-breakpad: M 0000007F9AAAB000 0000000000000000 000000000007E000 E4450EAA45C0D6905557BAB50C59D24C0 libdsi_netctrl.so 07-07 05:37:54.731 24137 32072 F google-breakpad: M 0000007F9AB44000 0000000000000000 0000000000017000 A270BCFC66DA61ED8FBC671DE6DFA04B0 lib-imsrcscmservice.so 07-07 05:37:54.732 24137 32072 F google-breakpad: M 0000007F9AB54000 0000000000000000 000000000010A000 CA499244A2094D83F78E11320B25D3E20 libCB.so 07-07 05:37:54.732 24137 32072 F google-breakpad: M 0000007F9EF0E000 0000000000000000 000000000001F000 6E8ED87B5820597E0176ED8B86BE49520 libBugly.so 07-07 05:37:54.732 24137 32072 F google-breakpad:M 0000007F9F1E4000 0000000000004000 0000000000002000 000000000000000000000000000000000 QPerformance.odex 07-07 05:37:54.732 24137 32072 F google-breakpad: M 0000007F9FFE0000 0000000000000000 000000000060A000 1540B2139D1D613272038F90872C81710 libart.so 07-07 05:37:54.732 24137 32072 F google-breakpad: M 0000007FA0A02000 0000000000000000 0000000000059000 563A7F4F81B725751BBCCC97069718230 libgsl.so 07-07 05:37:54.732 24137 32072 F google-breakpad: M 0000007FA0B9F000 0000000000000000 0000000000025000 AFB06673527124FD46E557D9628A73A60 liblzma.so 07-07 05:37:54.732 24137 32072 F google-breakpad: M 0000007FA0BCB000 0000000000000000 0000000000058000 09C922AD365B4ACF4D72CA7EA40F06A70 libsonivox.so 07-07 05:37:54.732 24137 32072 F google-breakpad: M 0000007FA0C2D000 0000000000000000 0000000000004000 8CB8423E077F7D1AFB3F62E33C8FEFE00 libstagefright_yuv.odex 07-07 05:37:54.732 24137 32072 F google-breakpad: M 0000007F9FFE0000 0000000000000000 000000000060A000 1540B2139D1D613272038F90872C81710 libart.so 07-07 05:37:54.732 24137 32072 F google-breakpad: M 0000007FA0A02000 0000000000000000 0000000000059000 563A7F4F81B725751BBCCC97069718230 libgsl.so 07-07 05:37:54.732 24137 32072 F google-breakpad: M 0000007FA0B9F000 0000000000000000 0000000000025000 AFB06673527124FD46E557D9628A73A60 liblzma.so 07-07 05:37:54.732 24137 32072 F google-breakpad: M 0000007FA0BCB000 0000000000000000 0000000000058000 09C922AD365B4ACF4D72CA7EA40F06A70 libsonivox.so 07-07 05:37: 54.732 24137 32072 F google-breakpad: M 0000007FA0C2D000 0000000000000000 0000000000004000 8CB8423E077F7D1AFB3F62E33C8FEFE00 libstagefright_yuv.soodex 07-07 05:37:54.732 24137 32072 F google-breakpad: M 0000007F9FFE0000 0000000000000000 000000000060A000 1540B2139D1D613272038F90872C81710 libart.so 07-07 05:37:54.732 24137 32072 F google-breakpad: M 0000007FA0A02000 0000000000000000 0000000000059000 563A7F4F81B725751BBCCC97069718230 libgsl.so 07-07 05:37:54.732 24137 32072 F google-breakpad: M 0000007FA0B9F000 0000000000000000 0000000000025000 AFB06673527124FD46E557D9628A73A60 liblzma.so 07-07 05:37:54.732 24137 32072 F google-breakpad: M 0000007FA0BCB000 0000000000000000 0000000000058000 09C922AD365B4ACF4D72CA7EA40F06A70 libsonivox.so 07-07 05:37: 54.732 24137 32072 F google-breakpad: M 0000007FA0C2D000 0000000000000000 0000000000004000 8CB8423E077F7D1AFB3F62E33C8FEFE00 libstagefright_yuv.soM 0000007F9FFE0000 0000000000000000 000000000060A000 1540B2139D1D613272038F90872C81710 libart.so 07-07 05:37:54.732 24137 32072 F google-breakpad: M 0000007FA0A02000 0000000000000000 0000000000059000 563A7F4F81B725751BBCCC97069718230 libgsl.so 07-07 05:37:54.732 24137 32072 F google-breakpad: M 0000007FA0B9F000 0000000000000000 0000000000025000 AFB06673527124FD46E557D9628A73A60 liblzma.so 07-07 05:37:54.732 24137 32072 F google-breakpad: M 0000007FA0BCB000 0000000000000000 0000000000058000 09C922AD365B4ACF4D72CA7EA40F06A70 libsonivox.so 07-07 05:37:54.732 24137 32072 F google-breakpad: M 0000007FA0C2D000 0000000000000000 0000000000004000 8CB8423E077F7D1AFB3F62E33C8FEFE00 libstagefright_yuv.soM 0000007F9FFE0000 0000000000000000 000000000060A000 1540B2139D1D613272038F90872C81710 libart.so 07-07 05:37:54.732 24137 32072 F google-breakpad: M 0000007FA0A02000 0000000000000000 0000000000059000 563A7F4F81B725751BBCCC97069718230 libgsl.so 07-07 05:37:54.732 24137 32072 F google-breakpad: M 0000007FA0B9F000 0000000000000000 0000000000025000 AFB06673527124FD46E557D9628A73A60 liblzma.so 07-07 05:37:54.732 24137 32072 F google-breakpad: M 0000007FA0BCB000 0000000000000000 0000000000058000 09C922AD365B4ACF4D72CA7EA40F06A70 libsonivox.so 07-07 05:37:54.732 24137 32072 F google-breakpad: M 0000007FA0C2D000 0000000000000000 0000000000004000 8CB8423E077F7D1AFB3F62E33C8FEFE00 libstagefright_yuv.soM 0000007FA0A02000 0000000000000000 0000000000059000 563A7F4F81B725751BBCCC97069718230 libgsl.so 07-07 05:37:54.732 24137 32072 F google-breakpad: M 0000007FA0B9F000 0000000000000000 0000000000025000 AFB06673527124FD46E557D9628A73A60 liblzma.so 07-07 05:37:54.732 24137 32072 F google-breakpad: M 0000007FA0BCB000 0000000000000000 0000000000058000 09C922AD365B4ACF4D72CA7EA40F06A70 LIBSONIVOX.SO 07-07 05:37:37:54.732 24137 32072 F Google-Breakpad:M 000000007FA0C2D000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000 000.000000 Y.0000.0000.0000 Y.00.00楼M 0000007FA0A02000 0000000000000000 0000000000059000 563A7F4F81B725751BBCCC97069718230 libgsl.so 07-07 05:37:54.732 24137 32072 F google-breakpad: M 0000007FA0B9F000 0000000000000000 0000000000025000 AFB06673527124FD46E557D9628A73A60 liblzma.so 07-07 05:37:54.732 24137 32072 F google-breakpad: M 0000007FA0BCB000 0000000000000000 0000000000058000 09C922AD365B4ACF4D72CA7EA40F06A70 LIBSONIVOX.SO 07-07 05:37:37:54.732 24137 32072 F Google-Breakpad:M 000000007FA0C2D000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000 000.000000 Y.0000.0000.0000 Y.00.00楼M 0000007FA0BCB000 0000000000000000 0000000000058000 09C922AD365B4ACF4D72CA7EA40F06A70 libsonivox.so 07-07 05:37:54.732 24137 32072 F google-breakpad: M 0000007FA0C2D000 0000000000000000 0000000000004000 8CB8423E077F7D1AFB3F62E33C8FEFE00 libstagefright_yuv.soM 0000007FA0BCB000 0000000000000000 0000000000058000 09C922AD365B4ACF4D72CA7EA40F06A70 libsonivox.so 07-07 05:37:54.732 24137 32072 F google-breakpad: M 0000007FA0C2D000 0000000000000000 0000000000004000 8CB8423E077F7D1AFB3F62E33C8FEFE00 libstagefright_yuv.so

0 投票
1 回答
814 浏览

c++ - Breakpad 异常处理程序未在 Windows 上的 DLL 中使用?

我正在开发一个加载 C++ DLL 的 python 应用程序。在这样的 DLL 中,我们完成了所有繁重的工作,我们希望将 Google 的 breakpad 崩溃报告系统添加到其中。在 Windows 上,一旦加载了 DLL,我们就会实例化一个异常处理程序。但是,当发生崩溃并且永远不会写入 minidump 时,永远不会调用该异常处理程序。当我们对一个简单的 C++ 控制台应用程序使用相同的设置时,一切正常。显然,只有在 DLL 中实例化异常处理程序时才会通知异常处理程序。

我们如何确保在 DLL 中调用 Google 的 breakpad 异常处理程序?

下面是我们使用的设置。框架是在我们开始使用 DLL 之前创建的单例。

PS:Breakpad 处理程序在我们具有相同设置的应用程序的 linux 版本中工作正常。

谢谢你的帮助。