[PATCH] D74324: Tools emit the bug report URL on crash

Owen Reynolds via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 11 08:31:18 PDT 2020


gbreynoo added reviewers: bogner, bruno.
gbreynoo added a comment.

Hi James,

After forcing a crash in llvm-readobj here is the output:

  PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace
  Stack dump:
  0.      Program arguments: F:\llvm-git\build\Debug\bin\llvm-readobj.exe
  #0 0x00007ff60572b6d4 (F:\llvm-git\build\Debug\bin\llvm-readobj.exe+0x114b6d4)
  #1 0x00007ff60572b874 (F:\llvm-git\build\Debug\bin\llvm-readobj.exe+0x114b874)
  #2 0x00007ff604905623 (F:\llvm-git\build\Debug\bin\llvm-readobj.exe+0x325623)
  #3 0x00007ff60572bd04 (F:\llvm-git\build\Debug\bin\llvm-readobj.exe+0x114bd04)
  #4 0x00007ff60572bbee (F:\llvm-git\build\Debug\bin\llvm-readobj.exe+0x114bbee)
  #5 0x00007ff60572baae (F:\llvm-git\build\Debug\bin\llvm-readobj.exe+0x114baae)
  #6 0x00007ff60572bd99 (F:\llvm-git\build\Debug\bin\llvm-readobj.exe+0x114bd99)
  #7 0x00007ffd61a47974 (C:\WINDOWS\System32\KERNEL32.DLL+0x17974)
  #8 0x00007ffd61cba261 (C:\WINDOWS\SYSTEM32\ntdll.dll+0x6a261)

After looking into Clang I saw that both messages would be output:

  PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace
  Stack dump:
  0.      Program arguments: F:\llvm-git\build\Debug\bin\clang.exe -target i386-apple-darwin10 -flto -S -g F:\llvm-git\llvm-project\clang\test\CodeGen\2009-10-20-GlobalDebug.c
   #0 0x00007ff7a5698894 (F:\llvm-git\build\Debug\bin\clang.exe+0xb128894)
   #1 0x00007ff7a5698a34 (F:\llvm-git\build\Debug\bin\clang.exe+0xb128a34)
   #2 0x00007ff79a9fd29a (F:\llvm-git\build\Debug\bin\clang.exe+0x48d29a)
   #3 0x00007ff7a0086e56 (F:\llvm-git\build\Debug\bin\clang.exe+0x5b16e56)
   #4 0x00007ff7a0086158 (F:\llvm-git\build\Debug\bin\clang.exe+0x5b16158)
   #5 0x00007ff79ee69fee (F:\llvm-git\build\Debug\bin\clang.exe+0x48f9fee)
   #6 0x00007ff79ee695ff (F:\llvm-git\build\Debug\bin\clang.exe+0x48f95ff)
   #7 0x00007ff7a0082c3a (F:\llvm-git\build\Debug\bin\clang.exe+0x5b12c3a)
   #8 0x00007ff79ffbb1fd (F:\llvm-git\build\Debug\bin\clang.exe+0x5a4b1fd)
   #9 0x00007ff79ffbb439 (F:\llvm-git\build\Debug\bin\clang.exe+0x5a4b439)
  #10 0x00007ff79ff55259 (F:\llvm-git\build\Debug\bin\clang.exe+0x59e5259)
  #11 0x00007ff79a9fe6c3 (F:\llvm-git\build\Debug\bin\clang.exe+0x48e6c3)
  #12 0x00007ff7a56998a4 (F:\llvm-git\build\Debug\bin\clang.exe+0xb1298a4)
  #13 0x00007ff7a569974e (F:\llvm-git\build\Debug\bin\clang.exe+0xb12974e)
  #14 0x00007ff7a569960e (F:\llvm-git\build\Debug\bin\clang.exe+0xb12960e)
  #15 0x00007ff7a5699939 (F:\llvm-git\build\Debug\bin\clang.exe+0xb129939)
  #16 0x00007ffd61a47974 (C:\WINDOWS\System32\KERNEL32.DLL+0x17974)
  #17 0x00007ffd61cba261 (C:\WINDOWS\SYSTEM32\ntdll.dll+0x6a261)
  clang: error: clang frontend command failed due to signal (use -v to see invocation)
  clang version 11.0.0 (https://github.com/llvm/llvm-project.git 7202d9cde9d23ba94c7f09fd6b5eafc437136542)
  Target: i386-apple-darwin10
  Thread model: posix
  InstalledDir: F:\llvm-git\build\Debug\bin
  clang: note: diagnostic msg: PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
  clang: note: diagnostic msg: Error generating preprocessed source(s).

The new diff includes the removal of the second message, and I have added reviewers who have made changes in the area.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74324/new/

https://reviews.llvm.org/D74324





More information about the llvm-commits mailing list