[Ruby 1.9-Bug#4275][Open] Directory CrashReport is not exist, CrashReporter is right

Bug #4275: Directory CrashReport is not exist, CrashReporter is right.
http://redmine.ruby-lang.org/issues/show/4275

起票者: Shota F.
ステータス: Open, 優先度: Normal
ruby -v: ruby 1.9.3dev (2011-01-12 trunk 30518) [x86_64-darwin10.6.0]

~/Library/Logs/CrashReportと/Library/Logs/CrashReportは存在しません。

ls: /Library/Logs/CrashReport: No such file or directory
ls: /Users/sorah/Library/Logs/CrashReport: No such file or directory

その代わりにCrashReporterがあるのでそちらが正しいのではないでしょうか。

Patch:

diff --git vm_dump.c vm_dump.c
index 741b4ad…3d6287c 100644
— vm_dump.c
+++ vm_dump.c
@@ -781,9 +781,9 @@ rb_vm_bugreport(void)

#if defined MACH && defined APPLE
fprintf(stderr, "-- See Crash Report log file under "

  •  "~/Library/Logs/CrashReport or -----------\n");
    
  • fprintf(stderr, "-- /Library/Logs/CrashReport, for "
  •  "the more detail of -----------------------\n");
    
  •  "~/Library/Logs/CrashReporter or ---------\n");
    
  • fprintf(stderr, "-- /Library/Logs/CrashReporter, for "
  •  "the more detail of ---------------------\n");
    

#endif
#if HAVE_BACKTRACE || defined(_WIN32)
fprintf(stderr, "-- C level backtrace information "

チケット #4275 が更新されました。 (by Kenta M.)

ステータス OpenからClosedに変更
進捗 % 0から100に変更

This issue was solved with changeset r30532.
Shota, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.