Project

General

Profile

Actions

Bug #4313

closed

File.identical? cause Segmentation Fault if take a long string.

Added by kosaki (Motohiro KOSAKI) about 13 years ago. Updated almost 13 years ago.

Status:
Closed
Assignee:
-
Target version:
ruby -v:
ruby 1.9.3dev (2011-01-23 trunk 30640) [i386-mswin32_100]
Backport:
[ruby-core:34830]

Description

=begin
Following script crash immediately, But error log doesn't display at all.


ruby -ve 'p File.identical?("a"*100_000_000, "a")'

ruby 1.9.3dev (2011-01-23 trunk 30640) [i386-mswin32_100]
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0