General

Profile

cosmo0920 (Hiroshi Hatake)

  • Login: cosmo0920
  • Registered on: 07/14/2017
  • Last sign in: 10/25/2019

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 2 2

Activity

10/25/2019

06:53 AM Ruby Bug #16236: Cannot handle logrotate on Windows when one file is written from multi process/thread
Fluentd side patch: https://github.com/fluent/fluentd/pull/2663
Fluentd side issue: https://github.com/fluent/fluentd/issues/2446
cosmo0920 (Hiroshi Hatake)
06:52 AM Ruby Bug #16236: Cannot handle logrotate on Windows when one file is written from multi process/thread
Thanks for the information.
This issue should be Fluentd logging mechanism issue not Ruby core logger library.
Fluentd side logrotate issue is fixed.
So, it can be closed.
cosmo0920 (Hiroshi Hatake)

10/04/2019

06:30 AM Ruby Bug #16236 (Third Party's Issue): Cannot handle logrotate on Windows when one file is written from multi process/thread
### TL;DR
This issue occurred in Windows version of Fluentd.
It uses ServerEngine and its logger functionality delegates into Ruby logger library.
Fluentd's logrotate functionality is originated from Ruby logger library,
Then, I fo...
cosmo0920 (Hiroshi Hatake)

11/30/2018

05:25 AM Ruby Bug #13746 (Closed): windows-pr gemのRuby 2.4 32bit版でのSEGV
cosmo0920 (Hiroshi Hatake)

11/29/2017

01:17 AM Ruby Bug #13746: windows-pr gemのRuby 2.4 32bit版でのSEGV
https://github.com/cosmo0920/win32-api/pull/31 にて解決しました。
gccのオプション `-fno-omit-frame-pointer` がRubyInstaller2では指定されていないのが原因でi386の時のみフレームポインタが使われていました。x86_64ではうまい具合にフレームポインタが使われる最適化がなされていたようで、こちらではクラッシュしていませんでした。
cosmo0920 (Hiroshi Hatake)

07/20/2017

02:51 AM Ruby Bug #13746: windows-pr gemのRuby 2.4 32bit版でのSEGV
gdbを使ってスタックトレースを取ったところ、以下のスタックトレースが採取できました。
test/tc_segv.rb
```ruby
require 'windows/msvcrt/directory'
class Test
include Windows::MSVCRT::Directory
def test
chdir('..')
end
end
t = Test.new
t.test
```
...
cosmo0920 (Hiroshi Hatake)

07/14/2017

06:38 AM Ruby Bug #13746 (Closed): windows-pr gemのRuby 2.4 32bit版でのSEGV
windows-pr gemのCI対象にRuby 2.4 32/64bit版の両方を加えてAppVeyorにてCIを走らせたところ、SEGVが発生しました。
このSEGVはRuby 2.4の64bit版(ruby 2.4.1p111 (2017-03-22 revision 58053) [x64-mingw32])では発生しません。
windows-prのリポジトリは https://github.com/cosmo0920/windows-pr です。
g...
cosmo0920 (Hiroshi Hatake)

Also available in: Atom