[#29911] [Bug #3231] Digest Does Not Build — Charlie Savage <redmine@...>
Bug #3231: Digest Does Not Build
[#29920] [Feature #3232] Loops (while/until) should return last statement value if any, like if/unless — Benoit Daloze <redmine@...>
Feature #3232: Loops (while/until) should return last statement value if any, like if/unless
Hi,
On 2 May 2010 01:56, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
Hi,
On 2 May 2010 15:24:52 UTC+2, Nobuyoshi Nakada <nobu@ruby-lang.org> wrote:
[#29953] [Bug #3241] gem update --system Segmentation fault — Benedikt Eickhoff <redmine@...>
Bug #3241: gem update --system Segmentation fault
Hi,
On Mon, May 03, 2010 at 08:55:14PM +0900, Yusuke ENDOH wrote:
[#29993] [Feature:trunk] thread-local yamler — Nobuyoshi Nakada <nobu@...>
Hi,
[#29997] years in Time.utc — Xavier Noria <fxn@...>
Does anyone have a precise statement about the years supported by
On Tue, May 4, 2010 at 8:05 AM, Xavier Noria <fxn@hashref.com> wrote:
Hi,
Hi,
[#30002] 1.9.1 lib dirs? — Roger Pack <rogerdpack2@...>
Hi all.
On Tue, May 4, 2010 at 3:00 PM, Roger Pack <rogerdpack2@gmail.com> wrote:
[#30010] [Bug #3248] extension 'tk' is finding tclConfig.sh and tkConfig.sh incorrectly — Luis Lavena <redmine@...>
Bug #3248: extension 'tk' is finding tclConfig.sh and tkConfig.sh incorrectly
Issue #3248 has been updated by Luis Lavena.
[#30023] [Bug #3250] [BUG] Segmentation fault — Diogo Almeida <redmine@...>
Bug #3250: [BUG] Segmentation fault
[#30070] [Bug #3255] Trunk fail to build without explicit ./configure options (yaml.h not found) — Benoit Daloze <redmine@...>
Bug #3255: Trunk fail to build without explicit ./configure options (yaml.h not found)
Hi,
[#30094] suggestion: switch default name for BINARY encoding — Roger Pack <rogerdpack2@...>
Situation:
(2010/05/08 7:50), Roger Pack wrote:
[#30145] [Bug #3273] Float string conversion — Marc-Andre Lafortune <redmine@...>
Bug #3273: Float string conversion
[#30154] [Bug #3275] incompatibility of testrb — Yusuke Endoh <redmine@...>
Bug #3275: incompatibility of testrb
[#30175] [Problem] DATA and __END__ in a loaded rb file — Charles Cui <zheng.cuizh@...>
how to get global constant DATA in file <a.rb>,if a.rb is loaded by b.rb.
[#30182] [Bug #3281] fail to build fiddle on Debian/lenny by default — Yusuke Endoh <redmine@...>
Bug #3281: fail to build fiddle on Debian/lenny by default
2010/5/12 Yusuke Endoh <redmine@ruby-lang.org>:
On Wed, May 12, 2010 at 11:26:44PM +0900, Tanaka Akira wrote:
2010/5/14 Aaron Patterson <aaron@tenderlovemaking.com>:
[#30226] [Bug #3288] Segmentation fault - activesupport-3.0.0.beta3/lib/active_support/callbacks.rb:88 — Szymon Jeż <redmine@...>
Bug #3288: Segmentation fault - activesupport-3.0.0.beta3/lib/active_support/callbacks.rb:88
Issue #3288 has been updated by Szymon Je甜.
[#30249] [Bug #3299] revision.h rule in common.mk is broken for MSVC — Romulo Ceccon <redmine@...>
Bug #3299: revision.h rule in common.mk is broken for MSVC
[#30290] [Bug #3309] net/http calls leak memory and file handles in windows — Pete Higgins <redmine@...>
Bug #3309: net/http calls leak memory and file handles in windows
[#30315] [Bug #3320] emacs ruby-mode.el font-lock fails on symboled string ending with ? — Zev Blut <redmine@...>
Bug #3320: emacs ruby-mode.el font-lock fails on symboled string ending with ?
[#30323] [Feature #3322] Simple Patch to make ruby copy-on-write-friendly — Daniel DeLorme <redmine@...>
Feature #3322: Simple Patch to make ruby copy-on-write-friendly
[#30358] tk doesn't startup well in doze — Roger Pack <rogerdpack2@...>
Currently with 1.9.x and tk 8.5,the following occurs
From: Roger Pack <rogerdpack2@gmail.com>
> Does it occur with RubyTk-Kit version (it based on latest tcltklib.c)?
[#30401] [Bug #3336] Memory leak in IO.select() on Windows — HD Moore <redmine@...>
Bug #3336: Memory leak in IO.select() on Windows
[#30406] [Bug #3337] MS-DOS device names are identified as readable_real — HD Moore <redmine@...>
Bug #3337: MS-DOS device names are identified as readable_real
[#30434] [Feature #3346] __DIR__ revisted — Thomas Sawyer <redmine@...>
Feature #3346: __DIR__ revisted
[#30449] [Bug #3350] Protected methods & documentation — Marc-Andre Lafortune <redmine@...>
Bug #3350: Protected methods & documentation
[#30451] [Bug #3352] Delegates: protected methods — Marc-Andre Lafortune <redmine@...>
Bug #3352: Delegates: protected methods
[#30513] [Bug #3365] floats revisited (see bug 1841) — Roberto Tomás Collins McCarthy <redmine@...>
Bug #3365: floats revisited (see bug 1841)
[ruby-core:30295] [Bug #3313] object has the wrong type during long-running test
Bug #3313: object has the wrong type during long-running test
http://redmine.ruby-lang.org/issues/show/3313
Author: caleb clausen
Status: Open, Priority: Normal
ruby -v: ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]
To reproduce this bug:
gem install sequence
cd /tmp #or some other suitable dir
git clone git://github.com/coatl/rubylexer.git
cd rubylexer
ruby -Ilib test/code/heredoc_blast_test.rb
#now wait, up to 4 hours for the test to either complete or fail.
This runs the same test (parsing heredocuments with rubylexer) over and over. Very rarely, the test will fail, and I don't know why. It actually fails inside sequence, a support library for rubylexer. The stack trace indicates that in notify_change on line 700 of sequence.rb, @change_listeners contains an object of the wrong type (an Array instead of a Sequence). The only place where things are put into @change_listeners is in on_change_notify, just above notify_change. That method carefully checks that the item inserted into @change_listeners is of the right type (responds to change_notification) before adding it.
@change_listeners is a WeakRefSet, and thus weak references are involved. It's possible that I'm not handling those weak references correctly in weakrefset.rb, but I've been over that code repeatedly and it seems to be correct. define_finalizer is used to keep the WeakRefSet notified when one of its members is gc'd, and the WeakRefSet then dutifully removes the dying object.
I'm reporting this for 1.8.7, but I've seen it on (fairly recent vintages of) 1.8.6 as well. It may well also be a problem for 1.9 versions of ruby, but when I try to test for this problem on 1.9, I run straight into bug #2502, which prevents the test from running long enough to see this problem.
I'm sorry for all the code and time needed to reproduce this one. I did try to boil it down to a smaller case, but with only slight success.
Here's the erroneous output.
ruby -Ilib test/code/heredoc_blast_test.rb
Loaded suite test/code/heredoc_blast_test
Started
Eskipping __testcase_10__; not legal
.skipping __testcase_11__; not legal
.Eskipping __testcase_2__; not legal
.skipping __testcase_3__; not legal
.skipping __testcase_4__; not legal
.skipping __testcase_5__; not legal
.skipping __testcase_6__; not legal
.skipping __testcase_7__; not legal
.skipping __testcase_8__; not legal
.skipping __testcase_9__; not legal
.
Finished in 956.663375 seconds.
1) Error:
testcase_0__(LexerTests):
NoMethodError: undefined method `change_notification' for [-611168978]:Array
/var/lib/gems/1.8/gems/sequence-0.2.3/lib/sequence.rb:700:in `notify_change'
/var/lib/gems/1.8/gems/sequence-0.2.3/lib/sequence/weakrefset.rb:99:in `each'
/var/lib/gems/1.8/gems/sequence-0.2.3/lib/sequence/weakrefset.rb:87:in `each_key'
/var/lib/gems/1.8/gems/sequence-0.2.3/lib/sequence/weakrefset.rb:87:in `each'
/var/lib/gems/1.8/gems/sequence-0.2.3/lib/sequence.rb:699:in `notify_change'
/var/lib/gems/1.8/gems/sequence-0.2.3/lib/sequence/list.rb:258:in `modify'
./lib/rubylexer.rb:2324:in `here_header'
./lib/rubylexer.rb:2387:in `lessthan__no_offset'
(eval):6:in `lessthan'
./lib/rubylexer/charhandler.rb:86:in `send'
./lib/rubylexer/charhandler.rb:86:in `go'
./lib/rubylexer/rulexer.rb:92:in `rulexer_get1token'
./lib/rubylexer.rb:292:in `get1token'
(eval):145:in `testcase_0__'
(eval):3:in `times'
(eval):3:in `testcase_0__'
2) Error:
testcase_1__(LexerTests):
NoMethodError: undefined method `change_notification' for [-611406058]:Array
/var/lib/gems/1.8/gems/sequence-0.2.3/lib/sequence.rb:700:in `notify_change'
/var/lib/gems/1.8/gems/sequence-0.2.3/lib/sequence/weakrefset.rb:99:in `each'
/var/lib/gems/1.8/gems/sequence-0.2.3/lib/sequence/weakrefset.rb:87:in `each_key'
/var/lib/gems/1.8/gems/sequence-0.2.3/lib/sequence/weakrefset.rb:87:in `each'
/var/lib/gems/1.8/gems/sequence-0.2.3/lib/sequence.rb:699:in `notify_change'
/var/lib/gems/1.8/gems/sequence-0.2.3/lib/sequence/list.rb:258:in `modify'
./lib/rubylexer.rb:2324:in `here_header'
./lib/rubylexer.rb:2387:in `lessthan__no_offset'
(eval):6:in `lessthan'
./lib/rubylexer/charhandler.rb:86:in `send'
./lib/rubylexer/charhandler.rb:86:in `go'
./lib/rubylexer/rulexer.rb:92:in `rulexer_get1token'
./lib/rubylexer.rb:292:in `get1token'
(eval):294:in `testcase_1__'
(eval):152:in `times'
(eval):152:in `testcase_1__'
12 tests, 0 assertions, 0 failures, 2 errors
----------------------------------------
http://redmine.ruby-lang.org