From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: poffice@blade.nagaokaut.ac.jp Delivered-To: poffice@blade.nagaokaut.ac.jp Received: from kankan.nagaokaut.ac.jp (kankan.nagaokaut.ac.jp [133.44.2.24]) by blade.nagaokaut.ac.jp (Postfix) with ESMTP id C002517DC0DF for ; Thu, 23 Oct 2014 03:59:16 +0900 (JST) Received: from funfun.nagaokaut.ac.jp (smtp.nagaokaut.ac.jp [133.44.2.201]) by kankan.nagaokaut.ac.jp (Postfix) with ESMTP id 044BDB5D867 for ; Thu, 23 Oct 2014 03:45:02 +0900 (JST) Received: from funfun.nagaokaut.ac.jp (localhost.nagaokaut.ac.jp [127.0.0.1]) by funfun.nagaokaut.ac.jp (Postfix) with ESMTP id 46CA597A82C for ; Thu, 23 Oct 2014 03:45:02 +0900 (JST) X-Virus-Scanned: amavisd-new at nagaokaut.ac.jp Authentication-Results: funfun.nagaokaut.ac.jp (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=sendgrid.me Received: from funfun.nagaokaut.ac.jp ([127.0.0.1]) by funfun.nagaokaut.ac.jp (funfun.nagaokaut.ac.jp [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NUGvenLc72IR for ; Thu, 23 Oct 2014 03:45:02 +0900 (JST) Received: from voscc.nagaokaut.ac.jp (voscc.nagaokaut.ac.jp [133.44.1.100]) by funfun.nagaokaut.ac.jp (Postfix) with ESMTP id 23BD697A82B for ; Thu, 23 Oct 2014 03:45:02 +0900 (JST) Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by voscc.nagaokaut.ac.jp (Postfix) with ESMTP id 7B51F952439 for ; Thu, 23 Oct 2014 03:45:01 +0900 (JST) Received: from [221.186.184.76] (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 5CDEF1204E9; Thu, 23 Oct 2014 03:44:55 +0900 (JST) X-Original-To: ruby-core@ruby-lang.org Delivered-To: ruby-core@ruby-lang.org Received: from o2.heroku.sendgrid.net (o2.heroku.sendgrid.net [67.228.50.55]) by neon.ruby-lang.org (Postfix) with ESMTPS id 852E8120463 for ; Thu, 23 Oct 2014 03:44:52 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sendgrid.me; h=from:to:references:subject:mime-version:content-type:content-transfer-encoding:list-id; s=smtpapi; bh=K3L/0aYxzGNoModNnxaoYtTIyyw=; b=wZ7OOTgSd45hIIYPfh aC/ukLfXpF1nI0M5JXgeXyNJ1ayL5ReHNc9ryE6kJov/6U8VUUtrSxQgsjTxq/Uf RV5BnEEPQBl2WgHXr/VQLcdOgnh7KxfPMzHXy1o66IfWQ57nm7QaV1eVq1ONnYfh i88PvewsNrZ9+xCmSve4g78Hs= Received: by filter0006p1mdw1.sendgrid.net with SMTP id filter0006p1mdw1.23954.5447FB206 2014-10-22 18:44:48.554757725 +0000 UTC Received: from herokuapp.com (ec2-54-161-145-119.compute-1.amazonaws.com [54.161.145.119]) by ismtpd-010.iad1.sendgrid.net (SG) with ESMTP id 149392cf696.2ada.19dde0 for ; Wed, 22 Oct 2014 18:44:48 +0000 (GMT) Date: Wed, 22 Oct 2014 18:44:48 +0000 From: tersmi1@gmail.com To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Redmine-MailingListIntegration-Message-Ids: 40205 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 10419 X-Redmine-Issue-Author: tjlsmith X-Redmine-Issue-Assignee: tjlsmith X-Redmine-Sender: tjlsmith X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: OOF Auto-Submitted: auto-generated X-SG-EID: ync6xU2WACa70kv/Ymy4QrNMhiuLXJG8OTL2vJD1yS5tOR6fiC6w4p+Tpp12E2ztxvUwr1/CqXH41RcUWZHJ53l7zdt4A/Vzwk/xoegDpi3OYIo63ly3eLX8BwOiX0ilrVR/pknp/uN/zn+dZPMiHzp1Q+/OkerUtJgSw0q4xLNicE2Z7ydXb79ayT3qnzyh X-ML-Name: ruby-core X-Mail-Count: 65857 Subject: [ruby-core:65857] [ruby-trunk - Bug #10419] [Open] ruby 2.1.3 kackes during IO.readlines of huge file X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #10419 has been reported by Terry Smith. ---------------------------------------- Bug #10419: ruby 2.1.3 kackes during IO.readlines of huge file https://bugs.ruby-lang.org/issues/10419 * Author: Terry Smith * Status: Open * Priority: Normal * Assignee: Terry Smith * Category: Project * Target version: next minor * ruby -v: uby 2.1.3p242 (2014-09-19 revision 47630) [i386-mingw32] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN ---------------------------------------- Trying to read massive text file - here's the one line program with all info included a = IO.readlines('sentences.txt') =begin D:\sentences>dir Volume in drive D is DATA Volume Serial Number is BE2F-06B2 Directory of D:\sentences 10/22/2014 14:15 . 10/22/2014 14:15 .. 10/22/2014 14:15 2,389 s.rb 10/10/2014 09:56 1,425,731,345 sentences.txt 2 File(s) 1,425,733,734 bytes 2 Dir(s) 425,943,310,336 bytes free D:\sentences>ruby -v ruby 2.1.3p242 (2014-09-19 revision 47630) [i386-mingw32] D:\sentences>ruby s.rb s.rb:1: [BUG] object allocation during garbage collection phase ruby 2.1.3p242 (2014-09-19 revision 47630) [i386-mingw32] -- Control frame information ----------------------------------------------- c:0003 p:---- s:0009 e:000008 CFUNC :readlines c:0002 p:0013 s:0005 E:000d28 EVAL s.rb:1 [FINISH] c:0001 p:0000 s:0002 E:0009d4 TOP [FINISH] s.rb:1:in `
' s.rb:1:in `readlines' -- C level backtrace information ------------------------------------------- -- Other runtime information ----------------------------------------------- * Loaded script: s.rb * Loaded features: 0 enumerator.so 1 C:/Ruby21/lib/ruby/2.1.0/i386-mingw32/enc/encdb.so 2 C:/Ruby21/lib/ruby/2.1.0/i386-mingw32/enc/iso_8859_1.so 3 C:/Ruby21/lib/ruby/2.1.0/i386-mingw32/enc/trans/transdb.so 4 C:/Ruby21/lib/ruby/2.1.0/i386-mingw32/rbconfig.rb 5 C:/Ruby21/lib/ruby/2.1.0/rubygems/compatibility.rb 6 C:/Ruby21/lib/ruby/2.1.0/rubygems/defaults.rb 7 C:/Ruby21/lib/ruby/2.1.0/rubygems/deprecate.rb 8 C:/Ruby21/lib/ruby/2.1.0/rubygems/errors.rb 9 C:/Ruby21/lib/ruby/2.1.0/rubygems/version.rb 10 C:/Ruby21/lib/ruby/2.1.0/rubygems/requirement.rb 11 C:/Ruby21/lib/ruby/2.1.0/rubygems/platform.rb 12 C:/Ruby21/lib/ruby/2.1.0/rubygems/basic_specification.rb 13 C:/Ruby21/lib/ruby/2.1.0/rubygems/stub_specification.rb 14 C:/Ruby21/lib/ruby/2.1.0/rubygems/util/stringio.rb 15 C:/Ruby21/lib/ruby/2.1.0/rubygems/specification.rb 16 C:/Ruby21/lib/ruby/2.1.0/rubygems/exceptions.rb 17 C:/Ruby21/lib/ruby/2.1.0/rubygems/defaults/operating_system.rb 18 C:/Ruby21/lib/ruby/2.1.0/rubygems/core_ext/kernel_gem.rb 19 thread.rb 20 C:/Ruby21/lib/ruby/2.1.0/i386-mingw32/thread.so 21 C:/Ruby21/lib/ruby/2.1.0/monitor.rb 22 C:/Ruby21/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb 23 C:/Ruby21/lib/ruby/2.1.0/rubygems.rb [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. =end -- https://bugs.ruby-lang.org/