Project

General

Profile

Actions

Bug #2606

closed

Ruby crashes when Logger is used in trap handler

Added by jgold.bg (Jonathan Gold) over 15 years ago. Updated about 14 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
1.9.2
Backport:
[:]

Description

=begin
I've run into what I consider to be a strange issue causing the ruby interpreter
to crash (on 1.9.1-p0, 1.9.1-p376, and 1.9.2-preview1).

Attached is a description and a way to reproduce it. I'm able to reproduce it on
linux (64bit) as well as macosx. I suspect it will repro in other places, but
haven't confirmed.

The repro script is attached.
=end


Files

wait2_fail_test.rb (4.29 KB) wait2_fail_test.rb jgold.bg (Jonathan Gold), 01/15/2010 02:09 AM
wait2_fail_test.rb (4.54 KB) wait2_fail_test.rb (Uses strftime to cause failure, not Logger) jgold.bg (Jonathan Gold), 01/15/2010 04:56 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0