Project

General

Profile

Actions

Task #3427

closed

Fix CPU info for x86_64 for crashreport.libreffice.org

Added by Luboš Luňák over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Tags:

Description

Crashreports for x86_64 (AKA amd64) do not include CPU vendor.

Compare e.g. [1] with "Build Architecture: amd64" saying only "CPU Info: family 16 model 4 stepping 3", without any "GenuineIntel" or "AuthenticAMD", while "Build Architecture: x64" reports [2] or [3] say "CPU Info: GenuineIntel family 6 model 23 stepping 10" or "CPU Info: AuthenticAMD family 16 model 6 stepping 2".

This is a bug in breakpad, see https://bugs.chromium.org/p/google-breakpad/issues/detail?id=818 (and upstream apparently doesn't give a damn :( ). If I understand it correctly, the minidump processor tool is running on crashreport.libreoffice.org and therefore needs to be fixed there. Please use the patch from the bugreport to fix the problem.

[1] https://crashreport.libreoffice.org/stats/crash_details/7fa80630-9897-4974-8e31-ecc8cb58ba0f
[2] https://crashreport.libreoffice.org/stats/crash_details/8f3d4d02-d104-4299-8a40-6b9438596f7a
[3] https://crashreport.libreoffice.org/stats/crash_details/d74903bb-d5a2-4179-b348-7cffc3fd3f2a

Actions #1

Updated by Xisco Fauli Tarazona over 3 years ago

  • Assignee set to Guilhem Moulin
Actions #2

Updated by Guilhem Moulin about 3 years ago

  • Status changed from New to Closed

Thanks, applied and rebuilt.

Actions #3

Updated by Guilhem Moulin about 3 years ago

  • Assignee changed from Guilhem Moulin to Christian Lohmaier

It appears I didn't apply it to the right place and broke the crashreport, oops.

Actions #4

Updated by Christian Lohmaier about 3 years ago

  • Status changed from Closed to Feedback
  • Assignee changed from Christian Lohmaier to Luboš Luňák

patch is wrong/doesn't work. creates invalid output in both minidump_dump as well as in minidump_stackwalk when applied to LO's build of breakpad.
→ assignign back to reporter for a fix that doesn't break :-)

/home/cloph/minidump_dump /srv/crashreport/temp/3357505d-a293-4e4a-bb8e-0ac55343d70e.dmp 2>/dev/null |grep -ia vendor
  cpu.x86_cpu_info.vendor_id[0]              = 0x10f2774c
  cpu.x86_cpu_info.vendor_id[1]              = 0x1f1
  cpu.x86_cpu_info.vendor_id[2]              = 0x0
  (cpu_vendor)                               = "Lw��" 
Actions #5

Updated by Luboš Luňák about 3 years ago

  • Status changed from Feedback to Closed

So it turns out the minidump file can be either created by Windows or (on non-Windows) by breakpad. And the patch does not work with minidumps generated by Windows, because it includes the information only for x86 dumps but not for x86_64. sigh

I haven't found any other way to detect the CPU vendor for those dumps, so closing.

Actions

Also available in: Atom PDF